aws_sdk_cloudwatchlogs/client/
put_transformer.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutTransformer`](crate::operation::put_transformer::builders::PutTransformerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`log_group_identifier(impl Into<String>)`](crate::operation::put_transformer::builders::PutTransformerFluentBuilder::log_group_identifier) / [`set_log_group_identifier(Option<String>)`](crate::operation::put_transformer::builders::PutTransformerFluentBuilder::set_log_group_identifier):<br>required: **true**<br><p>Specify either the name or ARN of the log group to create the transformer for.</p><br>
    ///   - [`transformer_config(Processor)`](crate::operation::put_transformer::builders::PutTransformerFluentBuilder::transformer_config) / [`set_transformer_config(Option<Vec::<Processor>>)`](crate::operation::put_transformer::builders::PutTransformerFluentBuilder::set_transformer_config):<br>required: **true**<br><p>This structure contains the configuration of this log transformer. A log transformer is an array of processors, where each processor applies one type of transformation to the log events that are ingested.</p><br>
    /// - On success, responds with [`PutTransformerOutput`](crate::operation::put_transformer::PutTransformerOutput)
    /// - On failure, responds with [`SdkError<PutTransformerError>`](crate::operation::put_transformer::PutTransformerError)
    pub fn put_transformer(&self) -> crate::operation::put_transformer::builders::PutTransformerFluentBuilder {
        crate::operation::put_transformer::builders::PutTransformerFluentBuilder::new(self.handle.clone())
    }
}