aws_sdk_cognitosync/client/
get_cognito_events.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 [`GetCognitoEvents`](crate::operation::get_cognito_events::builders::GetCognitoEventsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identity_pool_id(impl Into<String>)`](crate::operation::get_cognito_events::builders::GetCognitoEventsFluentBuilder::identity_pool_id) / [`set_identity_pool_id(Option<String>)`](crate::operation::get_cognito_events::builders::GetCognitoEventsFluentBuilder::set_identity_pool_id):<br>required: **true**<br><p>The Cognito Identity Pool ID for the request</p><br>
7    /// - On success, responds with [`GetCognitoEventsOutput`](crate::operation::get_cognito_events::GetCognitoEventsOutput) with field(s):
8    ///   - [`events(Option<HashMap::<String, String>>)`](crate::operation::get_cognito_events::GetCognitoEventsOutput::events): <p>The Cognito Events returned from the GetCognitoEvents request</p>
9    /// - On failure, responds with [`SdkError<GetCognitoEventsError>`](crate::operation::get_cognito_events::GetCognitoEventsError)
10    pub fn get_cognito_events(&self) -> crate::operation::get_cognito_events::builders::GetCognitoEventsFluentBuilder {
11        crate::operation::get_cognito_events::builders::GetCognitoEventsFluentBuilder::new(self.handle.clone())
12    }
13}