// Lists gateways owned by an AWS account in an AWS Region specified in the
// request. The returned list is ordered by gateway Amazon Resource Name (ARN). By
// default, the operation returns a maximum of 100 gateways. This operation
// supports pagination that allows you to optionally reduce the number of gateways
// returned in a response. If you have more gateways than are returned in a
// response (that is, the response returns only a truncated list of your gateways),
// the response contains a marker that you can specify in your next request to
// fetch the next page of gateways.
Lists gateways owned by an AWS account in an AWS Region specified in the
request. The returned list is ordered by gateway Amazon Resource Name (ARN). By
default, the operation returns a maximum of 100 gateways. This operation
supports pagination that allows you to optionally reduce the number of gateways
returned in a response. If you have more gateways than are returned in a
response (that is, the response returns only a truncated list of your gateways),
the response contains a marker that you can specify in your next request to
fetch the next page of gateways.
// Lists gateways owned by an AWS account in an AWS Region specified in the // request . The returned list is ordered by gateway Amazon Resource Name ( ARN ) . By // default the operation returns a maximum of 100 gateways . This operation // supports pagination that allows you to optionally reduce the number of gateways // returned in a response . If you have more gateways than are returned in a // response ( that is the response returns only a truncated list of your gateways ) // the response contains a marker that you can specify in your next request to // fetch the next page of gateways .
func (c *Client) ListGateways(ctx context.Context, params *ListGatewaysInput, optFns ...func(*Options)) (*ListGatewaysOutput, error) {
	if params == nil {
		params = &ListGatewaysInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListGateways", params, optFns, addOperationListGatewaysMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListGatewaysOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListGateways ( ctx context . Context , params * ListGatewaysInput , optFns ... func ( * Options ) ) ( * ListGatewaysOutput , error ) { if params == nil { params = & ListGatewaysInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListGatewaysMiddlewares ) if err != nil { return nil , err } out := result . ( * ListGatewaysOutput ) out . ResultMetadata = metadata return out , nil }
Lists gateways owned by an AWS account in an AWS Region specified in the
request.
Lists gateways owned by an AWS account in an AWS Region specified in the request .