#[non_exhaustive]pub struct CreateBasePathMappingInput {
pub domain_name: Option<String>,
pub base_path: Option<String>,
pub rest_api_id: Option<String>,
pub stage: Option<String>,
}
Expand description
Requests API Gateway to create a new BasePathMapping resource.
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.domain_name: Option<String>
The domain name of the BasePathMapping resource to create.
base_path: Option<String>
The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify a base path name after the domain name.
rest_api_id: Option<String>
The string identifier of the associated RestApi.
stage: Option<String>
The name of the API's stage that you want to use for this mapping. Specify '(none)' if you want callers to explicitly specify the stage name after any base path name.
Implementations§
source§impl CreateBasePathMappingInput
impl CreateBasePathMappingInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The domain name of the BasePathMapping resource to create.
sourcepub fn base_path(&self) -> Option<&str>
pub fn base_path(&self) -> Option<&str>
The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify a base path name after the domain name.
sourcepub fn rest_api_id(&self) -> Option<&str>
pub fn rest_api_id(&self) -> Option<&str>
The string identifier of the associated RestApi.
source§impl CreateBasePathMappingInput
impl CreateBasePathMappingInput
sourcepub fn builder() -> CreateBasePathMappingInputBuilder
pub fn builder() -> CreateBasePathMappingInputBuilder
Creates a new builder-style object to manufacture CreateBasePathMappingInput
.
Trait Implementations§
source§impl Clone for CreateBasePathMappingInput
impl Clone for CreateBasePathMappingInput
source§fn clone(&self) -> CreateBasePathMappingInput
fn clone(&self) -> CreateBasePathMappingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBasePathMappingInput
impl Debug for CreateBasePathMappingInput
source§impl PartialEq<CreateBasePathMappingInput> for CreateBasePathMappingInput
impl PartialEq<CreateBasePathMappingInput> for CreateBasePathMappingInput
source§fn eq(&self, other: &CreateBasePathMappingInput) -> bool
fn eq(&self, other: &CreateBasePathMappingInput) -> bool
self
and other
values to be equal, and is used
by ==
.