// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ModifyTransitGatewayVpcAttachment`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`transit_gateway_attachment_id(impl Into<String>)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::transit_gateway_attachment_id) / [`set_transit_gateway_attachment_id(Option<String>)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::set_transit_gateway_attachment_id):<br>required: **true**<br><p>The ID of the attachment.</p><br>
/// - [`add_subnet_ids(impl Into<String>)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::add_subnet_ids) / [`set_add_subnet_ids(Option<Vec::<String>>)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::set_add_subnet_ids):<br>required: **false**<br><p>The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.</p><br>
/// - [`remove_subnet_ids(impl Into<String>)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::remove_subnet_ids) / [`set_remove_subnet_ids(Option<Vec::<String>>)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::set_remove_subnet_ids):<br>required: **false**<br><p>The IDs of one or more subnets to remove.</p><br>
/// - [`options(ModifyTransitGatewayVpcAttachmentRequestOptions)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::options) / [`set_options(Option<ModifyTransitGatewayVpcAttachmentRequestOptions>)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::set_options):<br>required: **false**<br><p>The new VPC attachment options.</p><br>
/// - [`dry_run(bool)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
/// - On success, responds with [`ModifyTransitGatewayVpcAttachmentOutput`](crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentOutput) with field(s):
/// - [`transit_gateway_vpc_attachment(Option<TransitGatewayVpcAttachment>)`](crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentOutput::transit_gateway_vpc_attachment): <p>Information about the modified attachment.</p>
/// - On failure, responds with [`SdkError<ModifyTransitGatewayVpcAttachmentError>`](crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError)
pub fn modify_transit_gateway_vpc_attachment(
&self,
) -> crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder {
crate::operation::modify_transit_gateway_vpc_attachment::builders::ModifyTransitGatewayVpcAttachmentFluentBuilder::new(self.handle.clone())
}
}