Struct aws_sdk_ec2::input::DescribeCustomerGatewaysInput
source · [−]#[non_exhaustive]pub struct DescribeCustomerGatewaysInput { /* private fields */ }
Expand description
Contains the parameters for DescribeCustomerGateways.
Implementations
sourceimpl DescribeCustomerGatewaysInput
impl DescribeCustomerGatewaysInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeCustomerGatewaysInput
.
sourceimpl 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
sourceimpl Clone for DescribeCustomerGatewaysInput
impl Clone for DescribeCustomerGatewaysInput
sourcefn clone(&self) -> DescribeCustomerGatewaysInput
fn clone(&self) -> DescribeCustomerGatewaysInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeCustomerGatewaysInput
impl Debug for DescribeCustomerGatewaysInput
sourceimpl PartialEq<DescribeCustomerGatewaysInput> for DescribeCustomerGatewaysInput
impl PartialEq<DescribeCustomerGatewaysInput> for DescribeCustomerGatewaysInput
sourcefn eq(&self, other: &DescribeCustomerGatewaysInput) -> bool
fn eq(&self, other: &DescribeCustomerGatewaysInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeCustomerGatewaysInput) -> bool
fn ne(&self, other: &DescribeCustomerGatewaysInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeCustomerGatewaysInput
Auto Trait Implementations
impl RefUnwindSafe for DescribeCustomerGatewaysInput
impl Send for DescribeCustomerGatewaysInput
impl Sync for DescribeCustomerGatewaysInput
impl Unpin for DescribeCustomerGatewaysInput
impl UnwindSafe for DescribeCustomerGatewaysInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more