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
7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 | |