aws-sdk-panorama 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-panorama/client.rb +64 -10
- data/lib/aws-sdk-panorama/client_api.rb +49 -1
- data/lib/aws-sdk-panorama/types.rb +128 -5
- data/lib/aws-sdk-panorama.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9de6ce406d1b0a42ad2257753e5f4ff56cbec6deb73bc766868e2612b40c295e
|
4
|
+
data.tar.gz: aa1ce224aeee1fdca40480373c4c08af465aacd52f1a0759d11c712874e86ccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 783face1d9958aa9ab41d61f139abe85030479967a4e40b0baed9f2f5a1b7cd6c75371143c5c7e2042ac3061e56dee14660a2619c23cf455c440c5f7a3cc8311
|
7
|
+
data.tar.gz: 0406cd0ed9eb5714b1ec02eca1cb98017d6e67ae378dc7c3af195382c76dbe2b8b57a481a097df54f271893a299871d351e212e3a643fe30b06a6205c8ba4e9e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.9.0 (2022-10-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Pause and resume camera stream processing with SignalApplicationInstanceNodeInstances. Reboot an appliance with CreateJobForDevices. More application state information in DescribeApplicationInstance response.
|
8
|
+
|
4
9
|
1.8.0 (2022-08-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
@@ -413,13 +413,14 @@ module Aws::Panorama
|
|
413
413
|
req.send_request(options)
|
414
414
|
end
|
415
415
|
|
416
|
-
# Creates a job to run on one or more devices.
|
416
|
+
# Creates a job to run on one or more devices. A job can update a
|
417
|
+
# device's software or reboot it.
|
417
418
|
#
|
418
419
|
# @option params [required, Array<String>] :device_ids
|
419
420
|
# IDs of target devices.
|
420
421
|
#
|
421
|
-
# @option params [
|
422
|
-
# Configuration settings for
|
422
|
+
# @option params [Types::DeviceJobConfig] :device_job_config
|
423
|
+
# Configuration settings for a software update job.
|
423
424
|
#
|
424
425
|
# @option params [required, String] :job_type
|
425
426
|
# The type of job to run.
|
@@ -432,12 +433,12 @@ module Aws::Panorama
|
|
432
433
|
#
|
433
434
|
# resp = client.create_job_for_devices({
|
434
435
|
# device_ids: ["DeviceId"], # required
|
435
|
-
# device_job_config: {
|
436
|
+
# device_job_config: {
|
436
437
|
# ota_job_config: {
|
437
438
|
# image_version: "ImageVersion", # required
|
438
439
|
# },
|
439
440
|
# },
|
440
|
-
# job_type: "OTA", # required, accepts OTA
|
441
|
+
# job_type: "OTA", # required, accepts OTA, REBOOT
|
441
442
|
# })
|
442
443
|
#
|
443
444
|
# @example Response structure
|
@@ -738,6 +739,7 @@ module Aws::Panorama
|
|
738
739
|
# * {Types::DescribeApplicationInstanceResponse#health_status #health_status} => String
|
739
740
|
# * {Types::DescribeApplicationInstanceResponse#last_updated_time #last_updated_time} => Time
|
740
741
|
# * {Types::DescribeApplicationInstanceResponse#name #name} => String
|
742
|
+
# * {Types::DescribeApplicationInstanceResponse#runtime_context_states #runtime_context_states} => Array<Types::ReportedRuntimeContextState>
|
741
743
|
# * {Types::DescribeApplicationInstanceResponse#runtime_role_arn #runtime_role_arn} => String
|
742
744
|
# * {Types::DescribeApplicationInstanceResponse#status #status} => String
|
743
745
|
# * {Types::DescribeApplicationInstanceResponse#status_description #status_description} => String
|
@@ -761,6 +763,11 @@ module Aws::Panorama
|
|
761
763
|
# resp.health_status #=> String, one of "RUNNING", "ERROR", "NOT_AVAILABLE"
|
762
764
|
# resp.last_updated_time #=> Time
|
763
765
|
# resp.name #=> String
|
766
|
+
# resp.runtime_context_states #=> Array
|
767
|
+
# resp.runtime_context_states[0].desired_state #=> String, one of "RUNNING", "STOPPED", "REMOVED"
|
768
|
+
# resp.runtime_context_states[0].device_reported_status #=> String, one of "STOPPING", "STOPPED", "STOP_ERROR", "REMOVAL_FAILED", "REMOVAL_IN_PROGRESS", "STARTING", "RUNNING", "INSTALL_ERROR", "LAUNCHED", "LAUNCH_ERROR", "INSTALL_IN_PROGRESS"
|
769
|
+
# resp.runtime_context_states[0].device_reported_time #=> Time
|
770
|
+
# resp.runtime_context_states[0].runtime_context_name #=> String
|
764
771
|
# resp.runtime_role_arn #=> String
|
765
772
|
# resp.status #=> String, one of "DEPLOYMENT_PENDING", "DEPLOYMENT_REQUESTED", "DEPLOYMENT_IN_PROGRESS", "DEPLOYMENT_ERROR", "DEPLOYMENT_SUCCEEDED", "REMOVAL_PENDING", "REMOVAL_REQUESTED", "REMOVAL_IN_PROGRESS", "REMOVAL_FAILED", "REMOVAL_SUCCEEDED", "DEPLOYMENT_FAILED"
|
766
773
|
# resp.status_description #=> String
|
@@ -872,11 +879,12 @@ module Aws::Panorama
|
|
872
879
|
# resp.current_networking_status.ntp_status.ntp_server_name #=> String
|
873
880
|
# resp.current_software #=> String
|
874
881
|
# resp.description #=> String
|
875
|
-
# resp.device_aggregated_status #=> String, one of "ERROR", "AWAITING_PROVISIONING", "PENDING", "FAILED", "DELETING", "ONLINE", "OFFLINE", "LEASE_EXPIRED", "UPDATE_NEEDED"
|
882
|
+
# resp.device_aggregated_status #=> String, one of "ERROR", "AWAITING_PROVISIONING", "PENDING", "FAILED", "DELETING", "ONLINE", "OFFLINE", "LEASE_EXPIRED", "UPDATE_NEEDED", "REBOOTING"
|
876
883
|
# resp.device_connection_status #=> String, one of "ONLINE", "OFFLINE", "AWAITING_CREDENTIALS", "NOT_AVAILABLE", "ERROR"
|
877
884
|
# resp.device_id #=> String
|
878
885
|
# resp.latest_alternate_software #=> String
|
879
886
|
# resp.latest_device_job.image_version #=> String
|
887
|
+
# resp.latest_device_job.job_type #=> String, one of "OTA", "REBOOT"
|
880
888
|
# resp.latest_device_job.status #=> String, one of "PENDING", "IN_PROGRESS", "VERIFYING", "REBOOTING", "DOWNLOADING", "COMPLETED", "FAILED"
|
881
889
|
# resp.latest_software #=> String
|
882
890
|
# resp.lease_expiration_time #=> Time
|
@@ -924,6 +932,7 @@ module Aws::Panorama
|
|
924
932
|
# * {Types::DescribeDeviceJobResponse#device_type #device_type} => String
|
925
933
|
# * {Types::DescribeDeviceJobResponse#image_version #image_version} => String
|
926
934
|
# * {Types::DescribeDeviceJobResponse#job_id #job_id} => String
|
935
|
+
# * {Types::DescribeDeviceJobResponse#job_type #job_type} => String
|
927
936
|
# * {Types::DescribeDeviceJobResponse#status #status} => String
|
928
937
|
#
|
929
938
|
# @example Request syntax with placeholder values
|
@@ -941,6 +950,7 @@ module Aws::Panorama
|
|
941
950
|
# resp.device_type #=> String, one of "PANORAMA_APPLIANCE_DEVELOPER_KIT", "PANORAMA_APPLIANCE"
|
942
951
|
# resp.image_version #=> String
|
943
952
|
# resp.job_id #=> String
|
953
|
+
# resp.job_type #=> String, one of "OTA", "REBOOT"
|
944
954
|
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "VERIFYING", "REBOOTING", "DOWNLOADING", "COMPLETED", "FAILED"
|
945
955
|
#
|
946
956
|
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeDeviceJob AWS API Documentation
|
@@ -1315,7 +1325,7 @@ module Aws::Panorama
|
|
1315
1325
|
#
|
1316
1326
|
# resp.next_token #=> String
|
1317
1327
|
# resp.node_instances #=> Array
|
1318
|
-
# resp.node_instances[0].current_status #=> String, one of "RUNNING", "ERROR", "NOT_AVAILABLE"
|
1328
|
+
# resp.node_instances[0].current_status #=> String, one of "RUNNING", "ERROR", "NOT_AVAILABLE", "PAUSED"
|
1319
1329
|
# resp.node_instances[0].node_id #=> String
|
1320
1330
|
# resp.node_instances[0].node_instance_id #=> String
|
1321
1331
|
# resp.node_instances[0].node_name #=> String
|
@@ -1375,6 +1385,11 @@ module Aws::Panorama
|
|
1375
1385
|
# resp.application_instances[0].description #=> String
|
1376
1386
|
# resp.application_instances[0].health_status #=> String, one of "RUNNING", "ERROR", "NOT_AVAILABLE"
|
1377
1387
|
# resp.application_instances[0].name #=> String
|
1388
|
+
# resp.application_instances[0].runtime_context_states #=> Array
|
1389
|
+
# resp.application_instances[0].runtime_context_states[0].desired_state #=> String, one of "RUNNING", "STOPPED", "REMOVED"
|
1390
|
+
# resp.application_instances[0].runtime_context_states[0].device_reported_status #=> String, one of "STOPPING", "STOPPED", "STOP_ERROR", "REMOVAL_FAILED", "REMOVAL_IN_PROGRESS", "STARTING", "RUNNING", "INSTALL_ERROR", "LAUNCHED", "LAUNCH_ERROR", "INSTALL_IN_PROGRESS"
|
1391
|
+
# resp.application_instances[0].runtime_context_states[0].device_reported_time #=> Time
|
1392
|
+
# resp.application_instances[0].runtime_context_states[0].runtime_context_name #=> String
|
1378
1393
|
# resp.application_instances[0].status #=> String, one of "DEPLOYMENT_PENDING", "DEPLOYMENT_REQUESTED", "DEPLOYMENT_IN_PROGRESS", "DEPLOYMENT_ERROR", "DEPLOYMENT_SUCCEEDED", "REMOVAL_PENDING", "REMOVAL_REQUESTED", "REMOVAL_IN_PROGRESS", "REMOVAL_FAILED", "REMOVAL_SUCCEEDED", "DEPLOYMENT_FAILED"
|
1379
1394
|
# resp.application_instances[0].status_description #=> String
|
1380
1395
|
# resp.application_instances[0].tags #=> Hash
|
@@ -1423,7 +1438,7 @@ module Aws::Panorama
|
|
1423
1438
|
# @example Request syntax with placeholder values
|
1424
1439
|
#
|
1425
1440
|
# resp = client.list_devices({
|
1426
|
-
# device_aggregated_status_filter: "ERROR", # accepts ERROR, AWAITING_PROVISIONING, PENDING, FAILED, DELETING, ONLINE, OFFLINE, LEASE_EXPIRED, UPDATE_NEEDED
|
1441
|
+
# device_aggregated_status_filter: "ERROR", # accepts ERROR, AWAITING_PROVISIONING, PENDING, FAILED, DELETING, ONLINE, OFFLINE, LEASE_EXPIRED, UPDATE_NEEDED, REBOOTING
|
1427
1442
|
# max_results: 1,
|
1428
1443
|
# name_filter: "NameFilter",
|
1429
1444
|
# next_token: "NextToken",
|
@@ -1438,10 +1453,11 @@ module Aws::Panorama
|
|
1438
1453
|
# resp.devices[0].created_time #=> Time
|
1439
1454
|
# resp.devices[0].current_software #=> String
|
1440
1455
|
# resp.devices[0].description #=> String
|
1441
|
-
# resp.devices[0].device_aggregated_status #=> String, one of "ERROR", "AWAITING_PROVISIONING", "PENDING", "FAILED", "DELETING", "ONLINE", "OFFLINE", "LEASE_EXPIRED", "UPDATE_NEEDED"
|
1456
|
+
# resp.devices[0].device_aggregated_status #=> String, one of "ERROR", "AWAITING_PROVISIONING", "PENDING", "FAILED", "DELETING", "ONLINE", "OFFLINE", "LEASE_EXPIRED", "UPDATE_NEEDED", "REBOOTING"
|
1442
1457
|
# resp.devices[0].device_id #=> String
|
1443
1458
|
# resp.devices[0].last_updated_time #=> Time
|
1444
1459
|
# resp.devices[0].latest_device_job.image_version #=> String
|
1460
|
+
# resp.devices[0].latest_device_job.job_type #=> String, one of "OTA", "REBOOT"
|
1445
1461
|
# resp.devices[0].latest_device_job.status #=> String, one of "PENDING", "IN_PROGRESS", "VERIFYING", "REBOOTING", "DOWNLOADING", "COMPLETED", "FAILED"
|
1446
1462
|
# resp.devices[0].lease_expiration_time #=> Time
|
1447
1463
|
# resp.devices[0].name #=> String
|
@@ -1494,6 +1510,7 @@ module Aws::Panorama
|
|
1494
1510
|
# resp.device_jobs[0].device_id #=> String
|
1495
1511
|
# resp.device_jobs[0].device_name #=> String
|
1496
1512
|
# resp.device_jobs[0].job_id #=> String
|
1513
|
+
# resp.device_jobs[0].job_type #=> String, one of "OTA", "REBOOT"
|
1497
1514
|
# resp.next_token #=> String
|
1498
1515
|
#
|
1499
1516
|
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListDevicesJobs AWS API Documentation
|
@@ -1870,6 +1887,43 @@ module Aws::Panorama
|
|
1870
1887
|
req.send_request(options)
|
1871
1888
|
end
|
1872
1889
|
|
1890
|
+
# Signal camera nodes to stop or resume.
|
1891
|
+
#
|
1892
|
+
# @option params [required, String] :application_instance_id
|
1893
|
+
# An application instance ID.
|
1894
|
+
#
|
1895
|
+
# @option params [required, Array<Types::NodeSignal>] :node_signals
|
1896
|
+
# A list of signals.
|
1897
|
+
#
|
1898
|
+
# @return [Types::SignalApplicationInstanceNodeInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1899
|
+
#
|
1900
|
+
# * {Types::SignalApplicationInstanceNodeInstancesResponse#application_instance_id #application_instance_id} => String
|
1901
|
+
#
|
1902
|
+
# @example Request syntax with placeholder values
|
1903
|
+
#
|
1904
|
+
# resp = client.signal_application_instance_node_instances({
|
1905
|
+
# application_instance_id: "ApplicationInstanceId", # required
|
1906
|
+
# node_signals: [ # required
|
1907
|
+
# {
|
1908
|
+
# node_instance_id: "NodeInstanceId", # required
|
1909
|
+
# signal: "PAUSE", # required, accepts PAUSE, RESUME
|
1910
|
+
# },
|
1911
|
+
# ],
|
1912
|
+
# })
|
1913
|
+
#
|
1914
|
+
# @example Response structure
|
1915
|
+
#
|
1916
|
+
# resp.application_instance_id #=> String
|
1917
|
+
#
|
1918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/SignalApplicationInstanceNodeInstances AWS API Documentation
|
1919
|
+
#
|
1920
|
+
# @overload signal_application_instance_node_instances(params = {})
|
1921
|
+
# @param [Hash] params ({})
|
1922
|
+
def signal_application_instance_node_instances(params = {}, options = {})
|
1923
|
+
req = build_request(:signal_application_instance_node_instances, params)
|
1924
|
+
req.send_request(options)
|
1925
|
+
end
|
1926
|
+
|
1873
1927
|
# Tags a resource.
|
1874
1928
|
#
|
1875
1929
|
# @option params [required, String] :resource_arn
|
@@ -1969,7 +2023,7 @@ module Aws::Panorama
|
|
1969
2023
|
params: params,
|
1970
2024
|
config: config)
|
1971
2025
|
context[:gem_name] = 'aws-sdk-panorama'
|
1972
|
-
context[:gem_version] = '1.
|
2026
|
+
context[:gem_version] = '1.9.0'
|
1973
2027
|
Seahorse::Client::Request.new(handlers, context)
|
1974
2028
|
end
|
1975
2029
|
|
@@ -72,6 +72,7 @@ module Aws::Panorama
|
|
72
72
|
DescribePackageVersionRequest = Shapes::StructureShape.new(name: 'DescribePackageVersionRequest')
|
73
73
|
DescribePackageVersionResponse = Shapes::StructureShape.new(name: 'DescribePackageVersionResponse')
|
74
74
|
Description = Shapes::StringShape.new(name: 'Description')
|
75
|
+
DesiredState = Shapes::StringShape.new(name: 'DesiredState')
|
75
76
|
Device = Shapes::StructureShape.new(name: 'Device')
|
76
77
|
DeviceAggregatedStatus = Shapes::StringShape.new(name: 'DeviceAggregatedStatus')
|
77
78
|
DeviceArn = Shapes::StringShape.new(name: 'DeviceArn')
|
@@ -84,6 +85,7 @@ module Aws::Panorama
|
|
84
85
|
DeviceJobList = Shapes::ListShape.new(name: 'DeviceJobList')
|
85
86
|
DeviceList = Shapes::ListShape.new(name: 'DeviceList')
|
86
87
|
DeviceName = Shapes::StringShape.new(name: 'DeviceName')
|
88
|
+
DeviceReportedStatus = Shapes::StringShape.new(name: 'DeviceReportedStatus')
|
87
89
|
DeviceSerialNumber = Shapes::StringShape.new(name: 'DeviceSerialNumber')
|
88
90
|
DeviceStatus = Shapes::StringShape.new(name: 'DeviceStatus')
|
89
91
|
DeviceType = Shapes::StringShape.new(name: 'DeviceType')
|
@@ -165,6 +167,9 @@ module Aws::Panorama
|
|
165
167
|
NodePackageName = Shapes::StringShape.new(name: 'NodePackageName')
|
166
168
|
NodePackagePatchVersion = Shapes::StringShape.new(name: 'NodePackagePatchVersion')
|
167
169
|
NodePackageVersion = Shapes::StringShape.new(name: 'NodePackageVersion')
|
170
|
+
NodeSignal = Shapes::StructureShape.new(name: 'NodeSignal')
|
171
|
+
NodeSignalList = Shapes::ListShape.new(name: 'NodeSignalList')
|
172
|
+
NodeSignalValue = Shapes::StringShape.new(name: 'NodeSignalValue')
|
168
173
|
NodesList = Shapes::ListShape.new(name: 'NodesList')
|
169
174
|
NtpPayload = Shapes::StructureShape.new(name: 'NtpPayload')
|
170
175
|
NtpServerList = Shapes::ListShape.new(name: 'NtpServerList')
|
@@ -204,12 +209,17 @@ module Aws::Panorama
|
|
204
209
|
RegisterPackageVersionResponse = Shapes::StructureShape.new(name: 'RegisterPackageVersionResponse')
|
205
210
|
RemoveApplicationInstanceRequest = Shapes::StructureShape.new(name: 'RemoveApplicationInstanceRequest')
|
206
211
|
RemoveApplicationInstanceResponse = Shapes::StructureShape.new(name: 'RemoveApplicationInstanceResponse')
|
212
|
+
ReportedRuntimeContextState = Shapes::StructureShape.new(name: 'ReportedRuntimeContextState')
|
213
|
+
ReportedRuntimeContextStates = Shapes::ListShape.new(name: 'ReportedRuntimeContextStates')
|
207
214
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
208
215
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
209
216
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
217
|
+
RuntimeContextName = Shapes::StringShape.new(name: 'RuntimeContextName')
|
210
218
|
RuntimeRoleArn = Shapes::StringShape.new(name: 'RuntimeRoleArn')
|
211
219
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
212
220
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
221
|
+
SignalApplicationInstanceNodeInstancesRequest = Shapes::StructureShape.new(name: 'SignalApplicationInstanceNodeInstancesRequest')
|
222
|
+
SignalApplicationInstanceNodeInstancesResponse = Shapes::StructureShape.new(name: 'SignalApplicationInstanceNodeInstancesResponse')
|
213
223
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
214
224
|
StaticIpConnectionInfo = Shapes::StructureShape.new(name: 'StaticIpConnectionInfo')
|
215
225
|
StatusFilter = Shapes::StringShape.new(name: 'StatusFilter')
|
@@ -257,6 +267,7 @@ module Aws::Panorama
|
|
257
267
|
ApplicationInstance.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
258
268
|
ApplicationInstance.add_member(:health_status, Shapes::ShapeRef.new(shape: ApplicationInstanceHealthStatus, location_name: "HealthStatus"))
|
259
269
|
ApplicationInstance.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationInstanceName, location_name: "Name"))
|
270
|
+
ApplicationInstance.add_member(:runtime_context_states, Shapes::ShapeRef.new(shape: ReportedRuntimeContextStates, location_name: "RuntimeContextStates"))
|
260
271
|
ApplicationInstance.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationInstanceStatus, location_name: "Status"))
|
261
272
|
ApplicationInstance.add_member(:status_description, Shapes::ShapeRef.new(shape: ApplicationInstanceStatusDescription, location_name: "StatusDescription"))
|
262
273
|
ApplicationInstance.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
@@ -291,7 +302,7 @@ module Aws::Panorama
|
|
291
302
|
CreateApplicationInstanceResponse.struct_class = Types::CreateApplicationInstanceResponse
|
292
303
|
|
293
304
|
CreateJobForDevicesRequest.add_member(:device_ids, Shapes::ShapeRef.new(shape: DeviceIdList, required: true, location_name: "DeviceIds"))
|
294
|
-
CreateJobForDevicesRequest.add_member(:device_job_config, Shapes::ShapeRef.new(shape: DeviceJobConfig,
|
305
|
+
CreateJobForDevicesRequest.add_member(:device_job_config, Shapes::ShapeRef.new(shape: DeviceJobConfig, location_name: "DeviceJobConfig"))
|
295
306
|
CreateJobForDevicesRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "JobType"))
|
296
307
|
CreateJobForDevicesRequest.struct_class = Types::CreateJobForDevicesRequest
|
297
308
|
|
@@ -376,6 +387,7 @@ module Aws::Panorama
|
|
376
387
|
DescribeApplicationInstanceResponse.add_member(:health_status, Shapes::ShapeRef.new(shape: ApplicationInstanceHealthStatus, location_name: "HealthStatus"))
|
377
388
|
DescribeApplicationInstanceResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTime"))
|
378
389
|
DescribeApplicationInstanceResponse.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationInstanceName, location_name: "Name"))
|
390
|
+
DescribeApplicationInstanceResponse.add_member(:runtime_context_states, Shapes::ShapeRef.new(shape: ReportedRuntimeContextStates, location_name: "RuntimeContextStates"))
|
379
391
|
DescribeApplicationInstanceResponse.add_member(:runtime_role_arn, Shapes::ShapeRef.new(shape: RuntimeRoleArn, location_name: "RuntimeRoleArn"))
|
380
392
|
DescribeApplicationInstanceResponse.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationInstanceStatus, location_name: "Status"))
|
381
393
|
DescribeApplicationInstanceResponse.add_member(:status_description, Shapes::ShapeRef.new(shape: ApplicationInstanceStatusDescription, location_name: "StatusDescription"))
|
@@ -392,6 +404,7 @@ module Aws::Panorama
|
|
392
404
|
DescribeDeviceJobResponse.add_member(:device_type, Shapes::ShapeRef.new(shape: DeviceType, location_name: "DeviceType"))
|
393
405
|
DescribeDeviceJobResponse.add_member(:image_version, Shapes::ShapeRef.new(shape: ImageVersion, location_name: "ImageVersion"))
|
394
406
|
DescribeDeviceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
407
|
+
DescribeDeviceJobResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
|
395
408
|
DescribeDeviceJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: UpdateProgress, location_name: "Status"))
|
396
409
|
DescribeDeviceJobResponse.struct_class = Types::DescribeDeviceJobResponse
|
397
410
|
|
@@ -525,6 +538,7 @@ module Aws::Panorama
|
|
525
538
|
DeviceJob.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
|
526
539
|
DeviceJob.add_member(:device_name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "DeviceName"))
|
527
540
|
DeviceJob.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
541
|
+
DeviceJob.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
|
528
542
|
DeviceJob.struct_class = Types::DeviceJob
|
529
543
|
|
530
544
|
DeviceJobConfig.add_member(:ota_job_config, Shapes::ShapeRef.new(shape: OTAJobConfig, location_name: "OTAJobConfig"))
|
@@ -564,6 +578,7 @@ module Aws::Panorama
|
|
564
578
|
JobTagsList.member = Shapes::ShapeRef.new(shape: JobResourceTags)
|
565
579
|
|
566
580
|
LatestDeviceJob.add_member(:image_version, Shapes::ShapeRef.new(shape: ImageVersion, location_name: "ImageVersion"))
|
581
|
+
LatestDeviceJob.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
|
567
582
|
LatestDeviceJob.add_member(:status, Shapes::ShapeRef.new(shape: UpdateProgress, location_name: "Status"))
|
568
583
|
LatestDeviceJob.struct_class = Types::LatestDeviceJob
|
569
584
|
|
@@ -732,6 +747,12 @@ module Aws::Panorama
|
|
732
747
|
NodeOutputPort.add_member(:type, Shapes::ShapeRef.new(shape: PortType, location_name: "Type"))
|
733
748
|
NodeOutputPort.struct_class = Types::NodeOutputPort
|
734
749
|
|
750
|
+
NodeSignal.add_member(:node_instance_id, Shapes::ShapeRef.new(shape: NodeInstanceId, required: true, location_name: "NodeInstanceId"))
|
751
|
+
NodeSignal.add_member(:signal, Shapes::ShapeRef.new(shape: NodeSignalValue, required: true, location_name: "Signal"))
|
752
|
+
NodeSignal.struct_class = Types::NodeSignal
|
753
|
+
|
754
|
+
NodeSignalList.member = Shapes::ShapeRef.new(shape: NodeSignal)
|
755
|
+
|
735
756
|
NodesList.member = Shapes::ShapeRef.new(shape: Node)
|
736
757
|
|
737
758
|
NtpPayload.add_member(:ntp_servers, Shapes::ShapeRef.new(shape: NtpServerList, required: true, location_name: "NtpServers"))
|
@@ -828,6 +849,14 @@ module Aws::Panorama
|
|
828
849
|
|
829
850
|
RemoveApplicationInstanceResponse.struct_class = Types::RemoveApplicationInstanceResponse
|
830
851
|
|
852
|
+
ReportedRuntimeContextState.add_member(:desired_state, Shapes::ShapeRef.new(shape: DesiredState, required: true, location_name: "DesiredState"))
|
853
|
+
ReportedRuntimeContextState.add_member(:device_reported_status, Shapes::ShapeRef.new(shape: DeviceReportedStatus, required: true, location_name: "DeviceReportedStatus"))
|
854
|
+
ReportedRuntimeContextState.add_member(:device_reported_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "DeviceReportedTime"))
|
855
|
+
ReportedRuntimeContextState.add_member(:runtime_context_name, Shapes::ShapeRef.new(shape: RuntimeContextName, required: true, location_name: "RuntimeContextName"))
|
856
|
+
ReportedRuntimeContextState.struct_class = Types::ReportedRuntimeContextState
|
857
|
+
|
858
|
+
ReportedRuntimeContextStates.member = Shapes::ShapeRef.new(shape: ReportedRuntimeContextState)
|
859
|
+
|
831
860
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
832
861
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
|
833
862
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
|
@@ -845,6 +874,13 @@ module Aws::Panorama
|
|
845
874
|
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceCode"))
|
846
875
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
847
876
|
|
877
|
+
SignalApplicationInstanceNodeInstancesRequest.add_member(:application_instance_id, Shapes::ShapeRef.new(shape: ApplicationInstanceId, required: true, location: "uri", location_name: "ApplicationInstanceId"))
|
878
|
+
SignalApplicationInstanceNodeInstancesRequest.add_member(:node_signals, Shapes::ShapeRef.new(shape: NodeSignalList, required: true, location_name: "NodeSignals"))
|
879
|
+
SignalApplicationInstanceNodeInstancesRequest.struct_class = Types::SignalApplicationInstanceNodeInstancesRequest
|
880
|
+
|
881
|
+
SignalApplicationInstanceNodeInstancesResponse.add_member(:application_instance_id, Shapes::ShapeRef.new(shape: ApplicationInstanceId, required: true, location_name: "ApplicationInstanceId"))
|
882
|
+
SignalApplicationInstanceNodeInstancesResponse.struct_class = Types::SignalApplicationInstanceNodeInstancesResponse
|
883
|
+
|
848
884
|
StaticIpConnectionInfo.add_member(:default_gateway, Shapes::ShapeRef.new(shape: DefaultGateway, required: true, location_name: "DefaultGateway"))
|
849
885
|
StaticIpConnectionInfo.add_member(:dns, Shapes::ShapeRef.new(shape: DnsList, required: true, location_name: "Dns"))
|
850
886
|
StaticIpConnectionInfo.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, required: true, location_name: "IpAddress"))
|
@@ -1343,6 +1379,18 @@ module Aws::Panorama
|
|
1343
1379
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1344
1380
|
end)
|
1345
1381
|
|
1382
|
+
api.add_operation(:signal_application_instance_node_instances, Seahorse::Model::Operation.new.tap do |o|
|
1383
|
+
o.name = "SignalApplicationInstanceNodeInstances"
|
1384
|
+
o.http_method = "PUT"
|
1385
|
+
o.http_request_uri = "/application-instances/{ApplicationInstanceId}/node-signals"
|
1386
|
+
o.input = Shapes::ShapeRef.new(shape: SignalApplicationInstanceNodeInstancesRequest)
|
1387
|
+
o.output = Shapes::ShapeRef.new(shape: SignalApplicationInstanceNodeInstancesResponse)
|
1388
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1389
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1390
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1391
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1392
|
+
end)
|
1393
|
+
|
1346
1394
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1347
1395
|
o.name = "TagResource"
|
1348
1396
|
o.http_method = "POST"
|
@@ -72,6 +72,10 @@ module Aws::Panorama
|
|
72
72
|
# The application instance's name.
|
73
73
|
# @return [String]
|
74
74
|
#
|
75
|
+
# @!attribute [rw] runtime_context_states
|
76
|
+
# The application's state.
|
77
|
+
# @return [Array<Types::ReportedRuntimeContextState>]
|
78
|
+
#
|
75
79
|
# @!attribute [rw] status
|
76
80
|
# The application instance's status.
|
77
81
|
# @return [String]
|
@@ -95,6 +99,7 @@ module Aws::Panorama
|
|
95
99
|
:description,
|
96
100
|
:health_status,
|
97
101
|
:name,
|
102
|
+
:runtime_context_states,
|
98
103
|
:status,
|
99
104
|
:status_description,
|
100
105
|
:tags)
|
@@ -238,12 +243,12 @@ module Aws::Panorama
|
|
238
243
|
#
|
239
244
|
# {
|
240
245
|
# device_ids: ["DeviceId"], # required
|
241
|
-
# device_job_config: {
|
246
|
+
# device_job_config: {
|
242
247
|
# ota_job_config: {
|
243
248
|
# image_version: "ImageVersion", # required
|
244
249
|
# },
|
245
250
|
# },
|
246
|
-
# job_type: "OTA", # required, accepts OTA
|
251
|
+
# job_type: "OTA", # required, accepts OTA, REBOOT
|
247
252
|
# }
|
248
253
|
#
|
249
254
|
# @!attribute [rw] device_ids
|
@@ -251,7 +256,7 @@ module Aws::Panorama
|
|
251
256
|
# @return [Array<String>]
|
252
257
|
#
|
253
258
|
# @!attribute [rw] device_job_config
|
254
|
-
# Configuration settings for
|
259
|
+
# Configuration settings for a software update job.
|
255
260
|
# @return [Types::DeviceJobConfig]
|
256
261
|
#
|
257
262
|
# @!attribute [rw] job_type
|
@@ -715,6 +720,10 @@ module Aws::Panorama
|
|
715
720
|
# The application instance's name.
|
716
721
|
# @return [String]
|
717
722
|
#
|
723
|
+
# @!attribute [rw] runtime_context_states
|
724
|
+
# The application instance's state.
|
725
|
+
# @return [Array<Types::ReportedRuntimeContextState>]
|
726
|
+
#
|
718
727
|
# @!attribute [rw] runtime_role_arn
|
719
728
|
# The application instance's runtime role ARN.
|
720
729
|
# @return [String]
|
@@ -744,6 +753,7 @@ module Aws::Panorama
|
|
744
753
|
:health_status,
|
745
754
|
:last_updated_time,
|
746
755
|
:name,
|
756
|
+
:runtime_context_states,
|
747
757
|
:runtime_role_arn,
|
748
758
|
:status,
|
749
759
|
:status_description,
|
@@ -799,6 +809,10 @@ module Aws::Panorama
|
|
799
809
|
# The job's ID.
|
800
810
|
# @return [String]
|
801
811
|
#
|
812
|
+
# @!attribute [rw] job_type
|
813
|
+
# The job's type.
|
814
|
+
# @return [String]
|
815
|
+
#
|
802
816
|
# @!attribute [rw] status
|
803
817
|
# The job's status.
|
804
818
|
# @return [String]
|
@@ -813,6 +827,7 @@ module Aws::Panorama
|
|
813
827
|
:device_type,
|
814
828
|
:image_version,
|
815
829
|
:job_id,
|
830
|
+
:job_type,
|
816
831
|
:status)
|
817
832
|
SENSITIVE = []
|
818
833
|
include Aws::Structure
|
@@ -1469,13 +1484,18 @@ module Aws::Panorama
|
|
1469
1484
|
# The job's ID.
|
1470
1485
|
# @return [String]
|
1471
1486
|
#
|
1487
|
+
# @!attribute [rw] job_type
|
1488
|
+
# The job's type.
|
1489
|
+
# @return [String]
|
1490
|
+
#
|
1472
1491
|
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DeviceJob AWS API Documentation
|
1473
1492
|
#
|
1474
1493
|
class DeviceJob < Struct.new(
|
1475
1494
|
:created_time,
|
1476
1495
|
:device_id,
|
1477
1496
|
:device_name,
|
1478
|
-
:job_id
|
1497
|
+
:job_id,
|
1498
|
+
:job_type)
|
1479
1499
|
SENSITIVE = []
|
1480
1500
|
include Aws::Structure
|
1481
1501
|
end
|
@@ -1632,6 +1652,10 @@ module Aws::Panorama
|
|
1632
1652
|
# The target version of the device software.
|
1633
1653
|
# @return [String]
|
1634
1654
|
#
|
1655
|
+
# @!attribute [rw] job_type
|
1656
|
+
# The job's type.
|
1657
|
+
# @return [String]
|
1658
|
+
#
|
1635
1659
|
# @!attribute [rw] status
|
1636
1660
|
# Status of the latest device job.
|
1637
1661
|
# @return [String]
|
@@ -1640,6 +1664,7 @@ module Aws::Panorama
|
|
1640
1664
|
#
|
1641
1665
|
class LatestDeviceJob < Struct.new(
|
1642
1666
|
:image_version,
|
1667
|
+
:job_type,
|
1643
1668
|
:status)
|
1644
1669
|
SENSITIVE = []
|
1645
1670
|
include Aws::Structure
|
@@ -1854,7 +1879,7 @@ module Aws::Panorama
|
|
1854
1879
|
# data as a hash:
|
1855
1880
|
#
|
1856
1881
|
# {
|
1857
|
-
# device_aggregated_status_filter: "ERROR", # accepts ERROR, AWAITING_PROVISIONING, PENDING, FAILED, DELETING, ONLINE, OFFLINE, LEASE_EXPIRED, UPDATE_NEEDED
|
1882
|
+
# device_aggregated_status_filter: "ERROR", # accepts ERROR, AWAITING_PROVISIONING, PENDING, FAILED, DELETING, ONLINE, OFFLINE, LEASE_EXPIRED, UPDATE_NEEDED, REBOOTING
|
1858
1883
|
# max_results: 1,
|
1859
1884
|
# name_filter: "NameFilter",
|
1860
1885
|
# next_token: "NextToken",
|
@@ -2510,6 +2535,33 @@ module Aws::Panorama
|
|
2510
2535
|
include Aws::Structure
|
2511
2536
|
end
|
2512
2537
|
|
2538
|
+
# A signal to a camera node to start or stop processing video.
|
2539
|
+
#
|
2540
|
+
# @note When making an API call, you may pass NodeSignal
|
2541
|
+
# data as a hash:
|
2542
|
+
#
|
2543
|
+
# {
|
2544
|
+
# node_instance_id: "NodeInstanceId", # required
|
2545
|
+
# signal: "PAUSE", # required, accepts PAUSE, RESUME
|
2546
|
+
# }
|
2547
|
+
#
|
2548
|
+
# @!attribute [rw] node_instance_id
|
2549
|
+
# The camera node's name, from the application manifest.
|
2550
|
+
# @return [String]
|
2551
|
+
#
|
2552
|
+
# @!attribute [rw] signal
|
2553
|
+
# The signal value.
|
2554
|
+
# @return [String]
|
2555
|
+
#
|
2556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/NodeSignal AWS API Documentation
|
2557
|
+
#
|
2558
|
+
class NodeSignal < Struct.new(
|
2559
|
+
:node_instance_id,
|
2560
|
+
:signal)
|
2561
|
+
SENSITIVE = []
|
2562
|
+
include Aws::Structure
|
2563
|
+
end
|
2564
|
+
|
2513
2565
|
# Network time protocol (NTP) server settings. Use this option to
|
2514
2566
|
# connect to local NTP servers instead of `pool.ntp.org`.
|
2515
2567
|
#
|
@@ -2995,6 +3047,35 @@ module Aws::Panorama
|
|
2995
3047
|
#
|
2996
3048
|
class RemoveApplicationInstanceResponse < Aws::EmptyStructure; end
|
2997
3049
|
|
3050
|
+
# An application instance's state.
|
3051
|
+
#
|
3052
|
+
# @!attribute [rw] desired_state
|
3053
|
+
# The application's desired state.
|
3054
|
+
# @return [String]
|
3055
|
+
#
|
3056
|
+
# @!attribute [rw] device_reported_status
|
3057
|
+
# The application's reported status.
|
3058
|
+
# @return [String]
|
3059
|
+
#
|
3060
|
+
# @!attribute [rw] device_reported_time
|
3061
|
+
# When the device reported the application's state.
|
3062
|
+
# @return [Time]
|
3063
|
+
#
|
3064
|
+
# @!attribute [rw] runtime_context_name
|
3065
|
+
# The device's name.
|
3066
|
+
# @return [String]
|
3067
|
+
#
|
3068
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ReportedRuntimeContextState AWS API Documentation
|
3069
|
+
#
|
3070
|
+
class ReportedRuntimeContextState < Struct.new(
|
3071
|
+
:desired_state,
|
3072
|
+
:device_reported_status,
|
3073
|
+
:device_reported_time,
|
3074
|
+
:runtime_context_name)
|
3075
|
+
SENSITIVE = []
|
3076
|
+
include Aws::Structure
|
3077
|
+
end
|
3078
|
+
|
2998
3079
|
# The target resource was not found.
|
2999
3080
|
#
|
3000
3081
|
# @!attribute [rw] message
|
@@ -3084,6 +3165,48 @@ module Aws::Panorama
|
|
3084
3165
|
include Aws::Structure
|
3085
3166
|
end
|
3086
3167
|
|
3168
|
+
# @note When making an API call, you may pass SignalApplicationInstanceNodeInstancesRequest
|
3169
|
+
# data as a hash:
|
3170
|
+
#
|
3171
|
+
# {
|
3172
|
+
# application_instance_id: "ApplicationInstanceId", # required
|
3173
|
+
# node_signals: [ # required
|
3174
|
+
# {
|
3175
|
+
# node_instance_id: "NodeInstanceId", # required
|
3176
|
+
# signal: "PAUSE", # required, accepts PAUSE, RESUME
|
3177
|
+
# },
|
3178
|
+
# ],
|
3179
|
+
# }
|
3180
|
+
#
|
3181
|
+
# @!attribute [rw] application_instance_id
|
3182
|
+
# An application instance ID.
|
3183
|
+
# @return [String]
|
3184
|
+
#
|
3185
|
+
# @!attribute [rw] node_signals
|
3186
|
+
# A list of signals.
|
3187
|
+
# @return [Array<Types::NodeSignal>]
|
3188
|
+
#
|
3189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/SignalApplicationInstanceNodeInstancesRequest AWS API Documentation
|
3190
|
+
#
|
3191
|
+
class SignalApplicationInstanceNodeInstancesRequest < Struct.new(
|
3192
|
+
:application_instance_id,
|
3193
|
+
:node_signals)
|
3194
|
+
SENSITIVE = []
|
3195
|
+
include Aws::Structure
|
3196
|
+
end
|
3197
|
+
|
3198
|
+
# @!attribute [rw] application_instance_id
|
3199
|
+
# An application instance ID.
|
3200
|
+
# @return [String]
|
3201
|
+
#
|
3202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/SignalApplicationInstanceNodeInstancesResponse AWS API Documentation
|
3203
|
+
#
|
3204
|
+
class SignalApplicationInstanceNodeInstancesResponse < Struct.new(
|
3205
|
+
:application_instance_id)
|
3206
|
+
SENSITIVE = []
|
3207
|
+
include Aws::Structure
|
3208
|
+
end
|
3209
|
+
|
3087
3210
|
# A static IP configuration.
|
3088
3211
|
#
|
3089
3212
|
# @note When making an API call, you may pass StaticIpConnectionInfo
|
data/lib/aws-sdk-panorama.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-panorama
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|