#[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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsApiGatewayCanarySettings) -> bool
fn ne(&self, other: &AwsApiGatewayCanarySettings) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more