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 IAM instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
Synopsis
- data UntagInstanceProfile = UntagInstanceProfile' {
- instanceProfileName :: Text
- tagKeys :: [Text]
- newUntagInstanceProfile :: Text -> UntagInstanceProfile
- untagInstanceProfile_instanceProfileName :: Lens' UntagInstanceProfile Text
- untagInstanceProfile_tagKeys :: Lens' UntagInstanceProfile [Text]
- data UntagInstanceProfileResponse = UntagInstanceProfileResponse' {
- newUntagInstanceProfileResponse :: UntagInstanceProfileResponse
Creating a Request
data UntagInstanceProfile Source #
See: newUntagInstanceProfile
smart constructor.
UntagInstanceProfile' | |
|
Instances
newUntagInstanceProfile Source #
Create a value of UntagInstanceProfile
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:instanceProfileName:UntagInstanceProfile'
, untagInstanceProfile_instanceProfileName
- The name of the IAM instance profile 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:UntagInstanceProfile'
, untagInstanceProfile_tagKeys
- A list of key names as a simple array of strings. The tags with matching
keys are removed from the specified instance profile.
Request Lenses
untagInstanceProfile_instanceProfileName :: Lens' UntagInstanceProfile Text Source #
The name of the IAM instance profile 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: _+=,.@-
untagInstanceProfile_tagKeys :: Lens' UntagInstanceProfile [Text] Source #
A list of key names as a simple array of strings. The tags with matching keys are removed from the specified instance profile.
Destructuring the Response
data UntagInstanceProfileResponse Source #
See: newUntagInstanceProfileResponse
smart constructor.
Instances
newUntagInstanceProfileResponse :: UntagInstanceProfileResponse Source #
Create a value of UntagInstanceProfileResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.