| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
| |
Instances
Arguments
| :: Text | |
| -> UntagPolicy |
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:
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' | |
Instances
| Generic UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy Associated Types type Rep UntagPolicyResponse :: Type -> Type # Methods from :: UntagPolicyResponse -> Rep UntagPolicyResponse x # to :: Rep UntagPolicyResponse x -> UntagPolicyResponse # | |
| Read UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy Methods readsPrec :: Int -> ReadS UntagPolicyResponse # readList :: ReadS [UntagPolicyResponse] # | |
| Show UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy Methods showsPrec :: Int -> UntagPolicyResponse -> ShowS # show :: UntagPolicyResponse -> String # showList :: [UntagPolicyResponse] -> ShowS # | |
| NFData UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy Methods rnf :: UntagPolicyResponse -> () # | |
| Eq UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy Methods (==) :: UntagPolicyResponse -> UntagPolicyResponse -> Bool # (/=) :: UntagPolicyResponse -> UntagPolicyResponse -> Bool # | |
| type Rep UntagPolicyResponse Source # | |
newUntagPolicyResponse :: UntagPolicyResponse Source #
Create a value of UntagPolicyResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.