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
sourceimpl Clone for CreateBasePathMappingRequest
impl Clone for CreateBasePathMappingRequest
sourcefn clone(&self) -> CreateBasePathMappingRequest
fn clone(&self) -> CreateBasePathMappingRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateBasePathMappingRequest
impl Debug for CreateBasePathMappingRequest
sourceimpl Default for CreateBasePathMappingRequest
impl Default for CreateBasePathMappingRequest
sourcefn default() -> CreateBasePathMappingRequest
fn default() -> CreateBasePathMappingRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateBasePathMappingRequest> for CreateBasePathMappingRequest
impl PartialEq<CreateBasePathMappingRequest> for CreateBasePathMappingRequest
sourcefn eq(&self, other: &CreateBasePathMappingRequest) -> bool
fn eq(&self, other: &CreateBasePathMappingRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateBasePathMappingRequest) -> bool
fn ne(&self, other: &CreateBasePathMappingRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateBasePathMappingRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateBasePathMappingRequest
impl Send for CreateBasePathMappingRequest
impl Sync for CreateBasePathMappingRequest
impl Unpin for CreateBasePathMappingRequest
impl UnwindSafe for CreateBasePathMappingRequest
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