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 role. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
Synopsis
- data UntagRole = UntagRole' {}
- newUntagRole :: Text -> UntagRole
- untagRole_roleName :: Lens' UntagRole Text
- untagRole_tagKeys :: Lens' UntagRole [Text]
- data UntagRoleResponse = UntagRoleResponse' {
- newUntagRoleResponse :: UntagRoleResponse
Creating a Request
See: newUntagRole
smart constructor.
UntagRole' | |
|
Instances
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.
Instances
Eq UntagRoleResponse Source # | |
Defined in Amazonka.IAM.UntagRole (==) :: UntagRoleResponse -> UntagRoleResponse -> Bool # (/=) :: UntagRoleResponse -> UntagRoleResponse -> Bool # | |
Read UntagRoleResponse Source # | |
Defined in Amazonka.IAM.UntagRole | |
Show UntagRoleResponse Source # | |
Defined in Amazonka.IAM.UntagRole showsPrec :: Int -> UntagRoleResponse -> ShowS # show :: UntagRoleResponse -> String # showList :: [UntagRoleResponse] -> ShowS # | |
Generic UntagRoleResponse Source # | |
Defined in Amazonka.IAM.UntagRole type Rep UntagRoleResponse :: Type -> Type # from :: UntagRoleResponse -> Rep UntagRoleResponse x # to :: Rep UntagRoleResponse x -> UntagRoleResponse # | |
NFData UntagRoleResponse Source # | |
Defined in Amazonka.IAM.UntagRole rnf :: UntagRoleResponse -> () # | |
type Rep UntagRoleResponse Source # | |
newUntagRoleResponse :: UntagRoleResponse Source #
Create a value of UntagRoleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.