#[non_exhaustive]pub struct DescribeInternetGatewaysInput {
pub filters: Option<Vec<Filter>>,
pub dry_run: Option<bool>,
pub internet_gateway_ids: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.filters: Option<Vec<Filter>>
The filters.
-
attachment.state
- The current state of the attachment between the gateway and the VPC (available
). Present only if a VPC is attached. -
attachment.vpc-id
- The ID of an attached VPC. -
internet-gateway-id
- The ID of the Internet gateway. -
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
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
.
internet_gateway_ids: Option<Vec<String>>
The IDs of the internet gateways.
Default: Describes all your internet gateways.
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. For more information, see Pagination.
Implementations§
source§impl DescribeInternetGatewaysInput
impl DescribeInternetGatewaysInput
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
The filters.
-
attachment.state
- The current state of the attachment between the gateway and the VPC (available
). Present only if a VPC is attached. -
attachment.vpc-id
- The ID of an attached VPC. -
internet-gateway-id
- The ID of the Internet gateway. -
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
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 internet_gateway_ids(&self) -> Option<&[String]>
pub fn internet_gateway_ids(&self) -> Option<&[String]>
The IDs of the internet gateways.
Default: Describes all your internet gateways.
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. For more information, see Pagination.
source§impl DescribeInternetGatewaysInput
impl DescribeInternetGatewaysInput
sourcepub fn builder() -> DescribeInternetGatewaysInputBuilder
pub fn builder() -> DescribeInternetGatewaysInputBuilder
Creates a new builder-style object to manufacture DescribeInternetGatewaysInput
.
Trait Implementations§
source§impl Clone for DescribeInternetGatewaysInput
impl Clone for DescribeInternetGatewaysInput
source§fn clone(&self) -> DescribeInternetGatewaysInput
fn clone(&self) -> DescribeInternetGatewaysInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DescribeInternetGatewaysInput> for DescribeInternetGatewaysInput
impl PartialEq<DescribeInternetGatewaysInput> for DescribeInternetGatewaysInput
source§fn eq(&self, other: &DescribeInternetGatewaysInput) -> bool
fn eq(&self, other: &DescribeInternetGatewaysInput) -> bool
self
and other
values to be equal, and is used
by ==
.