AppConfig / Client / create_application

create_application#

AppConfig.Client.create_application(**kwargs)#

Creates an application. In AppConfig, an application is simply an organizational construct like a folder. This organizational construct has a relationship with some unit of executable code. For example, you could create an application called MyMobileApp to organize and manage configuration data for a mobile application installed by your users.

See also: AWS API Documentation

Request Syntax

response = client.create_application(
    Name='string',
    Description='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • Name (string) –

    [REQUIRED]

    A name for the application.

  • Description (string) – A description of the application.

  • Tags (dict) –

    Metadata to assign to the application. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Id': 'string',
    'Name': 'string',
    'Description': 'string'
}

Response Structure

  • (dict) –

    • Id (string) –

      The application ID.

    • Name (string) –

      The application name.

    • Description (string) –

      The description of the application.

Exceptions

  • AppConfig.Client.exceptions.BadRequestException

  • AppConfig.Client.exceptions.ServiceQuotaExceededException

  • AppConfig.Client.exceptions.InternalServerException

Examples

The following create-application example creates an application in AWS AppConfig.

response = client.create_application(
    Description='An application used for creating an example.',
    Name='example-application',
)

print(response)

Expected Output:

{
    'Description': 'An application used for creating an example.',
    'Id': '339ohji',
    'Name': 'example-application',
    'ResponseMetadata': {
        '...': '...',
    },
}