:doc:`Panorama <../../panorama>` / Client / create_application_instance

***************************
create_application_instance
***************************



.. py:method:: Panorama.Client.create_application_instance(**kwargs)

  

  Creates an application instance and deploys it to a device.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreateApplicationInstance>`_  


  **Request Syntax**
  ::

    response = client.create_application_instance(
        ApplicationInstanceIdToReplace='string',
        DefaultRuntimeContextDevice='string',
        Description='string',
        ManifestOverridesPayload={
            'PayloadData': 'string'
        },
        ManifestPayload={
            'PayloadData': 'string'
        },
        Name='string',
        RuntimeRoleArn='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type ApplicationInstanceIdToReplace: string
  :param ApplicationInstanceIdToReplace: 

    The ID of an application instance to replace with the new instance.

    

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

    A device's ID.

    

  
  :type Description: string
  :param Description: 

    A description for the application instance.

    

  
  :type ManifestOverridesPayload: dict
  :param ManifestOverridesPayload: 

    Setting overrides for the application manifest.

    .. note::    This is a Tagged Union structure. Only one of the     following top level keys can be set: ``PayloadData``. 

  
    - **PayloadData** *(string) --* 

      The overrides document.

      

    
  
  :type ManifestPayload: dict
  :param ManifestPayload: **[REQUIRED]** 

    The application's manifest document.

    .. note::    This is a Tagged Union structure. Only one of the     following top level keys can be set: ``PayloadData``. 

  
    - **PayloadData** *(string) --* 

      The application manifest.

      

    
  
  :type Name: string
  :param Name: 

    A name for the application instance.

    

  
  :type RuntimeRoleArn: string
  :param RuntimeRoleArn: 

    The ARN of a runtime role for the application instance.

    

  
  :type Tags: dict
  :param Tags: 

    Tags for the application instance.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'ApplicationInstanceId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ApplicationInstanceId** *(string) --* 

        The application instance's ID.

        
  
  **Exceptions**
  
  *   :py:class:`Panorama.Client.exceptions.ValidationException`

  
  *   :py:class:`Panorama.Client.exceptions.AccessDeniedException`

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

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

  