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 |
Amazonka.Pinpoint.Types.ActivityResponse
Description
Synopsis
- data ActivityResponse = ActivityResponse' {
- state :: Maybe Text
- start :: Maybe Text
- timezonesCompletedCount :: Maybe Int
- timezonesTotalCount :: Maybe Int
- result :: Maybe Text
- treatmentId :: Maybe Text
- successfulEndpointCount :: Maybe Int
- end :: Maybe Text
- totalEndpointCount :: Maybe Int
- scheduledStart :: Maybe Text
- campaignId :: Text
- id :: Text
- applicationId :: Text
- newActivityResponse :: Text -> Text -> Text -> ActivityResponse
- activityResponse_state :: Lens' ActivityResponse (Maybe Text)
- activityResponse_start :: Lens' ActivityResponse (Maybe Text)
- activityResponse_timezonesCompletedCount :: Lens' ActivityResponse (Maybe Int)
- activityResponse_timezonesTotalCount :: Lens' ActivityResponse (Maybe Int)
- activityResponse_result :: Lens' ActivityResponse (Maybe Text)
- activityResponse_treatmentId :: Lens' ActivityResponse (Maybe Text)
- activityResponse_successfulEndpointCount :: Lens' ActivityResponse (Maybe Int)
- activityResponse_end :: Lens' ActivityResponse (Maybe Text)
- activityResponse_totalEndpointCount :: Lens' ActivityResponse (Maybe Int)
- activityResponse_scheduledStart :: Lens' ActivityResponse (Maybe Text)
- activityResponse_campaignId :: Lens' ActivityResponse Text
- activityResponse_id :: Lens' ActivityResponse Text
- activityResponse_applicationId :: Lens' ActivityResponse Text
Documentation
data ActivityResponse Source #
Provides information about an activity that was performed by a campaign.
See: newActivityResponse
smart constructor.
Constructors
ActivityResponse' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> Text | |
-> ActivityResponse |
Create a value of ActivityResponse
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:state:ActivityResponse'
, activityResponse_state
- The current status of the activity. Possible values are: PENDING,
INITIALIZING, RUNNING, PAUSED, CANCELLED, and COMPLETED.
$sel:start:ActivityResponse'
, activityResponse_start
- The actual start time, in ISO 8601 format, of the activity.
$sel:timezonesCompletedCount:ActivityResponse'
, activityResponse_timezonesCompletedCount
- The total number of time zones that were completed.
$sel:timezonesTotalCount:ActivityResponse'
, activityResponse_timezonesTotalCount
- The total number of unique time zones that are in the segment for the
campaign.
$sel:result:ActivityResponse'
, activityResponse_result
- Specifies whether the activity succeeded. Possible values are SUCCESS
and FAIL.
$sel:treatmentId:ActivityResponse'
, activityResponse_treatmentId
- The unique identifier for the campaign treatment that the activity
applies to. A treatment is a variation of a campaign that's used for
A/B testing of a campaign.
$sel:successfulEndpointCount:ActivityResponse'
, activityResponse_successfulEndpointCount
- The total number of endpoints that the campaign successfully delivered
messages to.
$sel:end:ActivityResponse'
, activityResponse_end
- The actual time, in ISO 8601 format, when the activity was marked
CANCELLED or COMPLETED.
$sel:totalEndpointCount:ActivityResponse'
, activityResponse_totalEndpointCount
- The total number of endpoints that the campaign attempted to deliver
messages to.
$sel:scheduledStart:ActivityResponse'
, activityResponse_scheduledStart
- The scheduled start time, in ISO 8601 format, for the activity.
$sel:campaignId:ActivityResponse'
, activityResponse_campaignId
- The unique identifier for the campaign that the activity applies to.
$sel:id:ActivityResponse'
, activityResponse_id
- The unique identifier for the activity.
$sel:applicationId:ActivityResponse'
, activityResponse_applicationId
- The unique identifier for the application that the campaign applies to.
activityResponse_state :: Lens' ActivityResponse (Maybe Text) Source #
The current status of the activity. Possible values are: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, and COMPLETED.
activityResponse_start :: Lens' ActivityResponse (Maybe Text) Source #
The actual start time, in ISO 8601 format, of the activity.
activityResponse_timezonesCompletedCount :: Lens' ActivityResponse (Maybe Int) Source #
The total number of time zones that were completed.
activityResponse_timezonesTotalCount :: Lens' ActivityResponse (Maybe Int) Source #
The total number of unique time zones that are in the segment for the campaign.
activityResponse_result :: Lens' ActivityResponse (Maybe Text) Source #
Specifies whether the activity succeeded. Possible values are SUCCESS and FAIL.
activityResponse_treatmentId :: Lens' ActivityResponse (Maybe Text) Source #
The unique identifier for the campaign treatment that the activity applies to. A treatment is a variation of a campaign that's used for A/B testing of a campaign.
activityResponse_successfulEndpointCount :: Lens' ActivityResponse (Maybe Int) Source #
The total number of endpoints that the campaign successfully delivered messages to.
activityResponse_end :: Lens' ActivityResponse (Maybe Text) Source #
The actual time, in ISO 8601 format, when the activity was marked CANCELLED or COMPLETED.
activityResponse_totalEndpointCount :: Lens' ActivityResponse (Maybe Int) Source #
The total number of endpoints that the campaign attempted to deliver messages to.
activityResponse_scheduledStart :: Lens' ActivityResponse (Maybe Text) Source #
The scheduled start time, in ISO 8601 format, for the activity.
activityResponse_campaignId :: Lens' ActivityResponse Text Source #
The unique identifier for the campaign that the activity applies to.
activityResponse_id :: Lens' ActivityResponse Text Source #
The unique identifier for the activity.
activityResponse_applicationId :: Lens' ActivityResponse Text Source #
The unique identifier for the application that the campaign applies to.