Struct aws_sdk_apigatewayv2::input::GetAuthorizersInput
source · #[non_exhaustive]pub struct GetAuthorizersInput { /* private fields */ }Implementations§
source§impl GetAuthorizersInput
impl GetAuthorizersInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetAuthorizers, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetAuthorizers, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetAuthorizers>
Examples found in repository?
src/client.rs (line 5539)
5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetAuthorizers,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetAuthorizersError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::GetAuthorizersOutput,
aws_smithy_http::result::SdkError<crate::error::GetAuthorizersError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetAuthorizersInput.
source§impl GetAuthorizersInput
impl GetAuthorizersInput
sourcepub fn max_results(&self) -> Option<&str>
pub fn max_results(&self) -> Option<&str>
The maximum number of elements to be returned for this resource.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The next page of elements from this collection. Not valid for the last element of the collection.
Trait Implementations§
source§impl Clone for GetAuthorizersInput
impl Clone for GetAuthorizersInput
source§fn clone(&self) -> GetAuthorizersInput
fn clone(&self) -> GetAuthorizersInput
Returns a copy 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 more