:doc:`AppConfig <../../appconfig>` / Client / create_application

******************
create_application
******************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication>`_  


  **Request Syntax**
  ::

    response = client.create_application(
        Name='string',
        Description='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    A name for the application.

    

  
  :type Description: string
  :param Description: 

    A description of the application.

    

  
  :type Tags: dict
  :param Tags: 

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

      


  
  :rtype: 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**
  
  *   :py:class:`AppConfig.Client.exceptions.BadRequestException`

  
  *   :py:class:`AppConfig.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`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': {
            '...': '...',
        },
    }

  