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.
444 445 446 |
# File 'lib/aws-sdk-panorama/client.rb', line 444 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.
2141 2142 2143 |
# File 'lib/aws-sdk-panorama/client.rb', line 2141 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.
2144 2145 2146 |
# File 'lib/aws-sdk-panorama/client.rb', line 2144 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.
2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 |
# File 'lib/aws-sdk-panorama/client.rb', line 2114 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.35.0' Seahorse::Client::Request.new(handlers, context) end |
#create_application_instance(params = {}) ⇒ Types::CreateApplicationInstanceResponse
Creates an application instance and deploys it to a device.
507 508 509 510 |
# File 'lib/aws-sdk-panorama/client.rb', line 507 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.
551 552 553 554 |
# File 'lib/aws-sdk-panorama/client.rb', line 551 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.
612 613 614 615 |
# File 'lib/aws-sdk-panorama/client.rb', line 612 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.
654 655 656 657 |
# File 'lib/aws-sdk-panorama/client.rb', line 654 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.
719 720 721 722 |
# File 'lib/aws-sdk-panorama/client.rb', line 719 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.
747 748 749 750 |
# File 'lib/aws-sdk-panorama/client.rb', line 747 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>
779 780 781 782 |
# File 'lib/aws-sdk-panorama/client.rb', line 779 def delete_package(params = {}, = {}) req = build_request(:delete_package, params) req.send_request() end |
#deregister_package_version(params = {}) ⇒ Struct
Deregisters a package version.
817 818 819 820 |
# File 'lib/aws-sdk-panorama/client.rb', line 817 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.
878 879 880 881 |
# File 'lib/aws-sdk-panorama/client.rb', line 878 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.
921 922 923 924 |
# File 'lib/aws-sdk-panorama/client.rb', line 921 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.
1013 1014 1015 1016 |
# File 'lib/aws-sdk-panorama/client.rb', line 1013 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.
1057 1058 1059 1060 |
# File 'lib/aws-sdk-panorama/client.rb', line 1057 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.
1124 1125 1126 1127 |
# File 'lib/aws-sdk-panorama/client.rb', line 1124 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.
1178 1179 1180 1181 |
# File 'lib/aws-sdk-panorama/client.rb', line 1178 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.
1227 1228 1229 1230 |
# File 'lib/aws-sdk-panorama/client.rb', line 1227 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.
1286 1287 1288 1289 |
# File 'lib/aws-sdk-panorama/client.rb', line 1286 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.
1344 1345 1346 1347 |
# File 'lib/aws-sdk-panorama/client.rb', line 1344 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.
1389 1390 1391 1392 |
# File 'lib/aws-sdk-panorama/client.rb', line 1389 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.
1437 1438 1439 1440 |
# File 'lib/aws-sdk-panorama/client.rb', line 1437 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.
1500 1501 1502 1503 |
# File 'lib/aws-sdk-panorama/client.rb', line 1500 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.
1571 1572 1573 1574 |
# File 'lib/aws-sdk-panorama/client.rb', line 1571 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.
1617 1618 1619 1620 |
# File 'lib/aws-sdk-panorama/client.rb', line 1617 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.
1661 1662 1663 1664 |
# File 'lib/aws-sdk-panorama/client.rb', line 1661 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.
1729 1730 1731 1732 |
# File 'lib/aws-sdk-panorama/client.rb', line 1729 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.
1773 1774 1775 1776 |
# File 'lib/aws-sdk-panorama/client.rb', line 1773 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.
1816 1817 1818 1819 |
# File 'lib/aws-sdk-panorama/client.rb', line 1816 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.
1845 1846 1847 1848 |
# File 'lib/aws-sdk-panorama/client.rb', line 1845 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.
1922 1923 1924 1925 |
# File 'lib/aws-sdk-panorama/client.rb', line 1922 def provision_device(params = {}, = {}) req = build_request(:provision_device, params) req.send_request() end |
#register_package_version(params = {}) ⇒ Struct
Registers a package version.
1960 1961 1962 1963 |
# File 'lib/aws-sdk-panorama/client.rb', line 1960 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.
1982 1983 1984 1985 |
# File 'lib/aws-sdk-panorama/client.rb', line 1982 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.
2019 2020 2021 2022 |
# File 'lib/aws-sdk-panorama/client.rb', line 2019 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.
2047 2048 2049 2050 |
# File 'lib/aws-sdk-panorama/client.rb', line 2047 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
2073 2074 2075 2076 |
# File 'lib/aws-sdk-panorama/client.rb', line 2073 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.
2105 2106 2107 2108 |
# File 'lib/aws-sdk-panorama/client.rb', line 2105 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.
2134 2135 2136 |
# File 'lib/aws-sdk-panorama/client.rb', line 2134 def waiter_names [] end |