create_application_instance

create_application_instance(**kwargs)

Creates an application instance and deploys it to a device.

See also: AWS API Documentation

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'
    }
)
Parameters
  • ApplicationInstanceIdToReplace (string) -- The ID of an application instance to replace with the new instance.
  • DefaultRuntimeContextDevice (string) --

    [REQUIRED]

    A device's ID.

  • Description (string) -- A description for the application instance.
  • ManifestOverridesPayload (dict) --

    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.

  • ManifestPayload (dict) --

    [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.

  • Name (string) -- A name for the application instance.
  • RuntimeRoleArn (string) -- The ARN of a runtime role for the application instance.
  • Tags (dict) --

    Tags for the application instance.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'ApplicationInstanceId': 'string'
}

Response Structure

  • (dict) --

    • ApplicationInstanceId (string) --

      The application instance's ID.

Exceptions

  • Panorama.Client.exceptions.ValidationException
  • Panorama.Client.exceptions.AccessDeniedException
  • Panorama.Client.exceptions.ServiceQuotaExceededException
  • Panorama.Client.exceptions.InternalServerException