aws_sdk_cloudwatchlogs/client/
get_transformer.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTransformer`](crate::operation::get_transformer::builders::GetTransformerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`log_group_identifier(impl Into<String>)`](crate::operation::get_transformer::builders::GetTransformerFluentBuilder::log_group_identifier) / [`set_log_group_identifier(Option<String>)`](crate::operation::get_transformer::builders::GetTransformerFluentBuilder::set_log_group_identifier):<br>required: **true**<br><p>Specify either the name or ARN of the log group to return transformer information for. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.</p><br>
    /// - On success, responds with [`GetTransformerOutput`](crate::operation::get_transformer::GetTransformerOutput) with field(s):
    ///   - [`log_group_identifier(Option<String>)`](crate::operation::get_transformer::GetTransformerOutput::log_group_identifier): <p>The ARN of the log group that you specified in your request.</p>
    ///   - [`creation_time(Option<i64>)`](crate::operation::get_transformer::GetTransformerOutput::creation_time): <p>The creation time of the transformer, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
    ///   - [`last_modified_time(Option<i64>)`](crate::operation::get_transformer::GetTransformerOutput::last_modified_time): <p>The date and time when this transformer was most recently modified, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>
    ///   - [`transformer_config(Option<Vec::<Processor>>)`](crate::operation::get_transformer::GetTransformerOutput::transformer_config): <p>This sructure contains the configuration of the requested transformer.</p>
    /// - On failure, responds with [`SdkError<GetTransformerError>`](crate::operation::get_transformer::GetTransformerError)
    pub fn get_transformer(&self) -> crate::operation::get_transformer::builders::GetTransformerFluentBuilder {
        crate::operation::get_transformer::builders::GetTransformerFluentBuilder::new(self.handle.clone())
    }
}