|
46 | 46 | {"shape":"ResourceNotFoundException"},
|
47 | 47 | {"shape":"InternalServerException"}
|
48 | 48 | ],
|
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>" |
50 | 50 | },
|
51 | 51 | "CreateNodeFromTemplateJob":{
|
52 | 52 | "name":"CreateNodeFromTemplateJob",
|
|
529 | 529 | ],
|
530 | 530 | "documentation":"<p>Removes an application instance.</p>"
|
531 | 531 | },
|
| 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 | + }, |
532 | 549 | "TagResource":{
|
533 | 550 | "name":"TagResource",
|
534 | 551 | "http":{
|
|
643 | 660 | "shape":"ApplicationInstanceName",
|
644 | 661 | "documentation":"<p>The application instance's name.</p>"
|
645 | 662 | },
|
| 663 | + "RuntimeContextStates":{ |
| 664 | + "shape":"ReportedRuntimeContextStates", |
| 665 | + "documentation":"<p>The application's state.</p>" |
| 666 | + }, |
646 | 667 | "Status":{
|
647 | 668 | "shape":"ApplicationInstanceStatus",
|
648 | 669 | "documentation":"<p>The application instance's status.</p>"
|
|
840 | 861 | "type":"structure",
|
841 | 862 | "required":[
|
842 | 863 | "DeviceIds",
|
843 |
| - "DeviceJobConfig", |
844 | 864 | "JobType"
|
845 | 865 | ],
|
846 | 866 | "members":{
|
|
850 | 870 | },
|
851 | 871 | "DeviceJobConfig":{
|
852 | 872 | "shape":"DeviceJobConfig",
|
853 |
| - "documentation":"<p>Configuration settings for the job.</p>" |
| 873 | + "documentation":"<p>Configuration settings for a software update job.</p>" |
854 | 874 | },
|
855 | 875 | "JobType":{
|
856 | 876 | "shape":"JobType",
|
|
1202 | 1222 | "shape":"ApplicationInstanceName",
|
1203 | 1223 | "documentation":"<p>The application instance's name.</p>"
|
1204 | 1224 | },
|
| 1225 | + "RuntimeContextStates":{ |
| 1226 | + "shape":"ReportedRuntimeContextStates", |
| 1227 | + "documentation":"<p>The application instance's state.</p>" |
| 1228 | + }, |
1205 | 1229 | "RuntimeRoleArn":{
|
1206 | 1230 | "shape":"RuntimeRoleArn",
|
1207 | 1231 | "documentation":"<p>The application instance's runtime role ARN.</p>"
|
|
1263 | 1287 | "shape":"JobId",
|
1264 | 1288 | "documentation":"<p>The job's ID.</p>"
|
1265 | 1289 | },
|
| 1290 | + "JobType":{ |
| 1291 | + "shape":"JobType", |
| 1292 | + "documentation":"<p>The job's type.</p>" |
| 1293 | + }, |
1266 | 1294 | "Status":{
|
1267 | 1295 | "shape":"UpdateProgress",
|
1268 | 1296 | "documentation":"<p>The job's status.</p>"
|
|
1757 | 1785 | "min":0,
|
1758 | 1786 | "pattern":"^.*$"
|
1759 | 1787 | },
|
| 1788 | + "DesiredState":{ |
| 1789 | + "type":"string", |
| 1790 | + "enum":[ |
| 1791 | + "RUNNING", |
| 1792 | + "STOPPED", |
| 1793 | + "REMOVED" |
| 1794 | + ] |
| 1795 | + }, |
1760 | 1796 | "Device":{
|
1761 | 1797 | "type":"structure",
|
1762 | 1798 | "members":{
|
|
1826 | 1862 | "ONLINE",
|
1827 | 1863 | "OFFLINE",
|
1828 | 1864 | "LEASE_EXPIRED",
|
1829 |
| - "UPDATE_NEEDED" |
| 1865 | + "UPDATE_NEEDED", |
| 1866 | + "REBOOTING" |
1830 | 1867 | ]
|
1831 | 1868 | },
|
1832 | 1869 | "DeviceArn":{
|
|
1881 | 1918 | "JobId":{
|
1882 | 1919 | "shape":"JobId",
|
1883 | 1920 | "documentation":"<p>The job's ID.</p>"
|
| 1921 | + }, |
| 1922 | + "JobType":{ |
| 1923 | + "shape":"JobType", |
| 1924 | + "documentation":"<p>The job's type.</p>" |
1884 | 1925 | }
|
1885 | 1926 | },
|
1886 | 1927 | "documentation":"<p>A job that runs on a device.</p>"
|
|
1909 | 1950 | "min":1,
|
1910 | 1951 | "pattern":"^[a-zA-Z0-9\\-\\_]+$"
|
1911 | 1952 | },
|
| 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 | + }, |
1912 | 1969 | "DeviceSerialNumber":{
|
1913 | 1970 | "type":"string",
|
1914 | 1971 | "pattern":"^[0-9]{1,20}$"
|
|
2075 | 2132 | },
|
2076 | 2133 | "JobType":{
|
2077 | 2134 | "type":"string",
|
2078 |
| - "enum":["OTA"] |
| 2135 | + "enum":[ |
| 2136 | + "OTA", |
| 2137 | + "REBOOT" |
| 2138 | + ] |
2079 | 2139 | },
|
2080 | 2140 | "LastUpdatedTime":{"type":"timestamp"},
|
2081 | 2141 | "LatestAlternateSoftware":{
|
|
2090 | 2150 | "shape":"ImageVersion",
|
2091 | 2151 | "documentation":"<p>The target version of the device software.</p>"
|
2092 | 2152 | },
|
| 2153 | + "JobType":{ |
| 2154 | + "shape":"JobType", |
| 2155 | + "documentation":"<p>The job's type.</p>" |
| 2156 | + }, |
2093 | 2157 | "Status":{
|
2094 | 2158 | "shape":"UpdateProgress",
|
2095 | 2159 | "documentation":"<p>Status of the latest device job.</p>"
|
|
2793 | 2857 | "enum":[
|
2794 | 2858 | "RUNNING",
|
2795 | 2859 | "ERROR",
|
2796 |
| - "NOT_AVAILABLE" |
| 2860 | + "NOT_AVAILABLE", |
| 2861 | + "PAUSED" |
2797 | 2862 | ]
|
2798 | 2863 | },
|
2799 | 2864 | "NodeInstances":{
|
|
2871 | 2936 | "min":1,
|
2872 | 2937 | "pattern":"^([0-9]+)\\.([0-9]+)$"
|
2873 | 2938 | },
|
| 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 | + }, |
2874 | 2969 | "NodesList":{
|
2875 | 2970 | "type":"list",
|
2876 | 2971 | "member":{"shape":"Node"}
|
|
3309 | 3404 | "members":{
|
3310 | 3405 | }
|
3311 | 3406 | },
|
| 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 | + }, |
3312 | 3439 | "ResourceArn":{
|
3313 | 3440 | "type":"string",
|
3314 | 3441 | "max":2048,
|
|
3341 | 3468 | "exception":true
|
3342 | 3469 | },
|
3343 | 3470 | "RetryAfterSeconds":{"type":"integer"},
|
| 3471 | + "RuntimeContextName":{ |
| 3472 | + "type":"string", |
| 3473 | + "max":255, |
| 3474 | + "min":1, |
| 3475 | + "pattern":"^.+$" |
| 3476 | + }, |
3344 | 3477 | "RuntimeRoleArn":{
|
3345 | 3478 | "type":"string",
|
3346 | 3479 | "max":255,
|
|
3402 | 3535 | },
|
3403 | 3536 | "exception":true
|
3404 | 3537 | },
|
| 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 | + }, |
3405 | 3567 | "SortOrder":{
|
3406 | 3568 | "type":"string",
|
3407 | 3569 | "enum":[
|
|
0 commit comments