Describes the account-level settings for Amazon Kinesis Data Streams. This operation returns information about the minimum throughput billing commitments and other account-level configurations.
This API has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. TPS over 5 will initiate the LimitExceededException.
Raises:
-
LimitExceededException
–
The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
-
UnknownServiceError
–
The service returned an error code this client does not model.
Source code in docs_src/capo_kinesis/_services/async_kinesis.py
| async def describe_account_settings(
self, *, config_overrides: Optional[AsyncKinesisClientConfig] = None
) -> "capo_kinesis.types.describe_account_settings_output.DescribeAccountSettingsOutput":
"""<p>Describes the account-level settings for Amazon Kinesis Data Streams. This operation returns information about the minimum throughput billing commitments and other account-level configurations.</p> <p>This API has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. TPS over 5 will initiate the <code>LimitExceededException</code>.</p>
Raises:
capo_kinesis.errors.limit_exceeded_exception.LimitExceededException: <p>The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed. </p>
capo_kinesis.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_kinesis.types.describe_account_settings_input.DescribeAccountSettingsInput]",
) -> AsyncOperationResponse[
"capo_kinesis.types.describe_account_settings_output.DescribeAccountSettingsOutput"
]:
import capo_kinesis._operations.kinesis_20131202.describe_account_settings
(
output,
http_response,
) = await capo_kinesis._operations.kinesis_20131202.describe_account_settings.async_describe_account_settings(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeAccountSettings")
)
input_: capo_kinesis.types.describe_account_settings_input.DescribeAccountSettingsInput = {}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|