aws-sdk-ec2 1.222.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteLocalGatewayVirtualInterfaceGroup`](crate::operation::delete_local_gateway_virtual_interface_group::builders::DeleteLocalGatewayVirtualInterfaceGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`local_gateway_virtual_interface_group_id(impl Into<String>)`](crate::operation::delete_local_gateway_virtual_interface_group::builders::DeleteLocalGatewayVirtualInterfaceGroupFluentBuilder::local_gateway_virtual_interface_group_id) / [`set_local_gateway_virtual_interface_group_id(Option<String>)`](crate::operation::delete_local_gateway_virtual_interface_group::builders::DeleteLocalGatewayVirtualInterfaceGroupFluentBuilder::set_local_gateway_virtual_interface_group_id):<br>required: **true**<br><p>The ID of the local gateway virtual interface group to delete.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::delete_local_gateway_virtual_interface_group::builders::DeleteLocalGatewayVirtualInterfaceGroupFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_local_gateway_virtual_interface_group::builders::DeleteLocalGatewayVirtualInterfaceGroupFluentBuilder::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 [`DeleteLocalGatewayVirtualInterfaceGroupOutput`](crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupOutput) with field(s):
    ///   - [`local_gateway_virtual_interface_group(Option<LocalGatewayVirtualInterfaceGroup>)`](crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupOutput::local_gateway_virtual_interface_group): <p>Information about the deleted local gateway virtual interface group.</p>
    /// - On failure, responds with [`SdkError<DeleteLocalGatewayVirtualInterfaceGroupError>`](crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError)
    pub fn delete_local_gateway_virtual_interface_group(
        &self,
    ) -> crate::operation::delete_local_gateway_virtual_interface_group::builders::DeleteLocalGatewayVirtualInterfaceGroupFluentBuilder {
        crate::operation::delete_local_gateway_virtual_interface_group::builders::DeleteLocalGatewayVirtualInterfaceGroupFluentBuilder::new(
            self.handle.clone(),
        )
    }
}