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 execution metric that applies to a journey.
Synopsis
- data GetJourneyExecutionMetrics = GetJourneyExecutionMetrics' {}
- newGetJourneyExecutionMetrics :: Text -> Text -> GetJourneyExecutionMetrics
- getJourneyExecutionMetrics_nextToken :: Lens' GetJourneyExecutionMetrics (Maybe Text)
- getJourneyExecutionMetrics_pageSize :: Lens' GetJourneyExecutionMetrics (Maybe Text)
- getJourneyExecutionMetrics_applicationId :: Lens' GetJourneyExecutionMetrics Text
- getJourneyExecutionMetrics_journeyId :: Lens' GetJourneyExecutionMetrics Text
- data GetJourneyExecutionMetricsResponse = GetJourneyExecutionMetricsResponse' {}
- newGetJourneyExecutionMetricsResponse :: Int -> JourneyExecutionMetricsResponse -> GetJourneyExecutionMetricsResponse
- getJourneyExecutionMetricsResponse_httpStatus :: Lens' GetJourneyExecutionMetricsResponse Int
- getJourneyExecutionMetricsResponse_journeyExecutionMetricsResponse :: Lens' GetJourneyExecutionMetricsResponse JourneyExecutionMetricsResponse
Creating a Request
data GetJourneyExecutionMetrics Source #
See: newGetJourneyExecutionMetrics
smart constructor.
GetJourneyExecutionMetrics' | |
|
Instances
newGetJourneyExecutionMetrics Source #
:: Text | |
-> Text | |
-> GetJourneyExecutionMetrics |
Create a value of GetJourneyExecutionMetrics
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:GetJourneyExecutionMetrics'
, getJourneyExecutionMetrics_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:GetJourneyExecutionMetrics'
, getJourneyExecutionMetrics_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:GetJourneyExecutionMetrics'
, getJourneyExecutionMetrics_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:journeyId:GetJourneyExecutionMetrics'
, getJourneyExecutionMetrics_journeyId
- The unique identifier for the journey.
Request Lenses
getJourneyExecutionMetrics_nextToken :: Lens' GetJourneyExecutionMetrics (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.
getJourneyExecutionMetrics_pageSize :: Lens' GetJourneyExecutionMetrics (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.
getJourneyExecutionMetrics_applicationId :: Lens' GetJourneyExecutionMetrics Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getJourneyExecutionMetrics_journeyId :: Lens' GetJourneyExecutionMetrics Text Source #
The unique identifier for the journey.
Destructuring the Response
data GetJourneyExecutionMetricsResponse Source #
See: newGetJourneyExecutionMetricsResponse
smart constructor.
GetJourneyExecutionMetricsResponse' | |
|
Instances
Eq GetJourneyExecutionMetricsResponse Source # | |
Read GetJourneyExecutionMetricsResponse Source # | |
Show GetJourneyExecutionMetricsResponse Source # | |
Generic GetJourneyExecutionMetricsResponse Source # | |
NFData GetJourneyExecutionMetricsResponse Source # | |
Defined in Amazonka.Pinpoint.GetJourneyExecutionMetrics rnf :: GetJourneyExecutionMetricsResponse -> () # | |
type Rep GetJourneyExecutionMetricsResponse Source # | |
Defined in Amazonka.Pinpoint.GetJourneyExecutionMetrics type Rep GetJourneyExecutionMetricsResponse = D1 ('MetaData "GetJourneyExecutionMetricsResponse" "Amazonka.Pinpoint.GetJourneyExecutionMetrics" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "GetJourneyExecutionMetricsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "journeyExecutionMetricsResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JourneyExecutionMetricsResponse))) |
newGetJourneyExecutionMetricsResponse Source #
:: Int | |
-> JourneyExecutionMetricsResponse |
|
-> GetJourneyExecutionMetricsResponse |
Create a value of GetJourneyExecutionMetricsResponse
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:GetJourneyExecutionMetricsResponse'
, getJourneyExecutionMetricsResponse_httpStatus
- The response's http status code.
$sel:journeyExecutionMetricsResponse:GetJourneyExecutionMetricsResponse'
, getJourneyExecutionMetricsResponse_journeyExecutionMetricsResponse
- Undocumented member.
Response Lenses
getJourneyExecutionMetricsResponse_httpStatus :: Lens' GetJourneyExecutionMetricsResponse Int Source #
The response's http status code.