code: func (c *ECS) PutAccountSetting(input *PutAccountSettingInput) (*PutAccountSettingOutput, error) {
  	req, out := c.PutAccountSettingRequest(input)
  	return out, req.Send()
  }
docs: // PutAccountSetting API operation for Amazon EC2 Container Service.
  //
  // Modifies the ARN and resource ID format of a resource type for a specified
  // IAM user, IAM role, or the root user for an account. If the account setting
  // for the root user is changed, it sets the default setting for all of the
  // IAM users and roles for which no individual account setting has been set.
  // The opt-in and opt-out account setting can be set for each Amazon ECS resource
  // separately. The ARN and resource ID format of a resource will be defined
  // by the opt-in status of the IAM user or role that created the resource. Enabling
  // this setting is required to use new Amazon ECS features such as resource
  // tagging. For more information, see Amazon Resource Names (ARNs) and IDs (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-resource-ids.html)
  // in the Amazon Elastic Container Service Developer Guide.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for Amazon EC2 Container Service's
  // API operation PutAccountSetting for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeServerException "ServerException"
  //   These errors are usually caused by a server issue.
  //
  //   * ErrCodeClientException "ClientException"
  //   These errors are usually caused by a client action, such as using an action
  //   or resource on behalf of a user that doesn't have permissions to use the
  //   action or resource, or specifying an identifier that is not valid.
  //
  //   * ErrCodeInvalidParameterException "InvalidParameterException"
  //   The specified parameter is invalid. Review the available parameters for the
  //   API request.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSetting