aws_sdk_cloudwatchlogs/client/
update_delivery_configuration.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateDeliveryConfiguration`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the delivery to be updated by this request.</p><br>
7    ///   - [`record_fields(impl Into<String>)`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::record_fields) / [`set_record_fields(Option<Vec::<String>>)`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::set_record_fields):<br>required: **false**<br><p>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.</p><br>
8    ///   - [`field_delimiter(impl Into<String>)`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::field_delimiter) / [`set_field_delimiter(Option<String>)`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::set_field_delimiter):<br>required: **false**<br><p>The field delimiter to use between record fields when the final output format of a delivery is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p><br>
9    ///   - [`s3_delivery_configuration(S3DeliveryConfiguration)`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::s3_delivery_configuration) / [`set_s3_delivery_configuration(Option<S3DeliveryConfiguration>)`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::set_s3_delivery_configuration):<br>required: **false**<br><p>This structure contains parameters that are valid only when the delivery's delivery destination is an S3 bucket.</p><br>
10    /// - On success, responds with [`UpdateDeliveryConfigurationOutput`](crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationOutput)
11    /// - On failure, responds with [`SdkError<UpdateDeliveryConfigurationError>`](crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError)
12    pub fn update_delivery_configuration(
13        &self,
14    ) -> crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder {
15        crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::new(self.handle.clone())
16    }
17}