Struct aws_sdk_mailmanager::operation::create_addon_subscription::builders::CreateAddonSubscriptionFluentBuilder
source · pub struct CreateAddonSubscriptionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateAddonSubscription.
Creates a subscription for an Add On representing the acceptance of its terms of use and additional pricing. The subscription can then be used to create an instance for use in rule sets or traffic policies.
Implementations§
source§impl CreateAddonSubscriptionFluentBuilder
impl CreateAddonSubscriptionFluentBuilder
sourcepub fn as_input(&self) -> &CreateAddonSubscriptionInputBuilder
pub fn as_input(&self) -> &CreateAddonSubscriptionInputBuilder
Access the CreateAddonSubscription as a reference.
sourcepub async fn send(
self,
) -> Result<CreateAddonSubscriptionOutput, SdkError<CreateAddonSubscriptionError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateAddonSubscriptionOutput, SdkError<CreateAddonSubscriptionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<CreateAddonSubscriptionOutput, CreateAddonSubscriptionError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateAddonSubscriptionOutput, CreateAddonSubscriptionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
sourcepub fn addon_name(self, input: impl Into<String>) -> Self
pub fn addon_name(self, input: impl Into<String>) -> Self
The name of the Add On to subscribe to. You can only have one subscription for each Add On name.
sourcepub fn set_addon_name(self, input: Option<String>) -> Self
pub fn set_addon_name(self, input: Option<String>) -> Self
The name of the Add On to subscribe to. You can only have one subscription for each Add On name.
sourcepub fn get_addon_name(&self) -> &Option<String>
pub fn get_addon_name(&self) -> &Option<String>
The name of the Add On to subscribe to. You can only have one subscription for each Add On name.
Appends an item to Tags.
To override the contents of this collection use set_tags.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Trait Implementations§
source§impl Clone for CreateAddonSubscriptionFluentBuilder
impl Clone for CreateAddonSubscriptionFluentBuilder
source§fn clone(&self) -> CreateAddonSubscriptionFluentBuilder
fn clone(&self) -> CreateAddonSubscriptionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CreateAddonSubscriptionFluentBuilder
impl !RefUnwindSafe for CreateAddonSubscriptionFluentBuilder
impl Send for CreateAddonSubscriptionFluentBuilder
impl Sync for CreateAddonSubscriptionFluentBuilder
impl Unpin for CreateAddonSubscriptionFluentBuilder
impl !UnwindSafe for CreateAddonSubscriptionFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more