amazonka-cloudwatch-logs-2.0: Amazon CloudWatch Logs 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.CloudWatchLogs.UntagResource

Description

Removes one or more tags from the specified resource.

Synopsis

Creating a Request

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • resourceArn :: Text

    The ARN of the CloudWatch Logs resource that you're removing tags from.

    The ARN format of a log group is arn:aws:logs:Region:account-id:log-group:log-group-name

    The ARN format of a destination is arn:aws:logs:Region:account-id:destination:destination-name

    For more information about ARN format, see CloudWatch Logs resources and operations.

  • tagKeys :: [Text]

    The list of tag keys to remove from the resource.

Instances

Instances details
ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.CloudWatchLogs.UntagResource" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" '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 ARN of the CloudWatch Logs resource that you're removing tags from.

The ARN format of a log group is arn:aws:logs:Region:account-id:log-group:log-group-name

The ARN format of a destination is arn:aws:logs:Region:account-id:destination:destination-name

For more information about ARN format, see CloudWatch Logs resources and operations.

$sel:tagKeys:UntagResource', untagResource_tagKeys - The list of tag keys to remove from the resource.

Request Lenses

untagResource_resourceArn :: Lens' UntagResource Text Source #

The ARN of the CloudWatch Logs resource that you're removing tags from.

The ARN format of a log group is arn:aws:logs:Region:account-id:log-group:log-group-name

The ARN format of a destination is arn:aws:logs:Region:account-id:destination:destination-name

For more information about ARN format, see CloudWatch Logs resources and operations.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The list of tag keys to remove from the resource.

Destructuring the Response

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.CloudWatchLogs.UntagResource" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUntagResourceResponse :: UntagResourceResponse Source #

Create a value of UntagResourceResponse with all optional fields omitted.

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