pub struct CreateConnectAttachment { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateConnectAttachment
.
Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
Implementations§
source§impl CreateConnectAttachment
impl CreateConnectAttachment
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateConnectAttachment, AwsResponseRetryClassifier>, SdkError<CreateConnectAttachmentError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateConnectAttachment, AwsResponseRetryClassifier>, SdkError<CreateConnectAttachmentError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateConnectAttachmentOutput, SdkError<CreateConnectAttachmentError>>
pub async fn send(
self
) -> Result<CreateConnectAttachmentOutput, SdkError<CreateConnectAttachmentError>>
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, which can be set when configuring the client.
sourcepub fn core_network_id(self, input: impl Into<String>) -> Self
pub fn core_network_id(self, input: impl Into<String>) -> Self
The ID of a core network where you want to create the attachment.
sourcepub fn set_core_network_id(self, input: Option<String>) -> Self
pub fn set_core_network_id(self, input: Option<String>) -> Self
The ID of a core network where you want to create the attachment.
sourcepub fn edge_location(self, input: impl Into<String>) -> Self
pub fn edge_location(self, input: impl Into<String>) -> Self
The Region where the edge is located.
sourcepub fn set_edge_location(self, input: Option<String>) -> Self
pub fn set_edge_location(self, input: Option<String>) -> Self
The Region where the edge is located.
sourcepub fn transport_attachment_id(self, input: impl Into<String>) -> Self
pub fn transport_attachment_id(self, input: impl Into<String>) -> Self
The ID of the attachment between the two connections.
sourcepub fn set_transport_attachment_id(self, input: Option<String>) -> Self
pub fn set_transport_attachment_id(self, input: Option<String>) -> Self
The ID of the attachment between the two connections.
sourcepub fn options(self, input: ConnectAttachmentOptions) -> Self
pub fn options(self, input: ConnectAttachmentOptions) -> Self
Options for creating an attachment.
sourcepub fn set_options(self, input: Option<ConnectAttachmentOptions>) -> Self
pub fn set_options(self, input: Option<ConnectAttachmentOptions>) -> Self
Options for creating an attachment.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The list of key-value tags associated with the request.
The list of key-value tags associated with the request.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token associated with the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token associated with the request.
Trait Implementations§
source§impl Clone for CreateConnectAttachment
impl Clone for CreateConnectAttachment
source§fn clone(&self) -> CreateConnectAttachment
fn clone(&self) -> CreateConnectAttachment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more