amazonka-cost-explorer-2.0: Amazon Cost Explorer Service 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.CostExplorer.UntagResource

Description

Removes one or more tags from a resource. Specify only tag keys in your request. Don't specify the value.

Synopsis

Creating a Request

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

  • resourceTagKeys :: [Text]

    A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that doesn't exist, it's ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.

Instances

Instances details
ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.CostExplorer.UntagResource" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceTagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [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. For a list of supported resources, see ResourceTag.

$sel:resourceTagKeys:UntagResource', untagResource_resourceTagKeys - A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that doesn't exist, it's ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.

Request Lenses

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

untagResource_resourceTagKeys :: Lens' UntagResource [Text] Source #

A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that doesn't exist, it's ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.

Destructuring the Response

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Constructors

UntagResourceResponse' 

Fields

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.CostExplorer.UntagResource" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" '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