// Lists all your Direct Connect gateways or only the specified Direct Connect
// gateway. Deleted Direct Connect gateways are not returned.
Lists all your Direct Connect gateways or only the specified Direct Connect
gateway. Deleted Direct Connect gateways are not returned.
// Lists all your Direct Connect gateways or only the specified Direct Connect // gateway . Deleted Direct Connect gateways are not returned .
func (c *Client) DescribeDirectConnectGateways(ctx context.Context, params *DescribeDirectConnectGatewaysInput, optFns ...func(*Options)) (*DescribeDirectConnectGatewaysOutput, error) {
	if params == nil {
		params = &DescribeDirectConnectGatewaysInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeDirectConnectGateways", params, optFns, addOperationDescribeDirectConnectGatewaysMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeDirectConnectGatewaysOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeDirectConnectGateways ( ctx context . Context , params * DescribeDirectConnectGatewaysInput , optFns ... func ( * Options ) ) ( * DescribeDirectConnectGatewaysOutput , error ) { if params == nil { params = & DescribeDirectConnectGatewaysInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeDirectConnectGatewaysMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeDirectConnectGatewaysOutput ) out . ResultMetadata = metadata return out , nil }
Lists all your Direct Connect gateways or only the specified Direct Connect
gateway.
Lists all your Direct Connect gateways or only the specified Direct Connect gateway .