CloudWatchLogsClient.describe_configuration_templates
rboto-cloudwatch-logs==0.4.0 · Service index · Types
Model summary (excerpt): Use this operation to return the valid and default values that are used when creating delivery sources, delivery destinations, and deliveries. For more information about deliveries, see CreateDelivery .
Install and imports
from rboto import CloudWatchLogsClient
from collections.abc import Sequence
from rboto_cloudwatch_logs.types import (
DeliveryDestinationType,
DescribeConfigurationTemplatesOutput,
)
Signature
async def describe_configuration_templates(
*,
service: str | None = None,
log_types: Sequence[str] | None = None,
resource_types: Sequence[str] | None = None,
delivery_destination_types: Sequence[DeliveryDestinationType] | None = None,
next_token: str | None = None,
limit: int | None = None,
) -> DescribeConfigurationTemplatesOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
service |
No | Use this parameter to filter the response to include only the configuration templates that apply to the Amazon Web Services service that you specify here. |
log_types |
No | Use this parameter to filter the response to include only the configuration templates that apply to the log types that you specify here. |
resource_types |
No | Use this parameter to filter the response to include only the configuration templates that apply to the resource types that you specify here. |
delivery_destination_types |
No | Use this parameter to filter the response to include only the configuration templates that apply to the delivery destination types that you specify here. |
next_token |
No | |
limit |
No | Use this parameter to limit the number of configuration templates that are returned in the response. |
Output
DescribeConfigurationTemplatesOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
configuration_templates |
list[ConfigurationTemplateOutput] | None |
Always present | ConfigurationTemplateOutput |
next_token |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
DeliveryDestinationType, DescribeConfigurationTemplatesOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.describe_configuration_templates(...) accepts the same arguments and returns AsyncIterator[DescribeConfigurationTemplatesOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: limit.
No output stream.
Errors
Import from rboto_cloudwatch_logs.exceptions:
ResourceNotFoundError, ServiceUnavailableError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.