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
7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 | |