#[non_exhaustive]pub struct AwsApiGatewayCanarySettings { /* private fields */ }
Expand description
Contains information about settings for canary deployment in the stage.
Implementations§
source§impl AwsApiGatewayCanarySettings
impl AwsApiGatewayCanarySettings
sourcepub fn percent_traffic(&self) -> f64
pub fn percent_traffic(&self) -> f64
The percentage of traffic that is diverted to a canary deployment.
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The deployment identifier for the canary deployment.
sourcepub fn stage_variable_overrides(&self) -> Option<&HashMap<String, String>>
pub fn stage_variable_overrides(&self) -> Option<&HashMap<String, String>>
Stage variables that are overridden in the canary release deployment. The variables include new stage variables that are introduced in the canary.
Each variable is represented as a string-to-string map between the stage variable name and the variable value.
sourcepub fn use_stage_cache(&self) -> bool
pub fn use_stage_cache(&self) -> bool
Indicates whether the canary deployment uses the stage cache.
source§impl AwsApiGatewayCanarySettings
impl AwsApiGatewayCanarySettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsApiGatewayCanarySettings
.
Trait Implementations§
source§impl Clone for AwsApiGatewayCanarySettings
impl Clone for AwsApiGatewayCanarySettings
source§fn clone(&self) -> AwsApiGatewayCanarySettings
fn clone(&self) -> AwsApiGatewayCanarySettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AwsApiGatewayCanarySettings
impl Debug for AwsApiGatewayCanarySettings
source§impl PartialEq<AwsApiGatewayCanarySettings> for AwsApiGatewayCanarySettings
impl PartialEq<AwsApiGatewayCanarySettings> for AwsApiGatewayCanarySettings
source§fn eq(&self, other: &AwsApiGatewayCanarySettings) -> bool
fn eq(&self, other: &AwsApiGatewayCanarySettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.