Struct aws_sdk_apigateway::input::TestInvokeMethodInput
source · #[non_exhaustive]pub struct TestInvokeMethodInput { /* private fields */ }Expand description
Make a request to simulate the invocation of a Method.
Implementations§
source§impl TestInvokeMethodInput
impl TestInvokeMethodInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TestInvokeMethod, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TestInvokeMethod, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<TestInvokeMethod>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TestInvokeMethodInput.
source§impl TestInvokeMethodInput
impl TestInvokeMethodInput
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 resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
Specifies a test invoke method request's resource ID.
sourcepub fn http_method(&self) -> Option<&str>
pub fn http_method(&self) -> Option<&str>
Specifies a test invoke method request's HTTP method.
sourcepub fn path_with_query_string(&self) -> Option<&str>
pub fn path_with_query_string(&self) -> Option<&str>
The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
sourcepub fn body(&self) -> Option<&str>
pub fn body(&self) -> Option<&str>
The simulated request body of an incoming invocation request.
sourcepub fn headers(&self) -> Option<&HashMap<String, String>>
pub fn headers(&self) -> Option<&HashMap<String, String>>
A key-value map of headers to simulate an incoming invocation request.
sourcepub fn multi_value_headers(&self) -> Option<&HashMap<String, Vec<String>>>
pub fn multi_value_headers(&self) -> Option<&HashMap<String, Vec<String>>>
The headers as a map from string to list of values to simulate an incoming invocation request.
sourcepub fn client_certificate_id(&self) -> Option<&str>
pub fn client_certificate_id(&self) -> Option<&str>
A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.
Trait Implementations§
source§impl Clone for TestInvokeMethodInput
impl Clone for TestInvokeMethodInput
source§fn clone(&self) -> TestInvokeMethodInput
fn clone(&self) -> TestInvokeMethodInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TestInvokeMethodInput
impl Debug for TestInvokeMethodInput
source§impl PartialEq<TestInvokeMethodInput> for TestInvokeMethodInput
impl PartialEq<TestInvokeMethodInput> for TestInvokeMethodInput
source§fn eq(&self, other: &TestInvokeMethodInput) -> bool
fn eq(&self, other: &TestInvokeMethodInput) -> bool
self and other values to be equal, and is used
by ==.