Skip to content

PanoramaClient#

Index > Panorama > PanoramaClient

Auto-generated documentation for Panorama type annotations stubs module mypy-boto3-panorama.

PanoramaClient#

Type annotations and code completion for boto3.client("panorama"). boto3 documentation

# PanoramaClient usage example

from boto3.session import Session
from mypy_boto3_panorama.client import PanoramaClient

def get_panorama_client() -> PanoramaClient:
    return Session().client("panorama")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("panorama").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("panorama")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_panorama.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("panorama").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("panorama").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_application_instance#

Creates an application instance and deploys it to a device.

Type annotations and code completion for boto3.client("panorama").create_application_instance method. boto3 documentation

# create_application_instance method definition

def create_application_instance(
    self,
    *,
    DefaultRuntimeContextDevice: str,
    ManifestPayload: ManifestPayloadTypeDef,  # (1)
    ApplicationInstanceIdToReplace: str = ...,
    Description: str = ...,
    ManifestOverridesPayload: ManifestOverridesPayloadTypeDef = ...,  # (2)
    Name: str = ...,
    RuntimeRoleArn: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateApplicationInstanceResponseTypeDef:  # (3)
    ...
  1. See ManifestPayloadTypeDef
  2. See ManifestOverridesPayloadTypeDef
  3. See CreateApplicationInstanceResponseTypeDef
# create_application_instance method usage example with argument unpacking

kwargs: CreateApplicationInstanceRequestRequestTypeDef = {  # (1)
    "DefaultRuntimeContextDevice": ...,
    "ManifestPayload": ...,
}

parent.create_application_instance(**kwargs)
  1. See CreateApplicationInstanceRequestRequestTypeDef

create_job_for_devices#

Creates a job to run on a device.

Type annotations and code completion for boto3.client("panorama").create_job_for_devices method. boto3 documentation

# create_job_for_devices method definition

def create_job_for_devices(
    self,
    *,
    DeviceIds: Sequence[str],
    JobType: JobTypeType,  # (1)
    DeviceJobConfig: DeviceJobConfigTypeDef = ...,  # (2)
) -> CreateJobForDevicesResponseTypeDef:  # (3)
    ...
  1. See JobTypeType
  2. See DeviceJobConfigTypeDef
  3. See CreateJobForDevicesResponseTypeDef
# create_job_for_devices method usage example with argument unpacking

kwargs: CreateJobForDevicesRequestRequestTypeDef = {  # (1)
    "DeviceIds": ...,
    "JobType": ...,
}

parent.create_job_for_devices(**kwargs)
  1. See CreateJobForDevicesRequestRequestTypeDef

create_node_from_template_job#

Creates a camera stream node.

Type annotations and code completion for boto3.client("panorama").create_node_from_template_job method. boto3 documentation

# create_node_from_template_job method definition

def create_node_from_template_job(
    self,
    *,
    NodeName: str,
    OutputPackageName: str,
    OutputPackageVersion: str,
    TemplateParameters: Mapping[str, str],
    TemplateType: TemplateTypeType,  # (1)
    JobTags: Sequence[Union[JobResourceTagsTypeDef, JobResourceTagsOutputTypeDef]] = ...,  # (2)
    NodeDescription: str = ...,
) -> CreateNodeFromTemplateJobResponseTypeDef:  # (3)
    ...
  1. See TemplateTypeType
  2. See JobResourceTagsTypeDef JobResourceTagsOutputTypeDef
  3. See CreateNodeFromTemplateJobResponseTypeDef
# create_node_from_template_job method usage example with argument unpacking

kwargs: CreateNodeFromTemplateJobRequestRequestTypeDef = {  # (1)
    "NodeName": ...,
    "OutputPackageName": ...,
    "OutputPackageVersion": ...,
    "TemplateParameters": ...,
    "TemplateType": ...,
}

parent.create_node_from_template_job(**kwargs)
  1. See CreateNodeFromTemplateJobRequestRequestTypeDef

create_package#

Creates a package and storage location in an Amazon S3 access point.

Type annotations and code completion for boto3.client("panorama").create_package method. boto3 documentation

# create_package method definition

def create_package(
    self,
    *,
    PackageName: str,
    Tags: Mapping[str, str] = ...,
) -> CreatePackageResponseTypeDef:  # (1)
    ...
  1. See CreatePackageResponseTypeDef
# create_package method usage example with argument unpacking

kwargs: CreatePackageRequestRequestTypeDef = {  # (1)
    "PackageName": ...,
}

parent.create_package(**kwargs)
  1. See CreatePackageRequestRequestTypeDef

create_package_import_job#

Imports a node package.

Type annotations and code completion for boto3.client("panorama").create_package_import_job method. boto3 documentation

# create_package_import_job method definition

def create_package_import_job(
    self,
    *,
    ClientToken: str,
    InputConfig: PackageImportJobInputConfigTypeDef,  # (1)
    JobType: PackageImportJobTypeType,  # (2)
    OutputConfig: PackageImportJobOutputConfigTypeDef,  # (3)
    JobTags: Sequence[Union[JobResourceTagsTypeDef, JobResourceTagsOutputTypeDef]] = ...,  # (4)
) -> CreatePackageImportJobResponseTypeDef:  # (5)
    ...
  1. See PackageImportJobInputConfigTypeDef
  2. See PackageImportJobTypeType
  3. See PackageImportJobOutputConfigTypeDef
  4. See JobResourceTagsTypeDef JobResourceTagsOutputTypeDef
  5. See CreatePackageImportJobResponseTypeDef
# create_package_import_job method usage example with argument unpacking

kwargs: CreatePackageImportJobRequestRequestTypeDef = {  # (1)
    "ClientToken": ...,
    "InputConfig": ...,
    "JobType": ...,
    "OutputConfig": ...,
}

parent.create_package_import_job(**kwargs)
  1. See CreatePackageImportJobRequestRequestTypeDef

delete_device#

Deletes a device.

Type annotations and code completion for boto3.client("panorama").delete_device method. boto3 documentation

# delete_device method definition

def delete_device(
    self,
    *,
    DeviceId: str,
) -> DeleteDeviceResponseTypeDef:  # (1)
    ...
  1. See DeleteDeviceResponseTypeDef
# delete_device method usage example with argument unpacking

kwargs: DeleteDeviceRequestRequestTypeDef = {  # (1)
    "DeviceId": ...,
}

parent.delete_device(**kwargs)
  1. See DeleteDeviceRequestRequestTypeDef

delete_package#

Deletes a package.

Type annotations and code completion for boto3.client("panorama").delete_package method. boto3 documentation

# delete_package method definition

def delete_package(
    self,
    *,
    PackageId: str,
    ForceDelete: bool = ...,
) -> Dict[str, Any]:
    ...
# delete_package method usage example with argument unpacking

kwargs: DeletePackageRequestRequestTypeDef = {  # (1)
    "PackageId": ...,
}

parent.delete_package(**kwargs)
  1. See DeletePackageRequestRequestTypeDef

deregister_package_version#

Deregisters a package version.

Type annotations and code completion for boto3.client("panorama").deregister_package_version method. boto3 documentation

# deregister_package_version method definition

def deregister_package_version(
    self,
    *,
    PackageId: str,
    PackageVersion: str,
    PatchVersion: str,
    OwnerAccount: str = ...,
    UpdatedLatestPatchVersion: str = ...,
) -> Dict[str, Any]:
    ...
# deregister_package_version method usage example with argument unpacking

kwargs: DeregisterPackageVersionRequestRequestTypeDef = {  # (1)
    "PackageId": ...,
    "PackageVersion": ...,
    "PatchVersion": ...,
}

parent.deregister_package_version(**kwargs)