Struct rusoto_apigatewayv2::Stage
source · [−]pub struct Stage {Show 14 fields
pub access_log_settings: Option<AccessLogSettings>,
pub api_gateway_managed: Option<bool>,
pub auto_deploy: Option<bool>,
pub client_certificate_id: Option<String>,
pub created_date: Option<f64>,
pub default_route_settings: Option<RouteSettings>,
pub deployment_id: Option<String>,
pub description: Option<String>,
pub last_deployment_status_message: Option<String>,
pub last_updated_date: Option<f64>,
pub route_settings: Option<HashMap<String, RouteSettings>>,
pub stage_name: String,
pub stage_variables: Option<HashMap<String, String>>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Represents an API stage.
Fields
access_log_settings: Option<AccessLogSettings>
Settings for logging access in this stage.
api_gateway_managed: Option<bool>
Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
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. Supported only for WebSocket APIs.
created_date: Option<f64>
The timestamp when the stage was created.
default_route_settings: Option<RouteSettings>
Default route settings for the stage.
deployment_id: Option<String>
The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is enabled.
description: Option<String>
The description of the stage.
last_deployment_status_message: Option<String>
Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.
last_updated_date: Option<f64>
The timestamp when the stage was last updated.
route_settings: Option<HashMap<String, RouteSettings>>
Route settings for the stage, by routeKey.
stage_name: String
The name of the stage.
stage_variables: Option<HashMap<String, String>>
A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
The collection of tags. Each tag element is associated with a given resource.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Stage
impl<'de> Deserialize<'de> for Stage
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Stage
Auto Trait Implementations
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnwindSafe for Stage
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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