Struct aws_sdk_shield::client::fluent_builders::CreateSubscription
source · [−]pub struct CreateSubscription { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSubscription
.
Activates Shield Advanced for an account.
For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account, regardless of whether the payer account itself is subscribed.
When you initially create a subscription, your subscription is set to be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription
request.
Implementations
sourceimpl CreateSubscription
impl CreateSubscription
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateSubscription, AwsResponseRetryClassifier>, SdkError<CreateSubscriptionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateSubscription, AwsResponseRetryClassifier>, SdkError<CreateSubscriptionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateSubscriptionOutput, SdkError<CreateSubscriptionError>>
pub async fn send(
self
) -> Result<CreateSubscriptionOutput, SdkError<CreateSubscriptionError>>
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.
Trait Implementations
sourceimpl Clone for CreateSubscription
impl Clone for CreateSubscription
sourcefn clone(&self) -> CreateSubscription
fn clone(&self) -> CreateSubscription
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more