#[non_exhaustive]pub struct DescribeCustomerGatewaysInput {
pub customer_gateway_ids: Option<Vec<String>>,
pub filters: Option<Vec<Filter>>,
pub dry_run: Option<bool>,
}Expand description
Contains the parameters for DescribeCustomerGateways.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.customer_gateway_ids: Option<Vec<String>>One or more customer gateway IDs.
Default: Describes all your customer gateways.
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 device's 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:- 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 Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor 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.
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.
Implementations§
source§impl DescribeCustomerGatewaysInput
impl DescribeCustomerGatewaysInput
sourcepub fn customer_gateway_ids(&self) -> &[String]
pub fn customer_gateway_ids(&self) -> &[String]
One or more customer gateway IDs.
Default: Describes all your customer gateways.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .customer_gateway_ids.is_none().
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[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 device's 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:- 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 Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none().
source§impl DescribeCustomerGatewaysInput
impl DescribeCustomerGatewaysInput
sourcepub fn builder() -> DescribeCustomerGatewaysInputBuilder
pub fn builder() -> DescribeCustomerGatewaysInputBuilder
Creates a new builder-style object to manufacture DescribeCustomerGatewaysInput.
Trait Implementations§
source§impl Clone for DescribeCustomerGatewaysInput
impl Clone for DescribeCustomerGatewaysInput
source§fn clone(&self) -> DescribeCustomerGatewaysInput
fn clone(&self) -> DescribeCustomerGatewaysInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DescribeCustomerGatewaysInput
impl PartialEq for DescribeCustomerGatewaysInput
source§fn eq(&self, other: &DescribeCustomerGatewaysInput) -> bool
fn eq(&self, other: &DescribeCustomerGatewaysInput) -> bool
self and other values to be equal, and is used
by ==.