2022/02/10 - Amazon Pinpoint - 4 updated api methods
Changes This SDK release adds a new paramater creation date for GetApp and GetApps Api call
{'ApplicationResponse': {'CreationDate': 'string'}}
Creates an application.
See also: AWS API Documentation
Request Syntax
client.create_app( CreateApplicationRequest={ 'Name': 'string', 'tags': { 'string': 'string' } } )
dict
[REQUIRED]
Specifies the display name of an application and the tags to associate with the application.
Name (string) -- [REQUIRED]
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
tags (dict) --
A string-to-string map of key-value pairs that defines the tags to associate with the application. Each tag consists of a required tag key and an associated tag value.
(string) --
(string) --
dict
Response Syntax
{ 'ApplicationResponse': { 'Arn': 'string', 'Id': 'string', 'Name': 'string', 'tags': { 'string': 'string' }, 'CreationDate': 'string' } }
Response Structure
(dict) --
The request succeeded and the specified resource was created.
ApplicationResponse (dict) --
Provides information about an application.
Arn (string) --
The Amazon Resource Name (ARN) of the application.
Id (string) --
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Name (string) --
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
tags (dict) --
A 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.
(string) --
(string) --
CreationDate (string) --
The date and time when the Application was created.
{'ApplicationResponse': {'CreationDate': 'string'}}
Deletes an application.
See also: AWS API Documentation
Request Syntax
client.delete_app( ApplicationId='string' )
string
[REQUIRED]
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
dict
Response Syntax
{ 'ApplicationResponse': { 'Arn': 'string', 'Id': 'string', 'Name': 'string', 'tags': { 'string': 'string' }, 'CreationDate': 'string' } }
Response Structure
(dict) --
The request succeeded.
ApplicationResponse (dict) --
Provides information about an application.
Arn (string) --
The Amazon Resource Name (ARN) of the application.
Id (string) --
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Name (string) --
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
tags (dict) --
A 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.
(string) --
(string) --
CreationDate (string) --
The date and time when the Application was created.
{'ApplicationResponse': {'CreationDate': 'string'}}
Retrieves information about an application.
See also: AWS API Documentation
Request Syntax
client.get_app( ApplicationId='string' )
string
[REQUIRED]
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
dict
Response Syntax
{ 'ApplicationResponse': { 'Arn': 'string', 'Id': 'string', 'Name': 'string', 'tags': { 'string': 'string' }, 'CreationDate': 'string' } }
Response Structure
(dict) --
The request succeeded.
ApplicationResponse (dict) --
Provides information about an application.
Arn (string) --
The Amazon Resource Name (ARN) of the application.
Id (string) --
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Name (string) --
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
tags (dict) --
A 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.
(string) --
(string) --
CreationDate (string) --
The date and time when the Application was created.
{'ApplicationsResponse': {'Item': {'CreationDate': 'string'}}}
Retrieves information about all the applications that are associated with your Amazon Pinpoint account.
See also: AWS API Documentation
Request Syntax
client.get_apps( PageSize='string', Token='string' )
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.
string
The NextToken string that specifies which page of results to return in a paginated response.
dict
Response Syntax
{ 'ApplicationsResponse': { 'Item': [ { 'Arn': 'string', 'Id': 'string', 'Name': 'string', 'tags': { 'string': 'string' }, 'CreationDate': 'string' }, ], 'NextToken': 'string' } }
Response Structure
(dict) --
The request succeeded.
ApplicationsResponse (dict) --
Provides information about all of your applications.
Item (list) --
An array of responses, one for each application that was returned.
(dict) --
Provides information about an application.
Arn (string) --
The Amazon Resource Name (ARN) of the application.
Id (string) --
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Name (string) --
The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.
tags (dict) --
A 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.
(string) --
(string) --
CreationDate (string) --
The date and time when the Application was created.
NextToken (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.