CloudWatchLogsClient.update_delivery_configuration
rboto-cloudwatch-logs==0.4.0 · Service index · Types
Model summary (excerpt): Use this operation to update the configuration of a delivery to change either the S3 path pattern or the format of the delivered logs. You can't use this operation to change the source or destination of the delivery.
Install and imports
from rboto import CloudWatchLogsClient
from collections.abc import Sequence
from rboto_cloudwatch_logs.types import (
S3DeliveryConfiguration,
UpdateDeliveryConfigurationOutput,
)
Signature
async def update_delivery_configuration(
*,
id: str,
record_fields: Sequence[str] | None = None,
field_delimiter: str | None = None,
s3_delivery_configuration: S3DeliveryConfiguration | None = None,
) -> UpdateDeliveryConfigurationOutput: ...
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) |
|---|---|---|
id |
Yes | The ID of the delivery to be updated by this request. |
record_fields |
No | The list of record fields to be delivered to the destination, in order. If the delivery's log source has mandatory fields, they must be included in this list. |
field_delimiter |
No | The field delimiter to use between record fields when the final output format of a delivery is in Plain , W3C , or Raw format. |
s3_delivery_configuration |
No | This structure contains parameters that are valid only when the delivery's delivery destination is an S3 bucket. |
Output
UpdateDeliveryConfigurationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| 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
S3DeliveryConfiguration, UpdateDeliveryConfigurationOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_cloudwatch_logs.exceptions:
AccessDeniedError, ConflictError, ResourceNotFoundError, ServiceUnavailableError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.