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.
Container for the parameters to the UntagResource operation. Deletes specified tags from an Batch resource.
Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z
public class UntagResourceRequest : AmazonBatchRequest IAmazonWebServiceRequest
The UntagResourceRequest type exposes the following members
Name | Description | |
---|---|---|
UntagResourceRequest() |
Name | Type | Description | |
---|---|---|---|
ResourceArn | System.String |
Gets and sets the property ResourceArn. The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported. |
|
TagKeys | System.Collections.Generic.List<System.String> |
Gets and sets the property TagKeys. The keys of the tags to be removed. |
This demonstrates calling the UntagResource action.
var client = new AmazonBatchClient(); var response = client.UntagResource(new UntagResourceRequest { ResourceArn = "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1", TagKeys = new List<string> { "Stage" } });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5