1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeNetworkInterfaceAttribute`](crate::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`attribute(NetworkInterfaceAttribute)`](crate::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeFluentBuilder::attribute) / [`set_attribute(Option<NetworkInterfaceAttribute>)`](crate::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeFluentBuilder::set_attribute):<br>required: **false**<br><p>The attribute of the network interface. This parameter is required.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeFluentBuilder::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>
    ///   - [`network_interface_id(impl Into<String>)`](crate::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeFluentBuilder::network_interface_id) / [`set_network_interface_id(Option<String>)`](crate::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeFluentBuilder::set_network_interface_id):<br>required: **true**<br><p>The ID of the network interface.</p><br>
    /// - On success, responds with [`DescribeNetworkInterfaceAttributeOutput`](crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeOutput) with field(s):
    ///   - [`attachment(Option<NetworkInterfaceAttachment>)`](crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeOutput::attachment): <p>The attachment (if any) of the network interface.</p>
    ///   - [`description(Option<AttributeValue>)`](crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeOutput::description): <p>The description of the network interface.</p>
    ///   - [`groups(Option<Vec::<GroupIdentifier>>)`](crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeOutput::groups): <p>The security groups associated with the network interface.</p>
    ///   - [`network_interface_id(Option<String>)`](crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeOutput::network_interface_id): <p>The ID of the network interface.</p>
    ///   - [`source_dest_check(Option<AttributeBooleanValue>)`](crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeOutput::source_dest_check): <p>Indicates whether source/destination checking is enabled.</p>
    /// - On failure, responds with [`SdkError<DescribeNetworkInterfaceAttributeError>`](crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError)
    pub fn describe_network_interface_attribute(
        &self,
    ) -> crate::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeFluentBuilder {
        crate::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeFluentBuilder::new(self.handle.clone())
    }
}