Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists the virtual private gateways owned by the Amazon Web Services account.
You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway.
Synopsis
- data DescribeVirtualGateways = DescribeVirtualGateways' {
- newDescribeVirtualGateways :: DescribeVirtualGateways
- data DescribeVirtualGatewaysResponse = DescribeVirtualGatewaysResponse' {}
- newDescribeVirtualGatewaysResponse :: Int -> DescribeVirtualGatewaysResponse
- describeVirtualGatewaysResponse_virtualGateways :: Lens' DescribeVirtualGatewaysResponse (Maybe [VirtualGateway])
- describeVirtualGatewaysResponse_httpStatus :: Lens' DescribeVirtualGatewaysResponse Int
Creating a Request
data DescribeVirtualGateways Source #
See: newDescribeVirtualGateways
smart constructor.
Instances
newDescribeVirtualGateways :: DescribeVirtualGateways Source #
Create a value of DescribeVirtualGateways
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeVirtualGatewaysResponse Source #
See: newDescribeVirtualGatewaysResponse
smart constructor.
DescribeVirtualGatewaysResponse' | |
|
Instances
Eq DescribeVirtualGatewaysResponse Source # | |
Read DescribeVirtualGatewaysResponse Source # | |
Show DescribeVirtualGatewaysResponse Source # | |
Generic DescribeVirtualGatewaysResponse Source # | |
NFData DescribeVirtualGatewaysResponse Source # | |
Defined in Amazonka.DirectConnect.DescribeVirtualGateways rnf :: DescribeVirtualGatewaysResponse -> () # | |
type Rep DescribeVirtualGatewaysResponse Source # | |
Defined in Amazonka.DirectConnect.DescribeVirtualGateways type Rep DescribeVirtualGatewaysResponse = D1 ('MetaData "DescribeVirtualGatewaysResponse" "Amazonka.DirectConnect.DescribeVirtualGateways" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DescribeVirtualGatewaysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "virtualGateways") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VirtualGateway])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeVirtualGatewaysResponse Source #
Create a value of DescribeVirtualGatewaysResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:virtualGateways:DescribeVirtualGatewaysResponse'
, describeVirtualGatewaysResponse_virtualGateways
- The virtual private gateways.
$sel:httpStatus:DescribeVirtualGatewaysResponse'
, describeVirtualGatewaysResponse_httpStatus
- The response's http status code.
Response Lenses
describeVirtualGatewaysResponse_virtualGateways :: Lens' DescribeVirtualGatewaysResponse (Maybe [VirtualGateway]) Source #
The virtual private gateways.
describeVirtualGatewaysResponse_httpStatus :: Lens' DescribeVirtualGatewaysResponse Int Source #
The response's http status code.