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