Struct aws_sdk_ec2::input::DescribeCustomerGatewaysInput
source · #[non_exhaustive]pub struct DescribeCustomerGatewaysInput { /* private fields */ }
Expand description
Contains the parameters for DescribeCustomerGateways.
Implementations§
source§impl DescribeCustomerGatewaysInput
impl DescribeCustomerGatewaysInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeCustomerGateways, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeCustomerGateways, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeCustomerGateways
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeCustomerGatewaysInput
.
source§impl DescribeCustomerGatewaysInput
impl DescribeCustomerGatewaysInput
sourcepub fn customer_gateway_ids(&self) -> Option<&[String]>
pub fn customer_gateway_ids(&self) -> Option<&[String]>
One or more customer gateway IDs.
Default: Describes all your customer gateways.
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[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 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.
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<DescribeCustomerGatewaysInput> for DescribeCustomerGatewaysInput
impl PartialEq<DescribeCustomerGatewaysInput> 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 ==
.