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 |
Activates the specified device identifier.
Synopsis
- data ActivateDeviceIdentifier = ActivateDeviceIdentifier' {}
- newActivateDeviceIdentifier :: Text -> ActivateDeviceIdentifier
- activateDeviceIdentifier_clientToken :: Lens' ActivateDeviceIdentifier (Maybe Text)
- activateDeviceIdentifier_deviceIdentifierArn :: Lens' ActivateDeviceIdentifier Text
- data ActivateDeviceIdentifierResponse = ActivateDeviceIdentifierResponse' {
- tags :: Maybe (Sensitive (HashMap Text Text))
- httpStatus :: Int
- deviceIdentifier :: DeviceIdentifier
- newActivateDeviceIdentifierResponse :: Int -> DeviceIdentifier -> ActivateDeviceIdentifierResponse
- activateDeviceIdentifierResponse_tags :: Lens' ActivateDeviceIdentifierResponse (Maybe (HashMap Text Text))
- activateDeviceIdentifierResponse_httpStatus :: Lens' ActivateDeviceIdentifierResponse Int
- activateDeviceIdentifierResponse_deviceIdentifier :: Lens' ActivateDeviceIdentifierResponse DeviceIdentifier
Creating a Request
data ActivateDeviceIdentifier Source #
See: newActivateDeviceIdentifier
smart constructor.
ActivateDeviceIdentifier' | |
|
Instances
newActivateDeviceIdentifier Source #
Create a value of ActivateDeviceIdentifier
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:ActivateDeviceIdentifier'
, activateDeviceIdentifier_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
ActivateDeviceIdentifier
, activateDeviceIdentifier_deviceIdentifierArn
- The Amazon Resource Name (ARN) of the device identifier.
Request Lenses
activateDeviceIdentifier_clientToken :: Lens' ActivateDeviceIdentifier (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.
activateDeviceIdentifier_deviceIdentifierArn :: Lens' ActivateDeviceIdentifier Text Source #
The Amazon Resource Name (ARN) of the device identifier.
Destructuring the Response
data ActivateDeviceIdentifierResponse Source #
See: newActivateDeviceIdentifierResponse
smart constructor.
ActivateDeviceIdentifierResponse' | |
|
Instances
newActivateDeviceIdentifierResponse Source #
Create a value of ActivateDeviceIdentifierResponse
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:
ActivateDeviceIdentifierResponse
, activateDeviceIdentifierResponse_tags
- The tags on the device identifier.
$sel:httpStatus:ActivateDeviceIdentifierResponse'
, activateDeviceIdentifierResponse_httpStatus
- The response's http status code.
$sel:deviceIdentifier:ActivateDeviceIdentifierResponse'
, activateDeviceIdentifierResponse_deviceIdentifier
- Information about the device identifier.
Response Lenses
activateDeviceIdentifierResponse_tags :: Lens' ActivateDeviceIdentifierResponse (Maybe (HashMap Text Text)) Source #
The tags on the device identifier.
activateDeviceIdentifierResponse_httpStatus :: Lens' ActivateDeviceIdentifierResponse Int Source #
The response's http status code.
activateDeviceIdentifierResponse_deviceIdentifier :: Lens' ActivateDeviceIdentifierResponse DeviceIdentifier Source #
Information about the device identifier.