#[non_exhaustive]pub struct CreateRequestValidatorInput { /* private fields */ }Expand description
Creates a RequestValidator of a given RestApi.
Implementations
sourceimpl CreateRequestValidatorInput
impl CreateRequestValidatorInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRequestValidator, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRequestValidator, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateRequestValidator>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateRequestValidatorInput.
sourceimpl CreateRequestValidatorInput
impl CreateRequestValidatorInput
sourcepub fn rest_api_id(&self) -> Option<&str>
pub fn rest_api_id(&self) -> Option<&str>
The string identifier of the associated RestApi.
sourcepub fn validate_request_body(&self) -> bool
pub fn validate_request_body(&self) -> bool
A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).
sourcepub fn validate_request_parameters(&self) -> bool
pub fn validate_request_parameters(&self) -> bool
A Boolean flag to indicate whether to validate request parameters, true, or not false.
Trait Implementations
sourceimpl Clone for CreateRequestValidatorInput
impl Clone for CreateRequestValidatorInput
sourcefn clone(&self) -> CreateRequestValidatorInput
fn clone(&self) -> CreateRequestValidatorInput
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 moresourceimpl Debug for CreateRequestValidatorInput
impl Debug for CreateRequestValidatorInput
sourceimpl PartialEq<CreateRequestValidatorInput> for CreateRequestValidatorInput
impl PartialEq<CreateRequestValidatorInput> for CreateRequestValidatorInput
sourcefn eq(&self, other: &CreateRequestValidatorInput) -> bool
fn eq(&self, other: &CreateRequestValidatorInput) -> bool
impl StructuralPartialEq for CreateRequestValidatorInput
Auto Trait Implementations
impl RefUnwindSafe for CreateRequestValidatorInput
impl Send for CreateRequestValidatorInput
impl Sync for CreateRequestValidatorInput
impl Unpin for CreateRequestValidatorInput
impl UnwindSafe for CreateRequestValidatorInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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