AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the response object from the ListGateways operation.
Namespace: Amazon.StorageGateway.Model
Assembly: AWSSDK.StorageGateway.dll
Version: 3.x.y.z
public class ListGatewaysResponse : AmazonWebServiceResponse
The ListGatewaysResponse type exposes the following members
Name | Description | |
---|---|---|
ListGatewaysResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
Gateways | System.Collections.Generic.List<Amazon.StorageGateway.Model.GatewayInfo> |
Gets and sets the property Gateways. An array of GatewayInfo objects. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
Marker | System.String |
Gets and sets the property Marker. Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
Lists gateways owned by an AWS account in a specified region as requested. Results are sorted by gateway ARN up to a maximum of 100 gateways.
var client = new AmazonStorageGatewayClient(); var response = client.ListGateways(new ListGatewaysRequest { Limit = 2, Marker = "1" }); List<GatewayInfo> gateways = response.Gateways; string marker = response.Marker;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5