libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups
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.ResourceGroups.Untag

Description

Deletes tags from a specified resource group.

Minimum permissions

To run this command, you must have the following permissions:

  • resource-groups:Untag
Synopsis

Creating a Request

data Untag Source #

See: newUntag smart constructor.

Constructors

Untag' 

Fields

  • arn :: Text

    The ARN of the resource group from which to remove tags. The command removed both the specified keys and any values associated with those keys.

  • keys :: [Text]

    The keys of the tags to be removed.

Instances

Instances details
Eq Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

(==) :: Untag -> Untag -> Bool #

(/=) :: Untag -> Untag -> Bool #

Read Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Show Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

showsPrec :: Int -> Untag -> ShowS #

show :: Untag -> String #

showList :: [Untag] -> ShowS #

Generic Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Associated Types

type Rep Untag :: Type -> Type #

Methods

from :: Untag -> Rep Untag x #

to :: Rep Untag x -> Untag #

NFData Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

rnf :: Untag -> () #

Hashable Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

hashWithSalt :: Int -> Untag -> Int #

hash :: Untag -> Int #

ToJSON Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

AWSRequest Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Associated Types

type AWSResponse Untag #

ToHeaders Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

toHeaders :: Untag -> [Header] #

ToPath Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

toPath :: Untag -> ByteString #

ToQuery Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

toQuery :: Untag -> QueryString #

type Rep Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

type Rep Untag = D1 ('MetaData "Untag" "Amazonka.ResourceGroups.Untag" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "Untag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

newUntag Source #

Arguments

:: Text

$sel:arn:Untag'

-> Untag 

Create a value of Untag 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:arn:Untag', untag_arn - The ARN of the resource group from which to remove tags. The command removed both the specified keys and any values associated with those keys.

$sel:keys:Untag', untag_keys - The keys of the tags to be removed.

Request Lenses

untag_arn :: Lens' Untag Text Source #

The ARN of the resource group from which to remove tags. The command removed both the specified keys and any values associated with those keys.

untag_keys :: Lens' Untag [Text] Source #

The keys of the tags to be removed.

Destructuring the Response

data UntagResponse Source #

See: newUntagResponse smart constructor.

Constructors

UntagResponse' 

Fields

Instances

Instances details
Eq UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Read UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Show UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Generic UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Associated Types

type Rep UntagResponse :: Type -> Type #

NFData UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

rnf :: UntagResponse -> () #

type Rep UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

type Rep UntagResponse = D1 ('MetaData "UntagResponse" "Amazonka.ResourceGroups.Untag" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "UntagResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUntagResponse Source #

Create a value of UntagResponse 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:arn:Untag', untagResponse_arn - The ARN of the resource group from which tags have been removed.

$sel:keys:Untag', untagResponse_keys - The keys of the tags that were removed.

$sel:httpStatus:UntagResponse', untagResponse_httpStatus - The response's http status code.

Response Lenses

untagResponse_arn :: Lens' UntagResponse (Maybe Text) Source #

The ARN of the resource group from which tags have been removed.

untagResponse_keys :: Lens' UntagResponse (Maybe [Text]) Source #

The keys of the tags that were removed.

untagResponse_httpStatus :: Lens' UntagResponse Int Source #

The response's http status code.