aws_sdk_cloudwatchlogs/client/
update_delivery_configuration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDeliveryConfiguration`](crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateDeliveryConfigurationOutput`](crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationOutput)
    /// - On failure, responds with [`SdkError<UpdateDeliveryConfigurationError>`](crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError)
    pub fn update_delivery_configuration(
        &self,
    ) -> crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder {
        crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationFluentBuilder::new(self.handle.clone())
    }
}