AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
For .NET Core and PCL this operation is only available in asynchronous form. Please refer to PutAttributesAsync.
public abstract PutAttributesResponse PutAttributes( PutAttributesRequest request )
Container for the necessary parameters to execute the PutAttributes service method.
|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.|
|ClusterNotFoundException||The specified cluster could not be found. You can view your available clusters with ListClusters. Amazon ECS clusters are region-specific.|
|InvalidParameterException||The specified parameter is invalid. Review the available parameters for the API request.|
|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.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms