Panorama / Client / create_node_from_template_job

create_node_from_template_job#

Panorama.Client.create_node_from_template_job(**kwargs)#

Creates a camera stream node.

See also: AWS API Documentation

Request Syntax

response = client.create_node_from_template_job(
    JobTags=[
        {
            'ResourceType': 'PACKAGE',
            'Tags': {
                'string': 'string'
            }
        },
    ],
    NodeDescription='string',
    NodeName='string',
    OutputPackageName='string',
    OutputPackageVersion='string',
    TemplateParameters={
        'string': 'string'
    },
    TemplateType='RTSP_CAMERA_STREAM'
)
Parameters:
  • JobTags (list) –

    Tags for the job.

    • (dict) –

      Tags for a job.

      • ResourceType (string) – [REQUIRED]

        The job’s type.

      • Tags (dict) – [REQUIRED]

        The job’s tags.

        • (string) –

          • (string) –

  • NodeDescription (string) – A description for the node.

  • NodeName (string) –

    [REQUIRED]

    A name for the node.

  • OutputPackageName (string) –

    [REQUIRED]

    An output package name for the node.

  • OutputPackageVersion (string) –

    [REQUIRED]

    An output package version for the node.

  • TemplateParameters (dict) –

    [REQUIRED]

    Template parameters for the node.

    • (string) –

      • (string) –

  • TemplateType (string) –

    [REQUIRED]

    The type of node.

Return type:

dict

Returns:

Response Syntax

{
    'JobId': 'string'
}

Response Structure

  • (dict) –

    • JobId (string) –

      The job’s ID.

Exceptions

  • Panorama.Client.exceptions.ConflictException

  • Panorama.Client.exceptions.ValidationException

  • Panorama.Client.exceptions.AccessDeniedException

  • Panorama.Client.exceptions.InternalServerException