Struct rusoto_ec2::DescribeNatGatewaysRequest[][src]

pub struct DescribeNatGatewaysRequest {
    pub filter: Option<Vec<Filter>>,
    pub max_results: Option<i64>,
    pub nat_gateway_ids: Option<Vec<String>>,
    pub next_token: Option<String>,
}

Contains the parameters for DescribeNatGateways.

Fields

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:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify tag:Purpose for the filter name and X for the filter value.

  • tag-key - The key of a tag assigned to the resource. This filter is independent of the tag-value filter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the tag:key=value filter.

  • tag-value - The value of a tag assigned to the resource. This filter is independent of the tag-key filter.

  • vpc-id - The ID of the VPC in which the NAT gateway resides.

The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

Constraint: If the value specified is greater than 1000, we return only 1000 items.

One or more NAT gateway IDs.

The token to retrieve the next page of results.

Trait Implementations

impl Default for DescribeNatGatewaysRequest
[src]

Returns the "default value" for a type. Read more

impl Debug for DescribeNatGatewaysRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for DescribeNatGatewaysRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DescribeNatGatewaysRequest
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations