amazonka-cloudtrail-2.0: Amazon CloudTrail 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.CloudTrail.RemoveTags

Description

Removes the specified tags from a trail or event data store.

Synopsis

Creating a Request

data RemoveTags Source #

Specifies the tags to remove from a trail or event data store.

See: newRemoveTags smart constructor.

Constructors

RemoveTags' 

Fields

  • resourceId :: Text

    Specifies the ARN of the trail or event data store from which tags should be removed.

    Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

    Example event data store ARN format: arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE

  • tagsList :: [Tag]

    Specifies a list of tags to be removed.

Instances

Instances details
ToJSON RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

ToHeaders RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

toHeaders :: RemoveTags -> [Header] #

ToPath RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

ToQuery RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

AWSRequest RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type AWSResponse RemoveTags #

Generic RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type Rep RemoveTags :: Type -> Type #

Read RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Show RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

NFData RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

rnf :: RemoveTags -> () #

Eq RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Hashable RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type AWSResponse RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTags = D1 ('MetaData "RemoveTags" "Amazonka.CloudTrail.RemoveTags" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "RemoveTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))

newRemoveTags Source #

Arguments

:: Text

RemoveTags

-> RemoveTags 

Create a value of RemoveTags 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:

RemoveTags, removeTags_resourceId - Specifies the ARN of the trail or event data store from which tags should be removed.

Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

Example event data store ARN format: arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE

RemoveTags, removeTags_tagsList - Specifies a list of tags to be removed.

Request Lenses

removeTags_resourceId :: Lens' RemoveTags Text Source #

Specifies the ARN of the trail or event data store from which tags should be removed.

Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

Example event data store ARN format: arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE

removeTags_tagsList :: Lens' RemoveTags [Tag] Source #

Specifies a list of tags to be removed.

Destructuring the Response

data RemoveTagsResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newRemoveTagsResponse smart constructor.

Constructors

RemoveTagsResponse' 

Fields

Instances

Instances details
Generic RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type Rep RemoveTagsResponse :: Type -> Type #

Read RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Show RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

NFData RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

rnf :: RemoveTagsResponse -> () #

Eq RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTagsResponse = D1 ('MetaData "RemoveTagsResponse" "Amazonka.CloudTrail.RemoveTags" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "RemoveTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRemoveTagsResponse Source #

Create a value of RemoveTagsResponse 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:RemoveTagsResponse', removeTagsResponse_httpStatus - The response's http status code.

Response Lenses