Skip to main content

campaign_activities

Creates, updates, deletes, gets or lists a campaign_activities resource.

Overview

Namecampaign_activities
TypeResource
Idaws.pinpoint.campaign_activities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
itemarrayAn array of responses, one for each activity that was performed by the campaign.
next_tokenstringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_campaign_activitiesselectapplication-id, campaign-id, regionpage-size, tokenRetrieves 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.

NameDatatypeDescription
application-idstringThe unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
campaign-idstringThe unique identifier for the campaign.
regionstringAWS region (default: us-east-1)
page-sizestringThe maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
tokenstringThe NextToken string that specifies which page of results to return in a paginated response.

SELECT examples

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 }}'
;