libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.UntagUser

Description

Removes the specified tags from the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Synopsis

Creating a Request

data UntagUser Source #

See: newUntagUser smart constructor.

Constructors

UntagUser' 

Fields

  • userName :: Text

    The name of the IAM user from which you want to remove tags.

    This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

  • tagKeys :: [Text]

    A list of key names as a simple array of strings. The tags with matching keys are removed from the specified user.

Instances

Instances details
Eq UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Read UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Show UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Generic UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Associated Types

type Rep UntagUser :: Type -> Type #

NFData UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Methods

rnf :: UntagUser -> () #

Hashable UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

AWSRequest UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Associated Types

type AWSResponse UntagUser #

ToHeaders UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Methods

toHeaders :: UntagUser -> [Header] #

ToPath UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

ToQuery UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

type Rep UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

type Rep UntagUser = D1 ('MetaData "UntagUser" "Amazonka.IAM.UntagUser" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "UntagUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse UntagUser Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

newUntagUser Source #

Create a value of UntagUser 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:userName:UntagUser', untagUser_userName - The name of the IAM user from which you want to remove tags.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

$sel:tagKeys:UntagUser', untagUser_tagKeys - A list of key names as a simple array of strings. The tags with matching keys are removed from the specified user.

Request Lenses

untagUser_userName :: Lens' UntagUser Text Source #

The name of the IAM user from which you want to remove tags.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

untagUser_tagKeys :: Lens' UntagUser [Text] Source #

A list of key names as a simple array of strings. The tags with matching keys are removed from the specified user.

Destructuring the Response

data UntagUserResponse Source #

See: newUntagUserResponse smart constructor.

Constructors

UntagUserResponse' 

Instances

Instances details
Eq UntagUserResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Read UntagUserResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Show UntagUserResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Generic UntagUserResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Associated Types

type Rep UntagUserResponse :: Type -> Type #

NFData UntagUserResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

Methods

rnf :: UntagUserResponse -> () #

type Rep UntagUserResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagUser

type Rep UntagUserResponse = D1 ('MetaData "UntagUserResponse" "Amazonka.IAM.UntagUser" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "UntagUserResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUntagUserResponse :: UntagUserResponse Source #

Create a value of UntagUserResponse with all optional fields omitted.

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