| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.NetworkManager.DescribeGlobalNetworks
Description
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' {
- globalNetworkIds :: Maybe [Text]
 - maxResults :: Maybe Natural
 - nextToken :: Maybe Text
 
 - newDescribeGlobalNetworks :: DescribeGlobalNetworks
 - describeGlobalNetworks_globalNetworkIds :: Lens' DescribeGlobalNetworks (Maybe [Text])
 - describeGlobalNetworks_maxResults :: Lens' DescribeGlobalNetworks (Maybe Natural)
 - describeGlobalNetworks_nextToken :: Lens' DescribeGlobalNetworks (Maybe Text)
 - 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.
Constructors
| DescribeGlobalNetworks' | |
Fields 
  | |
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: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.
DescribeGlobalNetworks, describeGlobalNetworks_nextToken - The token for the next page of results.
Request Lenses
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.
describeGlobalNetworks_nextToken :: Lens' DescribeGlobalNetworks (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data DescribeGlobalNetworksResponse Source #
See: newDescribeGlobalNetworksResponse smart constructor.
Constructors
| DescribeGlobalNetworksResponse' | |
Fields 
  | |
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.
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.