#[non_exhaustive]pub struct ModifyTransitGatewayPrefixListReferenceInput { /* private fields */ }
Implementations§
source§impl ModifyTransitGatewayPrefixListReferenceInput
impl ModifyTransitGatewayPrefixListReferenceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyTransitGatewayPrefixListReference, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyTransitGatewayPrefixListReference, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyTransitGatewayPrefixListReference
>
Examples found in repository?
src/client.rs (line 68603)
68587 68588 68589 68590 68591 68592 68593 68594 68595 68596 68597 68598 68599 68600 68601 68602 68603 68604 68605 68606 68607 68608 68609 68610 68611 68612 68613 68614 68615 68616 68617 68618 68619 68620 68621 68622 68623 68624 68625 68626 68627 68628 68629 68630 68631 68632 68633
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyTransitGatewayPrefixListReference,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::ModifyTransitGatewayPrefixListReferenceError,
>,
> {
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::ModifyTransitGatewayPrefixListReferenceOutput,
aws_smithy_http::result::SdkError<
crate::error::ModifyTransitGatewayPrefixListReferenceError,
>,
> {
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 ModifyTransitGatewayPrefixListReferenceInput
.
source§impl ModifyTransitGatewayPrefixListReferenceInput
impl ModifyTransitGatewayPrefixListReferenceInput
sourcepub fn transit_gateway_route_table_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_id(&self) -> Option<&str>
The ID of the transit gateway route table.
sourcepub fn prefix_list_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The ID of the prefix list.
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the attachment to which traffic is routed.
Trait Implementations§
source§impl Clone for ModifyTransitGatewayPrefixListReferenceInput
impl Clone for ModifyTransitGatewayPrefixListReferenceInput
source§fn clone(&self) -> ModifyTransitGatewayPrefixListReferenceInput
fn clone(&self) -> ModifyTransitGatewayPrefixListReferenceInput
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