// 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.
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

in the Amazon Elastic Container Service Developer Guide.
// 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 .
func (c *Client) PutAttributes(ctx context.Context, params *PutAttributesInput, optFns ...func(*Options)) (*PutAttributesOutput, error) {
	if params == nil {
		params = &PutAttributesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "PutAttributes", params, optFns, addOperationPutAttributesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*PutAttributesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) PutAttributes ( ctx context . Context , params * PutAttributesInput , optFns ... func ( * Options ) ) ( * PutAttributesOutput , error ) { if params == nil { params = & PutAttributesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationPutAttributesMiddlewares ) if err != nil { return nil , err } out := result . ( * PutAttributesOutput ) out . ResultMetadata = metadata return out , nil }
Create or update an attribute on an Amazon ECS resource.
Create or update an attribute on an Amazon ECS resource .