AWS SDK for .NET Documentation
DescribeCustomerGateways Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2 ► DescribeCustomerGateways(DescribeCustomerGatewaysRequest)
Did this page help you? Yes No Tell us about it...
Returns information about your customer gateways.
Declaration Syntax

C#

    DescribeCustomerGatewaysResponse DescribeCustomerGateways(
    	DescribeCustomerGatewaysRequest request
    )

Parameters

request (DescribeCustomerGatewaysRequest)
  Describe Customer Gateways request

Return Value
Describe Customer Gateways Response from the service
Remarks
You can filter the results to return information only about customer gateways that match criteria you specify. For example, you could ask to get information about a particular customer gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the customer gateway has a particular IP address for the Internet-routable external interface, and the gateway's state is pending or available). The result includes information for a particular customer gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty
Exceptions

Exception | Condition
--- | ---
WebException |
AmazonEC2Exception |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)