describeGlobalTableSettings method
Future<DescribeGlobalTableSettingsOutput>
describeGlobalTableSettings({
- required String globalTableName,
Describes Region-specific settings for a global table.
To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.
May throw GlobalTableNotFoundException.
May throw InternalServerError.
May throw InvalidEndpointException.
Parameter globalTableName :
The name of the global table to describe.
Implementation
Future<DescribeGlobalTableSettingsOutput> describeGlobalTableSettings({
required String globalTableName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'DynamoDB_20120810.DescribeGlobalTableSettings'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'GlobalTableName': globalTableName,
},
);
return DescribeGlobalTableSettingsOutput.fromJson(jsonResponse.body);
}