Struct aws_sdk_cloudfront::operation::create_continuous_deployment_policy::builders::CreateContinuousDeploymentPolicyFluentBuilder
source · pub struct CreateContinuousDeploymentPolicyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateContinuousDeploymentPolicy
.
Creates a continuous deployment policy that distributes traffic for a custom domain name to two different CloudFront distributions.
To use a continuous deployment policy, first use CopyDistribution
to create a staging distribution, then use UpdateDistribution
to modify the staging distribution's configuration.
After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This workflow enables you to test changes to a distribution's configuration before moving all of your domain's production traffic to the new configuration.
Implementations§
source§impl CreateContinuousDeploymentPolicyFluentBuilder
impl CreateContinuousDeploymentPolicyFluentBuilder
sourcepub fn as_input(&self) -> &CreateContinuousDeploymentPolicyInputBuilder
pub fn as_input(&self) -> &CreateContinuousDeploymentPolicyInputBuilder
Access the CreateContinuousDeploymentPolicy as a reference.
sourcepub async fn send(
self
) -> Result<CreateContinuousDeploymentPolicyOutput, SdkError<CreateContinuousDeploymentPolicyError, HttpResponse>>
pub async fn send( self ) -> Result<CreateContinuousDeploymentPolicyOutput, SdkError<CreateContinuousDeploymentPolicyError, 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<CreateContinuousDeploymentPolicyOutput, CreateContinuousDeploymentPolicyError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateContinuousDeploymentPolicyOutput, CreateContinuousDeploymentPolicyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn continuous_deployment_policy_config(
self,
input: ContinuousDeploymentPolicyConfig
) -> Self
pub fn continuous_deployment_policy_config( self, input: ContinuousDeploymentPolicyConfig ) -> Self
Contains the configuration for a continuous deployment policy.
sourcepub fn set_continuous_deployment_policy_config(
self,
input: Option<ContinuousDeploymentPolicyConfig>
) -> Self
pub fn set_continuous_deployment_policy_config( self, input: Option<ContinuousDeploymentPolicyConfig> ) -> Self
Contains the configuration for a continuous deployment policy.
sourcepub fn get_continuous_deployment_policy_config(
&self
) -> &Option<ContinuousDeploymentPolicyConfig>
pub fn get_continuous_deployment_policy_config( &self ) -> &Option<ContinuousDeploymentPolicyConfig>
Contains the configuration for a continuous deployment policy.
Trait Implementations§
source§impl Clone for CreateContinuousDeploymentPolicyFluentBuilder
impl Clone for CreateContinuousDeploymentPolicyFluentBuilder
source§fn clone(&self) -> CreateContinuousDeploymentPolicyFluentBuilder
fn clone(&self) -> CreateContinuousDeploymentPolicyFluentBuilder
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 CreateContinuousDeploymentPolicyFluentBuilder
impl !RefUnwindSafe for CreateContinuousDeploymentPolicyFluentBuilder
impl Send for CreateContinuousDeploymentPolicyFluentBuilder
impl Sync for CreateContinuousDeploymentPolicyFluentBuilder
impl Unpin for CreateContinuousDeploymentPolicyFluentBuilder
impl !UnwindSafe for CreateContinuousDeploymentPolicyFluentBuilder
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