Amazon Pinpoint

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

CreateApp (updated) Link ¶
Changes (response)
{'ApplicationResponse': {'CreationDate': 'string'}}

Creates an application.

See also: AWS API Documentation

Request Syntax

client.create_app(
    CreateApplicationRequest={
        'Name': 'string',
        'tags': {
            'string': 'string'
        }
    }
)
type CreateApplicationRequest

dict

param CreateApplicationRequest

[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) --

rtype

dict

returns

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.

DeleteApp (updated) Link ¶
Changes (response)
{'ApplicationResponse': {'CreationDate': 'string'}}

Deletes an application.

See also: AWS API Documentation

Request Syntax

client.delete_app(
    ApplicationId='string'
)
type ApplicationId

string

param ApplicationId

[REQUIRED]

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

rtype

dict

returns

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.

GetApp (updated) Link ¶
Changes (response)
{'ApplicationResponse': {'CreationDate': 'string'}}

Retrieves information about an application.

See also: AWS API Documentation

Request Syntax

client.get_app(
    ApplicationId='string'
)
type ApplicationId

string

param ApplicationId

[REQUIRED]

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

rtype

dict

returns

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.

GetApps (updated) Link ¶
Changes (response)
{'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'
)
type PageSize

string

param 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.

type Token

string

param Token

The NextToken string that specifies which page of results to return in a paginated response.

rtype

dict

returns

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.