aws-sdk-panorama 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-panorama/client.rb +32 -1
- data/lib/aws-sdk-panorama/client_api.rb +21 -0
- data/lib/aws-sdk-panorama/types.rb +91 -2
- 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: '08cdcf6d230b188ab968905f215628a2e694d107fad0e4145dc329e38dd242fb'
|
4
|
+
data.tar.gz: 3c5a7b99d66a22dc3216dc536185cd56aa9679ec13debabd5ea94ee195b11bce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9aca649c54ffdfea8e960bf7632c8445057e6d348143ceaff7a221a10228429949dd42e0e22ebd35a9a6f6d9739948ae78a5e7e3be82949961fcfae7c4fe3ad
|
7
|
+
data.tar.gz: 5cb34ec87722d801bdf8f98f60645922ba9e4f5103859b1a322da49f233e0104e8c0189e22fb1aa98742b2381c377039887dd4cfe1351ddf6e97b8a81ca34b70
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.8.0 (2022-08-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Support sorting and filtering in ListDevices API, and add more fields to device listings and single device detail
|
8
|
+
|
4
9
|
1.7.0 (2022-04-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -833,9 +833,11 @@ module Aws::Panorama
|
|
833
833
|
# * {Types::DescribeDeviceResponse#current_networking_status #current_networking_status} => Types::NetworkStatus
|
834
834
|
# * {Types::DescribeDeviceResponse#current_software #current_software} => String
|
835
835
|
# * {Types::DescribeDeviceResponse#description #description} => String
|
836
|
+
# * {Types::DescribeDeviceResponse#device_aggregated_status #device_aggregated_status} => String
|
836
837
|
# * {Types::DescribeDeviceResponse#device_connection_status #device_connection_status} => String
|
837
838
|
# * {Types::DescribeDeviceResponse#device_id #device_id} => String
|
838
839
|
# * {Types::DescribeDeviceResponse#latest_alternate_software #latest_alternate_software} => String
|
840
|
+
# * {Types::DescribeDeviceResponse#latest_device_job #latest_device_job} => Types::LatestDeviceJob
|
839
841
|
# * {Types::DescribeDeviceResponse#latest_software #latest_software} => String
|
840
842
|
# * {Types::DescribeDeviceResponse#lease_expiration_time #lease_expiration_time} => Time
|
841
843
|
# * {Types::DescribeDeviceResponse#name #name} => String
|
@@ -870,9 +872,12 @@ module Aws::Panorama
|
|
870
872
|
# resp.current_networking_status.ntp_status.ntp_server_name #=> String
|
871
873
|
# resp.current_software #=> String
|
872
874
|
# resp.description #=> String
|
875
|
+
# resp.device_aggregated_status #=> String, one of "ERROR", "AWAITING_PROVISIONING", "PENDING", "FAILED", "DELETING", "ONLINE", "OFFLINE", "LEASE_EXPIRED", "UPDATE_NEEDED"
|
873
876
|
# resp.device_connection_status #=> String, one of "ONLINE", "OFFLINE", "AWAITING_CREDENTIALS", "NOT_AVAILABLE", "ERROR"
|
874
877
|
# resp.device_id #=> String
|
875
878
|
# resp.latest_alternate_software #=> String
|
879
|
+
# resp.latest_device_job.image_version #=> String
|
880
|
+
# resp.latest_device_job.status #=> String, one of "PENDING", "IN_PROGRESS", "VERIFYING", "REBOOTING", "DOWNLOADING", "COMPLETED", "FAILED"
|
876
881
|
# resp.latest_software #=> String
|
877
882
|
# resp.lease_expiration_time #=> Time
|
878
883
|
# resp.name #=> String
|
@@ -1387,13 +1392,27 @@ module Aws::Panorama
|
|
1387
1392
|
|
1388
1393
|
# Returns a list of devices.
|
1389
1394
|
#
|
1395
|
+
# @option params [String] :device_aggregated_status_filter
|
1396
|
+
# Filter based on a device's status.
|
1397
|
+
#
|
1390
1398
|
# @option params [Integer] :max_results
|
1391
1399
|
# The maximum number of devices to return in one page of results.
|
1392
1400
|
#
|
1401
|
+
# @option params [String] :name_filter
|
1402
|
+
# Filter based on device's name. Prefixes supported.
|
1403
|
+
#
|
1393
1404
|
# @option params [String] :next_token
|
1394
1405
|
# Specify the pagination token from a previous request to retrieve the
|
1395
1406
|
# next page of results.
|
1396
1407
|
#
|
1408
|
+
# @option params [String] :sort_by
|
1409
|
+
# The target column to be sorted on. Default column sort is
|
1410
|
+
# CREATED\_TIME.
|
1411
|
+
#
|
1412
|
+
# @option params [String] :sort_order
|
1413
|
+
# The sorting order for the returned list. SortOrder is DESCENDING by
|
1414
|
+
# default based on CREATED\_TIME. Otherwise, SortOrder is ASCENDING.
|
1415
|
+
#
|
1397
1416
|
# @return [Types::ListDevicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1398
1417
|
#
|
1399
1418
|
# * {Types::ListDevicesResponse#devices #devices} => Array<Types::Device>
|
@@ -1404,8 +1423,12 @@ module Aws::Panorama
|
|
1404
1423
|
# @example Request syntax with placeholder values
|
1405
1424
|
#
|
1406
1425
|
# resp = client.list_devices({
|
1426
|
+
# device_aggregated_status_filter: "ERROR", # accepts ERROR, AWAITING_PROVISIONING, PENDING, FAILED, DELETING, ONLINE, OFFLINE, LEASE_EXPIRED, UPDATE_NEEDED
|
1407
1427
|
# max_results: 1,
|
1428
|
+
# name_filter: "NameFilter",
|
1408
1429
|
# next_token: "NextToken",
|
1430
|
+
# sort_by: "DEVICE_ID", # accepts DEVICE_ID, CREATED_TIME, NAME, DEVICE_AGGREGATED_STATUS
|
1431
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1409
1432
|
# })
|
1410
1433
|
#
|
1411
1434
|
# @example Response structure
|
@@ -1413,11 +1436,19 @@ module Aws::Panorama
|
|
1413
1436
|
# resp.devices #=> Array
|
1414
1437
|
# resp.devices[0].brand #=> String, one of "AWS_PANORAMA", "LENOVO"
|
1415
1438
|
# resp.devices[0].created_time #=> Time
|
1439
|
+
# resp.devices[0].current_software #=> String
|
1440
|
+
# 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"
|
1416
1442
|
# resp.devices[0].device_id #=> String
|
1417
1443
|
# resp.devices[0].last_updated_time #=> Time
|
1444
|
+
# resp.devices[0].latest_device_job.image_version #=> String
|
1445
|
+
# resp.devices[0].latest_device_job.status #=> String, one of "PENDING", "IN_PROGRESS", "VERIFYING", "REBOOTING", "DOWNLOADING", "COMPLETED", "FAILED"
|
1418
1446
|
# resp.devices[0].lease_expiration_time #=> Time
|
1419
1447
|
# resp.devices[0].name #=> String
|
1420
1448
|
# resp.devices[0].provisioning_status #=> String, one of "AWAITING_PROVISIONING", "PENDING", "SUCCEEDED", "FAILED", "ERROR", "DELETING"
|
1449
|
+
# resp.devices[0].tags #=> Hash
|
1450
|
+
# resp.devices[0].tags["TagKey"] #=> String
|
1451
|
+
# resp.devices[0].type #=> String, one of "PANORAMA_APPLIANCE_DEVELOPER_KIT", "PANORAMA_APPLIANCE"
|
1421
1452
|
# resp.next_token #=> String
|
1422
1453
|
#
|
1423
1454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListDevices AWS API Documentation
|
@@ -1938,7 +1969,7 @@ module Aws::Panorama
|
|
1938
1969
|
params: params,
|
1939
1970
|
config: config)
|
1940
1971
|
context[:gem_name] = 'aws-sdk-panorama'
|
1941
|
-
context[:gem_version] = '1.
|
1972
|
+
context[:gem_version] = '1.8.0'
|
1942
1973
|
Seahorse::Client::Request.new(handlers, context)
|
1943
1974
|
end
|
1944
1975
|
|
@@ -73,6 +73,7 @@ module Aws::Panorama
|
|
73
73
|
DescribePackageVersionResponse = Shapes::StructureShape.new(name: 'DescribePackageVersionResponse')
|
74
74
|
Description = Shapes::StringShape.new(name: 'Description')
|
75
75
|
Device = Shapes::StructureShape.new(name: 'Device')
|
76
|
+
DeviceAggregatedStatus = Shapes::StringShape.new(name: 'DeviceAggregatedStatus')
|
76
77
|
DeviceArn = Shapes::StringShape.new(name: 'DeviceArn')
|
77
78
|
DeviceBrand = Shapes::StringShape.new(name: 'DeviceBrand')
|
78
79
|
DeviceConnectionStatus = Shapes::StringShape.new(name: 'DeviceConnectionStatus')
|
@@ -106,6 +107,7 @@ module Aws::Panorama
|
|
106
107
|
JobType = Shapes::StringShape.new(name: 'JobType')
|
107
108
|
LastUpdatedTime = Shapes::TimestampShape.new(name: 'LastUpdatedTime')
|
108
109
|
LatestAlternateSoftware = Shapes::StringShape.new(name: 'LatestAlternateSoftware')
|
110
|
+
LatestDeviceJob = Shapes::StructureShape.new(name: 'LatestDeviceJob')
|
109
111
|
LatestSoftware = Shapes::StringShape.new(name: 'LatestSoftware')
|
110
112
|
LeaseExpirationTime = Shapes::TimestampShape.new(name: 'LeaseExpirationTime')
|
111
113
|
ListApplicationInstanceDependenciesRequest = Shapes::StructureShape.new(name: 'ListApplicationInstanceDependenciesRequest')
|
@@ -118,6 +120,7 @@ module Aws::Panorama
|
|
118
120
|
ListDevicesJobsResponse = Shapes::StructureShape.new(name: 'ListDevicesJobsResponse')
|
119
121
|
ListDevicesRequest = Shapes::StructureShape.new(name: 'ListDevicesRequest')
|
120
122
|
ListDevicesResponse = Shapes::StructureShape.new(name: 'ListDevicesResponse')
|
123
|
+
ListDevicesSortBy = Shapes::StringShape.new(name: 'ListDevicesSortBy')
|
121
124
|
ListNodeFromTemplateJobsRequest = Shapes::StructureShape.new(name: 'ListNodeFromTemplateJobsRequest')
|
122
125
|
ListNodeFromTemplateJobsResponse = Shapes::StructureShape.new(name: 'ListNodeFromTemplateJobsResponse')
|
123
126
|
ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
|
@@ -136,6 +139,7 @@ module Aws::Panorama
|
|
136
139
|
Mask = Shapes::StringShape.new(name: 'Mask')
|
137
140
|
MaxConnections = Shapes::IntegerShape.new(name: 'MaxConnections')
|
138
141
|
MaxSize25 = Shapes::IntegerShape.new(name: 'MaxSize25')
|
142
|
+
NameFilter = Shapes::StringShape.new(name: 'NameFilter')
|
139
143
|
NetworkConnectionStatus = Shapes::StringShape.new(name: 'NetworkConnectionStatus')
|
140
144
|
NetworkPayload = Shapes::StructureShape.new(name: 'NetworkPayload')
|
141
145
|
NetworkStatus = Shapes::StructureShape.new(name: 'NetworkStatus')
|
@@ -206,6 +210,7 @@ module Aws::Panorama
|
|
206
210
|
RuntimeRoleArn = Shapes::StringShape.new(name: 'RuntimeRoleArn')
|
207
211
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
208
212
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
213
|
+
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
209
214
|
StaticIpConnectionInfo = Shapes::StructureShape.new(name: 'StaticIpConnectionInfo')
|
210
215
|
StatusFilter = Shapes::StringShape.new(name: 'StatusFilter')
|
211
216
|
StorageLocation = Shapes::StructureShape.new(name: 'StorageLocation')
|
@@ -400,9 +405,11 @@ module Aws::Panorama
|
|
400
405
|
DescribeDeviceResponse.add_member(:current_networking_status, Shapes::ShapeRef.new(shape: NetworkStatus, location_name: "CurrentNetworkingStatus"))
|
401
406
|
DescribeDeviceResponse.add_member(:current_software, Shapes::ShapeRef.new(shape: CurrentSoftware, location_name: "CurrentSoftware"))
|
402
407
|
DescribeDeviceResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
408
|
+
DescribeDeviceResponse.add_member(:device_aggregated_status, Shapes::ShapeRef.new(shape: DeviceAggregatedStatus, location_name: "DeviceAggregatedStatus"))
|
403
409
|
DescribeDeviceResponse.add_member(:device_connection_status, Shapes::ShapeRef.new(shape: DeviceConnectionStatus, location_name: "DeviceConnectionStatus"))
|
404
410
|
DescribeDeviceResponse.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
|
405
411
|
DescribeDeviceResponse.add_member(:latest_alternate_software, Shapes::ShapeRef.new(shape: LatestAlternateSoftware, location_name: "LatestAlternateSoftware"))
|
412
|
+
DescribeDeviceResponse.add_member(:latest_device_job, Shapes::ShapeRef.new(shape: LatestDeviceJob, location_name: "LatestDeviceJob"))
|
406
413
|
DescribeDeviceResponse.add_member(:latest_software, Shapes::ShapeRef.new(shape: LatestSoftware, location_name: "LatestSoftware"))
|
407
414
|
DescribeDeviceResponse.add_member(:lease_expiration_time, Shapes::ShapeRef.new(shape: LeaseExpirationTime, location_name: "LeaseExpirationTime"))
|
408
415
|
DescribeDeviceResponse.add_member(:name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "Name"))
|
@@ -499,11 +506,17 @@ module Aws::Panorama
|
|
499
506
|
|
500
507
|
Device.add_member(:brand, Shapes::ShapeRef.new(shape: DeviceBrand, location_name: "Brand"))
|
501
508
|
Device.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTime, location_name: "CreatedTime"))
|
509
|
+
Device.add_member(:current_software, Shapes::ShapeRef.new(shape: CurrentSoftware, location_name: "CurrentSoftware"))
|
510
|
+
Device.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
511
|
+
Device.add_member(:device_aggregated_status, Shapes::ShapeRef.new(shape: DeviceAggregatedStatus, location_name: "DeviceAggregatedStatus"))
|
502
512
|
Device.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
|
503
513
|
Device.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: LastUpdatedTime, location_name: "LastUpdatedTime"))
|
514
|
+
Device.add_member(:latest_device_job, Shapes::ShapeRef.new(shape: LatestDeviceJob, location_name: "LatestDeviceJob"))
|
504
515
|
Device.add_member(:lease_expiration_time, Shapes::ShapeRef.new(shape: LeaseExpirationTime, location_name: "LeaseExpirationTime"))
|
505
516
|
Device.add_member(:name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "Name"))
|
506
517
|
Device.add_member(:provisioning_status, Shapes::ShapeRef.new(shape: DeviceStatus, location_name: "ProvisioningStatus"))
|
518
|
+
Device.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
519
|
+
Device.add_member(:type, Shapes::ShapeRef.new(shape: DeviceType, location_name: "Type"))
|
507
520
|
Device.struct_class = Types::Device
|
508
521
|
|
509
522
|
DeviceIdList.member = Shapes::ShapeRef.new(shape: DeviceId)
|
@@ -550,6 +563,10 @@ module Aws::Panorama
|
|
550
563
|
|
551
564
|
JobTagsList.member = Shapes::ShapeRef.new(shape: JobResourceTags)
|
552
565
|
|
566
|
+
LatestDeviceJob.add_member(:image_version, Shapes::ShapeRef.new(shape: ImageVersion, location_name: "ImageVersion"))
|
567
|
+
LatestDeviceJob.add_member(:status, Shapes::ShapeRef.new(shape: UpdateProgress, location_name: "Status"))
|
568
|
+
LatestDeviceJob.struct_class = Types::LatestDeviceJob
|
569
|
+
|
553
570
|
ListApplicationInstanceDependenciesRequest.add_member(:application_instance_id, Shapes::ShapeRef.new(shape: ApplicationInstanceId, required: true, location: "uri", location_name: "ApplicationInstanceId"))
|
554
571
|
ListApplicationInstanceDependenciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSize25, location: "querystring", location_name: "maxResults"))
|
555
572
|
ListApplicationInstanceDependenciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -587,8 +604,12 @@ module Aws::Panorama
|
|
587
604
|
ListDevicesJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
588
605
|
ListDevicesJobsResponse.struct_class = Types::ListDevicesJobsResponse
|
589
606
|
|
607
|
+
ListDevicesRequest.add_member(:device_aggregated_status_filter, Shapes::ShapeRef.new(shape: DeviceAggregatedStatus, location: "querystring", location_name: "DeviceAggregatedStatusFilter"))
|
590
608
|
ListDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSize25, location: "querystring", location_name: "MaxResults"))
|
609
|
+
ListDevicesRequest.add_member(:name_filter, Shapes::ShapeRef.new(shape: NameFilter, location: "querystring", location_name: "NameFilter"))
|
591
610
|
ListDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
611
|
+
ListDevicesRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: ListDevicesSortBy, location: "querystring", location_name: "SortBy"))
|
612
|
+
ListDevicesRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "SortOrder"))
|
592
613
|
ListDevicesRequest.struct_class = Types::ListDevicesRequest
|
593
614
|
|
594
615
|
ListDevicesResponse.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceList, required: true, location_name: "Devices"))
|
@@ -865,6 +865,11 @@ module Aws::Panorama
|
|
865
865
|
# The device's description.
|
866
866
|
# @return [String]
|
867
867
|
#
|
868
|
+
# @!attribute [rw] device_aggregated_status
|
869
|
+
# A device's aggregated status. Including the device's connection
|
870
|
+
# status, provisioning status, and lease status.
|
871
|
+
# @return [String]
|
872
|
+
#
|
868
873
|
# @!attribute [rw] device_connection_status
|
869
874
|
# The device's connection status.
|
870
875
|
# @return [String]
|
@@ -877,6 +882,11 @@ module Aws::Panorama
|
|
877
882
|
# The most recent beta software release.
|
878
883
|
# @return [String]
|
879
884
|
#
|
885
|
+
# @!attribute [rw] latest_device_job
|
886
|
+
# A device's latest job. Includes the target image version, and the
|
887
|
+
# job status.
|
888
|
+
# @return [Types::LatestDeviceJob]
|
889
|
+
#
|
880
890
|
# @!attribute [rw] latest_software
|
881
891
|
# The latest software version available for the device.
|
882
892
|
# @return [String]
|
@@ -919,9 +929,11 @@ module Aws::Panorama
|
|
919
929
|
:current_networking_status,
|
920
930
|
:current_software,
|
921
931
|
:description,
|
932
|
+
:device_aggregated_status,
|
922
933
|
:device_connection_status,
|
923
934
|
:device_id,
|
924
935
|
:latest_alternate_software,
|
936
|
+
:latest_device_job,
|
925
937
|
:latest_software,
|
926
938
|
:lease_expiration_time,
|
927
939
|
:name,
|
@@ -1373,6 +1385,19 @@ module Aws::Panorama
|
|
1373
1385
|
# When the device was created.
|
1374
1386
|
# @return [Time]
|
1375
1387
|
#
|
1388
|
+
# @!attribute [rw] current_software
|
1389
|
+
# A device's current software.
|
1390
|
+
# @return [String]
|
1391
|
+
#
|
1392
|
+
# @!attribute [rw] description
|
1393
|
+
# A description for the device.
|
1394
|
+
# @return [String]
|
1395
|
+
#
|
1396
|
+
# @!attribute [rw] device_aggregated_status
|
1397
|
+
# A device's aggregated status. Including the device's connection
|
1398
|
+
# status, provisioning status, and lease status.
|
1399
|
+
# @return [String]
|
1400
|
+
#
|
1376
1401
|
# @!attribute [rw] device_id
|
1377
1402
|
# The device's ID.
|
1378
1403
|
# @return [String]
|
@@ -1381,6 +1406,11 @@ module Aws::Panorama
|
|
1381
1406
|
# When the device was updated.
|
1382
1407
|
# @return [Time]
|
1383
1408
|
#
|
1409
|
+
# @!attribute [rw] latest_device_job
|
1410
|
+
# A device's latest job. Includes the target image version, and the
|
1411
|
+
# update job status.
|
1412
|
+
# @return [Types::LatestDeviceJob]
|
1413
|
+
#
|
1384
1414
|
# @!attribute [rw] lease_expiration_time
|
1385
1415
|
# The device's lease expiration time.
|
1386
1416
|
# @return [Time]
|
@@ -1393,16 +1423,30 @@ module Aws::Panorama
|
|
1393
1423
|
# The device's provisioning status.
|
1394
1424
|
# @return [String]
|
1395
1425
|
#
|
1426
|
+
# @!attribute [rw] tags
|
1427
|
+
# The device's tags.
|
1428
|
+
# @return [Hash<String,String>]
|
1429
|
+
#
|
1430
|
+
# @!attribute [rw] type
|
1431
|
+
# The device's type.
|
1432
|
+
# @return [String]
|
1433
|
+
#
|
1396
1434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/Device AWS API Documentation
|
1397
1435
|
#
|
1398
1436
|
class Device < Struct.new(
|
1399
1437
|
:brand,
|
1400
1438
|
:created_time,
|
1439
|
+
:current_software,
|
1440
|
+
:description,
|
1441
|
+
:device_aggregated_status,
|
1401
1442
|
:device_id,
|
1402
1443
|
:last_updated_time,
|
1444
|
+
:latest_device_job,
|
1403
1445
|
:lease_expiration_time,
|
1404
1446
|
:name,
|
1405
|
-
:provisioning_status
|
1447
|
+
:provisioning_status,
|
1448
|
+
:tags,
|
1449
|
+
:type)
|
1406
1450
|
SENSITIVE = []
|
1407
1451
|
include Aws::Structure
|
1408
1452
|
end
|
@@ -1582,6 +1626,25 @@ module Aws::Panorama
|
|
1582
1626
|
include Aws::Structure
|
1583
1627
|
end
|
1584
1628
|
|
1629
|
+
# Returns information about the latest device job.
|
1630
|
+
#
|
1631
|
+
# @!attribute [rw] image_version
|
1632
|
+
# The target version of the device software.
|
1633
|
+
# @return [String]
|
1634
|
+
#
|
1635
|
+
# @!attribute [rw] status
|
1636
|
+
# Status of the latest device job.
|
1637
|
+
# @return [String]
|
1638
|
+
#
|
1639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/LatestDeviceJob AWS API Documentation
|
1640
|
+
#
|
1641
|
+
class LatestDeviceJob < Struct.new(
|
1642
|
+
:image_version,
|
1643
|
+
:status)
|
1644
|
+
SENSITIVE = []
|
1645
|
+
include Aws::Structure
|
1646
|
+
end
|
1647
|
+
|
1585
1648
|
# @note When making an API call, you may pass ListApplicationInstanceDependenciesRequest
|
1586
1649
|
# data as a hash:
|
1587
1650
|
#
|
@@ -1791,24 +1854,50 @@ module Aws::Panorama
|
|
1791
1854
|
# data as a hash:
|
1792
1855
|
#
|
1793
1856
|
# {
|
1857
|
+
# device_aggregated_status_filter: "ERROR", # accepts ERROR, AWAITING_PROVISIONING, PENDING, FAILED, DELETING, ONLINE, OFFLINE, LEASE_EXPIRED, UPDATE_NEEDED
|
1794
1858
|
# max_results: 1,
|
1859
|
+
# name_filter: "NameFilter",
|
1795
1860
|
# next_token: "NextToken",
|
1861
|
+
# sort_by: "DEVICE_ID", # accepts DEVICE_ID, CREATED_TIME, NAME, DEVICE_AGGREGATED_STATUS
|
1862
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1796
1863
|
# }
|
1797
1864
|
#
|
1865
|
+
# @!attribute [rw] device_aggregated_status_filter
|
1866
|
+
# Filter based on a device's status.
|
1867
|
+
# @return [String]
|
1868
|
+
#
|
1798
1869
|
# @!attribute [rw] max_results
|
1799
1870
|
# The maximum number of devices to return in one page of results.
|
1800
1871
|
# @return [Integer]
|
1801
1872
|
#
|
1873
|
+
# @!attribute [rw] name_filter
|
1874
|
+
# Filter based on device's name. Prefixes supported.
|
1875
|
+
# @return [String]
|
1876
|
+
#
|
1802
1877
|
# @!attribute [rw] next_token
|
1803
1878
|
# Specify the pagination token from a previous request to retrieve the
|
1804
1879
|
# next page of results.
|
1805
1880
|
# @return [String]
|
1806
1881
|
#
|
1882
|
+
# @!attribute [rw] sort_by
|
1883
|
+
# The target column to be sorted on. Default column sort is
|
1884
|
+
# CREATED\_TIME.
|
1885
|
+
# @return [String]
|
1886
|
+
#
|
1887
|
+
# @!attribute [rw] sort_order
|
1888
|
+
# The sorting order for the returned list. SortOrder is DESCENDING by
|
1889
|
+
# default based on CREATED\_TIME. Otherwise, SortOrder is ASCENDING.
|
1890
|
+
# @return [String]
|
1891
|
+
#
|
1807
1892
|
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListDevicesRequest AWS API Documentation
|
1808
1893
|
#
|
1809
1894
|
class ListDevicesRequest < Struct.new(
|
1895
|
+
:device_aggregated_status_filter,
|
1810
1896
|
:max_results,
|
1811
|
-
:
|
1897
|
+
:name_filter,
|
1898
|
+
:next_token,
|
1899
|
+
:sort_by,
|
1900
|
+
:sort_order)
|
1812
1901
|
SENSITIVE = []
|
1813
1902
|
include Aws::Structure
|
1814
1903
|
end
|
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.8.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-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|