amazonka-application-insights-2.0: Amazon CloudWatch Application Insights 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.ApplicationInsights.UntagResource

Description

Remove one or more tags (keys and values) from a specified application.

Synopsis

Creating a Request

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • resourceARN :: Text

    The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from.

  • tagKeys :: [Text]

    The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value.

    To remove more than one tag from the application, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand.

Instances

Instances details
ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.ApplicationInsights.UntagResource" "amazonka-application-insights-2.0-HJv8DARmsLI1hpMeOEjP38" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") '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 application that you want to remove one or more tags from.

$sel:tagKeys:UntagResource', untagResource_tagKeys - The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value.

To remove more than one tag from the application, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand.

Request Lenses

untagResource_resourceARN :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value.

To remove more than one tag from the application, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand.

Destructuring the Response

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Constructors

UntagResourceResponse' 

Fields

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.ApplicationInsights.UntagResource" "amazonka-application-insights-2.0-HJv8DARmsLI1hpMeOEjP38" '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