Skip to content

Commit 7b35bd7

Browse files
author
AWS
committed
AWS Panorama Update: Pause and resume camera stream processing with SignalApplicationInstanceNodeInstances. Reboot an appliance with CreateJobForDevices. More application state information in DescribeApplicationInstance response.
1 parent 9699bc4 commit 7b35bd7

File tree

2 files changed

+174
-6
lines changed

2 files changed

+174
-6
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Panorama",
4+
"contributor": "",
5+
"description": "Pause and resume camera stream processing with SignalApplicationInstanceNodeInstances. Reboot an appliance with CreateJobForDevices. More application state information in DescribeApplicationInstance response."
6+
}

services/panorama/src/main/resources/codegen-resources/service-2.json

Lines changed: 168 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
{"shape":"ResourceNotFoundException"},
4747
{"shape":"InternalServerException"}
4848
],
49-
"documentation":"<p>Creates a job to run on one or more devices.</p>"
49+
"documentation":"<p>Creates a job to run on one or more devices. A job can update a device's software or reboot it.</p>"
5050
},
5151
"CreateNodeFromTemplateJob":{
5252
"name":"CreateNodeFromTemplateJob",
@@ -529,6 +529,23 @@
529529
],
530530
"documentation":"<p>Removes an application instance.</p>"
531531
},
532+
"SignalApplicationInstanceNodeInstances":{
533+
"name":"SignalApplicationInstanceNodeInstances",
534+
"http":{
535+
"method":"PUT",
536+
"requestUri":"/application-instances/{ApplicationInstanceId}/node-signals",
537+
"responseCode":200
538+
},
539+
"input":{"shape":"SignalApplicationInstanceNodeInstancesRequest"},
540+
"output":{"shape":"SignalApplicationInstanceNodeInstancesResponse"},
541+
"errors":[
542+
{"shape":"ValidationException"},
543+
{"shape":"AccessDeniedException"},
544+
{"shape":"ServiceQuotaExceededException"},
545+
{"shape":"InternalServerException"}
546+
],
547+
"documentation":"<p>Signal camera nodes to stop or resume.</p>"
548+
},
532549
"TagResource":{
533550
"name":"TagResource",
534551
"http":{
@@ -643,6 +660,10 @@
643660
"shape":"ApplicationInstanceName",
644661
"documentation":"<p>The application instance's name.</p>"
645662
},
663+
"RuntimeContextStates":{
664+
"shape":"ReportedRuntimeContextStates",
665+
"documentation":"<p>The application's state.</p>"
666+
},
646667
"Status":{
647668
"shape":"ApplicationInstanceStatus",
648669
"documentation":"<p>The application instance's status.</p>"
@@ -840,7 +861,6 @@
840861
"type":"structure",
841862
"required":[
842863
"DeviceIds",
843-
"DeviceJobConfig",
844864
"JobType"
845865
],
846866
"members":{
@@ -850,7 +870,7 @@
850870
},
851871
"DeviceJobConfig":{
852872
"shape":"DeviceJobConfig",
853-
"documentation":"<p>Configuration settings for the job.</p>"
873+
"documentation":"<p>Configuration settings for a software update job.</p>"
854874
},
855875
"JobType":{
856876
"shape":"JobType",
@@ -1202,6 +1222,10 @@
12021222
"shape":"ApplicationInstanceName",
12031223
"documentation":"<p>The application instance's name.</p>"
12041224
},
1225+
"RuntimeContextStates":{
1226+
"shape":"ReportedRuntimeContextStates",
1227+
"documentation":"<p>The application instance's state.</p>"
1228+
},
12051229
"RuntimeRoleArn":{
12061230
"shape":"RuntimeRoleArn",
12071231
"documentation":"<p>The application instance's runtime role ARN.</p>"
@@ -1263,6 +1287,10 @@
12631287
"shape":"JobId",
12641288
"documentation":"<p>The job's ID.</p>"
12651289
},
1290+
"JobType":{
1291+
"shape":"JobType",
1292+
"documentation":"<p>The job's type.</p>"
1293+
},
12661294
"Status":{
12671295
"shape":"UpdateProgress",
12681296
"documentation":"<p>The job's status.</p>"
@@ -1757,6 +1785,14 @@
17571785
"min":0,
17581786
"pattern":"^.*$"
17591787
},
1788+
"DesiredState":{
1789+
"type":"string",
1790+
"enum":[
1791+
"RUNNING",
1792+
"STOPPED",
1793+
"REMOVED"
1794+
]
1795+
},
17601796
"Device":{
17611797
"type":"structure",
17621798
"members":{
@@ -1826,7 +1862,8 @@
18261862
"ONLINE",
18271863
"OFFLINE",
18281864
"LEASE_EXPIRED",
1829-
"UPDATE_NEEDED"
1865+
"UPDATE_NEEDED",
1866+
"REBOOTING"
18301867
]
18311868
},
18321869
"DeviceArn":{
@@ -1881,6 +1918,10 @@
18811918
"JobId":{
18821919
"shape":"JobId",
18831920
"documentation":"<p>The job's ID.</p>"
1921+
},
1922+
"JobType":{
1923+
"shape":"JobType",
1924+
"documentation":"<p>The job's type.</p>"
18841925
}
18851926
},
18861927
"documentation":"<p>A job that runs on a device.</p>"
@@ -1909,6 +1950,22 @@
19091950
"min":1,
19101951
"pattern":"^[a-zA-Z0-9\\-\\_]+$"
19111952
},
1953+
"DeviceReportedStatus":{
1954+
"type":"string",
1955+
"enum":[
1956+
"STOPPING",
1957+
"STOPPED",
1958+
"STOP_ERROR",
1959+
"REMOVAL_FAILED",
1960+
"REMOVAL_IN_PROGRESS",
1961+
"STARTING",
1962+
"RUNNING",
1963+
"INSTALL_ERROR",
1964+
"LAUNCHED",
1965+
"LAUNCH_ERROR",
1966+
"INSTALL_IN_PROGRESS"
1967+
]
1968+
},
19121969
"DeviceSerialNumber":{
19131970
"type":"string",
19141971
"pattern":"^[0-9]{1,20}$"
@@ -2075,7 +2132,10 @@
20752132
},
20762133
"JobType":{
20772134
"type":"string",
2078-
"enum":["OTA"]
2135+
"enum":[
2136+
"OTA",
2137+
"REBOOT"
2138+
]
20792139
},
20802140
"LastUpdatedTime":{"type":"timestamp"},
20812141
"LatestAlternateSoftware":{
@@ -2090,6 +2150,10 @@
20902150
"shape":"ImageVersion",
20912151
"documentation":"<p>The target version of the device software.</p>"
20922152
},
2153+
"JobType":{
2154+
"shape":"JobType",
2155+
"documentation":"<p>The job's type.</p>"
2156+
},
20932157
"Status":{
20942158
"shape":"UpdateProgress",
20952159
"documentation":"<p>Status of the latest device job.</p>"
@@ -2793,7 +2857,8 @@
27932857
"enum":[
27942858
"RUNNING",
27952859
"ERROR",
2796-
"NOT_AVAILABLE"
2860+
"NOT_AVAILABLE",
2861+
"PAUSED"
27972862
]
27982863
},
27992864
"NodeInstances":{
@@ -2871,6 +2936,36 @@
28712936
"min":1,
28722937
"pattern":"^([0-9]+)\\.([0-9]+)$"
28732938
},
2939+
"NodeSignal":{
2940+
"type":"structure",
2941+
"required":[
2942+
"NodeInstanceId",
2943+
"Signal"
2944+
],
2945+
"members":{
2946+
"NodeInstanceId":{
2947+
"shape":"NodeInstanceId",
2948+
"documentation":"<p>The camera node's name, from the application manifest.</p>"
2949+
},
2950+
"Signal":{
2951+
"shape":"NodeSignalValue",
2952+
"documentation":"<p>The signal value.</p>"
2953+
}
2954+
},
2955+
"documentation":"<p>A signal to a camera node to start or stop processing video.</p>"
2956+
},
2957+
"NodeSignalList":{
2958+
"type":"list",
2959+
"member":{"shape":"NodeSignal"},
2960+
"min":1
2961+
},
2962+
"NodeSignalValue":{
2963+
"type":"string",
2964+
"enum":[
2965+
"PAUSE",
2966+
"RESUME"
2967+
]
2968+
},
28742969
"NodesList":{
28752970
"type":"list",
28762971
"member":{"shape":"Node"}
@@ -3309,6 +3404,38 @@
33093404
"members":{
33103405
}
33113406
},
3407+
"ReportedRuntimeContextState":{
3408+
"type":"structure",
3409+
"required":[
3410+
"DesiredState",
3411+
"DeviceReportedStatus",
3412+
"DeviceReportedTime",
3413+
"RuntimeContextName"
3414+
],
3415+
"members":{
3416+
"DesiredState":{
3417+
"shape":"DesiredState",
3418+
"documentation":"<p>The application's desired state.</p>"
3419+
},
3420+
"DeviceReportedStatus":{
3421+
"shape":"DeviceReportedStatus",
3422+
"documentation":"<p>The application's reported status.</p>"
3423+
},
3424+
"DeviceReportedTime":{
3425+
"shape":"TimeStamp",
3426+
"documentation":"<p>When the device reported the application's state.</p>"
3427+
},
3428+
"RuntimeContextName":{
3429+
"shape":"RuntimeContextName",
3430+
"documentation":"<p>The device's name.</p>"
3431+
}
3432+
},
3433+
"documentation":"<p>An application instance's state.</p>"
3434+
},
3435+
"ReportedRuntimeContextStates":{
3436+
"type":"list",
3437+
"member":{"shape":"ReportedRuntimeContextState"}
3438+
},
33123439
"ResourceArn":{
33133440
"type":"string",
33143441
"max":2048,
@@ -3341,6 +3468,12 @@
33413468
"exception":true
33423469
},
33433470
"RetryAfterSeconds":{"type":"integer"},
3471+
"RuntimeContextName":{
3472+
"type":"string",
3473+
"max":255,
3474+
"min":1,
3475+
"pattern":"^.+$"
3476+
},
33443477
"RuntimeRoleArn":{
33453478
"type":"string",
33463479
"max":255,
@@ -3402,6 +3535,35 @@
34023535
},
34033536
"exception":true
34043537
},
3538+
"SignalApplicationInstanceNodeInstancesRequest":{
3539+
"type":"structure",
3540+
"required":[
3541+
"ApplicationInstanceId",
3542+
"NodeSignals"
3543+
],
3544+
"members":{
3545+
"ApplicationInstanceId":{
3546+
"shape":"ApplicationInstanceId",
3547+
"documentation":"<p>An application instance ID.</p>",
3548+
"location":"uri",
3549+
"locationName":"ApplicationInstanceId"
3550+
},
3551+
"NodeSignals":{
3552+
"shape":"NodeSignalList",
3553+
"documentation":"<p>A list of signals.</p>"
3554+
}
3555+
}
3556+
},
3557+
"SignalApplicationInstanceNodeInstancesResponse":{
3558+
"type":"structure",
3559+
"required":["ApplicationInstanceId"],
3560+
"members":{
3561+
"ApplicationInstanceId":{
3562+
"shape":"ApplicationInstanceId",
3563+
"documentation":"<p>An application instance ID.</p>"
3564+
}
3565+
}
3566+
},
34053567
"SortOrder":{
34063568
"type":"string",
34073569
"enum":[

0 commit comments

Comments
 (0)