pub struct CreateBasePathMappingRequest {
pub base_path: Option<String>,
pub domain_name: String,
pub rest_api_id: String,
pub stage: Option<String>,
}Expand description
Requests API Gateway to create a new BasePathMapping resource.
Fields§
§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.
domain_name: String[Required] The domain name of the BasePathMapping resource to create.
rest_api_id: String[Required] 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.
Trait Implementations§
Source§impl Clone for CreateBasePathMappingRequest
impl Clone for CreateBasePathMappingRequest
Source§fn clone(&self) -> CreateBasePathMappingRequest
fn clone(&self) -> CreateBasePathMappingRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateBasePathMappingRequest
impl Debug for CreateBasePathMappingRequest
Source§impl Default for CreateBasePathMappingRequest
impl Default for CreateBasePathMappingRequest
Source§fn default() -> CreateBasePathMappingRequest
fn default() -> CreateBasePathMappingRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateBasePathMappingRequest
impl PartialEq for CreateBasePathMappingRequest
Source§fn eq(&self, other: &CreateBasePathMappingRequest) -> bool
fn eq(&self, other: &CreateBasePathMappingRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateBasePathMappingRequest
Auto Trait Implementations§
impl Freeze for CreateBasePathMappingRequest
impl RefUnwindSafe for CreateBasePathMappingRequest
impl Send for CreateBasePathMappingRequest
impl Sync for CreateBasePathMappingRequest
impl Unpin for CreateBasePathMappingRequest
impl UnwindSafe for CreateBasePathMappingRequest
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
Mutably borrows from an owned value. Read more