amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Pinpoint.GetJourneyDateRangeKpi

Description

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

Synopsis

Creating a Request

data GetJourneyDateRangeKpi Source #

See: newGetJourneyDateRangeKpi smart constructor.

Constructors

GetJourneyDateRangeKpi' 

Fields

  • endTime :: Maybe ISO8601

    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.

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

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

  • startTime :: Maybe ISO8601

    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.

  • journeyId :: Text

    The unique identifier for the journey.

  • 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
ToHeaders GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

ToPath GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

ToQuery GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

AWSRequest GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

Associated Types

type AWSResponse GetJourneyDateRangeKpi #

Generic GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

Associated Types

type Rep GetJourneyDateRangeKpi :: Type -> Type #

Read GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

Show GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

NFData GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

Methods

rnf :: GetJourneyDateRangeKpi -> () #

Eq GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

Hashable GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

type AWSResponse GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

type Rep GetJourneyDateRangeKpi Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

type Rep GetJourneyDateRangeKpi = D1 ('MetaData "GetJourneyDateRangeKpi" "Amazonka.Pinpoint.GetJourneyDateRangeKpi" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "GetJourneyDateRangeKpi'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "journeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "kpiName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetJourneyDateRangeKpi Source #

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:

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.

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

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.

GetJourneyDateRangeKpi, getJourneyDateRangeKpi_journeyId - The unique identifier for the journey.

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

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

Instances

Instances details
Generic GetJourneyDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

Associated Types

type Rep GetJourneyDateRangeKpiResponse :: Type -> Type #

Read GetJourneyDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

Show GetJourneyDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

NFData GetJourneyDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

Eq GetJourneyDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

type Rep GetJourneyDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetJourneyDateRangeKpi

type Rep GetJourneyDateRangeKpiResponse = D1 ('MetaData "GetJourneyDateRangeKpiResponse" "Amazonka.Pinpoint.GetJourneyDateRangeKpi" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "GetJourneyDateRangeKpiResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "journeyDateRangeKpiResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JourneyDateRangeKpiResponse)))

Response Lenses