amazonka-chime-sdk-meetings-2.0: Amazon Chime SDK Meetings 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.ChimeSdkMeetings.UntagResource

Description

Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:

  • To remove tags from a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for removing tags. For more information, see the documentation for the service whose resource you want to untag.
  • You can only tag resources that are located in the specified AWS Region for the calling AWS account.

Minimum permissions

In addition to the tag:UntagResources permission required by this operation, you must also have the remove tags permission defined by the service that created the resource. For example, to remove the tags from an Amazon EC2 instance using the UntagResources operation, you must have both of the following permissions:

tag:UntagResource
ChimeSDKMeetings:DeleteTags
Synopsis

Creating a Request

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • resourceARN :: Text

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

  • tagKeys :: [Text]

    The tag keys being removed from the resources.

Instances

Instances details
ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.ChimeSdkMeetings.UntagResource" "amazonka-chime-sdk-meetings-2.0-BH1YehHiRGe8LBGen60xi" '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 resource that you're removing tags from.

$sel:tagKeys:UntagResource', untagResource_tagKeys - The tag keys being removed from the resources.

Request Lenses

untagResource_resourceARN :: Lens' UntagResource Text Source #

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

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The tag keys being removed from the resources.

Destructuring the Response

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Constructors

UntagResourceResponse' 

Fields

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ChimeSdkMeetings.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.ChimeSdkMeetings.UntagResource" "amazonka-chime-sdk-meetings-2.0-BH1YehHiRGe8LBGen60xi" '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