1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateVpcAttachment`](crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`attachment_id(impl Into<String>)`](crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder::attachment_id) / [`set_attachment_id(Option<String>)`](crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder::set_attachment_id): <p>The ID of the attachment.</p>
/// - [`add_subnet_arns(Vec<String>)`](crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder::add_subnet_arns) / [`set_add_subnet_arns(Option<Vec<String>>)`](crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder::set_add_subnet_arns): <p>Adds a subnet ARN to the VPC attachment.</p>
/// - [`remove_subnet_arns(Vec<String>)`](crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder::remove_subnet_arns) / [`set_remove_subnet_arns(Option<Vec<String>>)`](crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder::set_remove_subnet_arns): <p>Removes a subnet ARN from the attachment.</p>
/// - [`options(VpcOptions)`](crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder::options) / [`set_options(Option<VpcOptions>)`](crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder::set_options): <p>Additional options for updating the VPC attachment. </p>
/// - On success, responds with [`UpdateVpcAttachmentOutput`](crate::operation::update_vpc_attachment::UpdateVpcAttachmentOutput) with field(s):
/// - [`vpc_attachment(Option<VpcAttachment>)`](crate::operation::update_vpc_attachment::UpdateVpcAttachmentOutput::vpc_attachment): <p>Describes the updated VPC attachment.</p>
/// - On failure, responds with [`SdkError<UpdateVpcAttachmentError>`](crate::operation::update_vpc_attachment::UpdateVpcAttachmentError)
pub fn update_vpc_attachment(
&self,
) -> crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder {
crate::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder::new(
self.handle.clone(),
)
}
}