#[non_exhaustive]pub struct UpdateStageInput {
pub access_log_settings: Option<AccessLogSettings>,
pub api_id: Option<String>,
pub auto_deploy: Option<bool>,
pub client_certificate_id: Option<String>,
pub default_route_settings: Option<RouteSettings>,
pub deployment_id: Option<String>,
pub description: Option<String>,
pub route_settings: Option<HashMap<String, RouteSettings>>,
pub stage_name: Option<String>,
pub stage_variables: Option<HashMap<String, String>>,
}
Expand description
Updates a Stage.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.access_log_settings: Option<AccessLogSettings>
Settings for logging access in this stage.
api_id: Option<String>
The API identifier.
auto_deploy: Option<bool>
Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
client_certificate_id: Option<String>
The identifier of a client certificate for a Stage.
default_route_settings: Option<RouteSettings>
The default route settings for the stage.
deployment_id: Option<String>
The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.
description: Option<String>
The description for the API stage.
route_settings: Option<HashMap<String, RouteSettings>>
Route settings for the stage.
stage_name: Option<String>
The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
stage_variables: Option<HashMap<String, String>>
A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
Implementations§
source§impl UpdateStageInput
impl UpdateStageInput
sourcepub fn access_log_settings(&self) -> Option<&AccessLogSettings>
pub fn access_log_settings(&self) -> Option<&AccessLogSettings>
Settings for logging access in this stage.
sourcepub fn auto_deploy(&self) -> Option<bool>
pub fn auto_deploy(&self) -> Option<bool>
Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
sourcepub fn client_certificate_id(&self) -> Option<&str>
pub fn client_certificate_id(&self) -> Option<&str>
The identifier of a client certificate for a Stage.
sourcepub fn default_route_settings(&self) -> Option<&RouteSettings>
pub fn default_route_settings(&self) -> Option<&RouteSettings>
The default route settings for the stage.
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the API stage.
sourcepub fn route_settings(&self) -> Option<&HashMap<String, RouteSettings>>
pub fn route_settings(&self) -> Option<&HashMap<String, RouteSettings>>
Route settings for the stage.
sourcepub fn stage_name(&self) -> Option<&str>
pub fn stage_name(&self) -> Option<&str>
The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
source§impl UpdateStageInput
impl UpdateStageInput
sourcepub fn builder() -> UpdateStageInputBuilder
pub fn builder() -> UpdateStageInputBuilder
Creates a new builder-style object to manufacture UpdateStageInput
.
Trait Implementations§
source§impl Clone for UpdateStageInput
impl Clone for UpdateStageInput
source§fn clone(&self) -> UpdateStageInput
fn clone(&self) -> UpdateStageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateStageInput
impl Debug for UpdateStageInput
source§impl PartialEq for UpdateStageInput
impl PartialEq for UpdateStageInput
source§fn eq(&self, other: &UpdateStageInput) -> bool
fn eq(&self, other: &UpdateStageInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateStageInput
Auto Trait Implementations§
impl Freeze for UpdateStageInput
impl RefUnwindSafe for UpdateStageInput
impl Send for UpdateStageInput
impl Sync for UpdateStageInput
impl Unpin for UpdateStageInput
impl UnwindSafe for UpdateStageInput
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