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 metric that applies to an application.
Synopsis
- data GetApplicationDateRangeKpi = GetApplicationDateRangeKpi' {}
- newGetApplicationDateRangeKpi :: Text -> Text -> GetApplicationDateRangeKpi
- getApplicationDateRangeKpi_startTime :: Lens' GetApplicationDateRangeKpi (Maybe UTCTime)
- getApplicationDateRangeKpi_nextToken :: Lens' GetApplicationDateRangeKpi (Maybe Text)
- getApplicationDateRangeKpi_endTime :: Lens' GetApplicationDateRangeKpi (Maybe UTCTime)
- getApplicationDateRangeKpi_pageSize :: Lens' GetApplicationDateRangeKpi (Maybe Text)
- getApplicationDateRangeKpi_applicationId :: Lens' GetApplicationDateRangeKpi Text
- getApplicationDateRangeKpi_kpiName :: Lens' GetApplicationDateRangeKpi Text
- data GetApplicationDateRangeKpiResponse = GetApplicationDateRangeKpiResponse' {}
- newGetApplicationDateRangeKpiResponse :: Int -> ApplicationDateRangeKpiResponse -> GetApplicationDateRangeKpiResponse
- getApplicationDateRangeKpiResponse_httpStatus :: Lens' GetApplicationDateRangeKpiResponse Int
- getApplicationDateRangeKpiResponse_applicationDateRangeKpiResponse :: Lens' GetApplicationDateRangeKpiResponse ApplicationDateRangeKpiResponse
Creating a Request
data GetApplicationDateRangeKpi Source #
See: newGetApplicationDateRangeKpi
smart constructor.
GetApplicationDateRangeKpi' | |
|
Instances
newGetApplicationDateRangeKpi Source #
:: Text | |
-> Text | |
-> GetApplicationDateRangeKpi |
Create a value of GetApplicationDateRangeKpi
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:GetApplicationDateRangeKpi'
, getApplicationDateRangeKpi_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:GetApplicationDateRangeKpi'
, getApplicationDateRangeKpi_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:GetApplicationDateRangeKpi'
, getApplicationDateRangeKpi_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:GetApplicationDateRangeKpi'
, getApplicationDateRangeKpi_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:applicationId:GetApplicationDateRangeKpi'
, getApplicationDateRangeKpi_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:kpiName:GetApplicationDateRangeKpi'
, getApplicationDateRangeKpi_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
getApplicationDateRangeKpi_startTime :: Lens' GetApplicationDateRangeKpi (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.
getApplicationDateRangeKpi_nextToken :: Lens' GetApplicationDateRangeKpi (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.
getApplicationDateRangeKpi_endTime :: Lens' GetApplicationDateRangeKpi (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.
getApplicationDateRangeKpi_pageSize :: Lens' GetApplicationDateRangeKpi (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.
getApplicationDateRangeKpi_applicationId :: Lens' GetApplicationDateRangeKpi Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getApplicationDateRangeKpi_kpiName :: Lens' GetApplicationDateRangeKpi 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 GetApplicationDateRangeKpiResponse Source #
See: newGetApplicationDateRangeKpiResponse
smart constructor.
GetApplicationDateRangeKpiResponse' | |
|
Instances
Eq GetApplicationDateRangeKpiResponse Source # | |
Read GetApplicationDateRangeKpiResponse Source # | |
Show GetApplicationDateRangeKpiResponse Source # | |
Generic GetApplicationDateRangeKpiResponse Source # | |
NFData GetApplicationDateRangeKpiResponse Source # | |
Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi rnf :: GetApplicationDateRangeKpiResponse -> () # | |
type Rep GetApplicationDateRangeKpiResponse Source # | |
Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi type Rep GetApplicationDateRangeKpiResponse = D1 ('MetaData "GetApplicationDateRangeKpiResponse" "Amazonka.Pinpoint.GetApplicationDateRangeKpi" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "GetApplicationDateRangeKpiResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "applicationDateRangeKpiResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ApplicationDateRangeKpiResponse))) |
newGetApplicationDateRangeKpiResponse Source #
:: Int | |
-> ApplicationDateRangeKpiResponse |
|
-> GetApplicationDateRangeKpiResponse |
Create a value of GetApplicationDateRangeKpiResponse
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:GetApplicationDateRangeKpiResponse'
, getApplicationDateRangeKpiResponse_httpStatus
- The response's http status code.
$sel:applicationDateRangeKpiResponse:GetApplicationDateRangeKpiResponse'
, getApplicationDateRangeKpiResponse_applicationDateRangeKpiResponse
- Undocumented member.
Response Lenses
getApplicationDateRangeKpiResponse_httpStatus :: Lens' GetApplicationDateRangeKpiResponse Int Source #
The response's http status code.