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.PrivateNetworks.DeactivateDeviceIdentifier
Description
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.
Constructors
DeactivateDeviceIdentifier' | |
Fields
|
Instances
newDeactivateDeviceIdentifier Source #
Arguments
:: Text | |
-> DeactivateDeviceIdentifier |
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.
Constructors
DeactivateDeviceIdentifierResponse' | |
Fields
|
Instances
newDeactivateDeviceIdentifierResponse Source #
Arguments
:: Int | |
-> DeviceIdentifier | |
-> DeactivateDeviceIdentifierResponse |
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.