update_delivery_configuration
async
¶
update_delivery_configuration(
id: DeliveryId,
*,
config_overrides: Optional[AsyncCloudWatchLogsClientConfig] = None,
record_fields: Optional[RecordFields] = None,
field_delimiter: Optional[FieldDelimiter] = None,
s3_delivery_configuration: Optional[S3DeliveryConfiguration] = None,
) -> UpdateDeliveryConfigurationResponse
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.
Parameters:
-
id(DeliveryId) –The ID of the delivery to be updated by this request.
-
record_fields(Optional[RecordFields], default:None) –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(Optional[FieldDelimiter], default:None) –The field delimiter to use between record fields when the final output format of a delivery is in
Plain,W3C, orRawformat. -
s3_delivery_configuration(Optional[S3DeliveryConfiguration], default:None) –This structure contains parameters that are valid only when the delivery's delivery destination is an S3 bucket.
Raises:
-
AccessDeniedException–You don't have sufficient permissions to perform this action.
-
ConflictException–This operation attempted to create a resource that already exists.
-
ResourceNotFoundException–The specified resource does not exist.
-
ServiceUnavailableException–The service cannot complete the request.
-
ThrottlingException–The request was throttled because of quota limits.
-
ValidationException–One of the parameters for the request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudwatch_logs/_services/async_cloud_watch_logs.py
7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 | |