| 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.MediaLive.TransferInputDevice
Description
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'_targetCustomerId :: Lens' TransferInputDevice' (Maybe Text)
- transferInputDevice'_targetRegion :: Lens' TransferInputDevice' (Maybe Text)
- transferInputDevice'_transferMessage :: 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.
Constructors
| TransferInputDevice'' | |
Fields
| |
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:
TransferInputDevice', transferInputDevice'_targetCustomerId - The AWS account ID (12 digits) for the recipient of the device transfer.
$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:inputDeviceId:TransferInputDevice'', transferInputDevice'_inputDeviceId - The unique ID of this input device. For example, hd-123456789abcdef.
Request Lenses
transferInputDevice'_targetCustomerId :: Lens' TransferInputDevice' (Maybe Text) Source #
The AWS account ID (12 digits) for the recipient of the device transfer.
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'_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.
Constructors
| TransferInputDeviceResponse' | |
Fields
| |
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.