amazonka-batch-2.0: Amazon Batch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Batch.UntagResource

Description

Deletes specified tags from an Batch resource.

Synopsis

Creating a Request

data UntagResource Source #

Contains the parameters for UntagResource.

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • resourceArn :: Text

    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 :: NonEmpty Text

    The keys of the tags to be removed.

Instances

Instances details
ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.Batch.UntagResource" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newUntagResource Source #

Create a value of UntagResource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceArn:UntagResource', untagResource_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.

$sel:tagKeys:UntagResource', untagResource_tagKeys - The keys of the tags to be removed.

Request Lenses

untagResource_resourceArn :: Lens' UntagResource Text Source #

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.

untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) Source #

The keys of the tags to be removed.

Destructuring the Response

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Constructors

UntagResourceResponse' 

Fields

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Batch.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.Batch.UntagResource" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUntagResourceResponse Source #

Create a value of UntagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UntagResourceResponse', untagResourceResponse_httpStatus - The response's http status code.

Response Lenses