code: func (c *ECS) PutAttributes(input *PutAttributesInput) (*PutAttributesOutput, error) {
  	req, out := c.PutAttributesRequest(input)
  	return out, req.Send()
  }
docs: // PutAttributes API operation for Amazon EC2 Container Service.
  //
  // Create or update an attribute on an Amazon ECS resource. If the attribute
  // does not exist, it is created. If the attribute exists, its value is replaced
  // with the specified value. To delete an attribute, use DeleteAttributes. For
  // more information, see Attributes (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes)
  // 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 PutAttributes for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeClusterNotFoundException "ClusterNotFoundException"
  //   The specified cluster could not be found. You can view your available clusters
  //   with ListClusters. Amazon ECS clusters are Region-specific.
  //
  //   * ErrCodeTargetNotFoundException "TargetNotFoundException"
  //   The specified target could not be found. You can view your available container
  //   instances with ListContainerInstances. Amazon ECS container instances are
  //   cluster-specific and Region-specific.
  //
  //   * ErrCodeAttributeLimitExceededException "AttributeLimitExceededException"
  //   You can apply up to 10 custom attributes per resource. You can view the attributes
  //   of a resource with ListAttributes. You can remove existing attributes on
  //   a resource with DeleteAttributes.
  //
  //   * 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/PutAttributes