listInputDeviceTransfers method

Future<ListInputDeviceTransfersResponse> listInputDeviceTransfers({
  1. required String transferType,
  2. int? maxResults,
  3. String? nextToken,
})

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.

May throw BadGatewayException. May throw BadRequestException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw TooManyRequestsException. May throw UnprocessableEntityException.

Implementation

Future<ListInputDeviceTransfersResponse> listInputDeviceTransfers({
  required String transferType,
  int? maxResults,
  String? nextToken,
}) async {
  final $query = <String, List<String>>{
    'transferType': [transferType],
    if (maxResults != null) 'maxResults': [maxResults.toString()],
    if (nextToken != null) 'nextToken': [nextToken],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/prod/inputDeviceTransfers',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return ListInputDeviceTransfersResponse.fromJson(response);
}