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

Description

Lists the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.

This operation returns paginated results.

Synopsis

Creating a Request

data ListProfileTimes Source #

The structure representing the listProfileTimesRequest.

See: newListProfileTimes smart constructor.

Constructors

ListProfileTimes' 

Fields

  • orderBy :: Maybe OrderBy

    The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to TIMESTAMP_DESCENDING.

  • nextToken :: Maybe Text

    The nextToken value returned from a previous paginated ListProfileTimes 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.

  • maxResults :: Maybe Natural

    The maximum number of profile time results returned by ListProfileTimes in paginated output. When this parameter is used, ListProfileTimes only returns maxResults results in a single page with a nextToken response element. The remaining results of the initial request can be seen by sending another ListProfileTimes request with the returned nextToken value.

  • endTime :: POSIX

    The end time of the time range from which to list the profiles.

  • period :: AggregationPeriod

    The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.

    • P1D — 1 day
    • PT1H — 1 hour
    • PT5M — 5 minutes
  • profilingGroupName :: Text

    The name of the profiling group.

  • startTime :: POSIX

    The start time of the time range from which to list the profiles.

Instances

Instances details
Eq ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Read ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Show ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Generic ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Associated Types

type Rep ListProfileTimes :: Type -> Type #

NFData ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Methods

rnf :: ListProfileTimes -> () #

Hashable ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

AWSPager ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

AWSRequest ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Associated Types

type AWSResponse ListProfileTimes #

ToHeaders ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

ToPath ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

ToQuery ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

type Rep ListProfileTimes Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

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

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

newListProfileTimes Source #

Create a value of ListProfileTimes 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:orderBy:ListProfileTimes', listProfileTimes_orderBy - The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to TIMESTAMP_DESCENDING.

$sel:nextToken:ListProfileTimes', listProfileTimes_nextToken - The nextToken value returned from a previous paginated ListProfileTimes 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:maxResults:ListProfileTimes', listProfileTimes_maxResults - The maximum number of profile time results returned by ListProfileTimes in paginated output. When this parameter is used, ListProfileTimes only returns maxResults results in a single page with a nextToken response element. The remaining results of the initial request can be seen by sending another ListProfileTimes request with the returned nextToken value.

$sel:endTime:ListProfileTimes', listProfileTimes_endTime - The end time of the time range from which to list the profiles.

$sel:period:ListProfileTimes', listProfileTimes_period - The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.

  • P1D — 1 day
  • PT1H — 1 hour
  • PT5M — 5 minutes

$sel:profilingGroupName:ListProfileTimes', listProfileTimes_profilingGroupName - The name of the profiling group.

$sel:startTime:ListProfileTimes', listProfileTimes_startTime - The start time of the time range from which to list the profiles.

Request Lenses

listProfileTimes_orderBy :: Lens' ListProfileTimes (Maybe OrderBy) Source #

The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to TIMESTAMP_DESCENDING.

listProfileTimes_nextToken :: Lens' ListProfileTimes (Maybe Text) Source #

The nextToken value returned from a previous paginated ListProfileTimes 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.

listProfileTimes_maxResults :: Lens' ListProfileTimes (Maybe Natural) Source #

The maximum number of profile time results returned by ListProfileTimes in paginated output. When this parameter is used, ListProfileTimes only returns maxResults results in a single page with a nextToken response element. The remaining results of the initial request can be seen by sending another ListProfileTimes request with the returned nextToken value.

listProfileTimes_endTime :: Lens' ListProfileTimes UTCTime Source #

The end time of the time range from which to list the profiles.

listProfileTimes_period :: Lens' ListProfileTimes AggregationPeriod Source #

The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.

  • P1D — 1 day
  • PT1H — 1 hour
  • PT5M — 5 minutes

listProfileTimes_startTime :: Lens' ListProfileTimes UTCTime Source #

The start time of the time range from which to list the profiles.

Destructuring the Response

data ListProfileTimesResponse Source #

The structure representing the listProfileTimesResponse.

See: newListProfileTimesResponse smart constructor.

Constructors

ListProfileTimesResponse' 

Fields

  • nextToken :: Maybe Text

    The nextToken value to include in a future ListProfileTimes request. When the results of a ListProfileTimes 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.

  • profileTimes :: [ProfileTime]

    The list of start times of the available profiles for the aggregation period in the specified time range.

Instances

Instances details
Eq ListProfileTimesResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Read ListProfileTimesResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Show ListProfileTimesResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Generic ListProfileTimesResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

Associated Types

type Rep ListProfileTimesResponse :: Type -> Type #

NFData ListProfileTimesResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

type Rep ListProfileTimesResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.ListProfileTimes

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

newListProfileTimesResponse Source #

Create a value of ListProfileTimesResponse 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:ListProfileTimes', listProfileTimesResponse_nextToken - The nextToken value to include in a future ListProfileTimes request. When the results of a ListProfileTimes 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:ListProfileTimesResponse', listProfileTimesResponse_httpStatus - The response's http status code.

$sel:profileTimes:ListProfileTimesResponse', listProfileTimesResponse_profileTimes - The list of start times of the available profiles for the aggregation period in the specified time range.

Response Lenses

listProfileTimesResponse_nextToken :: Lens' ListProfileTimesResponse (Maybe Text) Source #

The nextToken value to include in a future ListProfileTimes request. When the results of a ListProfileTimes 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.

listProfileTimesResponse_profileTimes :: Lens' ListProfileTimesResponse [ProfileTime] Source #

The list of start times of the available profiles for the aggregation period in the specified time range.