| 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.UntagUser
Description
Removes the specified tags from the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
Synopsis
- data UntagUser = UntagUser' {}
- newUntagUser :: Text -> UntagUser
- untagUser_userName :: Lens' UntagUser Text
- untagUser_tagKeys :: Lens' UntagUser [Text]
- data UntagUserResponse = UntagUserResponse' {
- newUntagUserResponse :: UntagUserResponse
Creating a Request
See: newUntagUser smart constructor.
Constructors
| UntagUser' | |
Fields
| |
Instances
Create a value of UntagUser 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:
UntagUser, untagUser_userName - The name of the IAM user 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:UntagUser', untagUser_tagKeys - A list of key names as a simple array of strings. The tags with matching
keys are removed from the specified user.
Request Lenses
untagUser_userName :: Lens' UntagUser Text Source #
The name of the IAM user 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: _+=,.@-
untagUser_tagKeys :: Lens' UntagUser [Text] Source #
A list of key names as a simple array of strings. The tags with matching keys are removed from the specified user.
Destructuring the Response
data UntagUserResponse Source #
See: newUntagUserResponse smart constructor.
Constructors
| UntagUserResponse' | |
Instances
| Generic UntagUserResponse Source # | |
Defined in Amazonka.IAM.UntagUser Associated Types type Rep UntagUserResponse :: Type -> Type # Methods from :: UntagUserResponse -> Rep UntagUserResponse x # to :: Rep UntagUserResponse x -> UntagUserResponse # | |
| Read UntagUserResponse Source # | |
Defined in Amazonka.IAM.UntagUser Methods readsPrec :: Int -> ReadS UntagUserResponse # readList :: ReadS [UntagUserResponse] # | |
| Show UntagUserResponse Source # | |
Defined in Amazonka.IAM.UntagUser Methods showsPrec :: Int -> UntagUserResponse -> ShowS # show :: UntagUserResponse -> String # showList :: [UntagUserResponse] -> ShowS # | |
| NFData UntagUserResponse Source # | |
Defined in Amazonka.IAM.UntagUser Methods rnf :: UntagUserResponse -> () # | |
| Eq UntagUserResponse Source # | |
Defined in Amazonka.IAM.UntagUser Methods (==) :: UntagUserResponse -> UntagUserResponse -> Bool # (/=) :: UntagUserResponse -> UntagUserResponse -> Bool # | |
| type Rep UntagUserResponse Source # | |
newUntagUserResponse :: UntagUserResponse Source #
Create a value of UntagUserResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.