Struct aws_sdk_ec2::input::DescribeNatGatewaysInput
source · [−]#[non_exhaustive]pub struct DescribeNatGatewaysInput { /* private fields */ }
Implementations
sourceimpl 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeNatGatewaysInput
.
sourceimpl 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 results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
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 for the next page of results.
Trait Implementations
sourceimpl Clone for DescribeNatGatewaysInput
impl Clone for DescribeNatGatewaysInput
sourcefn clone(&self) -> DescribeNatGatewaysInput
fn clone(&self) -> DescribeNatGatewaysInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more