Amazon.AutoScaling.AmazonAutoScalingClient.CreateOrUpdateTags C# (CSharp) Method

CreateOrUpdateTags() public method

Creates or updates tags for the specified Auto Scaling group.

When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.

For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide.

/// You already have an Auto Scaling group or launch configuration with this name. /// /// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public CreateOrUpdateTags ( CreateOrUpdateTagsRequest request ) : CreateOrUpdateTagsResponse
request CreateOrUpdateTagsRequest Container for the necessary parameters to execute the CreateOrUpdateTags service method.
return CreateOrUpdateTagsResponse
        public CreateOrUpdateTagsResponse CreateOrUpdateTags(CreateOrUpdateTagsRequest request)
        {
            var marshaller = new CreateOrUpdateTagsRequestMarshaller();
            var unmarshaller = CreateOrUpdateTagsResponseUnmarshaller.Instance;

            return Invoke<CreateOrUpdateTagsRequest,CreateOrUpdateTagsResponse>(request, marshaller, unmarshaller);
        }
AmazonAutoScalingClient