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 |
Synopsis
- data CampaignDateRangeKpiResponse = CampaignDateRangeKpiResponse' {
- nextToken :: Maybe Text
- kpiResult :: BaseKpiResult
- kpiName :: Text
- endTime :: POSIX
- campaignId :: Text
- startTime :: POSIX
- applicationId :: Text
- newCampaignDateRangeKpiResponse :: BaseKpiResult -> Text -> UTCTime -> Text -> UTCTime -> Text -> CampaignDateRangeKpiResponse
- campaignDateRangeKpiResponse_nextToken :: Lens' CampaignDateRangeKpiResponse (Maybe Text)
- campaignDateRangeKpiResponse_kpiResult :: Lens' CampaignDateRangeKpiResponse BaseKpiResult
- campaignDateRangeKpiResponse_kpiName :: Lens' CampaignDateRangeKpiResponse Text
- campaignDateRangeKpiResponse_endTime :: Lens' CampaignDateRangeKpiResponse UTCTime
- campaignDateRangeKpiResponse_campaignId :: Lens' CampaignDateRangeKpiResponse Text
- campaignDateRangeKpiResponse_startTime :: Lens' CampaignDateRangeKpiResponse UTCTime
- campaignDateRangeKpiResponse_applicationId :: Lens' CampaignDateRangeKpiResponse Text
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.
CampaignDateRangeKpiResponse' | |
|
Instances
newCampaignDateRangeKpiResponse Source #
:: BaseKpiResult | |
-> Text | |
-> UTCTime | |
-> Text | |
-> UTCTime | |
-> Text | |
-> CampaignDateRangeKpiResponse |
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.