code: @Override
      public AssociateServiceRoleToAccountResult associateServiceRoleToAccount(AssociateServiceRoleToAccountRequest request) {
          request = beforeClientExecution(request);
          return executeAssociateServiceRoleToAccount(request);
      }
docs: 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''.
  
  @param associateServiceRoleToAccountRequest
  @return Result of the AssociateServiceRoleToAccount operation returned by the service.
  @throws BadRequestException
  invalid request
  @throws InternalServerErrorException
  server error
  @sample AWSGreengrass.AssociateServiceRoleToAccount
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateServiceRoleToAccount"
  target="_top">AWS API Documentation</a>