Struct aws_sdk_apigateway::client::fluent_builders::CreateVpcLink
source · pub struct CreateVpcLink { /* private fields */ }Expand description
Fluent builder constructing a request to CreateVpcLink.
Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.
Implementations§
source§impl CreateVpcLink
impl CreateVpcLink
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateVpcLink, AwsResponseRetryClassifier>, SdkError<CreateVpcLinkError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateVpcLink, AwsResponseRetryClassifier>, SdkError<CreateVpcLinkError>>
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<CreateVpcLinkOutput, SdkError<CreateVpcLinkError>>
pub async fn send(
self
) -> Result<CreateVpcLinkOutput, SdkError<CreateVpcLinkError>>
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name used to label and identify the VPC link.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name used to label and identify the VPC link.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the VPC link.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the VPC link.
sourcepub fn target_arns(self, input: impl Into<String>) -> Self
pub fn target_arns(self, input: impl Into<String>) -> Self
Appends an item to targetArns.
To override the contents of this collection use set_target_arns.
The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
sourcepub fn set_target_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_target_arns(self, input: Option<Vec<String>>) -> Self
The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
Trait Implementations§
source§impl Clone for CreateVpcLink
impl Clone for CreateVpcLink
source§fn clone(&self) -> CreateVpcLink
fn clone(&self) -> CreateVpcLink
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more