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 information about all the activities for a campaign.
Synopsis
- data GetCampaignActivities = GetCampaignActivities' {
- token :: Maybe Text
- pageSize :: Maybe Text
- applicationId :: Text
- campaignId :: Text
- newGetCampaignActivities :: Text -> Text -> GetCampaignActivities
- getCampaignActivities_token :: Lens' GetCampaignActivities (Maybe Text)
- getCampaignActivities_pageSize :: Lens' GetCampaignActivities (Maybe Text)
- getCampaignActivities_applicationId :: Lens' GetCampaignActivities Text
- getCampaignActivities_campaignId :: Lens' GetCampaignActivities Text
- data GetCampaignActivitiesResponse = GetCampaignActivitiesResponse' {}
- newGetCampaignActivitiesResponse :: Int -> ActivitiesResponse -> GetCampaignActivitiesResponse
- getCampaignActivitiesResponse_httpStatus :: Lens' GetCampaignActivitiesResponse Int
- getCampaignActivitiesResponse_activitiesResponse :: Lens' GetCampaignActivitiesResponse ActivitiesResponse
Creating a Request
data GetCampaignActivities Source #
See: newGetCampaignActivities
smart constructor.
GetCampaignActivities' | |
|
Instances
newGetCampaignActivities Source #
:: Text | |
-> Text | |
-> GetCampaignActivities |
Create a value of GetCampaignActivities
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:token:GetCampaignActivities'
, getCampaignActivities_token
- The NextToken string that specifies which page of results to return in a
paginated response.
$sel:pageSize:GetCampaignActivities'
, getCampaignActivities_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:GetCampaignActivities'
, getCampaignActivities_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:campaignId:GetCampaignActivities'
, getCampaignActivities_campaignId
- The unique identifier for the campaign.
Request Lenses
getCampaignActivities_token :: Lens' GetCampaignActivities (Maybe Text) Source #
The NextToken string that specifies which page of results to return in a paginated response.
getCampaignActivities_pageSize :: Lens' GetCampaignActivities (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.
getCampaignActivities_applicationId :: Lens' GetCampaignActivities Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getCampaignActivities_campaignId :: Lens' GetCampaignActivities Text Source #
The unique identifier for the campaign.
Destructuring the Response
data GetCampaignActivitiesResponse Source #
See: newGetCampaignActivitiesResponse
smart constructor.
GetCampaignActivitiesResponse' | |
|
Instances
newGetCampaignActivitiesResponse Source #
Create a value of GetCampaignActivitiesResponse
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:GetCampaignActivitiesResponse'
, getCampaignActivitiesResponse_httpStatus
- The response's http status code.
$sel:activitiesResponse:GetCampaignActivitiesResponse'
, getCampaignActivitiesResponse_activitiesResponse
- Undocumented member.
Response Lenses
getCampaignActivitiesResponse_httpStatus :: Lens' GetCampaignActivitiesResponse Int Source #
The response's http status code.
getCampaignActivitiesResponse_activitiesResponse :: Lens' GetCampaignActivitiesResponse ActivitiesResponse Source #
Undocumented member.