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 |
Deactivates the specified device identifier.
Synopsis
- data DeactivateDeviceIdentifier = DeactivateDeviceIdentifier' {}
- newDeactivateDeviceIdentifier :: Text -> DeactivateDeviceIdentifier
- deactivateDeviceIdentifier_clientToken :: Lens' DeactivateDeviceIdentifier (Maybe Text)
- deactivateDeviceIdentifier_deviceIdentifierArn :: Lens' DeactivateDeviceIdentifier Text
- data DeactivateDeviceIdentifierResponse = DeactivateDeviceIdentifierResponse' {}
- newDeactivateDeviceIdentifierResponse :: Int -> DeviceIdentifier -> DeactivateDeviceIdentifierResponse
- deactivateDeviceIdentifierResponse_httpStatus :: Lens' DeactivateDeviceIdentifierResponse Int
- deactivateDeviceIdentifierResponse_deviceIdentifier :: Lens' DeactivateDeviceIdentifierResponse DeviceIdentifier
Creating a Request
data DeactivateDeviceIdentifier Source #
See: newDeactivateDeviceIdentifier
smart constructor.
DeactivateDeviceIdentifier' | |
|
Instances
newDeactivateDeviceIdentifier Source #
Create a value of DeactivateDeviceIdentifier
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:clientToken:DeactivateDeviceIdentifier'
, deactivateDeviceIdentifier_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
DeactivateDeviceIdentifier
, deactivateDeviceIdentifier_deviceIdentifierArn
- The Amazon Resource Name (ARN) of the device identifier.
Request Lenses
deactivateDeviceIdentifier_clientToken :: Lens' DeactivateDeviceIdentifier (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
deactivateDeviceIdentifier_deviceIdentifierArn :: Lens' DeactivateDeviceIdentifier Text Source #
The Amazon Resource Name (ARN) of the device identifier.
Destructuring the Response
data DeactivateDeviceIdentifierResponse Source #
See: newDeactivateDeviceIdentifierResponse
smart constructor.
DeactivateDeviceIdentifierResponse' | |
|
Instances
Generic DeactivateDeviceIdentifierResponse Source # | |
Show DeactivateDeviceIdentifierResponse Source # | |
NFData DeactivateDeviceIdentifierResponse Source # | |
Defined in Amazonka.PrivateNetworks.DeactivateDeviceIdentifier rnf :: DeactivateDeviceIdentifierResponse -> () # | |
Eq DeactivateDeviceIdentifierResponse Source # | |
type Rep DeactivateDeviceIdentifierResponse Source # | |
Defined in Amazonka.PrivateNetworks.DeactivateDeviceIdentifier type Rep DeactivateDeviceIdentifierResponse = D1 ('MetaData "DeactivateDeviceIdentifierResponse" "Amazonka.PrivateNetworks.DeactivateDeviceIdentifier" "amazonka-privatenetworks-2.0-6kTUHQMy1b1JCa08Y5Egzo" 'False) (C1 ('MetaCons "DeactivateDeviceIdentifierResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "deviceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DeviceIdentifier))) |
newDeactivateDeviceIdentifierResponse Source #
Create a value of DeactivateDeviceIdentifierResponse
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:httpStatus:DeactivateDeviceIdentifierResponse'
, deactivateDeviceIdentifierResponse_httpStatus
- The response's http status code.
$sel:deviceIdentifier:DeactivateDeviceIdentifierResponse'
, deactivateDeviceIdentifierResponse_deviceIdentifier
- Information about the device identifier.
Response Lenses
deactivateDeviceIdentifierResponse_httpStatus :: Lens' DeactivateDeviceIdentifierResponse Int Source #
The response's http status code.
deactivateDeviceIdentifierResponse_deviceIdentifier :: Lens' DeactivateDeviceIdentifierResponse DeviceIdentifier Source #
Information about the device identifier.