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 (queries) pre-aggregated data for a standard engagement metric that applies to a journey.
Synopsis
- data GetJourneyDateRangeKpi = GetJourneyDateRangeKpi' {}
- newGetJourneyDateRangeKpi :: Text -> Text -> Text -> GetJourneyDateRangeKpi
- getJourneyDateRangeKpi_startTime :: Lens' GetJourneyDateRangeKpi (Maybe UTCTime)
- getJourneyDateRangeKpi_nextToken :: Lens' GetJourneyDateRangeKpi (Maybe Text)
- getJourneyDateRangeKpi_endTime :: Lens' GetJourneyDateRangeKpi (Maybe UTCTime)
- getJourneyDateRangeKpi_pageSize :: Lens' GetJourneyDateRangeKpi (Maybe Text)
- getJourneyDateRangeKpi_journeyId :: Lens' GetJourneyDateRangeKpi Text
- getJourneyDateRangeKpi_applicationId :: Lens' GetJourneyDateRangeKpi Text
- getJourneyDateRangeKpi_kpiName :: Lens' GetJourneyDateRangeKpi Text
- data GetJourneyDateRangeKpiResponse = GetJourneyDateRangeKpiResponse' {}
- newGetJourneyDateRangeKpiResponse :: Int -> JourneyDateRangeKpiResponse -> GetJourneyDateRangeKpiResponse
- getJourneyDateRangeKpiResponse_httpStatus :: Lens' GetJourneyDateRangeKpiResponse Int
- getJourneyDateRangeKpiResponse_journeyDateRangeKpiResponse :: Lens' GetJourneyDateRangeKpiResponse JourneyDateRangeKpiResponse
Creating a Request
data GetJourneyDateRangeKpi Source #
See: newGetJourneyDateRangeKpi
smart constructor.
GetJourneyDateRangeKpi' | |
|
Instances
newGetJourneyDateRangeKpi Source #
:: Text | |
-> Text | |
-> Text | |
-> GetJourneyDateRangeKpi |
Create a value of GetJourneyDateRangeKpi
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:startTime:GetJourneyDateRangeKpi'
, getJourneyDateRangeKpi_startTime
- The first date and time to retrieve data for, as part of an inclusive
date range that filters the query results. This value should be in
extended ISO 8601 format and use Coordinated Universal Time (UTC), for
example: 2019-07-19T20:00:00Z for 8:00 PM UTC July 19, 2019. This value
should also be fewer than 90 days from the current day.
$sel:nextToken:GetJourneyDateRangeKpi'
, getJourneyDateRangeKpi_nextToken
- The string that specifies which page of results to return in a paginated
response. This parameter is not supported for application, campaign, and
journey metrics.
$sel:endTime:GetJourneyDateRangeKpi'
, getJourneyDateRangeKpi_endTime
- The last date and time to retrieve data for, as part of an inclusive
date range that filters the query results. This value should be in
extended ISO 8601 format and use Coordinated Universal Time (UTC), for
example: 2019-07-26T20:00:00Z for 8:00 PM UTC July 26, 2019.
$sel:pageSize:GetJourneyDateRangeKpi'
, getJourneyDateRangeKpi_pageSize
- The maximum number of items to include in each page of a paginated
response. This parameter is not supported for application, campaign, and
journey metrics.
$sel:journeyId:GetJourneyDateRangeKpi'
, getJourneyDateRangeKpi_journeyId
- The unique identifier for the journey.
$sel:applicationId:GetJourneyDateRangeKpi'
, getJourneyDateRangeKpi_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:kpiName:GetJourneyDateRangeKpi'
, getJourneyDateRangeKpi_kpiName
- The name of the metric, also referred to as a /key performance indicator
(KPI)/, to retrieve data for. This value describes the associated metric
and consists of two or more terms, which are comprised of lowercase
alphanumeric characters, separated by a hyphen. Examples are
email-open-rate and successful-delivery-rate. For a list of valid
values, see the
Amazon Pinpoint Developer Guide.
Request Lenses
getJourneyDateRangeKpi_startTime :: Lens' GetJourneyDateRangeKpi (Maybe UTCTime) Source #
The first date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-19T20:00:00Z for 8:00 PM UTC July 19, 2019. This value should also be fewer than 90 days from the current day.
getJourneyDateRangeKpi_nextToken :: Lens' GetJourneyDateRangeKpi (Maybe Text) Source #
The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
getJourneyDateRangeKpi_endTime :: Lens' GetJourneyDateRangeKpi (Maybe UTCTime) Source #
The last date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-26T20:00:00Z for 8:00 PM UTC July 26, 2019.
getJourneyDateRangeKpi_pageSize :: Lens' GetJourneyDateRangeKpi (Maybe Text) Source #
The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
getJourneyDateRangeKpi_journeyId :: Lens' GetJourneyDateRangeKpi Text Source #
The unique identifier for the journey.
getJourneyDateRangeKpi_applicationId :: Lens' GetJourneyDateRangeKpi Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getJourneyDateRangeKpi_kpiName :: Lens' GetJourneyDateRangeKpi Text Source #
The name of the metric, also referred to as a /key performance indicator (KPI)/, to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are email-open-rate and successful-delivery-rate. For a list of valid values, see the Amazon Pinpoint Developer Guide.
Destructuring the Response
data GetJourneyDateRangeKpiResponse Source #
See: newGetJourneyDateRangeKpiResponse
smart constructor.
GetJourneyDateRangeKpiResponse' | |
|
Instances
Eq GetJourneyDateRangeKpiResponse Source # | |
Read GetJourneyDateRangeKpiResponse Source # | |
Show GetJourneyDateRangeKpiResponse Source # | |
Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi | |
Generic GetJourneyDateRangeKpiResponse Source # | |
NFData GetJourneyDateRangeKpiResponse Source # | |
Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi rnf :: GetJourneyDateRangeKpiResponse -> () # | |
type Rep GetJourneyDateRangeKpiResponse Source # | |
Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi type Rep GetJourneyDateRangeKpiResponse = D1 ('MetaData "GetJourneyDateRangeKpiResponse" "Amazonka.Pinpoint.GetJourneyDateRangeKpi" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "GetJourneyDateRangeKpiResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "journeyDateRangeKpiResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JourneyDateRangeKpiResponse))) |
newGetJourneyDateRangeKpiResponse Source #
:: Int | |
-> JourneyDateRangeKpiResponse |
|
-> GetJourneyDateRangeKpiResponse |
Create a value of GetJourneyDateRangeKpiResponse
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:httpStatus:GetJourneyDateRangeKpiResponse'
, getJourneyDateRangeKpiResponse_httpStatus
- The response's http status code.
$sel:journeyDateRangeKpiResponse:GetJourneyDateRangeKpiResponse'
, getJourneyDateRangeKpiResponse_journeyDateRangeKpiResponse
- Undocumented member.
Response Lenses
getJourneyDateRangeKpiResponse_httpStatus :: Lens' GetJourneyDateRangeKpiResponse Int Source #
The response's http status code.