libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail
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.CloudTrail.RemoveTags

Description

Removes the specified tags from a trail.

Synopsis

Creating a Request

data RemoveTags Source #

Specifies the tags to remove from a trail.

See: newRemoveTags smart constructor.

Constructors

RemoveTags' 

Fields

  • tagsList :: Maybe [Tag]

    Specifies a list of tags to be removed.

  • resourceId :: Text

    Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:

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

Instances

Instances details
Eq RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Read RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Show RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Generic RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type Rep RemoveTags :: Type -> Type #

NFData RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

rnf :: RemoveTags -> () #

Hashable RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

ToJSON RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

AWSRequest RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type AWSResponse 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

type Rep RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTags = D1 ('MetaData "RemoveTags" "Amazonka.CloudTrail.RemoveTags" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "RemoveTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

newRemoveTags Source #

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:

$sel:tagsList:RemoveTags', removeTags_tagsList - Specifies a list of tags to be removed.

$sel:resourceId:RemoveTags', removeTags_resourceId - Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:

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

Request Lenses

removeTags_tagsList :: Lens' RemoveTags (Maybe [Tag]) Source #

Specifies a list of tags to be removed.

removeTags_resourceId :: Lens' RemoveTags Text Source #

Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:

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

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
Eq RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Read RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Show RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Generic RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type Rep RemoveTagsResponse :: Type -> Type #

NFData RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

rnf :: RemoveTagsResponse -> () #

type Rep RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTagsResponse = D1 ('MetaData "RemoveTagsResponse" "Amazonka.CloudTrail.RemoveTags" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" '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