aws_sdk_ec2/client/
create_local_gateway_virtual_interface_group.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 [`CreateLocalGatewayVirtualInterfaceGroup`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`local_gateway_id(impl Into<String>)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::local_gateway_id) / [`set_local_gateway_id(Option<String>)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::set_local_gateway_id):<br>required: **true**<br><p>The ID of the local gateway.</p><br>
7    ///   - [`local_bgp_asn(i32)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::local_bgp_asn) / [`set_local_bgp_asn(Option<i32>)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::set_local_bgp_asn):<br>required: **false**<br><p>The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).</p><br>
8    ///   - [`local_bgp_asn_extended(i64)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::local_bgp_asn_extended) / [`set_local_bgp_asn_extended(Option<i64>)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::set_local_bgp_asn_extended):<br>required: **false**<br><p>The extended 32-bit ASN for the local BGP configuration.</p><br>
9    ///   - [`tag_specifications(TagSpecification)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::tag_specifications) / [`set_tag_specifications(Option<Vec::<TagSpecification>>)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::set_tag_specifications):<br>required: **false**<br><p>The tags to apply to the local gateway virtual interface group when the resource is being created.</p><br>
10    ///   - [`dry_run(bool)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::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>
11    /// - On success, responds with [`CreateLocalGatewayVirtualInterfaceGroupOutput`](crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupOutput) with field(s):
12    ///   - [`local_gateway_virtual_interface_group(Option<LocalGatewayVirtualInterfaceGroup>)`](crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupOutput::local_gateway_virtual_interface_group): <p>Information about the created local gateway virtual interface group.</p>
13    /// - On failure, responds with [`SdkError<CreateLocalGatewayVirtualInterfaceGroupError>`](crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError)
14    pub fn create_local_gateway_virtual_interface_group(
15        &self,
16    ) -> crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder {
17        crate::operation::create_local_gateway_virtual_interface_group::builders::CreateLocalGatewayVirtualInterfaceGroupFluentBuilder::new(
18            self.handle.clone(),
19        )
20    }
21}