|
259 | 259 | {"shape":"ConflictException"} |
260 | 260 | ] |
261 | 261 | }, |
| 262 | + "StartCanaryDryRun":{ |
| 263 | + "name":"StartCanaryDryRun", |
| 264 | + "http":{ |
| 265 | + "method":"POST", |
| 266 | + "requestUri":"/canary/{name}/dry-run/start" |
| 267 | + }, |
| 268 | + "input":{"shape":"StartCanaryDryRunRequest"}, |
| 269 | + "output":{"shape":"StartCanaryDryRunResponse"}, |
| 270 | + "errors":[ |
| 271 | + {"shape":"InternalServerException"}, |
| 272 | + {"shape":"ValidationException"}, |
| 273 | + {"shape":"ResourceNotFoundException"}, |
| 274 | + {"shape":"ConflictException"}, |
| 275 | + {"shape":"AccessDeniedException"} |
| 276 | + ] |
| 277 | + }, |
262 | 278 | "StopCanary":{ |
263 | 279 | "name":"StopCanary", |
264 | 280 | "http":{ |
|
319 | 335 | {"shape":"ValidationException"}, |
320 | 336 | {"shape":"ResourceNotFoundException"}, |
321 | 337 | {"shape":"ConflictException"}, |
322 | | - {"shape":"RequestEntityTooLargeException"} |
| 338 | + {"shape":"RequestEntityTooLargeException"}, |
| 339 | + {"shape":"AccessDeniedException"} |
323 | 340 | ] |
324 | 341 | } |
325 | 342 | }, |
326 | 343 | "shapes":{ |
| 344 | + "AccessDeniedException":{ |
| 345 | + "type":"structure", |
| 346 | + "members":{ |
| 347 | + "Message":{"shape":"ErrorMessage"} |
| 348 | + }, |
| 349 | + "error":{"httpStatusCode":403}, |
| 350 | + "exception":true |
| 351 | + }, |
327 | 352 | "ArtifactConfigInput":{ |
328 | 353 | "type":"structure", |
329 | 354 | "members":{ |
|
353 | 378 | }, |
354 | 379 | "AssociateResourceResponse":{ |
355 | 380 | "type":"structure", |
356 | | - "members":{ |
357 | | - } |
| 381 | + "members":{} |
358 | 382 | }, |
359 | 383 | "BadRequestException":{ |
360 | 384 | "type":"structure", |
|
419 | 443 | "VisualReference":{"shape":"VisualReferenceOutput"}, |
420 | 444 | "ProvisionedResourceCleanup":{"shape":"ProvisionedResourceCleanupSetting"}, |
421 | 445 | "Tags":{"shape":"TagMap"}, |
422 | | - "ArtifactConfig":{"shape":"ArtifactConfigOutput"} |
| 446 | + "ArtifactConfig":{"shape":"ArtifactConfigOutput"}, |
| 447 | + "DryRunConfig":{"shape":"DryRunConfigOutput"} |
423 | 448 | } |
424 | 449 | }, |
425 | 450 | "CanaryArn":{ |
|
446 | 471 | "Handler":{"shape":"String"} |
447 | 472 | } |
448 | 473 | }, |
| 474 | + "CanaryDryRunConfigOutput":{ |
| 475 | + "type":"structure", |
| 476 | + "members":{ |
| 477 | + "DryRunId":{"shape":"UUID"} |
| 478 | + } |
| 479 | + }, |
449 | 480 | "CanaryLastRun":{ |
450 | 481 | "type":"structure", |
451 | 482 | "members":{ |
|
466 | 497 | "Name":{"shape":"CanaryName"}, |
467 | 498 | "Status":{"shape":"CanaryRunStatus"}, |
468 | 499 | "Timeline":{"shape":"CanaryRunTimeline"}, |
469 | | - "ArtifactS3Location":{"shape":"String"} |
| 500 | + "ArtifactS3Location":{"shape":"String"}, |
| 501 | + "DryRunConfig":{"shape":"CanaryDryRunConfigOutput"} |
470 | 502 | } |
471 | 503 | }, |
472 | 504 | "CanaryRunConfigInput":{ |
|
662 | 694 | }, |
663 | 695 | "DeleteCanaryResponse":{ |
664 | 696 | "type":"structure", |
665 | | - "members":{ |
666 | | - } |
| 697 | + "members":{} |
667 | 698 | }, |
668 | 699 | "DeleteGroupRequest":{ |
669 | 700 | "type":"structure", |
|
678 | 709 | }, |
679 | 710 | "DeleteGroupResponse":{ |
680 | 711 | "type":"structure", |
681 | | - "members":{ |
682 | | - } |
| 712 | + "members":{} |
683 | 713 | }, |
684 | 714 | "DescribeCanariesLastRunNameFilter":{ |
685 | 715 | "type":"list", |
|
753 | 783 | } |
754 | 784 | }, |
755 | 785 | "DisassociateResourceResponse":{ |
| 786 | + "type":"structure", |
| 787 | + "members":{} |
| 788 | + }, |
| 789 | + "DryRunConfigOutput":{ |
756 | 790 | "type":"structure", |
757 | 791 | "members":{ |
| 792 | + "DryRunId":{"shape":"UUID"}, |
| 793 | + "LastDryRunExecutionStatus":{"shape":"String"} |
758 | 794 | } |
759 | 795 | }, |
760 | 796 | "EncryptionMode":{ |
|
789 | 825 | "shape":"CanaryName", |
790 | 826 | "location":"uri", |
791 | 827 | "locationName":"name" |
| 828 | + }, |
| 829 | + "DryRunId":{ |
| 830 | + "shape":"UUID", |
| 831 | + "location":"querystring", |
| 832 | + "locationName":"dryRunId" |
792 | 833 | } |
793 | 834 | } |
794 | 835 | }, |
|
808 | 849 | "locationName":"name" |
809 | 850 | }, |
810 | 851 | "NextToken":{"shape":"Token"}, |
811 | | - "MaxResults":{"shape":"MaxSize100"} |
| 852 | + "MaxResults":{"shape":"MaxSize100"}, |
| 853 | + "DryRunId":{"shape":"UUID"}, |
| 854 | + "RunType":{"shape":"RunType"} |
812 | 855 | } |
813 | 856 | }, |
814 | 857 | "GetCanaryRunsResponse":{ |
|
1062 | 1105 | "min":1, |
1063 | 1106 | "pattern":"arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+" |
1064 | 1107 | }, |
| 1108 | + "RunType":{ |
| 1109 | + "type":"string", |
| 1110 | + "enum":[ |
| 1111 | + "CANARY_RUN", |
| 1112 | + "DRY_RUN" |
| 1113 | + ] |
| 1114 | + }, |
1065 | 1115 | "RuntimeVersion":{ |
1066 | 1116 | "type":"structure", |
1067 | 1117 | "members":{ |
|
1097 | 1147 | "error":{"httpStatusCode":402}, |
1098 | 1148 | "exception":true |
1099 | 1149 | }, |
| 1150 | + "StartCanaryDryRunRequest":{ |
| 1151 | + "type":"structure", |
| 1152 | + "required":["Name"], |
| 1153 | + "members":{ |
| 1154 | + "Name":{ |
| 1155 | + "shape":"CanaryName", |
| 1156 | + "location":"uri", |
| 1157 | + "locationName":"name" |
| 1158 | + }, |
| 1159 | + "Code":{"shape":"CanaryCodeInput"}, |
| 1160 | + "RuntimeVersion":{"shape":"String"}, |
| 1161 | + "RunConfig":{"shape":"CanaryRunConfigInput"}, |
| 1162 | + "VpcConfig":{"shape":"VpcConfigInput"}, |
| 1163 | + "ExecutionRoleArn":{"shape":"RoleArn"}, |
| 1164 | + "SuccessRetentionPeriodInDays":{"shape":"MaxSize1024"}, |
| 1165 | + "FailureRetentionPeriodInDays":{"shape":"MaxSize1024"}, |
| 1166 | + "VisualReference":{"shape":"VisualReferenceInput"}, |
| 1167 | + "ArtifactS3Location":{"shape":"String"}, |
| 1168 | + "ArtifactConfig":{"shape":"ArtifactConfigInput"}, |
| 1169 | + "ProvisionedResourceCleanup":{"shape":"ProvisionedResourceCleanupSetting"} |
| 1170 | + } |
| 1171 | + }, |
| 1172 | + "StartCanaryDryRunResponse":{ |
| 1173 | + "type":"structure", |
| 1174 | + "members":{ |
| 1175 | + "DryRunConfig":{"shape":"DryRunConfigOutput"} |
| 1176 | + } |
| 1177 | + }, |
1100 | 1178 | "StartCanaryRequest":{ |
1101 | 1179 | "type":"structure", |
1102 | 1180 | "required":["Name"], |
|
1110 | 1188 | }, |
1111 | 1189 | "StartCanaryResponse":{ |
1112 | 1190 | "type":"structure", |
1113 | | - "members":{ |
1114 | | - } |
| 1191 | + "members":{} |
1115 | 1192 | }, |
1116 | 1193 | "StopCanaryRequest":{ |
1117 | 1194 | "type":"structure", |
|
1126 | 1203 | }, |
1127 | 1204 | "StopCanaryResponse":{ |
1128 | 1205 | "type":"structure", |
1129 | | - "members":{ |
1130 | | - } |
| 1206 | + "members":{} |
1131 | 1207 | }, |
1132 | 1208 | "String":{ |
1133 | 1209 | "type":"string", |
|
1181 | 1257 | }, |
1182 | 1258 | "TagResourceResponse":{ |
1183 | 1259 | "type":"structure", |
1184 | | - "members":{ |
1185 | | - } |
| 1260 | + "members":{} |
1186 | 1261 | }, |
1187 | 1262 | "TagValue":{ |
1188 | 1263 | "type":"string", |
|
1227 | 1302 | }, |
1228 | 1303 | "UntagResourceResponse":{ |
1229 | 1304 | "type":"structure", |
1230 | | - "members":{ |
1231 | | - } |
| 1305 | + "members":{} |
1232 | 1306 | }, |
1233 | 1307 | "UpdateCanaryRequest":{ |
1234 | 1308 | "type":"structure", |
|
1250 | 1324 | "VisualReference":{"shape":"VisualReferenceInput"}, |
1251 | 1325 | "ArtifactS3Location":{"shape":"String"}, |
1252 | 1326 | "ArtifactConfig":{"shape":"ArtifactConfigInput"}, |
1253 | | - "ProvisionedResourceCleanup":{"shape":"ProvisionedResourceCleanupSetting"} |
| 1327 | + "ProvisionedResourceCleanup":{"shape":"ProvisionedResourceCleanupSetting"}, |
| 1328 | + "DryRunId":{"shape":"UUID"} |
1254 | 1329 | } |
1255 | 1330 | }, |
1256 | 1331 | "UpdateCanaryResponse":{ |
1257 | 1332 | "type":"structure", |
1258 | | - "members":{ |
1259 | | - } |
| 1333 | + "members":{} |
1260 | 1334 | }, |
1261 | 1335 | "ValidationException":{ |
1262 | 1336 | "type":"structure", |
|
0 commit comments