@@ -181,6 +181,36 @@ class ContextSummary(_base_types.ApiObject):
181181 last_modified_time = None
182182
183183
184+ class UserContext (_base_types .ApiObject ):
185+ """Summary model of a user context.
186+
187+ Attributes:
188+ user_profile_arn (str): User profile ARN.
189+ user_profile_name (str): User profile name.
190+ domain_id (str): DomainId.
191+ """
192+
193+ user_profile_arn = None
194+ user_profile_name = None
195+ domain_id = None
196+
197+ def __init__ (self , user_profile_arn = None , user_profile_name = None , domain_id = None , ** kwargs ):
198+ """Initialize UserContext.
199+
200+ Args:
201+ user_profile_arn (str): User profile ARN.
202+ user_profile_name (str): User profile name.
203+ domain_id (str): DomainId.
204+ **kwargs: Arbitrary keyword arguments.
205+ """
206+ super (UserContext , self ).__init__ (
207+ user_profile_arn = user_profile_arn ,
208+ user_profile_name = user_profile_name ,
209+ domain_id = domain_id ,
210+ ** kwargs
211+ )
212+
213+
184214class AssociationSummary (_base_types .ApiObject ):
185215 """Summary model of an association.
186216
@@ -196,6 +226,9 @@ class AssociationSummary(_base_types.ApiObject):
196226 created_by (obj): Context on creator.
197227 """
198228
229+ _custom_boto_types = {
230+ "created_by" : (UserContext , False ),
231+ }
199232 source_arn = None
200233 source_name = None
201234 destination_arn = None
@@ -204,4 +237,3 @@ class AssociationSummary(_base_types.ApiObject):
204237 destination_type = None
205238 association_type = None
206239 creation_time = None
207- created_by = None
0 commit comments