#[non_exhaustive]pub struct GetRouteOutput { /* private fields */ }Implementations§
source§impl GetRouteOutput
impl GetRouteOutput
sourcepub fn route_id(&self) -> Option<&str>
pub fn route_id(&self) -> Option<&str>
The unique identifier of the route.
DEFAULT: All traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.
URI_PATH: A route that is based on a URI path.
sourcepub fn owner_account_id(&self) -> Option<&str>
pub fn owner_account_id(&self) -> Option<&str>
The Amazon Web Services account ID of the route owner.
sourcepub fn created_by_account_id(&self) -> Option<&str>
pub fn created_by_account_id(&self) -> Option<&str>
The Amazon Web Services account ID of the route creator.
sourcepub fn route_type(&self) -> Option<&RouteType>
pub fn route_type(&self) -> Option<&RouteType>
The type of route.
sourcepub fn service_id(&self) -> Option<&str>
pub fn service_id(&self) -> Option<&str>
The unique identifier of the service.
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The ID of the application that the route belongs to.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
Unique identifier of the environment.
sourcepub fn source_path(&self) -> Option<&str>
pub fn source_path(&self) -> Option<&str>
The path to use to match traffic. Paths must start with / and are relative to the base of the application.
sourcepub fn methods(&self) -> Option<&[HttpMethod]>
pub fn methods(&self) -> Option<&[HttpMethod]>
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
sourcepub fn include_child_paths(&self) -> Option<bool>
pub fn include_child_paths(&self) -> Option<bool>
Indicates whether to match all subpaths of the given source path. If this value is false, requests must match the source path exactly before they are forwarded to this route's service.
sourcepub fn path_resource_to_id(&self) -> Option<&HashMap<String, String>>
pub fn path_resource_to_id(&self) -> Option<&HashMap<String, String>>
A mapping of Amazon API Gateway path resources to resource IDs.
sourcepub fn state(&self) -> Option<&RouteState>
pub fn state(&self) -> Option<&RouteState>
The current state of the route.
The tags assigned to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
sourcepub fn error(&self) -> Option<&ErrorResponse>
pub fn error(&self) -> Option<&ErrorResponse>
Any error associated with the route resource.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
A timestamp that indicates when the route was last updated.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The timestamp of when the route is created.
source§impl GetRouteOutput
impl GetRouteOutput
sourcepub fn builder() -> GetRouteOutputBuilder
pub fn builder() -> GetRouteOutputBuilder
Creates a new builder-style object to manufacture GetRouteOutput.
Trait Implementations§
source§impl Clone for GetRouteOutput
impl Clone for GetRouteOutput
source§fn clone(&self) -> GetRouteOutput
fn clone(&self) -> GetRouteOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetRouteOutput
impl Debug for GetRouteOutput
source§impl PartialEq<GetRouteOutput> for GetRouteOutput
impl PartialEq<GetRouteOutput> for GetRouteOutput
source§fn eq(&self, other: &GetRouteOutput) -> bool
fn eq(&self, other: &GetRouteOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetRouteOutput
impl RequestId for GetRouteOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.