#[non_exhaustive]pub struct AwsApiGatewayCanarySettings { /* private fields */ }Expand description
Contains information about settings for canary deployment in the stage.
Implementations
sourceimpl 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.
sourceimpl AwsApiGatewayCanarySettings
impl AwsApiGatewayCanarySettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsApiGatewayCanarySettings.
Trait Implementations
sourceimpl Clone for AwsApiGatewayCanarySettings
impl Clone for AwsApiGatewayCanarySettings
sourcefn clone(&self) -> AwsApiGatewayCanarySettings
fn clone(&self) -> AwsApiGatewayCanarySettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AwsApiGatewayCanarySettings
impl Debug for AwsApiGatewayCanarySettings
sourceimpl PartialEq<AwsApiGatewayCanarySettings> for AwsApiGatewayCanarySettings
impl PartialEq<AwsApiGatewayCanarySettings> for AwsApiGatewayCanarySettings
sourcefn eq(&self, other: &AwsApiGatewayCanarySettings) -> bool
fn eq(&self, other: &AwsApiGatewayCanarySettings) -> bool
impl StructuralPartialEq for AwsApiGatewayCanarySettings
Auto Trait Implementations
impl RefUnwindSafe for AwsApiGatewayCanarySettings
impl Send for AwsApiGatewayCanarySettings
impl Sync for AwsApiGatewayCanarySettings
impl Unpin for AwsApiGatewayCanarySettings
impl UnwindSafe for AwsApiGatewayCanarySettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more