Describes auto scaling settings across replicas of the global table at once.
Parameters:
-
table_name
(TableArn)
–
The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
Raises:
Source code in docs_src/capo_dynamodb/_services/dynamo_db.py
| def describe_table_replica_auto_scaling(
self,
table_name: "capo_dynamodb.types.table_arn.TableArn",
*,
config_overrides: Optional[DynamoDBClientConfig] = None,
) -> "capo_dynamodb.types.describe_table_replica_auto_scaling_output.DescribeTableReplicaAutoScalingOutput":
"""<p>Describes auto scaling settings across replicas of the global table at once.</p>
Args:
table_name: <p>The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p>
Raises:
capo_dynamodb.errors.internal_server_error.InternalServerError: <p>An error occurred on the server side.</p>
capo_dynamodb.errors.resource_not_found_exception.ResourceNotFoundException: <p>The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
capo_dynamodb.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_dynamodb.types.describe_table_replica_auto_scaling_input.DescribeTableReplicaAutoScalingInput]",
) -> OperationResponse[
"capo_dynamodb.types.describe_table_replica_auto_scaling_output.DescribeTableReplicaAutoScalingOutput"
]:
import capo_dynamodb._operations.dynamo_db_20120810.describe_table_replica_auto_scaling
output, http_response = (
capo_dynamodb._operations.dynamo_db_20120810.describe_table_replica_auto_scaling.describe_table_replica_auto_scaling(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeTableReplicaAutoScaling")
)
input_: capo_dynamodb.types.describe_table_replica_auto_scaling_input.DescribeTableReplicaAutoScalingInput = {
"table_name": table_name
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|