|
5 | 5 | "endpointPrefix":"codepipeline",
|
6 | 6 | "jsonVersion":"1.1",
|
7 | 7 | "protocol":"json",
|
| 8 | + "protocols":["json"], |
8 | 9 | "serviceAbbreviation":"CodePipeline",
|
9 | 10 | "serviceFullName":"AWS CodePipeline",
|
10 | 11 | "serviceId":"CodePipeline",
|
|
482 | 483 | {"shape":"NotLatestPipelineExecutionException"}
|
483 | 484 | ]
|
484 | 485 | },
|
| 486 | + "RollbackStage":{ |
| 487 | + "name":"RollbackStage", |
| 488 | + "http":{ |
| 489 | + "method":"POST", |
| 490 | + "requestUri":"/" |
| 491 | + }, |
| 492 | + "input":{"shape":"RollbackStageInput"}, |
| 493 | + "output":{"shape":"RollbackStageOutput"}, |
| 494 | + "errors":[ |
| 495 | + {"shape":"ValidationException"}, |
| 496 | + {"shape":"ConflictException"}, |
| 497 | + {"shape":"PipelineNotFoundException"}, |
| 498 | + {"shape":"PipelineExecutionNotFoundException"}, |
| 499 | + {"shape":"PipelineExecutionOutdatedException"}, |
| 500 | + {"shape":"StageNotFoundException"}, |
| 501 | + {"shape":"UnableToRollbackStageException"} |
| 502 | + ] |
| 503 | + }, |
485 | 504 | "StartPipelineExecution":{
|
486 | 505 | "name":"StartPipelineExecution",
|
487 | 506 | "http":{
|
|
1453 | 1472 | "triggerDetail":{"shape":"TriggerDetail"}
|
1454 | 1473 | }
|
1455 | 1474 | },
|
| 1475 | + "ExecutionType":{ |
| 1476 | + "type":"string", |
| 1477 | + "enum":[ |
| 1478 | + "STANDARD", |
| 1479 | + "ROLLBACK" |
| 1480 | + ] |
| 1481 | + }, |
1456 | 1482 | "ExecutorConfiguration":{
|
1457 | 1483 | "type":"structure",
|
1458 | 1484 | "members":{
|
|
1469 | 1495 | },
|
1470 | 1496 | "ExternalExecutionId":{"type":"string"},
|
1471 | 1497 | "ExternalExecutionSummary":{"type":"string"},
|
| 1498 | + "FailureConditions":{ |
| 1499 | + "type":"structure", |
| 1500 | + "members":{ |
| 1501 | + "result":{"shape":"Result"} |
| 1502 | + } |
| 1503 | + }, |
1472 | 1504 | "FailureDetails":{
|
1473 | 1505 | "type":"structure",
|
1474 | 1506 | "required":[
|
|
1941 | 1973 | "members":{
|
1942 | 1974 | "pipelineName":{"shape":"PipelineName"},
|
1943 | 1975 | "maxResults":{"shape":"MaxResults"},
|
| 1976 | + "filter":{"shape":"PipelineExecutionFilter"}, |
1944 | 1977 | "nextToken":{"shape":"NextToken"}
|
1945 | 1978 | }
|
1946 | 1979 | },
|
|
2149 | 2182 | "artifactRevisions":{"shape":"ArtifactRevisionList"},
|
2150 | 2183 | "variables":{"shape":"ResolvedPipelineVariableList"},
|
2151 | 2184 | "trigger":{"shape":"ExecutionTrigger"},
|
2152 |
| - "executionMode":{"shape":"ExecutionMode"} |
| 2185 | + "executionMode":{"shape":"ExecutionMode"}, |
| 2186 | + "executionType":{"shape":"ExecutionType"}, |
| 2187 | + "rollbackMetadata":{"shape":"PipelineRollbackMetadata"} |
| 2188 | + } |
| 2189 | + }, |
| 2190 | + "PipelineExecutionFilter":{ |
| 2191 | + "type":"structure", |
| 2192 | + "members":{ |
| 2193 | + "succeededInStage":{"shape":"SucceededInStageFilter"} |
2153 | 2194 | }
|
2154 | 2195 | },
|
2155 | 2196 | "PipelineExecutionId":{
|
|
2169 | 2210 | },
|
2170 | 2211 | "exception":true
|
2171 | 2212 | },
|
| 2213 | + "PipelineExecutionOutdatedException":{ |
| 2214 | + "type":"structure", |
| 2215 | + "members":{ |
| 2216 | + "message":{"shape":"Message"} |
| 2217 | + }, |
| 2218 | + "exception":true |
| 2219 | + }, |
2172 | 2220 | "PipelineExecutionStatus":{
|
2173 | 2221 | "type":"string",
|
2174 | 2222 | "enum":[
|
|
2187 | 2235 | "members":{
|
2188 | 2236 | "pipelineExecutionId":{"shape":"PipelineExecutionId"},
|
2189 | 2237 | "status":{"shape":"PipelineExecutionStatus"},
|
| 2238 | + "statusSummary":{"shape":"PipelineExecutionStatusSummary"}, |
2190 | 2239 | "startTime":{"shape":"Timestamp"},
|
2191 | 2240 | "lastUpdateTime":{"shape":"Timestamp"},
|
2192 | 2241 | "sourceRevisions":{"shape":"SourceRevisionList"},
|
2193 | 2242 | "trigger":{"shape":"ExecutionTrigger"},
|
2194 | 2243 | "stopTrigger":{"shape":"StopExecutionTrigger"},
|
2195 |
| - "executionMode":{"shape":"ExecutionMode"} |
| 2244 | + "executionMode":{"shape":"ExecutionMode"}, |
| 2245 | + "executionType":{"shape":"ExecutionType"}, |
| 2246 | + "rollbackMetadata":{"shape":"PipelineRollbackMetadata"} |
2196 | 2247 | }
|
2197 | 2248 | },
|
2198 | 2249 | "PipelineExecutionSummaryList":{
|
|
2230 | 2281 | },
|
2231 | 2282 | "exception":true
|
2232 | 2283 | },
|
| 2284 | + "PipelineRollbackMetadata":{ |
| 2285 | + "type":"structure", |
| 2286 | + "members":{ |
| 2287 | + "rollbackTargetPipelineExecutionId":{"shape":"PipelineExecutionId"} |
| 2288 | + } |
| 2289 | + }, |
2233 | 2290 | "PipelineStageDeclarationList":{
|
2234 | 2291 | "type":"list",
|
2235 | 2292 | "member":{"shape":"StageDeclaration"}
|
|
2541 | 2598 | },
|
2542 | 2599 | "exception":true
|
2543 | 2600 | },
|
| 2601 | + "Result":{ |
| 2602 | + "type":"string", |
| 2603 | + "enum":["ROLLBACK"] |
| 2604 | + }, |
2544 | 2605 | "RetryStageExecutionInput":{
|
2545 | 2606 | "type":"structure",
|
2546 | 2607 | "required":[
|
|
2582 | 2643 | "max":1024,
|
2583 | 2644 | "pattern":"arn:aws(-[\\w]+)*:iam::[0-9]{12}:role/.*"
|
2584 | 2645 | },
|
| 2646 | + "RollbackStageInput":{ |
| 2647 | + "type":"structure", |
| 2648 | + "required":[ |
| 2649 | + "pipelineName", |
| 2650 | + "stageName", |
| 2651 | + "targetPipelineExecutionId" |
| 2652 | + ], |
| 2653 | + "members":{ |
| 2654 | + "pipelineName":{"shape":"PipelineName"}, |
| 2655 | + "stageName":{"shape":"StageName"}, |
| 2656 | + "targetPipelineExecutionId":{"shape":"PipelineExecutionId"} |
| 2657 | + } |
| 2658 | + }, |
| 2659 | + "RollbackStageOutput":{ |
| 2660 | + "type":"structure", |
| 2661 | + "required":["pipelineExecutionId"], |
| 2662 | + "members":{ |
| 2663 | + "pipelineExecutionId":{"shape":"PipelineExecutionId"} |
| 2664 | + } |
| 2665 | + }, |
2585 | 2666 | "S3ArtifactLocation":{
|
2586 | 2667 | "type":"structure",
|
2587 | 2668 | "required":[
|
|
2689 | 2770 | "members":{
|
2690 | 2771 | "name":{"shape":"StageName"},
|
2691 | 2772 | "blockers":{"shape":"StageBlockerDeclarationList"},
|
2692 |
| - "actions":{"shape":"StageActionDeclarationList"} |
| 2773 | + "actions":{"shape":"StageActionDeclarationList"}, |
| 2774 | + "onFailure":{"shape":"FailureConditions"} |
2693 | 2775 | }
|
2694 | 2776 | },
|
2695 | 2777 | "StageExecution":{
|
|
2700 | 2782 | ],
|
2701 | 2783 | "members":{
|
2702 | 2784 | "pipelineExecutionId":{"shape":"PipelineExecutionId"},
|
2703 |
| - "status":{"shape":"StageExecutionStatus"} |
| 2785 | + "status":{"shape":"StageExecutionStatus"}, |
| 2786 | + "type":{"shape":"ExecutionType"} |
2704 | 2787 | }
|
2705 | 2788 | },
|
2706 | 2789 | "StageExecutionList":{
|
|
2821 | 2904 | "max":200
|
2822 | 2905 | },
|
2823 | 2906 | "String":{"type":"string"},
|
| 2907 | + "SucceededInStageFilter":{ |
| 2908 | + "type":"structure", |
| 2909 | + "members":{ |
| 2910 | + "stageName":{"shape":"StageName"} |
| 2911 | + } |
| 2912 | + }, |
2824 | 2913 | "Tag":{
|
2825 | 2914 | "type":"structure",
|
2826 | 2915 | "required":[
|
|
2935 | 3024 | "Webhook",
|
2936 | 3025 | "CloudWatchEvent",
|
2937 | 3026 | "PutActionRevision",
|
2938 |
| - "WebhookV2" |
| 3027 | + "WebhookV2", |
| 3028 | + "ManualRollback", |
| 3029 | + "AutomatedRollback" |
2939 | 3030 | ]
|
2940 | 3031 | },
|
| 3032 | + "UnableToRollbackStageException":{ |
| 3033 | + "type":"structure", |
| 3034 | + "members":{ |
| 3035 | + "message":{"shape":"String"} |
| 3036 | + }, |
| 3037 | + "exception":true |
| 3038 | + }, |
2941 | 3039 | "UntagResourceInput":{
|
2942 | 3040 | "type":"structure",
|
2943 | 3041 | "required":[
|
|
0 commit comments