:doc:`AppRegistry <../../servicecatalog-appregistry>` / Client / create_application

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



.. py:method:: AppRegistry.Client.create_application(**kwargs)

  

  Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication>`_  


  **Request Syntax**
  ::

    response = client.create_application(
        name='string',
        description='string',
        tags={
            'string': 'string'
        },
        clientToken='string'
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the application. The name must be unique in the region in which you are creating the application.

    

  
  :type description: string
  :param description: 

    The description of the application.

    

  
  :type tags: dict
  :param tags: 

    Key-value pairs you can use to associate with the application.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  :type clientToken: string
  :param clientToken: **[REQUIRED]** 

    A unique identifier that you provide to ensure idempotency. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails.

    This field is autopopulated if not provided.

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'application': {
              'id': 'string',
              'arn': 'string',
              'name': 'string',
              'description': 'string',
              'creationTime': datetime(2015, 1, 1),
              'lastUpdateTime': datetime(2015, 1, 1),
              'tags': {
                  'string': 'string'
              },
              'applicationTag': {
                  'string': 'string'
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **application** *(dict) --* 

        Information about the application.

        
        

        - **id** *(string) --* 

          The identifier of the application.

          
        

        - **arn** *(string) --* 

          The Amazon resource name (ARN) that specifies the application across services.

          
        

        - **name** *(string) --* 

          The name of the application. The name must be unique in the region in which you are creating the application.

          
        

        - **description** *(string) --* 

          The description of the application.

          
        

        - **creationTime** *(datetime) --* 

          The ISO-8601 formatted timestamp of the moment when the application was created.

          
        

        - **lastUpdateTime** *(datetime) --* 

          The ISO-8601 formatted timestamp of the moment when the application was last updated.

          
        

        - **tags** *(dict) --* 

          Key-value pairs you can use to associate with the application.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
        

        - **applicationTag** *(dict) --* 

          A key-value pair that identifies an associated resource.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
    
  
  **Exceptions**
  
  *   :py:class:`AppRegistry.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`AppRegistry.Client.exceptions.ConflictException`

  
  *   :py:class:`AppRegistry.Client.exceptions.InternalServerException`

  
  *   :py:class:`AppRegistry.Client.exceptions.ValidationException`

  
  *   :py:class:`AppRegistry.Client.exceptions.ThrottlingException`

  