Struct aws_sdk_ec2::input::DescribeCustomerGatewaysInput [−][src]
#[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'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
:- 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.
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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeCustomerGateways, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeCustomerGateways, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeCustomerGateways
>
Creates a new builder-style object to manufacture DescribeCustomerGatewaysInput
One or more customer gateway IDs.
Default: Describes all your customer gateways.
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
:- 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for DescribeCustomerGatewaysInput
impl Sync for DescribeCustomerGatewaysInput
impl Unpin for DescribeCustomerGatewaysInput
impl UnwindSafe for DescribeCustomerGatewaysInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more