libZSservicesZSamazonka-datasyncZSamazonka-datasync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataSync.UntagResource

Description

Removes a tag from an Amazon Web Services resource.

Synopsis

Creating a Request

data UntagResource Source #

UntagResourceRequest

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the resource to remove the tag from.

  • keys :: NonEmpty Text

    The keys in the key-value pair in the tag to remove.

Instances

Instances details
Eq UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Read UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Generic UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

NFData UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Methods

rnf :: UntagResource -> () #

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Associated Types

type AWSResponse UntagResource #

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.DataSync.UntagResource" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))
type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

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 to remove the tag from.

$sel:keys:UntagResource', untagResource_keys - The keys in the key-value pair in the tag to remove.

Request Lenses

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource to remove the tag from.

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

The keys in the key-value pair in the tag to remove.

Destructuring the Response

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Constructors

UntagResourceResponse' 

Fields

Instances

Instances details
Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.DataSync.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.DataSync.UntagResource" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" '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