aws_sdk_cognitoidentityprovider/client/get_log_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 [`GetLogDeliveryConfiguration`](crate::operation::get_log_delivery_configuration::builders::GetLogDeliveryConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`user_pool_id(impl Into<String>)`](crate::operation::get_log_delivery_configuration::builders::GetLogDeliveryConfigurationFluentBuilder::user_pool_id) / [`set_user_pool_id(Option<String>)`](crate::operation::get_log_delivery_configuration::builders::GetLogDeliveryConfigurationFluentBuilder::set_user_pool_id):<br>required: **true**<br><p>The ID of the user pool that has the logging configuration that you want to view.</p><br>
7 /// - On success, responds with [`GetLogDeliveryConfigurationOutput`](crate::operation::get_log_delivery_configuration::GetLogDeliveryConfigurationOutput) with field(s):
8 /// - [`log_delivery_configuration(Option<LogDeliveryConfigurationType>)`](crate::operation::get_log_delivery_configuration::GetLogDeliveryConfigurationOutput::log_delivery_configuration): <p>The logging configuration of the requested user pool. Includes types of logs configured and their destinations.</p>
9 /// - On failure, responds with [`SdkError<GetLogDeliveryConfigurationError>`](crate::operation::get_log_delivery_configuration::GetLogDeliveryConfigurationError)
10 pub fn get_log_delivery_configuration(
11 &self,
12 ) -> crate::operation::get_log_delivery_configuration::builders::GetLogDeliveryConfigurationFluentBuilder {
13 crate::operation::get_log_delivery_configuration::builders::GetLogDeliveryConfigurationFluentBuilder::new(self.handle.clone())
14 }
15}