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 |
Start an input device transfer to another AWS account. After you make the request, the other account must accept or reject the transfer.
Synopsis
- data TransferInputDevice' = TransferInputDevice'' {}
- newTransferInputDevice' :: Text -> TransferInputDevice'
- transferInputDevice'_targetRegion :: Lens' TransferInputDevice' (Maybe Text)
- transferInputDevice'_transferMessage :: Lens' TransferInputDevice' (Maybe Text)
- transferInputDevice'_targetCustomerId :: Lens' TransferInputDevice' (Maybe Text)
- transferInputDevice'_inputDeviceId :: Lens' TransferInputDevice' Text
- data TransferInputDeviceResponse = TransferInputDeviceResponse' {
- httpStatus :: Int
- newTransferInputDeviceResponse :: Int -> TransferInputDeviceResponse
- transferInputDeviceResponse_httpStatus :: Lens' TransferInputDeviceResponse Int
Creating a Request
data TransferInputDevice' Source #
A request to transfer an input device.
See: newTransferInputDevice'
smart constructor.
TransferInputDevice'' | |
|
Instances
newTransferInputDevice' Source #
Create a value of TransferInputDevice'
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:targetRegion:TransferInputDevice''
, transferInputDevice'_targetRegion
- The target AWS region to transfer the device.
$sel:transferMessage:TransferInputDevice''
, transferInputDevice'_transferMessage
- An optional message for the recipient. Maximum 280 characters.
$sel:targetCustomerId:TransferInputDevice''
, transferInputDevice'_targetCustomerId
- The AWS account ID (12 digits) for the recipient of the device transfer.
$sel:inputDeviceId:TransferInputDevice''
, transferInputDevice'_inputDeviceId
- The unique ID of this input device. For example, hd-123456789abcdef.
Request Lenses
transferInputDevice'_targetRegion :: Lens' TransferInputDevice' (Maybe Text) Source #
The target AWS region to transfer the device.
transferInputDevice'_transferMessage :: Lens' TransferInputDevice' (Maybe Text) Source #
An optional message for the recipient. Maximum 280 characters.
transferInputDevice'_targetCustomerId :: Lens' TransferInputDevice' (Maybe Text) Source #
The AWS account ID (12 digits) for the recipient of the device transfer.
transferInputDevice'_inputDeviceId :: Lens' TransferInputDevice' Text Source #
The unique ID of this input device. For example, hd-123456789abcdef.
Destructuring the Response
data TransferInputDeviceResponse Source #
Placeholder documentation for TransferInputDeviceResponse
See: newTransferInputDeviceResponse
smart constructor.
TransferInputDeviceResponse' | |
|
Instances
newTransferInputDeviceResponse Source #
Create a value of TransferInputDeviceResponse
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:TransferInputDeviceResponse'
, transferInputDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
transferInputDeviceResponse_httpStatus :: Lens' TransferInputDeviceResponse Int Source #
The response's http status code.