Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UntagPolicy' | |
|
Instances
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.
Instances
Eq UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy (==) :: UntagPolicyResponse -> UntagPolicyResponse -> Bool # (/=) :: UntagPolicyResponse -> UntagPolicyResponse -> Bool # | |
Read UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy | |
Show UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy showsPrec :: Int -> UntagPolicyResponse -> ShowS # show :: UntagPolicyResponse -> String # showList :: [UntagPolicyResponse] -> ShowS # | |
Generic UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy type Rep UntagPolicyResponse :: Type -> Type # from :: UntagPolicyResponse -> Rep UntagPolicyResponse x # to :: Rep UntagPolicyResponse x -> UntagPolicyResponse # | |
NFData UntagPolicyResponse Source # | |
Defined in Amazonka.IAM.UntagPolicy rnf :: UntagPolicyResponse -> () # | |
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.