| 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.UntagInstanceProfile
Description
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.
Constructors
| UntagInstanceProfile' | |
Fields
| |
Instances
newUntagInstanceProfile Source #
Arguments
| :: Text | |
| -> UntagInstanceProfile |
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:
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.
Constructors
| UntagInstanceProfileResponse' | |
Instances
| Generic UntagInstanceProfileResponse Source # | |
Defined in Amazonka.IAM.UntagInstanceProfile Associated Types type Rep UntagInstanceProfileResponse :: Type -> Type # | |
| Read UntagInstanceProfileResponse Source # | |
| Show UntagInstanceProfileResponse Source # | |
Defined in Amazonka.IAM.UntagInstanceProfile Methods showsPrec :: Int -> UntagInstanceProfileResponse -> ShowS # show :: UntagInstanceProfileResponse -> String # showList :: [UntagInstanceProfileResponse] -> ShowS # | |
| NFData UntagInstanceProfileResponse Source # | |
Defined in Amazonka.IAM.UntagInstanceProfile Methods rnf :: UntagInstanceProfileResponse -> () # | |
| Eq UntagInstanceProfileResponse Source # | |
Defined in Amazonka.IAM.UntagInstanceProfile Methods (==) :: UntagInstanceProfileResponse -> UntagInstanceProfileResponse -> Bool # (/=) :: UntagInstanceProfileResponse -> UntagInstanceProfileResponse -> Bool # | |
| type Rep UntagInstanceProfileResponse Source # | |
Defined in Amazonka.IAM.UntagInstanceProfile | |
newUntagInstanceProfileResponse :: UntagInstanceProfileResponse Source #
Create a value of UntagInstanceProfileResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.