describeTableReplicaAutoScaling method
Future<DescribeTableReplicaAutoScalingOutput>
describeTableReplicaAutoScaling({
- required String tableName,
Describes auto scaling settings across replicas of the global table at once.
May throw ResourceNotFoundException. May throw InternalServerError.
Parameter tableName
:
The name of the table.
Implementation
Future<DescribeTableReplicaAutoScalingOutput>
describeTableReplicaAutoScaling({
required String tableName,
}) async {
ArgumentError.checkNotNull(tableName, 'tableName');
_s.validateStringLength(
'tableName',
tableName,
3,
255,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'DynamoDB_20120810.DescribeTableReplicaAutoScaling'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'TableName': tableName,
},
);
return DescribeTableReplicaAutoScalingOutput.fromJson(jsonResponse.body);
}