Skip to main content

apps

Creates, updates, deletes, gets or lists an apps resource.

Overview

Nameapps
TypeResource
Idaws.pinpoint.apps

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the application.
creation_datestringThe date and time when the Application was created.
idstringThe unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
namestringThe display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
tagsobjectA string-to-string map of key-value pairs that identifies the tags that are associated with the application. Each tag consists of a required tag key and an associated tag value.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_appselectapplication-id, regionRetrieves information about an application.
get_appsselectregionpage-size, tokenRetrieves information about all the applications that are associated with your Amazon Pinpoint account.
create_appinsertregion, CreateApplicationRequestCreates an application.
delete_appdeleteapplication-id, regionDeletes an application.

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.
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 an application.

SELECT
arn,
creation_date,
id,
name,
tags
FROM aws.pinpoint.apps
WHERE `application-id` = '{{ application-id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an application.

INSERT INTO aws.pinpoint.apps (
CreateApplicationRequest,
region
)
SELECT
'{{ CreateApplicationRequest }}' /* required */,
'{{ region }}'
RETURNING
application_response
;

DELETE examples

Deletes an application.

DELETE FROM aws.pinpoint.apps
WHERE `application-id` = '{{ application-id }}' --required
AND region = '{{ region }}' --required
;