Struct aws_sdk_ec2::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsInput
source · #[non_exhaustive]pub struct DescribeNetworkInterfacePermissionsInput {
pub network_interface_permission_ids: Option<Vec<String>>,
pub filters: Option<Vec<Filter>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
Expand description
Contains the parameters for DescribeNetworkInterfacePermissions.
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.network_interface_permission_ids: Option<Vec<String>>
The network interface permission IDs.
filters: Option<Vec<Filter>>
One or more filters.
-
network-interface-permission.network-interface-permission-id
- The ID of the permission. -
network-interface-permission.network-interface-id
- The ID of the network interface. -
network-interface-permission.aws-account-id
- The Amazon Web Services account ID. -
network-interface-permission.aws-service
- The Amazon Web Service. -
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|EIP-ASSOCIATE
).
next_token: Option<String>
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results: Option<i32>
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.
Implementations§
source§impl DescribeNetworkInterfacePermissionsInput
impl DescribeNetworkInterfacePermissionsInput
sourcepub fn network_interface_permission_ids(&self) -> &[String]
pub fn network_interface_permission_ids(&self) -> &[String]
The network interface permission IDs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .network_interface_permission_ids.is_none()
.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
One or more filters.
-
network-interface-permission.network-interface-permission-id
- The ID of the permission. -
network-interface-permission.network-interface-id
- The ID of the network interface. -
network-interface-permission.aws-account-id
- The Amazon Web Services account ID. -
network-interface-permission.aws-service
- The Amazon Web Service. -
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|EIP-ASSOCIATE
).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.
source§impl DescribeNetworkInterfacePermissionsInput
impl DescribeNetworkInterfacePermissionsInput
sourcepub fn builder() -> DescribeNetworkInterfacePermissionsInputBuilder
pub fn builder() -> DescribeNetworkInterfacePermissionsInputBuilder
Creates a new builder-style object to manufacture DescribeNetworkInterfacePermissionsInput
.
Trait Implementations§
source§impl Clone for DescribeNetworkInterfacePermissionsInput
impl Clone for DescribeNetworkInterfacePermissionsInput
source§fn clone(&self) -> DescribeNetworkInterfacePermissionsInput
fn clone(&self) -> DescribeNetworkInterfacePermissionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeNetworkInterfacePermissionsInput
impl PartialEq for DescribeNetworkInterfacePermissionsInput
source§fn eq(&self, other: &DescribeNetworkInterfacePermissionsInput) -> bool
fn eq(&self, other: &DescribeNetworkInterfacePermissionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeNetworkInterfacePermissionsInput
Auto Trait Implementations§
impl Freeze for DescribeNetworkInterfacePermissionsInput
impl RefUnwindSafe for DescribeNetworkInterfacePermissionsInput
impl Send for DescribeNetworkInterfacePermissionsInput
impl Sync for DescribeNetworkInterfacePermissionsInput
impl Unpin for DescribeNetworkInterfacePermissionsInput
impl UnwindSafe for DescribeNetworkInterfacePermissionsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more