libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.GetApplicationDateRangeKpi

Description

Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.

Synopsis

Creating a Request

data GetApplicationDateRangeKpi Source #

See: newGetApplicationDateRangeKpi smart constructor.

Constructors

GetApplicationDateRangeKpi' 

Fields

  • startTime :: Maybe POSIX

    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.

  • nextToken :: Maybe Text

    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.

  • endTime :: Maybe POSIX

    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.

  • pageSize :: Maybe Text

    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.

  • applicationId :: Text

    The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

  • kpiName :: Text

    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.

Instances

Instances details
Eq GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

Read GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

Show GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

Generic GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

Associated Types

type Rep GetApplicationDateRangeKpi :: Type -> Type #

NFData GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

Hashable GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

AWSRequest GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

ToHeaders GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

ToPath GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

ToQuery GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

type Rep GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

type Rep GetApplicationDateRangeKpi = D1 ('MetaData "GetApplicationDateRangeKpi" "Amazonka.Pinpoint.GetApplicationDateRangeKpi" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "GetApplicationDateRangeKpi'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "kpiName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse GetApplicationDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

newGetApplicationDateRangeKpi Source #

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 #

Instances

Instances details
Eq GetApplicationDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

Read GetApplicationDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

Show GetApplicationDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

Generic GetApplicationDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

Associated Types

type Rep GetApplicationDateRangeKpiResponse :: Type -> Type #

NFData GetApplicationDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetApplicationDateRangeKpi

type Rep GetApplicationDateRangeKpiResponse Source # 
Instance details

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

Response Lenses