create_app

create_app(**kwargs)

Creates an application.

See also: AWS API Documentation

Request Syntax

response = client.create_app(
    CreateApplicationRequest={
        'Name': 'string',
        'tags': {
            'string': 'string'
        }
    }
)
Parameters
CreateApplicationRequest (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) --
Return type
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.

Exceptions

  • Pinpoint.Client.exceptions.BadRequestException
  • Pinpoint.Client.exceptions.InternalServerErrorException
  • Pinpoint.Client.exceptions.PayloadTooLargeException
  • Pinpoint.Client.exceptions.ForbiddenException
  • Pinpoint.Client.exceptions.NotFoundException
  • Pinpoint.Client.exceptions.MethodNotAllowedException
  • Pinpoint.Client.exceptions.TooManyRequestsException