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

Description

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

Synopsis

Creating a Request

data UntagPolicy Source #

See: newUntagPolicy smart constructor.

Constructors

UntagPolicy' 

Fields

  • policyArn :: Text

    The ARN of the IAM customer managed policy 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 policy.

Instances

Instances details
Eq UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

Read UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

Show UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

Generic UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

Associated Types

type Rep UntagPolicy :: Type -> Type #

NFData UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

Methods

rnf :: UntagPolicy -> () #

Hashable UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

AWSRequest UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

Associated Types

type AWSResponse UntagPolicy #

ToHeaders UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

Methods

toHeaders :: UntagPolicy -> [Header] #

ToPath UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

ToQuery UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

type Rep UntagPolicy Source # 
Instance details

Defined in Amazonka.IAM.UntagPolicy

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

Defined in Amazonka.IAM.UntagPolicy

newUntagPolicy Source #

Create a value of UntagPolicy 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:policyArn:UntagPolicy', untagPolicy_policyArn - The ARN of the IAM customer managed policy 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:UntagPolicy', untagPolicy_tagKeys - A list of key names as a simple array of strings. The tags with matching keys are removed from the specified policy.

Request Lenses

untagPolicy_policyArn :: Lens' UntagPolicy Text Source #

The ARN of the IAM customer managed policy 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: _+=,.@-

untagPolicy_tagKeys :: Lens' UntagPolicy [Text] Source #

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

Destructuring the Response

data UntagPolicyResponse Source #

See: newUntagPolicyResponse smart constructor.

Constructors

UntagPolicyResponse' 

newUntagPolicyResponse :: UntagPolicyResponse Source #

Create a value of UntagPolicyResponse with all optional fields omitted.

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