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 |
Retrieves a service graph structure filtered by the specified insight. The service graph is limited to only structural information. For a complete service graph, use this API with the GetServiceGraph API.
Synopsis
- data GetInsightImpactGraph = GetInsightImpactGraph' {}
- newGetInsightImpactGraph :: Text -> UTCTime -> UTCTime -> GetInsightImpactGraph
- getInsightImpactGraph_nextToken :: Lens' GetInsightImpactGraph (Maybe Text)
- getInsightImpactGraph_insightId :: Lens' GetInsightImpactGraph Text
- getInsightImpactGraph_startTime :: Lens' GetInsightImpactGraph UTCTime
- getInsightImpactGraph_endTime :: Lens' GetInsightImpactGraph UTCTime
- data GetInsightImpactGraphResponse = GetInsightImpactGraphResponse' {}
- newGetInsightImpactGraphResponse :: Int -> GetInsightImpactGraphResponse
- getInsightImpactGraphResponse_serviceGraphStartTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime)
- getInsightImpactGraphResponse_startTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime)
- getInsightImpactGraphResponse_insightId :: Lens' GetInsightImpactGraphResponse (Maybe Text)
- getInsightImpactGraphResponse_nextToken :: Lens' GetInsightImpactGraphResponse (Maybe Text)
- getInsightImpactGraphResponse_endTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime)
- getInsightImpactGraphResponse_serviceGraphEndTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime)
- getInsightImpactGraphResponse_services :: Lens' GetInsightImpactGraphResponse (Maybe [InsightImpactGraphService])
- getInsightImpactGraphResponse_httpStatus :: Lens' GetInsightImpactGraphResponse Int
Creating a Request
data GetInsightImpactGraph Source #
See: newGetInsightImpactGraph
smart constructor.
GetInsightImpactGraph' | |
|
Instances
newGetInsightImpactGraph Source #
:: Text | |
-> UTCTime | |
-> UTCTime | |
-> GetInsightImpactGraph |
Create a value of GetInsightImpactGraph
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:GetInsightImpactGraph'
, getInsightImpactGraph_nextToken
- Specify the pagination token returned by a previous request to retrieve
the next page of results.
$sel:insightId:GetInsightImpactGraph'
, getInsightImpactGraph_insightId
- The insight's unique identifier. Use the GetInsightSummaries action to
retrieve an InsightId.
$sel:startTime:GetInsightImpactGraph'
, getInsightImpactGraph_startTime
- The estimated start time of the insight, in Unix time seconds. The
StartTime is inclusive of the value provided and can't be more than 30
days old.
$sel:endTime:GetInsightImpactGraph'
, getInsightImpactGraph_endTime
- The estimated end time of the insight, in Unix time seconds. The EndTime
is exclusive of the value provided. The time range between the start
time and end time can't be more than six hours.
Request Lenses
getInsightImpactGraph_nextToken :: Lens' GetInsightImpactGraph (Maybe Text) Source #
Specify the pagination token returned by a previous request to retrieve the next page of results.
getInsightImpactGraph_insightId :: Lens' GetInsightImpactGraph Text Source #
The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
getInsightImpactGraph_startTime :: Lens' GetInsightImpactGraph UTCTime Source #
The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.
getInsightImpactGraph_endTime :: Lens' GetInsightImpactGraph UTCTime Source #
The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.
Destructuring the Response
data GetInsightImpactGraphResponse Source #
See: newGetInsightImpactGraphResponse
smart constructor.
GetInsightImpactGraphResponse' | |
|
Instances
newGetInsightImpactGraphResponse Source #
Create a value of GetInsightImpactGraphResponse
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:serviceGraphStartTime:GetInsightImpactGraphResponse'
, getInsightImpactGraphResponse_serviceGraphStartTime
- The time, in Unix seconds, at which the service graph started.
$sel:startTime:GetInsightImpactGraph'
, getInsightImpactGraphResponse_startTime
- The provided start time.
$sel:insightId:GetInsightImpactGraph'
, getInsightImpactGraphResponse_insightId
- The insight's unique identifier.
$sel:nextToken:GetInsightImpactGraph'
, getInsightImpactGraphResponse_nextToken
- Pagination token.
$sel:endTime:GetInsightImpactGraph'
, getInsightImpactGraphResponse_endTime
- The provided end time.
$sel:serviceGraphEndTime:GetInsightImpactGraphResponse'
, getInsightImpactGraphResponse_serviceGraphEndTime
- The time, in Unix seconds, at which the service graph ended.
$sel:services:GetInsightImpactGraphResponse'
, getInsightImpactGraphResponse_services
- The Amazon Web Services instrumented services related to the insight.
$sel:httpStatus:GetInsightImpactGraphResponse'
, getInsightImpactGraphResponse_httpStatus
- The response's http status code.
Response Lenses
getInsightImpactGraphResponse_serviceGraphStartTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime) Source #
The time, in Unix seconds, at which the service graph started.
getInsightImpactGraphResponse_startTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime) Source #
The provided start time.
getInsightImpactGraphResponse_insightId :: Lens' GetInsightImpactGraphResponse (Maybe Text) Source #
The insight's unique identifier.
getInsightImpactGraphResponse_nextToken :: Lens' GetInsightImpactGraphResponse (Maybe Text) Source #
Pagination token.
getInsightImpactGraphResponse_endTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime) Source #
The provided end time.
getInsightImpactGraphResponse_serviceGraphEndTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime) Source #
The time, in Unix seconds, at which the service graph ended.
getInsightImpactGraphResponse_services :: Lens' GetInsightImpactGraphResponse (Maybe [InsightImpactGraphService]) Source #
The Amazon Web Services instrumented services related to the insight.
getInsightImpactGraphResponse_httpStatus :: Lens' GetInsightImpactGraphResponse Int Source #
The response's http status code.