Greengrass.Client.
associate_service_role_to_account
(**kwargs)¶Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.
See also: AWS API Documentation
Request Syntax
response = client.associate_service_role_to_account(
RoleArn='string'
)
{
'AssociatedAt': 'string'
}
Response Structure
Exceptions
Greengrass.Client.exceptions.BadRequestException
Greengrass.Client.exceptions.InternalServerErrorException