pub struct DescribeCustomerGatewaysRequest {
pub customer_gateway_ids: Option<Vec<String>>,
pub dry_run: Option<bool>,
pub filters: Option<Vec<Filter>>,
}
Expand description
Contains the parameters for DescribeCustomerGateways.
Fields§
§customer_gateway_ids: Option<Vec<String>>
One or more customer gateway IDs.
Default: Describes all your customer gateways.
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
.
filters: Option<Vec<Filter>>
One or more filters.
-
bgp-asn
- The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). -
customer-gateway-id
- The ID of the customer gateway. -
ip-address
- The IP address of the customer gateway's Internet-routable external interface. -
state
- The state of the customer gateway (pending
|available
|deleting
|deleted
). -
type
- The type of customer gateway. Currently, the only supported type isipsec.1
. -
tag
:<key> - 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 keyOwner
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.
Trait Implementations§
Source§impl Clone for DescribeCustomerGatewaysRequest
impl Clone for DescribeCustomerGatewaysRequest
Source§fn clone(&self) -> DescribeCustomerGatewaysRequest
fn clone(&self) -> DescribeCustomerGatewaysRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for DescribeCustomerGatewaysRequest
impl Default for DescribeCustomerGatewaysRequest
Source§fn default() -> DescribeCustomerGatewaysRequest
fn default() -> DescribeCustomerGatewaysRequest
Source§impl PartialEq for DescribeCustomerGatewaysRequest
impl PartialEq for DescribeCustomerGatewaysRequest
Source§fn eq(&self, other: &DescribeCustomerGatewaysRequest) -> bool
fn eq(&self, other: &DescribeCustomerGatewaysRequest) -> bool
self
and other
values to be equal, and is used by ==
.