aws_sdk_cognitosync/client/set_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 [`SetCognitoEvents`](crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`SetCognitoEventsOutput`](crate::operation::set_cognito_events::SetCognitoEventsOutput)
9 /// - On failure, responds with [`SdkError<SetCognitoEventsError>`](crate::operation::set_cognito_events::SetCognitoEventsError)
10 pub fn set_cognito_events(&self) -> crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder {
11 crate::operation::set_cognito_events::builders::SetCognitoEventsFluentBuilder::new(self.handle.clone())
12 }
13}