aws-sdk-cognitosync 1.99.0

AWS SDK for Amazon Cognito Sync
Documentation
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 [`SetCognitoEvents`](crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identity_pool_id(impl Into<String>)`](crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder::identity_pool_id) / [`set_identity_pool_id(Option<String>)`](crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder::set_identity_pool_id):<br>required: **true**<br><p>The Cognito Identity Pool to use when configuring Cognito Events</p><br>
    ///   - [`events(impl Into<String>, impl Into<String>)`](crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder::events) / [`set_events(Option<HashMap::<String, String>>)`](crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder::set_events):<br>required: **true**<br><p>The events to configure</p><br>
    /// - On success, responds with [`SetCognitoEventsOutput`](crate::operation::set_cognito_events::SetCognitoEventsOutput)
    /// - On failure, responds with [`SdkError<SetCognitoEventsError>`](crate::operation::set_cognito_events::SetCognitoEventsError)
    pub fn set_cognito_events(&self) -> crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder {
        crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder::new(self.handle.clone())
    }
}