#[non_exhaustive]pub struct GetTransitGatewayPolicyTableEntriesInput { /* private fields */ }
Implementations§
source§impl GetTransitGatewayPolicyTableEntriesInput
impl GetTransitGatewayPolicyTableEntriesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTransitGatewayPolicyTableEntries, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTransitGatewayPolicyTableEntries, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetTransitGatewayPolicyTableEntries
>
Examples found in repository?
src/client.rs (line 60784)
60768 60769 60770 60771 60772 60773 60774 60775 60776 60777 60778 60779 60780 60781 60782 60783 60784 60785 60786 60787 60788 60789 60790 60791 60792 60793 60794 60795 60796 60797 60798 60799 60800 60801 60802 60803 60804 60805 60806 60807 60808 60809 60810 60811 60812 60813 60814
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetTransitGatewayPolicyTableEntries,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::GetTransitGatewayPolicyTableEntriesError,
>,
> {
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::GetTransitGatewayPolicyTableEntriesOutput,
aws_smithy_http::result::SdkError<
crate::error::GetTransitGatewayPolicyTableEntriesError,
>,
> {
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 GetTransitGatewayPolicyTableEntriesInput
.
source§impl GetTransitGatewayPolicyTableEntriesInput
impl GetTransitGatewayPolicyTableEntriesInput
sourcepub fn transit_gateway_policy_table_id(&self) -> Option<&str>
pub fn transit_gateway_policy_table_id(&self) -> Option<&str>
The ID of the transit gateway policy table.
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
The filters associated with the transit gateway policy table.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next page of results.
Trait Implementations§
source§impl Clone for GetTransitGatewayPolicyTableEntriesInput
impl Clone for GetTransitGatewayPolicyTableEntriesInput
source§fn clone(&self) -> GetTransitGatewayPolicyTableEntriesInput
fn clone(&self) -> GetTransitGatewayPolicyTableEntriesInput
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