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.UntagRole

Description

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

Synopsis

Creating a Request

data UntagRole Source #

See: newUntagRole smart constructor.

Constructors

UntagRole' 

Fields

  • roleName :: Text

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

    This parameter accepts (through its regex pattern) a string of characters that consist 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 role.

Instances

Instances details
Eq UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Read UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Show UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Generic UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Associated Types

type Rep UntagRole :: Type -> Type #

NFData UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Methods

rnf :: UntagRole -> () #

Hashable UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

AWSRequest UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Associated Types

type AWSResponse UntagRole #

ToHeaders UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Methods

toHeaders :: UntagRole -> [Header] #

ToPath UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

ToQuery UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

type Rep UntagRole Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

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

Defined in Amazonka.IAM.UntagRole

newUntagRole Source #

Create a value of UntagRole 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:roleName:UntagRole', untagRole_roleName - The name of the IAM role from which you want to remove tags.

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

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

Request Lenses

untagRole_roleName :: Lens' UntagRole Text Source #

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

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

untagRole_tagKeys :: Lens' UntagRole [Text] Source #

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

Destructuring the Response

data UntagRoleResponse Source #

See: newUntagRoleResponse smart constructor.

Constructors

UntagRoleResponse' 

Instances

Instances details
Eq UntagRoleResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Read UntagRoleResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Show UntagRoleResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Generic UntagRoleResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Associated Types

type Rep UntagRoleResponse :: Type -> Type #

NFData UntagRoleResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

Methods

rnf :: UntagRoleResponse -> () #

type Rep UntagRoleResponse Source # 
Instance details

Defined in Amazonka.IAM.UntagRole

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

newUntagRoleResponse :: UntagRoleResponse Source #

Create a value of UntagRoleResponse with all optional fields omitted.

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