campaign_activities
Creates, updates, deletes, gets or lists a campaign_activities resource.
Overview
| Name | campaign_activities |
| Type | Resource |
| Id | aws.pinpoint.campaign_activities |
Fields
The following fields are returned by SELECT queries:
- get_campaign_activities
| Name | Datatype | Description |
|---|---|---|
item | array | An array of responses, one for each activity that was performed by the campaign. |
next_token | string | The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_campaign_activities | select | application-id, campaign-id, region | page-size, token | Retrieves information about all the activities for a campaign. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
application-id | string | The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. |
campaign-id | string | The unique identifier for the campaign. |
region | string | AWS region (default: us-east-1) |
page-size | string | 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. |
token | string | The NextToken string that specifies which page of results to return in a paginated response. |
SELECT examples
- get_campaign_activities
Retrieves information about all the activities for a campaign.
SELECT
item,
next_token
FROM aws.pinpoint.campaign_activities
WHERE `application-id` = '{{ application-id }}' -- required
AND `campaign-id` = '{{ campaign-id }}' -- required
AND region = '{{ region }}' -- required
AND `page-size` = '{{ page-size }}'
AND token = '{{ token }}'
;