describeBatchDeleteConfigurationTask method

Future<DescribeBatchDeleteConfigurationTaskResponse> describeBatchDeleteConfigurationTask({
  1. required String taskId,
})

Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.

May throw AuthorizationErrorException. May throw HomeRegionNotSetException. May throw InvalidParameterValueException. May throw ServerInternalErrorException.

Parameter taskId : The ID of the task to delete.

Implementation

Future<DescribeBatchDeleteConfigurationTaskResponse>
    describeBatchDeleteConfigurationTask({
  required String taskId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target':
        'AWSPoseidonService_V2015_11_01.DescribeBatchDeleteConfigurationTask'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'taskId': taskId,
    },
  );

  return DescribeBatchDeleteConfigurationTaskResponse.fromJson(
      jsonResponse.body);
}