update_delivery_configuration
¶
update_delivery_configuration(
id: DeliveryId,
*,
config_overrides: Optional[CloudWatchLogsClientConfig] = 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/cloud_watch_logs.py
7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 | |