#[non_exhaustive]pub struct CreateTransitGatewayConnectPeerInput { /* private fields */ }
Implementations§
source§impl CreateTransitGatewayConnectPeerInput
impl CreateTransitGatewayConnectPeerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTransitGatewayConnectPeer, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTransitGatewayConnectPeer, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateTransitGatewayConnectPeer
>
Examples found in repository?
22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 22945 22946 22947 22948 22949 22950 22951 22952 22953
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateTransitGatewayConnectPeer,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateTransitGatewayConnectPeerError>,
> {
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::CreateTransitGatewayConnectPeerOutput,
aws_smithy_http::result::SdkError<crate::error::CreateTransitGatewayConnectPeerError>,
> {
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 CreateTransitGatewayConnectPeerInput
.
source§impl CreateTransitGatewayConnectPeerInput
impl CreateTransitGatewayConnectPeerInput
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the Connect attachment.
sourcepub fn transit_gateway_address(&self) -> Option<&str>
pub fn transit_gateway_address(&self) -> Option<&str>
The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.
sourcepub fn peer_address(&self) -> Option<&str>
pub fn peer_address(&self) -> Option<&str>
The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
sourcepub fn bgp_options(&self) -> Option<&TransitGatewayConnectRequestBgpOptions>
pub fn bgp_options(&self) -> Option<&TransitGatewayConnectRequestBgpOptions>
The BGP options for the Connect peer.
sourcepub fn inside_cidr_blocks(&self) -> Option<&[String]>
pub fn inside_cidr_blocks(&self) -> Option<&[String]>
The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from the 169.254.0.0/16
range. The first address from the range must be configured on the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the fd00::/8
range.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the Connect peer.
Trait Implementations§
source§impl Clone for CreateTransitGatewayConnectPeerInput
impl Clone for CreateTransitGatewayConnectPeerInput
source§fn clone(&self) -> CreateTransitGatewayConnectPeerInput
fn clone(&self) -> CreateTransitGatewayConnectPeerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more