aws_sdk_sesv2/client/create_configuration_set_event_destination.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 [`CreateConfigurationSetEventDestination`](crate::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`configuration_set_name(impl Into<String>)`](crate::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationFluentBuilder::configuration_set_name) / [`set_configuration_set_name(Option<String>)`](crate::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationFluentBuilder::set_configuration_set_name):<br>required: **true**<br><p>The name of the configuration set .</p><br>
7 /// - [`event_destination_name(impl Into<String>)`](crate::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationFluentBuilder::event_destination_name) / [`set_event_destination_name(Option<String>)`](crate::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationFluentBuilder::set_event_destination_name):<br>required: **true**<br><p>A name that identifies the event destination within the configuration set.</p><br>
8 /// - [`event_destination(EventDestinationDefinition)`](crate::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationFluentBuilder::event_destination) / [`set_event_destination(Option<EventDestinationDefinition>)`](crate::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationFluentBuilder::set_event_destination):<br>required: **true**<br><p>An object that defines the event destination.</p><br>
9 /// - On success, responds with [`CreateConfigurationSetEventDestinationOutput`](crate::operation::create_configuration_set_event_destination::CreateConfigurationSetEventDestinationOutput)
10 /// - On failure, responds with [`SdkError<CreateConfigurationSetEventDestinationError>`](crate::operation::create_configuration_set_event_destination::CreateConfigurationSetEventDestinationError)
11 pub fn create_configuration_set_event_destination(
12 &self,
13 ) -> crate::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationFluentBuilder {
14 crate::operation::create_configuration_set_event_destination::builders::CreateConfigurationSetEventDestinationFluentBuilder::new(
15 self.handle.clone(),
16 )
17 }
18}