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 information about the specified route analysis.
Synopsis
- data GetRouteAnalysis = GetRouteAnalysis' {}
- newGetRouteAnalysis :: Text -> Text -> GetRouteAnalysis
- getRouteAnalysis_globalNetworkId :: Lens' GetRouteAnalysis Text
- getRouteAnalysis_routeAnalysisId :: Lens' GetRouteAnalysis Text
- data GetRouteAnalysisResponse = GetRouteAnalysisResponse' {}
- newGetRouteAnalysisResponse :: Int -> GetRouteAnalysisResponse
- getRouteAnalysisResponse_routeAnalysis :: Lens' GetRouteAnalysisResponse (Maybe RouteAnalysis)
- getRouteAnalysisResponse_httpStatus :: Lens' GetRouteAnalysisResponse Int
Creating a Request
data GetRouteAnalysis Source #
See: newGetRouteAnalysis
smart constructor.
GetRouteAnalysis' | |
|
Instances
Create a value of GetRouteAnalysis
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:
GetRouteAnalysis
, getRouteAnalysis_globalNetworkId
- The ID of the global network.
GetRouteAnalysis
, getRouteAnalysis_routeAnalysisId
- The ID of the route analysis.
Request Lenses
getRouteAnalysis_globalNetworkId :: Lens' GetRouteAnalysis Text Source #
The ID of the global network.
getRouteAnalysis_routeAnalysisId :: Lens' GetRouteAnalysis Text Source #
The ID of the route analysis.
Destructuring the Response
data GetRouteAnalysisResponse Source #
See: newGetRouteAnalysisResponse
smart constructor.
GetRouteAnalysisResponse' | |
|
Instances
newGetRouteAnalysisResponse Source #
Create a value of GetRouteAnalysisResponse
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:routeAnalysis:GetRouteAnalysisResponse'
, getRouteAnalysisResponse_routeAnalysis
- The route analysis.
$sel:httpStatus:GetRouteAnalysisResponse'
, getRouteAnalysisResponse_httpStatus
- The response's http status code.
Response Lenses
getRouteAnalysisResponse_routeAnalysis :: Lens' GetRouteAnalysisResponse (Maybe RouteAnalysis) Source #
The route analysis.
getRouteAnalysisResponse_httpStatus :: Lens' GetRouteAnalysisResponse Int Source #
The response's http status code.