@ Override public AssociateServiceRoleToAccountResult associateServiceRoleToAccount ( AssociateServiceRoleToAccountRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateServiceRoleToAccount ( request ) ; }
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 .