describeExportConfigurations method

  1. @Deprecated('Deprecated')
Future<DescribeExportConfigurationsResponse> describeExportConfigurations({
  1. List<String>? exportIds,
  2. int? maxResults,
  3. String? nextToken,
})

DescribeExportConfigurations is deprecated. Use DescribeImportTasks, instead.

May throw AuthorizationErrorException. May throw ResourceNotFoundException. May throw InvalidParameterException. May throw InvalidParameterValueException. May throw ServerInternalErrorException. May throw HomeRegionNotSetException.

Parameter exportIds : A list of continuous export IDs to search for.

Parameter maxResults : A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.

Parameter nextToken : The token from the previous call to describe-export-tasks.

Implementation

@Deprecated('Deprecated')
Future<DescribeExportConfigurationsResponse> describeExportConfigurations({
  List<String>? exportIds,
  int? maxResults,
  String? nextToken,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target':
        'AWSPoseidonService_V2015_11_01.DescribeExportConfigurations'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      if (exportIds != null) 'exportIds': exportIds,
      if (maxResults != null) 'maxResults': maxResults,
      if (nextToken != null) 'nextToken': nextToken,
    },
  );

  return DescribeExportConfigurationsResponse.fromJson(jsonResponse.body);
}