Struct aws_sdk_ec2::input::DescribeInternetGatewaysInput
source · #[non_exhaustive]pub struct DescribeInternetGatewaysInput { /* private fields */ }
Implementations§
source§impl DescribeInternetGatewaysInput
impl DescribeInternetGatewaysInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeInternetGateways, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeInternetGateways, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeInternetGateways
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeInternetGatewaysInput
.
source§impl DescribeInternetGatewaysInput
impl DescribeInternetGatewaysInput
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
One or more 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]>
One or more internet gateway IDs.
Default: Describes all your internet gateways.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next page of results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
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 ==
.