#[non_exhaustive]pub struct DescribeNatGatewaysInput { /* private fields */ }
Implementations§
source§impl DescribeNatGatewaysInput
impl DescribeNatGatewaysInput
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 filter(&self) -> Option<&[Filter]>
pub fn filter(&self) -> Option<&[Filter]>
One or more filters.
-
nat-gateway-id
- The ID of the NAT gateway. -
state
- The state of the NAT gateway (pending
|failed
|available
|deleting
|deleted
). -
subnet-id
- The ID of the subnet in which the NAT gateway resides. -
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. -
vpc-id
- The ID of the VPC in which the NAT gateway resides.
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.
sourcepub fn nat_gateway_ids(&self) -> Option<&[String]>
pub fn nat_gateway_ids(&self) -> Option<&[String]>
One or more NAT gateway IDs.
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.
source§impl DescribeNatGatewaysInput
impl DescribeNatGatewaysInput
sourcepub fn builder() -> DescribeNatGatewaysInputBuilder
pub fn builder() -> DescribeNatGatewaysInputBuilder
Creates a new builder-style object to manufacture DescribeNatGatewaysInput
.
source§impl DescribeNatGatewaysInput
impl DescribeNatGatewaysInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeNatGateways, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<DescribeNatGateways, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeNatGateways
>
Trait Implementations§
source§impl Clone for DescribeNatGatewaysInput
impl Clone for DescribeNatGatewaysInput
source§fn clone(&self) -> DescribeNatGatewaysInput
fn clone(&self) -> DescribeNatGatewaysInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeNatGatewaysInput
impl Debug for DescribeNatGatewaysInput
source§impl PartialEq<DescribeNatGatewaysInput> for DescribeNatGatewaysInput
impl PartialEq<DescribeNatGatewaysInput> for DescribeNatGatewaysInput
source§fn eq(&self, other: &DescribeNatGatewaysInput) -> bool
fn eq(&self, other: &DescribeNatGatewaysInput) -> bool
self
and other
values to be equal, and is used
by ==
.