libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeGuruProfiler.ListFindingsReports

Description

List the available reports for a given profiling group and time range.

Synopsis

Creating a Request

data ListFindingsReports Source #

The structure representing the ListFindingsReportsRequest.

See: newListFindingsReports smart constructor.

Constructors

ListFindingsReports' 

Fields

  • nextToken :: Maybe Text

    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.

  • dailyReportsOnly :: Maybe Bool

    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).

  • maxResults :: Maybe Natural

    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.

  • endTime :: POSIX

    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.

  • profilingGroupName :: Text

    The name of the profiling group from which to search for analysis data.

  • startTime :: POSIX

    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.

Instances

Instances details
Eq ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Read ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Show ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Generic ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Associated Types

type Rep ListFindingsReports :: Type -> Type #

NFData ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Methods

rnf :: ListFindingsReports -> () #

Hashable ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

AWSRequest ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Associated Types

type AWSResponse ListFindingsReports #

ToHeaders ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

ToPath ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

ToQuery ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

type Rep ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

type Rep ListFindingsReports = D1 ('MetaData "ListFindingsReports" "Amazonka.CodeGuruProfiler.ListFindingsReports" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "ListFindingsReports'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dailyReportsOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "profilingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))
type AWSResponse ListFindingsReports Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

newListFindingsReports Source #

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.

Constructors

ListFindingsReportsResponse' 

Fields

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

  • findingsReportSummaries :: [FindingsReportSummary]

    The list of analysis results summaries.

Instances

Instances details
Eq ListFindingsReportsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Read ListFindingsReportsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Show ListFindingsReportsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Generic ListFindingsReportsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

Associated Types

type Rep ListFindingsReportsResponse :: Type -> Type #

NFData ListFindingsReportsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

type Rep ListFindingsReportsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListFindingsReports

type Rep ListFindingsReportsResponse = D1 ('MetaData "ListFindingsReportsResponse" "Amazonka.CodeGuruProfiler.ListFindingsReports" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "ListFindingsReportsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "findingsReportSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FindingsReportSummary]))))

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.