describeRefreshSchemasStatus method
Future<DescribeRefreshSchemasStatusResponse>
describeRefreshSchemasStatus({
- required String endpointArn,
Returns the status of the RefreshSchemas operation.
May throw InvalidResourceStateFault. May throw ResourceNotFoundFault.
Parameter endpointArn
:
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
Implementation
Future<DescribeRefreshSchemasStatusResponse> describeRefreshSchemasStatus({
required String endpointArn,
}) async {
ArgumentError.checkNotNull(endpointArn, 'endpointArn');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AmazonDMSv20160101.DescribeRefreshSchemasStatus'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'EndpointArn': endpointArn,
},
);
return DescribeRefreshSchemasStatusResponse.fromJson(jsonResponse.body);
}