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.Types.CampaignDateRangeKpiResponse

Description

 
Synopsis

Documentation

data CampaignDateRangeKpiResponse Source #

Provides the results of a query that retrieved the data for a standard metric that applies to a campaign, and provides information about that query.

See: newCampaignDateRangeKpiResponse smart constructor.

Constructors

CampaignDateRangeKpiResponse' 

Fields

  • nextToken :: Maybe Text

    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Campaign Metrics resource because the resource returns all results in a single page.

  • kpiResult :: BaseKpiResult

    An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

  • kpiName :: Text

    The name of the metric, also referred to as a /key performance indicator (KPI)/, that the data was retrieved 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. For a list of possible values, see the Amazon Pinpoint Developer Guide.

  • endTime :: POSIX

    The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

  • campaignId :: Text

    The unique identifier for the campaign that the metric applies to.

  • startTime :: POSIX

    The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

  • applicationId :: Text

    The unique identifier for the application that the metric applies to.

Instances

Instances details
Eq CampaignDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignDateRangeKpiResponse

Read CampaignDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignDateRangeKpiResponse

Show CampaignDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignDateRangeKpiResponse

Generic CampaignDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignDateRangeKpiResponse

Associated Types

type Rep CampaignDateRangeKpiResponse :: Type -> Type #

NFData CampaignDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignDateRangeKpiResponse

Hashable CampaignDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignDateRangeKpiResponse

FromJSON CampaignDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignDateRangeKpiResponse

type Rep CampaignDateRangeKpiResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignDateRangeKpiResponse

type Rep CampaignDateRangeKpiResponse = D1 ('MetaData "CampaignDateRangeKpiResponse" "Amazonka.Pinpoint.Types.CampaignDateRangeKpiResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "CampaignDateRangeKpiResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "kpiResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseKpiResult) :*: S1 ('MetaSel ('Just "kpiName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "campaignId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCampaignDateRangeKpiResponse Source #

Create a value of CampaignDateRangeKpiResponse 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:CampaignDateRangeKpiResponse', campaignDateRangeKpiResponse_nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Campaign Metrics resource because the resource returns all results in a single page.

$sel:kpiResult:CampaignDateRangeKpiResponse', campaignDateRangeKpiResponse_kpiResult - An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

$sel:kpiName:CampaignDateRangeKpiResponse', campaignDateRangeKpiResponse_kpiName - The name of the metric, also referred to as a /key performance indicator (KPI)/, that the data was retrieved 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. For a list of possible values, see the Amazon Pinpoint Developer Guide.

$sel:endTime:CampaignDateRangeKpiResponse', campaignDateRangeKpiResponse_endTime - The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

$sel:campaignId:CampaignDateRangeKpiResponse', campaignDateRangeKpiResponse_campaignId - The unique identifier for the campaign that the metric applies to.

$sel:startTime:CampaignDateRangeKpiResponse', campaignDateRangeKpiResponse_startTime - The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

$sel:applicationId:CampaignDateRangeKpiResponse', campaignDateRangeKpiResponse_applicationId - The unique identifier for the application that the metric applies to.

campaignDateRangeKpiResponse_nextToken :: Lens' CampaignDateRangeKpiResponse (Maybe Text) Source #

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Campaign Metrics resource because the resource returns all results in a single page.

campaignDateRangeKpiResponse_kpiResult :: Lens' CampaignDateRangeKpiResponse BaseKpiResult Source #

An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

campaignDateRangeKpiResponse_kpiName :: Lens' CampaignDateRangeKpiResponse Text Source #

The name of the metric, also referred to as a /key performance indicator (KPI)/, that the data was retrieved 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. For a list of possible values, see the Amazon Pinpoint Developer Guide.

campaignDateRangeKpiResponse_endTime :: Lens' CampaignDateRangeKpiResponse UTCTime Source #

The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

campaignDateRangeKpiResponse_campaignId :: Lens' CampaignDateRangeKpiResponse Text Source #

The unique identifier for the campaign that the metric applies to.

campaignDateRangeKpiResponse_startTime :: Lens' CampaignDateRangeKpiResponse UTCTime Source #

The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

campaignDateRangeKpiResponse_applicationId :: Lens' CampaignDateRangeKpiResponse Text Source #

The unique identifier for the application that the metric applies to.