Greengrass / Client / get_associated_role
get_associated_role#
- Greengrass.Client.get_associated_role(**kwargs)#
Retrieves the role associated with a particular group.
See also: AWS API Documentation
Request Syntax
response = client.get_associated_role( GroupId='string' )
- Parameters:
GroupId (string) – [REQUIRED] The ID of the Greengrass group.
- Return type:
dict
- Returns:
Response Syntax
{ 'AssociatedAt': 'string', 'RoleArn': 'string' }
Response Structure
(dict) – success
AssociatedAt (string) – The time when the role was associated with the group.
RoleArn (string) – The ARN of the role that is associated with the group.
Exceptions
Greengrass.Client.exceptions.BadRequestException
Greengrass.Client.exceptions.InternalServerErrorException