Struct aws_sdk_ec2::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeInput
source · #[non_exhaustive]pub struct DescribeNetworkInterfaceAttributeInput {
pub attribute: Option<NetworkInterfaceAttribute>,
pub dry_run: Option<bool>,
pub network_interface_id: Option<String>,
}
Expand description
Contains the parameters for DescribeNetworkInterfaceAttribute.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attribute: Option<NetworkInterfaceAttribute>
The attribute of the network interface. This parameter is required.
dry_run: Option<bool>
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 DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
network_interface_id: Option<String>
The ID of the network interface.
Implementations§
source§impl DescribeNetworkInterfaceAttributeInput
impl DescribeNetworkInterfaceAttributeInput
sourcepub fn attribute(&self) -> Option<&NetworkInterfaceAttribute>
pub fn attribute(&self) -> Option<&NetworkInterfaceAttribute>
The attribute of the network interface. This parameter is required.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
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 DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
source§impl DescribeNetworkInterfaceAttributeInput
impl DescribeNetworkInterfaceAttributeInput
sourcepub fn builder() -> DescribeNetworkInterfaceAttributeInputBuilder
pub fn builder() -> DescribeNetworkInterfaceAttributeInputBuilder
Creates a new builder-style object to manufacture DescribeNetworkInterfaceAttributeInput
.
Trait Implementations§
source§impl Clone for DescribeNetworkInterfaceAttributeInput
impl Clone for DescribeNetworkInterfaceAttributeInput
source§fn clone(&self) -> DescribeNetworkInterfaceAttributeInput
fn clone(&self) -> DescribeNetworkInterfaceAttributeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DescribeNetworkInterfaceAttributeInput> for DescribeNetworkInterfaceAttributeInput
impl PartialEq<DescribeNetworkInterfaceAttributeInput> for DescribeNetworkInterfaceAttributeInput
source§fn eq(&self, other: &DescribeNetworkInterfaceAttributeInput) -> bool
fn eq(&self, other: &DescribeNetworkInterfaceAttributeInput) -> bool
self
and other
values to be equal, and is used
by ==
.