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 |
List the available reports for a given profiling group and time range.
Synopsis
- data ListFindingsReports = ListFindingsReports' {}
- newListFindingsReports :: UTCTime -> Text -> UTCTime -> ListFindingsReports
- listFindingsReports_nextToken :: Lens' ListFindingsReports (Maybe Text)
- listFindingsReports_dailyReportsOnly :: Lens' ListFindingsReports (Maybe Bool)
- listFindingsReports_maxResults :: Lens' ListFindingsReports (Maybe Natural)
- listFindingsReports_endTime :: Lens' ListFindingsReports UTCTime
- listFindingsReports_profilingGroupName :: Lens' ListFindingsReports Text
- listFindingsReports_startTime :: Lens' ListFindingsReports UTCTime
- data ListFindingsReportsResponse = ListFindingsReportsResponse' {}
- newListFindingsReportsResponse :: Int -> ListFindingsReportsResponse
- listFindingsReportsResponse_nextToken :: Lens' ListFindingsReportsResponse (Maybe Text)
- listFindingsReportsResponse_httpStatus :: Lens' ListFindingsReportsResponse Int
- listFindingsReportsResponse_findingsReportSummaries :: Lens' ListFindingsReportsResponse [FindingsReportSummary]
Creating a Request
data ListFindingsReports Source #
The structure representing the ListFindingsReportsRequest.
See: newListFindingsReports
smart constructor.
ListFindingsReports' | |
|
Instances
newListFindingsReports Source #
:: UTCTime | |
-> Text | |
-> UTCTime | |
-> ListFindingsReports |
Create a value of ListFindingsReports
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:ListFindingsReports'
, listFindingsReports_nextToken
- The nextToken
value returned from a previous paginated
ListFindingsReportsRequest
request where maxResults
was used and the
results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
$sel:dailyReportsOnly:ListFindingsReports'
, listFindingsReports_dailyReportsOnly
- A Boolean
value indicating whether to only return reports from daily
profiles. If set to True
, only analysis data from daily profiles is
returned. If set to False
, analysis data is returned from smaller time
windows (for example, one hour).
$sel:maxResults:ListFindingsReports'
, listFindingsReports_maxResults
- The maximum number of report results returned by ListFindingsReports
in paginated output. When this parameter is used, ListFindingsReports
only returns maxResults
results in a single page along with a
nextToken
response element. The remaining results of the initial
request can be seen by sending another ListFindingsReports
request
with the returned nextToken
value.
$sel:endTime:ListFindingsReports'
, listFindingsReports_endTime
- The end time of the profile to get analysis data about. You must specify
startTime
and endTime
. This is specified using the ISO 8601 format.
For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June
1, 2020 1:15:02 PM UTC.
$sel:profilingGroupName:ListFindingsReports'
, listFindingsReports_profilingGroupName
- The name of the profiling group from which to search for analysis data.
$sel:startTime:ListFindingsReports'
, listFindingsReports_startTime
- The start time of the profile to get analysis data about. You must
specify startTime
and endTime
. This is specified using the ISO 8601
format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond
past June 1, 2020 1:15:02 PM UTC.
Request Lenses
listFindingsReports_nextToken :: Lens' ListFindingsReports (Maybe Text) Source #
The nextToken
value returned from a previous paginated
ListFindingsReportsRequest
request where maxResults
was used and the
results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
listFindingsReports_dailyReportsOnly :: Lens' ListFindingsReports (Maybe Bool) Source #
A Boolean
value indicating whether to only return reports from daily
profiles. If set to True
, only analysis data from daily profiles is
returned. If set to False
, analysis data is returned from smaller time
windows (for example, one hour).
listFindingsReports_maxResults :: Lens' ListFindingsReports (Maybe Natural) Source #
The maximum number of report results returned by ListFindingsReports
in paginated output. When this parameter is used, ListFindingsReports
only returns maxResults
results in a single page along with a
nextToken
response element. The remaining results of the initial
request can be seen by sending another ListFindingsReports
request
with the returned nextToken
value.
listFindingsReports_endTime :: Lens' ListFindingsReports UTCTime Source #
The end time of the profile to get analysis data about. You must specify
startTime
and endTime
. This is specified using the ISO 8601 format.
For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June
1, 2020 1:15:02 PM UTC.
listFindingsReports_profilingGroupName :: Lens' ListFindingsReports Text Source #
The name of the profiling group from which to search for analysis data.
listFindingsReports_startTime :: Lens' ListFindingsReports UTCTime Source #
The start time of the profile to get analysis data about. You must
specify startTime
and endTime
. This is specified using the ISO 8601
format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond
past June 1, 2020 1:15:02 PM UTC.
Destructuring the Response
data ListFindingsReportsResponse Source #
The structure representing the ListFindingsReportsResponse.
See: newListFindingsReportsResponse
smart constructor.
ListFindingsReportsResponse' | |
|
Instances
newListFindingsReportsResponse Source #
Create a value of ListFindingsReportsResponse
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:ListFindingsReports'
, listFindingsReportsResponse_nextToken
- The nextToken
value to include in a future ListFindingsReports
request. When the results of a ListFindingsReports
request exceed
maxResults
, this value can be used to retrieve the next page of
results. This value is null
when there are no more results to return.
$sel:httpStatus:ListFindingsReportsResponse'
, listFindingsReportsResponse_httpStatus
- The response's http status code.
$sel:findingsReportSummaries:ListFindingsReportsResponse'
, listFindingsReportsResponse_findingsReportSummaries
- The list of analysis results summaries.
Response Lenses
listFindingsReportsResponse_nextToken :: Lens' ListFindingsReportsResponse (Maybe Text) Source #
The nextToken
value to include in a future ListFindingsReports
request. When the results of a ListFindingsReports
request exceed
maxResults
, this value can be used to retrieve the next page of
results. This value is null
when there are no more results to return.
listFindingsReportsResponse_httpStatus :: Lens' ListFindingsReportsResponse Int Source #
The response's http status code.
listFindingsReportsResponse_findingsReportSummaries :: Lens' ListFindingsReportsResponse [FindingsReportSummary] Source #
The list of analysis results summaries.