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 |
Gets the network telemetry of the specified global network.
This operation returns paginated results.
Synopsis
- data GetNetworkTelemetry = GetNetworkTelemetry' {}
- newGetNetworkTelemetry :: Text -> GetNetworkTelemetry
- getNetworkTelemetry_accountId :: Lens' GetNetworkTelemetry (Maybe Text)
- getNetworkTelemetry_awsRegion :: Lens' GetNetworkTelemetry (Maybe Text)
- getNetworkTelemetry_coreNetworkId :: Lens' GetNetworkTelemetry (Maybe Text)
- getNetworkTelemetry_maxResults :: Lens' GetNetworkTelemetry (Maybe Natural)
- getNetworkTelemetry_nextToken :: Lens' GetNetworkTelemetry (Maybe Text)
- getNetworkTelemetry_registeredGatewayArn :: Lens' GetNetworkTelemetry (Maybe Text)
- getNetworkTelemetry_resourceArn :: Lens' GetNetworkTelemetry (Maybe Text)
- getNetworkTelemetry_resourceType :: Lens' GetNetworkTelemetry (Maybe Text)
- getNetworkTelemetry_globalNetworkId :: Lens' GetNetworkTelemetry Text
- data GetNetworkTelemetryResponse = GetNetworkTelemetryResponse' {}
- newGetNetworkTelemetryResponse :: Int -> GetNetworkTelemetryResponse
- getNetworkTelemetryResponse_networkTelemetry :: Lens' GetNetworkTelemetryResponse (Maybe [NetworkTelemetry])
- getNetworkTelemetryResponse_nextToken :: Lens' GetNetworkTelemetryResponse (Maybe Text)
- getNetworkTelemetryResponse_httpStatus :: Lens' GetNetworkTelemetryResponse Int
Creating a Request
data GetNetworkTelemetry Source #
See: newGetNetworkTelemetry
smart constructor.
GetNetworkTelemetry' | |
|
Instances
newGetNetworkTelemetry Source #
Create a value of GetNetworkTelemetry
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:
GetNetworkTelemetry
, getNetworkTelemetry_accountId
- The Amazon Web Services account ID.
GetNetworkTelemetry
, getNetworkTelemetry_awsRegion
- The Amazon Web Services Region.
GetNetworkTelemetry
, getNetworkTelemetry_coreNetworkId
- The ID of a core network.
$sel:maxResults:GetNetworkTelemetry'
, getNetworkTelemetry_maxResults
- The maximum number of results to return.
GetNetworkTelemetry
, getNetworkTelemetry_nextToken
- The token for the next page of results.
GetNetworkTelemetry
, getNetworkTelemetry_registeredGatewayArn
- The ARN of the gateway.
GetNetworkTelemetry
, getNetworkTelemetry_resourceArn
- The ARN of the resource.
GetNetworkTelemetry
, getNetworkTelemetry_resourceType
- The resource type.
The following are the supported resource types for Direct Connect:
dxcon
dx-gateway
dx-vif
The following are the supported resource types for Network Manager:
connection
device
link
site
The following are the supported resource types for Amazon VPC:
customer-gateway
transit-gateway
transit-gateway-attachment
transit-gateway-connect-peer
transit-gateway-route-table
vpn-connection
GetNetworkTelemetry
, getNetworkTelemetry_globalNetworkId
- The ID of the global network.
Request Lenses
getNetworkTelemetry_accountId :: Lens' GetNetworkTelemetry (Maybe Text) Source #
The Amazon Web Services account ID.
getNetworkTelemetry_awsRegion :: Lens' GetNetworkTelemetry (Maybe Text) Source #
The Amazon Web Services Region.
getNetworkTelemetry_coreNetworkId :: Lens' GetNetworkTelemetry (Maybe Text) Source #
The ID of a core network.
getNetworkTelemetry_maxResults :: Lens' GetNetworkTelemetry (Maybe Natural) Source #
The maximum number of results to return.
getNetworkTelemetry_nextToken :: Lens' GetNetworkTelemetry (Maybe Text) Source #
The token for the next page of results.
getNetworkTelemetry_registeredGatewayArn :: Lens' GetNetworkTelemetry (Maybe Text) Source #
The ARN of the gateway.
getNetworkTelemetry_resourceArn :: Lens' GetNetworkTelemetry (Maybe Text) Source #
The ARN of the resource.
getNetworkTelemetry_resourceType :: Lens' GetNetworkTelemetry (Maybe Text) Source #
The resource type.
The following are the supported resource types for Direct Connect:
dxcon
dx-gateway
dx-vif
The following are the supported resource types for Network Manager:
connection
device
link
site
The following are the supported resource types for Amazon VPC:
customer-gateway
transit-gateway
transit-gateway-attachment
transit-gateway-connect-peer
transit-gateway-route-table
vpn-connection
getNetworkTelemetry_globalNetworkId :: Lens' GetNetworkTelemetry Text Source #
The ID of the global network.
Destructuring the Response
data GetNetworkTelemetryResponse Source #
See: newGetNetworkTelemetryResponse
smart constructor.
GetNetworkTelemetryResponse' | |
|
Instances
newGetNetworkTelemetryResponse Source #
Create a value of GetNetworkTelemetryResponse
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:networkTelemetry:GetNetworkTelemetryResponse'
, getNetworkTelemetryResponse_networkTelemetry
- The network telemetry.
GetNetworkTelemetry
, getNetworkTelemetryResponse_nextToken
- The token for the next page of results.
$sel:httpStatus:GetNetworkTelemetryResponse'
, getNetworkTelemetryResponse_httpStatus
- The response's http status code.
Response Lenses
getNetworkTelemetryResponse_networkTelemetry :: Lens' GetNetworkTelemetryResponse (Maybe [NetworkTelemetry]) Source #
The network telemetry.
getNetworkTelemetryResponse_nextToken :: Lens' GetNetworkTelemetryResponse (Maybe Text) Source #
The token for the next page of results.
getNetworkTelemetryResponse_httpStatus :: Lens' GetNetworkTelemetryResponse Int Source #
The response's http status code.