AWS SDK for .NET Documentation
DescribeInternetGateways Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2Client ► DescribeInternetGateways(DescribeInternetGatewaysRequest)
Did this page help you? Yes No Tell us about it...
Gives you information about your Internet gateways.
Declaration Syntax

C#

    public DescribeInternetGatewaysResponse DescribeInternetGateways(
    	DescribeInternetGatewaysRequest request
    )

Parameters

request (DescribeInternetGatewaysRequest)
  Describe Internet Gateways request

Return Value
Describe Internet Gateways Response from the service
Remarks
You can filter the results to return information only about Internet gateways that match criteria you specify. For example, you could get information only about gateways with particular tags. The Internet gateway must match at least one of the specified values for it to be included in the results. You can specify multiple filters (e.g., the Internet gateway is attached to a particular VPC and is tagged with a particular value). The result includes information for a particular Internet gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. You can use wildcards with the filter values: * matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\.
Exceptions

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

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