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 |
Describes one or more global networks. By default, all global networks
are described. To describe the objects in your global network, you must
use the appropriate Get*
action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This operation returns paginated results.
Synopsis
- data DescribeGlobalNetworks = DescribeGlobalNetworks' {
- nextToken :: Maybe Text
- globalNetworkIds :: Maybe [Text]
- maxResults :: Maybe Natural
- newDescribeGlobalNetworks :: DescribeGlobalNetworks
- describeGlobalNetworks_nextToken :: Lens' DescribeGlobalNetworks (Maybe Text)
- describeGlobalNetworks_globalNetworkIds :: Lens' DescribeGlobalNetworks (Maybe [Text])
- describeGlobalNetworks_maxResults :: Lens' DescribeGlobalNetworks (Maybe Natural)
- data DescribeGlobalNetworksResponse = DescribeGlobalNetworksResponse' {
- globalNetworks :: Maybe [GlobalNetwork]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeGlobalNetworksResponse :: Int -> DescribeGlobalNetworksResponse
- describeGlobalNetworksResponse_globalNetworks :: Lens' DescribeGlobalNetworksResponse (Maybe [GlobalNetwork])
- describeGlobalNetworksResponse_nextToken :: Lens' DescribeGlobalNetworksResponse (Maybe Text)
- describeGlobalNetworksResponse_httpStatus :: Lens' DescribeGlobalNetworksResponse Int
Creating a Request
data DescribeGlobalNetworks Source #
See: newDescribeGlobalNetworks
smart constructor.
DescribeGlobalNetworks' | |
|
Instances
newDescribeGlobalNetworks :: DescribeGlobalNetworks Source #
Create a value of DescribeGlobalNetworks
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:nextToken:DescribeGlobalNetworks'
, describeGlobalNetworks_nextToken
- The token for the next page of results.
$sel:globalNetworkIds:DescribeGlobalNetworks'
, describeGlobalNetworks_globalNetworkIds
- The IDs of one or more global networks. The maximum is 10.
$sel:maxResults:DescribeGlobalNetworks'
, describeGlobalNetworks_maxResults
- The maximum number of results to return.
Request Lenses
describeGlobalNetworks_nextToken :: Lens' DescribeGlobalNetworks (Maybe Text) Source #
The token for the next page of results.
describeGlobalNetworks_globalNetworkIds :: Lens' DescribeGlobalNetworks (Maybe [Text]) Source #
The IDs of one or more global networks. The maximum is 10.
describeGlobalNetworks_maxResults :: Lens' DescribeGlobalNetworks (Maybe Natural) Source #
The maximum number of results to return.
Destructuring the Response
data DescribeGlobalNetworksResponse Source #
See: newDescribeGlobalNetworksResponse
smart constructor.
DescribeGlobalNetworksResponse' | |
|
Instances
newDescribeGlobalNetworksResponse Source #
Create a value of DescribeGlobalNetworksResponse
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:globalNetworks:DescribeGlobalNetworksResponse'
, describeGlobalNetworksResponse_globalNetworks
- Information about the global networks.
$sel:nextToken:DescribeGlobalNetworks'
, describeGlobalNetworksResponse_nextToken
- The token for the next page of results.
$sel:httpStatus:DescribeGlobalNetworksResponse'
, describeGlobalNetworksResponse_httpStatus
- The response's http status code.
Response Lenses
describeGlobalNetworksResponse_globalNetworks :: Lens' DescribeGlobalNetworksResponse (Maybe [GlobalNetwork]) Source #
Information about the global networks.
describeGlobalNetworksResponse_nextToken :: Lens' DescribeGlobalNetworksResponse (Maybe Text) Source #
The token for the next page of results.
describeGlobalNetworksResponse_httpStatus :: Lens' DescribeGlobalNetworksResponse Int Source #
The response's http status code.