aws_sdk_apigatewayv2/client/
update_vpc_link.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateVpcLink`](crate::operation::update_vpc_link::builders::UpdateVpcLinkFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::update_vpc_link::builders::UpdateVpcLinkFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_vpc_link::builders::UpdateVpcLinkFluentBuilder::set_name):<br>required: **false**<br><p>The name of the VPC link.</p><br>
7    ///   - [`vpc_link_id(impl Into<String>)`](crate::operation::update_vpc_link::builders::UpdateVpcLinkFluentBuilder::vpc_link_id) / [`set_vpc_link_id(Option<String>)`](crate::operation::update_vpc_link::builders::UpdateVpcLinkFluentBuilder::set_vpc_link_id):<br>required: **true**<br><p>The ID of the VPC link.</p><br>
8    /// - On success, responds with [`UpdateVpcLinkOutput`](crate::operation::update_vpc_link::UpdateVpcLinkOutput) with field(s):
9    ///   - [`created_date(Option<DateTime>)`](crate::operation::update_vpc_link::UpdateVpcLinkOutput::created_date): <p>The timestamp when the VPC link was created.</p>
10    ///   - [`name(Option<String>)`](crate::operation::update_vpc_link::UpdateVpcLinkOutput::name): <p>The name of the VPC link.</p>
11    ///   - [`security_group_ids(Option<Vec::<String>>)`](crate::operation::update_vpc_link::UpdateVpcLinkOutput::security_group_ids): <p>A list of security group IDs for the VPC link.</p>
12    ///   - [`subnet_ids(Option<Vec::<String>>)`](crate::operation::update_vpc_link::UpdateVpcLinkOutput::subnet_ids): <p>A list of subnet IDs to include in the VPC link.</p>
13    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_vpc_link::UpdateVpcLinkOutput::tags): <p>Tags for the VPC link.</p>
14    ///   - [`vpc_link_id(Option<String>)`](crate::operation::update_vpc_link::UpdateVpcLinkOutput::vpc_link_id): <p>The ID of the VPC link.</p>
15    ///   - [`vpc_link_status(Option<VpcLinkStatus>)`](crate::operation::update_vpc_link::UpdateVpcLinkOutput::vpc_link_status): <p>The status of the VPC link.</p>
16    ///   - [`vpc_link_status_message(Option<String>)`](crate::operation::update_vpc_link::UpdateVpcLinkOutput::vpc_link_status_message): <p>A message summarizing the cause of the status of the VPC link.</p>
17    ///   - [`vpc_link_version(Option<VpcLinkVersion>)`](crate::operation::update_vpc_link::UpdateVpcLinkOutput::vpc_link_version): <p>The version of the VPC link.</p>
18    /// - On failure, responds with [`SdkError<UpdateVpcLinkError>`](crate::operation::update_vpc_link::UpdateVpcLinkError)
19    pub fn update_vpc_link(&self) -> crate::operation::update_vpc_link::builders::UpdateVpcLinkFluentBuilder {
20        crate::operation::update_vpc_link::builders::UpdateVpcLinkFluentBuilder::new(self.handle.clone())
21    }
22}