aws_sdk_mailmanager/client/create_address_list.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 [`CreateAddressList`](crate::operation::create_address_list::builders::CreateAddressListFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`client_token(impl Into<String>)`](crate::operation::create_address_list::builders::CreateAddressListFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_address_list::builders::CreateAddressListFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique token that Amazon SES uses to recognize subsequent retries of the same request.</p><br>
7 /// - [`address_list_name(impl Into<String>)`](crate::operation::create_address_list::builders::CreateAddressListFluentBuilder::address_list_name) / [`set_address_list_name(Option<String>)`](crate::operation::create_address_list::builders::CreateAddressListFluentBuilder::set_address_list_name):<br>required: **true**<br><p>A user-friendly name for the address list.</p><br>
8 /// - [`tags(Tag)`](crate::operation::create_address_list::builders::CreateAddressListFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_address_list::builders::CreateAddressListFluentBuilder::set_tags):<br>required: **false**<br><p>The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.</p><br>
9 /// - On success, responds with [`CreateAddressListOutput`](crate::operation::create_address_list::CreateAddressListOutput) with field(s):
10 /// - [`address_list_id(String)`](crate::operation::create_address_list::CreateAddressListOutput::address_list_id): <p>The identifier of the created address list.</p>
11 /// - On failure, responds with [`SdkError<CreateAddressListError>`](crate::operation::create_address_list::CreateAddressListError)
12 pub fn create_address_list(&self) -> crate::operation::create_address_list::builders::CreateAddressListFluentBuilder {
13 crate::operation::create_address_list::builders::CreateAddressListFluentBuilder::new(self.handle.clone())
14 }
15}