describeApplicationSnapshot method
Returns information about a snapshot of application state data.
May throw InvalidArgumentException.
May throw ResourceNotFoundException.
May throw UnsupportedOperationException.
Parameter applicationName :
The name of an existing application.
Parameter snapshotName :
The identifier of an application snapshot. You can retrieve this value
using .
Implementation
Future<DescribeApplicationSnapshotResponse> describeApplicationSnapshot({
required String applicationName,
required String snapshotName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'KinesisAnalytics_20180523.DescribeApplicationSnapshot'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ApplicationName': applicationName,
'SnapshotName': snapshotName,
},
);
return DescribeApplicationSnapshotResponse.fromJson(jsonResponse.body);
}