pub struct CreateContinuousDeploymentPolicy { /* 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 CreateContinuousDeploymentPolicy
impl CreateContinuousDeploymentPolicy
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateContinuousDeploymentPolicy, AwsResponseRetryClassifier>, SdkError<CreateContinuousDeploymentPolicyError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateContinuousDeploymentPolicy, AwsResponseRetryClassifier>, SdkError<CreateContinuousDeploymentPolicyError>>
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<CreateContinuousDeploymentPolicyOutput, SdkError<CreateContinuousDeploymentPolicyError>>
pub async fn send(
self
) -> Result<CreateContinuousDeploymentPolicyOutput, SdkError<CreateContinuousDeploymentPolicyError>>
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 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.
Trait Implementations§
source§impl Clone for CreateContinuousDeploymentPolicy
impl Clone for CreateContinuousDeploymentPolicy
source§fn clone(&self) -> CreateContinuousDeploymentPolicy
fn clone(&self) -> CreateContinuousDeploymentPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more