describeDataDeletionJob method
Future<DescribeDataDeletionJobResponse>
describeDataDeletionJob({
- required String dataDeletionJobArn,
Describes the data deletion job created by CreateDataDeletionJob, including the job status.
May throw InvalidInputException.
May throw ResourceNotFoundException.
Parameter dataDeletionJobArn :
The Amazon Resource Name (ARN) of the data deletion job.
Implementation
Future<DescribeDataDeletionJobResponse> describeDataDeletionJob({
required String dataDeletionJobArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AmazonPersonalize.DescribeDataDeletionJob'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'dataDeletionJobArn': dataDeletionJobArn,
},
);
return DescribeDataDeletionJobResponse.fromJson(jsonResponse.body);
}