pub struct UpdateVpcAttachment { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateVpcAttachment
.
Updates a VPC attachment.
Implementations§
source§impl UpdateVpcAttachment
impl UpdateVpcAttachment
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateVpcAttachment, AwsResponseRetryClassifier>, SdkError<UpdateVpcAttachmentError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateVpcAttachment, AwsResponseRetryClassifier>, SdkError<UpdateVpcAttachmentError>>
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<UpdateVpcAttachmentOutput, SdkError<UpdateVpcAttachmentError>>
pub async fn send(
self
) -> Result<UpdateVpcAttachmentOutput, SdkError<UpdateVpcAttachmentError>>
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 attachment_id(self, input: impl Into<String>) -> Self
pub fn attachment_id(self, input: impl Into<String>) -> Self
The ID of the attachment.
sourcepub fn set_attachment_id(self, input: Option<String>) -> Self
pub fn set_attachment_id(self, input: Option<String>) -> Self
The ID of the attachment.
sourcepub fn add_subnet_arns(self, input: impl Into<String>) -> Self
pub fn add_subnet_arns(self, input: impl Into<String>) -> Self
Appends an item to AddSubnetArns
.
To override the contents of this collection use set_add_subnet_arns
.
Adds a subnet ARN to the VPC attachment.
sourcepub fn set_add_subnet_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_add_subnet_arns(self, input: Option<Vec<String>>) -> Self
Adds a subnet ARN to the VPC attachment.
sourcepub fn remove_subnet_arns(self, input: impl Into<String>) -> Self
pub fn remove_subnet_arns(self, input: impl Into<String>) -> Self
Appends an item to RemoveSubnetArns
.
To override the contents of this collection use set_remove_subnet_arns
.
Removes a subnet ARN from the attachment.
sourcepub fn set_remove_subnet_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_remove_subnet_arns(self, input: Option<Vec<String>>) -> Self
Removes a subnet ARN from the attachment.
sourcepub fn options(self, input: VpcOptions) -> Self
pub fn options(self, input: VpcOptions) -> Self
Additional options for updating the VPC attachment.
sourcepub fn set_options(self, input: Option<VpcOptions>) -> Self
pub fn set_options(self, input: Option<VpcOptions>) -> Self
Additional options for updating the VPC attachment.
Trait Implementations§
source§impl Clone for UpdateVpcAttachment
impl Clone for UpdateVpcAttachment
source§fn clone(&self) -> UpdateVpcAttachment
fn clone(&self) -> UpdateVpcAttachment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more