1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRequestValidator`](crate::operation::get_request_validator::builders::GetRequestValidatorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`rest_api_id(impl Into<String>)`](crate::operation::get_request_validator::builders::GetRequestValidatorFluentBuilder::rest_api_id) / [`set_rest_api_id(Option<String>)`](crate::operation::get_request_validator::builders::GetRequestValidatorFluentBuilder::set_rest_api_id):<br>required: **true**<br><p>The string identifier of the associated RestApi.</p><br>
    ///   - [`request_validator_id(impl Into<String>)`](crate::operation::get_request_validator::builders::GetRequestValidatorFluentBuilder::request_validator_id) / [`set_request_validator_id(Option<String>)`](crate::operation::get_request_validator::builders::GetRequestValidatorFluentBuilder::set_request_validator_id):<br>required: **true**<br><p>The identifier of the RequestValidator to be retrieved.</p><br>
    /// - On success, responds with [`GetRequestValidatorOutput`](crate::operation::get_request_validator::GetRequestValidatorOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::get_request_validator::GetRequestValidatorOutput::id): <p>The identifier of this RequestValidator.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_request_validator::GetRequestValidatorOutput::name): <p>The name of this RequestValidator</p>
    ///   - [`validate_request_body(bool)`](crate::operation::get_request_validator::GetRequestValidatorOutput::validate_request_body): <p>A Boolean flag to indicate whether to validate a request body according to the configured Model schema.</p>
    ///   - [`validate_request_parameters(bool)`](crate::operation::get_request_validator::GetRequestValidatorOutput::validate_request_parameters): <p>A Boolean flag to indicate whether to validate request parameters (<code>true</code>) or not (<code>false</code>).</p>
    /// - On failure, responds with [`SdkError<GetRequestValidatorError>`](crate::operation::get_request_validator::GetRequestValidatorError)
    pub fn get_request_validator(&self) -> crate::operation::get_request_validator::builders::GetRequestValidatorFluentBuilder {
        crate::operation::get_request_validator::builders::GetRequestValidatorFluentBuilder::new(self.handle.clone())
    }
}