2020/10/16 - AWS Elemental MediaLive - 5 new api methods
Changes The AWS Elemental MediaLive APIs and SDKs now support the ability to transfer the ownership of MediaLive Link devices across AWS accounts.
List input devices that are currently being transferred. List input devices that you are transferring from your AWS account or input devices that another AWS account is transferring to you.
See also: AWS API Documentation
Request Syntax
client.list_input_device_transfers( MaxResults=123, NextToken='string', TransferType='string' )
integer
Placeholder documentation for MaxResults
string
Placeholder documentation for __string
string
[REQUIRED] Placeholder documentation for __string
dict
Response Syntax
{ 'InputDeviceTransfers': [ { 'Id': 'string', 'Message': 'string', 'TargetCustomerId': 'string', 'TransferType': 'OUTGOING'|'INCOMING' }, ], 'NextToken': 'string' }
Response Structure
(dict) -- An array of input devices that are currently being transferred.
InputDeviceTransfers (list) -- The list of devices that you are transferring or are being transferred to you.
(dict) -- Details about the input device that is being transferred.
Id (string) -- The unique ID of the input device.
Message (string) -- The optional message that the sender has attached to the transfer.
TargetCustomerId (string) -- The AWS account ID for the recipient of the input device transfer.
TransferType (string) -- The type (direction) of the input device transfer.
NextToken (string) -- A token to get additional list results.
Reject the transfer of the specified input device to your AWS account.
See also: AWS API Documentation
Request Syntax
client.reject_input_device_transfer( InputDeviceId='string' )
string
[REQUIRED] The unique ID of the input device to reject. For example, hd-123456789abcdef.
dict
Response Syntax
{}
Response Structure
(dict) -- Your reject request has succeeded.
Cancel an input device transfer that you have requested.
See also: AWS API Documentation
Request Syntax
client.cancel_input_device_transfer( InputDeviceId='string' )
string
[REQUIRED] The unique ID of the input device to cancel. For example, hd-123456789abcdef.
dict
Response Syntax
{}
Response Structure
(dict) -- Your cancel request has succeeded.
Start an input device transfer to another AWS account. After you make the request, the other account must accept or reject the transfer.
See also: AWS API Documentation
Request Syntax
client.transfer_input_device( InputDeviceId='string', TargetCustomerId='string', TransferMessage='string' )
string
[REQUIRED] The unique ID of this input device. For example, hd-123456789abcdef.
string
The AWS account ID (12 digits) for the recipient of the device transfer.
string
An optional message for the recipient. Maximum 280 characters.
dict
Response Syntax
{}
Response Structure
(dict) -- The device transfer request has started.
Accept an incoming input device transfer. The ownership of the device will transfer to your AWS account.
See also: AWS API Documentation
Request Syntax
client.accept_input_device_transfer( InputDeviceId='string' )
string
[REQUIRED] The unique ID of the input device to accept. For example, hd-123456789abcdef.
dict
Response Syntax
{}
Response Structure
(dict) -- Your request to accept this device transfer has succeeded.