#[non_exhaustive]pub struct CreateTransitGatewayRouteTableAnnouncementInput { /* private fields */ }
Implementations§
source§impl CreateTransitGatewayRouteTableAnnouncementInput
impl CreateTransitGatewayRouteTableAnnouncementInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTransitGatewayRouteTableAnnouncement, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTransitGatewayRouteTableAnnouncement, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateTransitGatewayRouteTableAnnouncement
>
Examples found in repository?
src/client.rs (line 23843)
23827 23828 23829 23830 23831 23832 23833 23834 23835 23836 23837 23838 23839 23840 23841 23842 23843 23844 23845 23846 23847 23848 23849 23850 23851 23852 23853 23854 23855 23856 23857 23858 23859 23860 23861 23862 23863 23864 23865 23866 23867 23868 23869 23870 23871 23872 23873
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateTransitGatewayRouteTableAnnouncement,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::CreateTransitGatewayRouteTableAnnouncementError,
>,
> {
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::CreateTransitGatewayRouteTableAnnouncementOutput,
aws_smithy_http::result::SdkError<
crate::error::CreateTransitGatewayRouteTableAnnouncementError,
>,
> {
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 CreateTransitGatewayRouteTableAnnouncementInput
.
source§impl CreateTransitGatewayRouteTableAnnouncementInput
impl CreateTransitGatewayRouteTableAnnouncementInput
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 peering_attachment_id(&self) -> Option<&str>
pub fn peering_attachment_id(&self) -> Option<&str>
The ID of the peering attachment.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags specifications applied to the transit gateway route table announcement.
Trait Implementations§
source§impl Clone for CreateTransitGatewayRouteTableAnnouncementInput
impl Clone for CreateTransitGatewayRouteTableAnnouncementInput
source§fn clone(&self) -> CreateTransitGatewayRouteTableAnnouncementInput
fn clone(&self) -> CreateTransitGatewayRouteTableAnnouncementInput
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