Class: Aws::Panorama::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Panorama::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-panorama/client.rb
Overview
An API client for Panorama. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::Panorama::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#create_application_instance(params = {}) ⇒ Types::CreateApplicationInstanceResponse
Creates an application instance and deploys it to a device.
-
#create_job_for_devices(params = {}) ⇒ Types::CreateJobForDevicesResponse
Creates a job to run on a device.
-
#create_node_from_template_job(params = {}) ⇒ Types::CreateNodeFromTemplateJobResponse
Creates a camera stream node.
-
#create_package(params = {}) ⇒ Types::CreatePackageResponse
Creates a package and storage location in an Amazon S3 access point.
-
#create_package_import_job(params = {}) ⇒ Types::CreatePackageImportJobResponse
Imports a node package.
-
#delete_device(params = {}) ⇒ Types::DeleteDeviceResponse
Deletes a device.
-
#delete_package(params = {}) ⇒ Struct
Deletes a package.
-
#deregister_package_version(params = {}) ⇒ Struct
Deregisters a package version.
-
#describe_application_instance(params = {}) ⇒ Types::DescribeApplicationInstanceResponse
Returns information about an application instance on a device.
-
#describe_application_instance_details(params = {}) ⇒ Types::DescribeApplicationInstanceDetailsResponse
Returns information about an application instance’s configuration manifest.
-
#describe_device(params = {}) ⇒ Types::DescribeDeviceResponse
Returns information about a device.
-
#describe_device_job(params = {}) ⇒ Types::DescribeDeviceJobResponse
Returns information about a device job.
-
#describe_node(params = {}) ⇒ Types::DescribeNodeResponse
Returns information about a node.
-
#describe_node_from_template_job(params = {}) ⇒ Types::DescribeNodeFromTemplateJobResponse
Returns information about a job to create a camera stream node.
-
#describe_package(params = {}) ⇒ Types::DescribePackageResponse
Returns information about a package.
-
#describe_package_import_job(params = {}) ⇒ Types::DescribePackageImportJobResponse
Returns information about a package import job.
-
#describe_package_version(params = {}) ⇒ Types::DescribePackageVersionResponse
Returns information about a package version.
-
#list_application_instance_dependencies(params = {}) ⇒ Types::ListApplicationInstanceDependenciesResponse
Returns a list of application instance dependencies.
-
#list_application_instance_node_instances(params = {}) ⇒ Types::ListApplicationInstanceNodeInstancesResponse
Returns a list of application node instances.
-
#list_application_instances(params = {}) ⇒ Types::ListApplicationInstancesResponse
Returns a list of application instances.
-
#list_devices(params = {}) ⇒ Types::ListDevicesResponse
Returns a list of devices.
-
#list_devices_jobs(params = {}) ⇒ Types::ListDevicesJobsResponse
Returns a list of jobs.
-
#list_node_from_template_jobs(params = {}) ⇒ Types::ListNodeFromTemplateJobsResponse
Returns a list of camera stream node jobs.
-
#list_nodes(params = {}) ⇒ Types::ListNodesResponse
Returns a list of nodes.
-
#list_package_import_jobs(params = {}) ⇒ Types::ListPackageImportJobsResponse
Returns a list of package import jobs.
-
#list_packages(params = {}) ⇒ Types::ListPackagesResponse
Returns a list of packages.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of tags for a resource.
-
#provision_device(params = {}) ⇒ Types::ProvisionDeviceResponse
Creates a device and returns a configuration archive.
-
#register_package_version(params = {}) ⇒ Struct
Registers a package version.
-
#remove_application_instance(params = {}) ⇒ Struct
Removes an application instance.
-
#signal_application_instance_node_instances(params = {}) ⇒ Types::SignalApplicationInstanceNodeInstancesResponse
Signal camera nodes to stop or resume.
-
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
-
#update_device_metadata(params = {}) ⇒ Types::UpdateDeviceMetadataResponse
Updates a device’s metadata.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
434 435 436 |
# File 'lib/aws-sdk-panorama/client.rb', line 434 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2131 2132 2133 |
# File 'lib/aws-sdk-panorama/client.rb', line 2131 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2134 2135 2136 |
# File 'lib/aws-sdk-panorama/client.rb', line 2134 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 |
# File 'lib/aws-sdk-panorama/client.rb', line 2104 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::Panorama') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-panorama' context[:gem_version] = '1.30.0' Seahorse::Client::Request.new(handlers, context) end |
#create_application_instance(params = {}) ⇒ Types::CreateApplicationInstanceResponse
Creates an application instance and deploys it to a device.
497 498 499 500 |
# File 'lib/aws-sdk-panorama/client.rb', line 497 def create_application_instance(params = {}, = {}) req = build_request(:create_application_instance, params) req.send_request() end |
#create_job_for_devices(params = {}) ⇒ Types::CreateJobForDevicesResponse
Creates a job to run on a device. A job can update a device’s software or reboot it.
541 542 543 544 |
# File 'lib/aws-sdk-panorama/client.rb', line 541 def create_job_for_devices(params = {}, = {}) req = build_request(:create_job_for_devices, params) req.send_request() end |
#create_node_from_template_job(params = {}) ⇒ Types::CreateNodeFromTemplateJobResponse
Creates a camera stream node.
602 603 604 605 |
# File 'lib/aws-sdk-panorama/client.rb', line 602 def create_node_from_template_job(params = {}, = {}) req = build_request(:create_node_from_template_job, params) req.send_request() end |
#create_package(params = {}) ⇒ Types::CreatePackageResponse
Creates a package and storage location in an Amazon S3 access point.
644 645 646 647 |
# File 'lib/aws-sdk-panorama/client.rb', line 644 def create_package(params = {}, = {}) req = build_request(:create_package, params) req.send_request() end |
#create_package_import_job(params = {}) ⇒ Types::CreatePackageImportJobResponse
Imports a node package.
709 710 711 712 |
# File 'lib/aws-sdk-panorama/client.rb', line 709 def create_package_import_job(params = {}, = {}) req = build_request(:create_package_import_job, params) req.send_request() end |
#delete_device(params = {}) ⇒ Types::DeleteDeviceResponse
Deletes a device.
737 738 739 740 |
# File 'lib/aws-sdk-panorama/client.rb', line 737 def delete_device(params = {}, = {}) req = build_request(:delete_device, params) req.send_request() end |
#delete_package(params = {}) ⇒ Struct
Deletes a package.
<note markdown=“1”> To delete a package, you need permission to call ‘s3:DeleteObject` in addition to permissions for the AWS Panorama API.
</note>
769 770 771 772 |
# File 'lib/aws-sdk-panorama/client.rb', line 769 def delete_package(params = {}, = {}) req = build_request(:delete_package, params) req.send_request() end |
#deregister_package_version(params = {}) ⇒ Struct
Deregisters a package version.
807 808 809 810 |
# File 'lib/aws-sdk-panorama/client.rb', line 807 def deregister_package_version(params = {}, = {}) req = build_request(:deregister_package_version, params) req.send_request() end |
#describe_application_instance(params = {}) ⇒ Types::DescribeApplicationInstanceResponse
Returns information about an application instance on a device.
868 869 870 871 |
# File 'lib/aws-sdk-panorama/client.rb', line 868 def describe_application_instance(params = {}, = {}) req = build_request(:describe_application_instance, params) req.send_request() end |
#describe_application_instance_details(params = {}) ⇒ Types::DescribeApplicationInstanceDetailsResponse
Returns information about an application instance’s configuration manifest.
911 912 913 914 |
# File 'lib/aws-sdk-panorama/client.rb', line 911 def describe_application_instance_details(params = {}, = {}) req = build_request(:describe_application_instance_details, params) req.send_request() end |
#describe_device(params = {}) ⇒ Types::DescribeDeviceResponse
Returns information about a device.
1003 1004 1005 1006 |
# File 'lib/aws-sdk-panorama/client.rb', line 1003 def describe_device(params = {}, = {}) req = build_request(:describe_device, params) req.send_request() end |
#describe_device_job(params = {}) ⇒ Types::DescribeDeviceJobResponse
Returns information about a device job.
1047 1048 1049 1050 |
# File 'lib/aws-sdk-panorama/client.rb', line 1047 def describe_device_job(params = {}, = {}) req = build_request(:describe_device_job, params) req.send_request() end |
#describe_node(params = {}) ⇒ Types::DescribeNodeResponse
Returns information about a node.
1114 1115 1116 1117 |
# File 'lib/aws-sdk-panorama/client.rb', line 1114 def describe_node(params = {}, = {}) req = build_request(:describe_node, params) req.send_request() end |
#describe_node_from_template_job(params = {}) ⇒ Types::DescribeNodeFromTemplateJobResponse
Returns information about a job to create a camera stream node.
1168 1169 1170 1171 |
# File 'lib/aws-sdk-panorama/client.rb', line 1168 def describe_node_from_template_job(params = {}, = {}) req = build_request(:describe_node_from_template_job, params) req.send_request() end |
#describe_package(params = {}) ⇒ Types::DescribePackageResponse
Returns information about a package.
1217 1218 1219 1220 |
# File 'lib/aws-sdk-panorama/client.rb', line 1217 def describe_package(params = {}, = {}) req = build_request(:describe_package, params) req.send_request() end |
#describe_package_import_job(params = {}) ⇒ Types::DescribePackageImportJobResponse
Returns information about a package import job.
1276 1277 1278 1279 |
# File 'lib/aws-sdk-panorama/client.rb', line 1276 def describe_package_import_job(params = {}, = {}) req = build_request(:describe_package_import_job, params) req.send_request() end |
#describe_package_version(params = {}) ⇒ Types::DescribePackageVersionResponse
Returns information about a package version.
1334 1335 1336 1337 |
# File 'lib/aws-sdk-panorama/client.rb', line 1334 def describe_package_version(params = {}, = {}) req = build_request(:describe_package_version, params) req.send_request() end |
#list_application_instance_dependencies(params = {}) ⇒ Types::ListApplicationInstanceDependenciesResponse
Returns a list of application instance dependencies.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1379 1380 1381 1382 |
# File 'lib/aws-sdk-panorama/client.rb', line 1379 def list_application_instance_dependencies(params = {}, = {}) req = build_request(:list_application_instance_dependencies, params) req.send_request() end |
#list_application_instance_node_instances(params = {}) ⇒ Types::ListApplicationInstanceNodeInstancesResponse
Returns a list of application node instances.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1427 1428 1429 1430 |
# File 'lib/aws-sdk-panorama/client.rb', line 1427 def list_application_instance_node_instances(params = {}, = {}) req = build_request(:list_application_instance_node_instances, params) req.send_request() end |
#list_application_instances(params = {}) ⇒ Types::ListApplicationInstancesResponse
Returns a list of application instances.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1490 1491 1492 1493 |
# File 'lib/aws-sdk-panorama/client.rb', line 1490 def list_application_instances(params = {}, = {}) req = build_request(:list_application_instances, params) req.send_request() end |
#list_devices(params = {}) ⇒ Types::ListDevicesResponse
Returns a list of devices.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1561 1562 1563 1564 |
# File 'lib/aws-sdk-panorama/client.rb', line 1561 def list_devices(params = {}, = {}) req = build_request(:list_devices, params) req.send_request() end |
#list_devices_jobs(params = {}) ⇒ Types::ListDevicesJobsResponse
Returns a list of jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1607 1608 1609 1610 |
# File 'lib/aws-sdk-panorama/client.rb', line 1607 def list_devices_jobs(params = {}, = {}) req = build_request(:list_devices_jobs, params) req.send_request() end |
#list_node_from_template_jobs(params = {}) ⇒ Types::ListNodeFromTemplateJobsResponse
Returns a list of camera stream node jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1651 1652 1653 1654 |
# File 'lib/aws-sdk-panorama/client.rb', line 1651 def list_node_from_template_jobs(params = {}, = {}) req = build_request(:list_node_from_template_jobs, params) req.send_request() end |
#list_nodes(params = {}) ⇒ Types::ListNodesResponse
Returns a list of nodes.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1719 1720 1721 1722 |
# File 'lib/aws-sdk-panorama/client.rb', line 1719 def list_nodes(params = {}, = {}) req = build_request(:list_nodes, params) req.send_request() end |
#list_package_import_jobs(params = {}) ⇒ Types::ListPackageImportJobsResponse
Returns a list of package import jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1763 1764 1765 1766 |
# File 'lib/aws-sdk-panorama/client.rb', line 1763 def list_package_import_jobs(params = {}, = {}) req = build_request(:list_package_import_jobs, params) req.send_request() end |
#list_packages(params = {}) ⇒ Types::ListPackagesResponse
Returns a list of packages.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1806 1807 1808 1809 |
# File 'lib/aws-sdk-panorama/client.rb', line 1806 def list_packages(params = {}, = {}) req = build_request(:list_packages, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of tags for a resource.
1835 1836 1837 1838 |
# File 'lib/aws-sdk-panorama/client.rb', line 1835 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#provision_device(params = {}) ⇒ Types::ProvisionDeviceResponse
Creates a device and returns a configuration archive. The configuration archive is a ZIP file that contains a provisioning certificate that is valid for 5 minutes. Name the configuration archive ‘certificates-omni_device-name.zip` and transfer it to the device within 5 minutes. Use the included USB storage device and connect it to the USB 3.0 port next to the HDMI output.
1912 1913 1914 1915 |
# File 'lib/aws-sdk-panorama/client.rb', line 1912 def provision_device(params = {}, = {}) req = build_request(:provision_device, params) req.send_request() end |
#register_package_version(params = {}) ⇒ Struct
Registers a package version.
1950 1951 1952 1953 |
# File 'lib/aws-sdk-panorama/client.rb', line 1950 def register_package_version(params = {}, = {}) req = build_request(:register_package_version, params) req.send_request() end |
#remove_application_instance(params = {}) ⇒ Struct
Removes an application instance.
1972 1973 1974 1975 |
# File 'lib/aws-sdk-panorama/client.rb', line 1972 def remove_application_instance(params = {}, = {}) req = build_request(:remove_application_instance, params) req.send_request() end |
#signal_application_instance_node_instances(params = {}) ⇒ Types::SignalApplicationInstanceNodeInstancesResponse
Signal camera nodes to stop or resume.
2009 2010 2011 2012 |
# File 'lib/aws-sdk-panorama/client.rb', line 2009 def signal_application_instance_node_instances(params = {}, = {}) req = build_request(:signal_application_instance_node_instances, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
2037 2038 2039 2040 |
# File 'lib/aws-sdk-panorama/client.rb', line 2037 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
2063 2064 2065 2066 |
# File 'lib/aws-sdk-panorama/client.rb', line 2063 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_device_metadata(params = {}) ⇒ Types::UpdateDeviceMetadataResponse
Updates a device’s metadata.
2095 2096 2097 2098 |
# File 'lib/aws-sdk-panorama/client.rb', line 2095 def (params = {}, = {}) req = build_request(:update_device_metadata, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2124 2125 2126 |
# File 'lib/aws-sdk-panorama/client.rb', line 2124 def waiter_names [] end |