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 virtual multi-factor authentication (MFA) device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
Synopsis
- data UntagMFADevice = UntagMFADevice' {
- serialNumber :: Text
- tagKeys :: [Text]
- newUntagMFADevice :: Text -> UntagMFADevice
- untagMFADevice_serialNumber :: Lens' UntagMFADevice Text
- untagMFADevice_tagKeys :: Lens' UntagMFADevice [Text]
- data UntagMFADeviceResponse = UntagMFADeviceResponse' {
- newUntagMFADeviceResponse :: UntagMFADeviceResponse
Creating a Request
data UntagMFADevice Source #
See: newUntagMFADevice
smart constructor.
UntagMFADevice' | |
|
Instances
Create a value of UntagMFADevice
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:serialNumber:UntagMFADevice'
, untagMFADevice_serialNumber
- The unique identifier for the IAM virtual MFA device from which you want
to remove tags. For virtual MFA devices, the serial number is the same
as the ARN.
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:UntagMFADevice'
, untagMFADevice_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
untagMFADevice_serialNumber :: Lens' UntagMFADevice Text Source #
The unique identifier for the IAM virtual MFA device from which you want to remove tags. For virtual MFA devices, the serial number is the same as the ARN.
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: _+=,.@-
untagMFADevice_tagKeys :: Lens' UntagMFADevice [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 UntagMFADeviceResponse Source #
See: newUntagMFADeviceResponse
smart constructor.
Instances
Eq UntagMFADeviceResponse Source # | |
Defined in Amazonka.IAM.UntagMFADevice | |
Read UntagMFADeviceResponse Source # | |
Show UntagMFADeviceResponse Source # | |
Defined in Amazonka.IAM.UntagMFADevice showsPrec :: Int -> UntagMFADeviceResponse -> ShowS # show :: UntagMFADeviceResponse -> String # showList :: [UntagMFADeviceResponse] -> ShowS # | |
Generic UntagMFADeviceResponse Source # | |
Defined in Amazonka.IAM.UntagMFADevice type Rep UntagMFADeviceResponse :: Type -> Type # | |
NFData UntagMFADeviceResponse Source # | |
Defined in Amazonka.IAM.UntagMFADevice rnf :: UntagMFADeviceResponse -> () # | |
type Rep UntagMFADeviceResponse Source # | |
newUntagMFADeviceResponse :: UntagMFADeviceResponse Source #
Create a value of UntagMFADeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.