Skip to content

Commit 3863219

Browse files
CodePipeline now supports new API ListDeployActionExecutionTargets that lists the deployment target details for deploy action executions.
1 parent c182d36 commit 3863219

30 files changed

+2463
-1
lines changed

generator/ServiceModels/codepipeline/codepipeline-2015-07-09.api.json

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,21 @@
267267
{"shape":"InvalidNextTokenException"}
268268
]
269269
},
270+
"ListDeployActionExecutionTargets":{
271+
"name":"ListDeployActionExecutionTargets",
272+
"http":{
273+
"method":"POST",
274+
"requestUri":"/"
275+
},
276+
"input":{"shape":"ListDeployActionExecutionTargetsInput"},
277+
"output":{"shape":"ListDeployActionExecutionTargetsOutput"},
278+
"errors":[
279+
{"shape":"ValidationException"},
280+
{"shape":"PipelineNotFoundException"},
281+
{"shape":"InvalidNextTokenException"},
282+
{"shape":"ActionExecutionNotFoundException"}
283+
]
284+
},
270285
"ListPipelineExecutions":{
271286
"name":"ListPipelineExecutions",
272287
"http":{
@@ -863,6 +878,13 @@
863878
"namespace":{"shape":"ActionNamespace"}
864879
}
865880
},
881+
"ActionExecutionNotFoundException":{
882+
"type":"structure",
883+
"members":{
884+
"message":{"shape":"Message"}
885+
},
886+
"exception":true
887+
},
866888
"ActionExecutionOutput":{
867889
"type":"structure",
868890
"members":{
@@ -1479,6 +1501,42 @@
14791501
"type":"structure",
14801502
"members":{}
14811503
},
1504+
"DeployActionExecutionTarget":{
1505+
"type":"structure",
1506+
"members":{
1507+
"targetId":{"shape":"String"},
1508+
"targetType":{"shape":"String"},
1509+
"status":{"shape":"String"},
1510+
"startTime":{"shape":"Timestamp"},
1511+
"endTime":{"shape":"Timestamp"},
1512+
"events":{"shape":"DeployTargetEventList"}
1513+
}
1514+
},
1515+
"DeployActionExecutionTargetList":{
1516+
"type":"list",
1517+
"member":{"shape":"DeployActionExecutionTarget"}
1518+
},
1519+
"DeployTargetEvent":{
1520+
"type":"structure",
1521+
"members":{
1522+
"name":{"shape":"String"},
1523+
"status":{"shape":"String"},
1524+
"startTime":{"shape":"Timestamp"},
1525+
"endTime":{"shape":"Timestamp"},
1526+
"context":{"shape":"DeployTargetEventContext"}
1527+
}
1528+
},
1529+
"DeployTargetEventContext":{
1530+
"type":"structure",
1531+
"members":{
1532+
"ssmCommandId":{"shape":"String"},
1533+
"message":{"shape":"String"}
1534+
}
1535+
},
1536+
"DeployTargetEventList":{
1537+
"type":"list",
1538+
"member":{"shape":"DeployTargetEvent"}
1539+
},
14821540
"DeregisterWebhookWithThirdPartyInput":{
14831541
"type":"structure",
14841542
"members":{
@@ -2127,6 +2185,24 @@
21272185
"nextToken":{"shape":"NextToken"}
21282186
}
21292187
},
2188+
"ListDeployActionExecutionTargetsInput":{
2189+
"type":"structure",
2190+
"required":["actionExecutionId"],
2191+
"members":{
2192+
"pipelineName":{"shape":"PipelineName"},
2193+
"actionExecutionId":{"shape":"ActionExecutionId"},
2194+
"filters":{"shape":"TargetFilterList"},
2195+
"maxResults":{"shape":"MaxResults"},
2196+
"nextToken":{"shape":"NextToken"}
2197+
}
2198+
},
2199+
"ListDeployActionExecutionTargetsOutput":{
2200+
"type":"structure",
2201+
"members":{
2202+
"targets":{"shape":"DeployActionExecutionTargetList"},
2203+
"nextToken":{"shape":"NextToken"}
2204+
}
2205+
},
21302206
"ListPipelineExecutionsInput":{
21312207
"type":"structure",
21322208
"required":["pipelineName"],
@@ -3482,6 +3558,29 @@
34823558
"max":256,
34833559
"min":0
34843560
},
3561+
"TargetFilter":{
3562+
"type":"structure",
3563+
"members":{
3564+
"name":{"shape":"TargetFilterName"},
3565+
"values":{"shape":"TargetFilterValueList"}
3566+
}
3567+
},
3568+
"TargetFilterList":{
3569+
"type":"list",
3570+
"member":{"shape":"TargetFilter"}
3571+
},
3572+
"TargetFilterName":{
3573+
"type":"string",
3574+
"enum":["TARGET_STATUS"]
3575+
},
3576+
"TargetFilterValue":{
3577+
"type":"string",
3578+
"min":1
3579+
},
3580+
"TargetFilterValueList":{
3581+
"type":"list",
3582+
"member":{"shape":"TargetFilterValue"}
3583+
},
34853584
"ThirdPartyJob":{
34863585
"type":"structure",
34873586
"members":{

generator/ServiceModels/codepipeline/codepipeline-2015-07-09.docs.json

Lines changed: 91 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"GetThirdPartyJobDetails": "<p>Requests the details of a job for a third party action. Used for partner actions only.</p> <important> <p>When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action.</p> </important>",
2121
"ListActionExecutions": "<p>Lists the action executions that have occurred in a pipeline.</p>",
2222
"ListActionTypes": "<p>Gets a summary of all CodePipeline action types associated with your account.</p>",
23+
"ListDeployActionExecutionTargets": "<p>Lists the targets for the deploy action.</p>",
2324
"ListPipelineExecutions": "<p>Gets a summary of the most recent executions for a pipeline.</p> <note> <p>When applying the filter for pipeline executions that have succeeded in the stage, the operation returns all executions in the current pipeline version beginning on February 1, 2024.</p> </note>",
2425
"ListPipelines": "<p>Gets a summary of all of the pipelines associated with your account.</p>",
2526
"ListRuleExecutions": "<p>Lists the rule executions that have occurred in a pipeline configured for conditions with rules.</p>",
@@ -202,7 +203,8 @@
202203
"refs": {
203204
"ActionContext$actionExecutionId": "<p>The system-generated unique ID that corresponds to an action's execution.</p>",
204205
"ActionExecution$actionExecutionId": "<p>ID of the workflow action execution in the current stage. Use the <a>GetPipelineState</a> action to retrieve the current action execution details of the current stage.</p> <note> <p>For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.</p> </note>",
205-
"ActionExecutionDetail$actionExecutionId": "<p>The action execution ID.</p>"
206+
"ActionExecutionDetail$actionExecutionId": "<p>The action execution ID.</p>",
207+
"ListDeployActionExecutionTargetsInput$actionExecutionId": "<p>The execution ID for the deploy action.</p>"
206208
}
207209
},
208210
"ActionExecutionInput": {
@@ -211,6 +213,10 @@
211213
"ActionExecutionDetail$input": "<p>Input details for the action execution, such as role ARN, Region, and input artifacts.</p>"
212214
}
213215
},
216+
"ActionExecutionNotFoundException": {
217+
"base": "<p>The action execution was not found.</p>",
218+
"refs": {}
219+
},
214220
"ActionExecutionOutput": {
215221
"base": "<p>Output details listed for an action execution, such as the action execution result.</p>",
216222
"refs": {
@@ -743,6 +749,36 @@
743749
"base": null,
744750
"refs": {}
745751
},
752+
"DeployActionExecutionTarget": {
753+
"base": "<p>The target for the deploy action.</p>",
754+
"refs": {
755+
"DeployActionExecutionTargetList$member": null
756+
}
757+
},
758+
"DeployActionExecutionTargetList": {
759+
"base": null,
760+
"refs": {
761+
"ListDeployActionExecutionTargetsOutput$targets": "<p>The targets for the deploy action.</p>"
762+
}
763+
},
764+
"DeployTargetEvent": {
765+
"base": "<p>A lifecycle event for the deploy action.</p>",
766+
"refs": {
767+
"DeployTargetEventList$member": null
768+
}
769+
},
770+
"DeployTargetEventContext": {
771+
"base": "<p>The context for the event for the deploy action.</p>",
772+
"refs": {
773+
"DeployTargetEvent$context": "<p>The context for the event for the deploy action.</p>"
774+
}
775+
},
776+
"DeployTargetEventList": {
777+
"base": null,
778+
"refs": {
779+
"DeployActionExecutionTarget$events": "<p>The lifecycle events for the deploy action.</p>"
780+
}
781+
},
746782
"DeregisterWebhookWithThirdPartyInput": {
747783
"base": null,
748784
"refs": {}
@@ -1293,6 +1329,14 @@
12931329
"base": "<p>Represents the output of a <code>ListActionTypes</code> action.</p>",
12941330
"refs": {}
12951331
},
1332+
"ListDeployActionExecutionTargetsInput": {
1333+
"base": null,
1334+
"refs": {}
1335+
},
1336+
"ListDeployActionExecutionTargetsOutput": {
1337+
"base": null,
1338+
"refs": {}
1339+
},
12961340
"ListPipelineExecutionsInput": {
12971341
"base": "<p>Represents the input of a <code>ListPipelineExecutions</code> action.</p>",
12981342
"refs": {}
@@ -1378,6 +1422,7 @@
13781422
"base": null,
13791423
"refs": {
13801424
"ListActionExecutionsInput$maxResults": "<p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Action execution history is retained for up to 12 months, based on action execution start times. Default value is 100. </p>",
1425+
"ListDeployActionExecutionTargetsInput$maxResults": "<p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.</p>",
13811426
"ListPipelineExecutionsInput$maxResults": "<p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.</p>",
13821427
"ListRuleExecutionsInput$maxResults": "<p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.</p>",
13831428
"ListTagsForResourceInput$maxResults": "<p>The maximum number of results to return in a single call.</p>",
@@ -1399,6 +1444,7 @@
13991444
"Message": {
14001445
"base": null,
14011446
"refs": {
1447+
"ActionExecutionNotFoundException$message": null,
14021448
"ConcurrentModificationException$message": null,
14031449
"ConcurrentPipelineExecutionsLimitExceededException$message": null,
14041450
"ConflictException$message": null,
@@ -1433,6 +1479,8 @@
14331479
"ListActionExecutionsOutput$nextToken": "<p>If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent <code>ListActionExecutions</code> call to return the next set of action executions in the list.</p>",
14341480
"ListActionTypesInput$nextToken": "<p>An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.</p>",
14351481
"ListActionTypesOutput$nextToken": "<p>If the amount of returned information is significantly large, an identifier is also returned. It can be used in a subsequent list action types call to return the next set of action types in the list.</p>",
1482+
"ListDeployActionExecutionTargetsInput$nextToken": "<p>An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.</p>",
1483+
"ListDeployActionExecutionTargetsOutput$nextToken": "<p>An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.</p>",
14361484
"ListPipelineExecutionsInput$nextToken": "<p>The token that was returned from the previous <code>ListPipelineExecutions</code> call, which can be used to return the next set of pipeline executions in the list.</p>",
14371485
"ListPipelineExecutionsOutput$nextToken": "<p>A token that can be used in the next <code>ListPipelineExecutions</code> call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.</p>",
14381486
"ListPipelinesInput$nextToken": "<p>An identifier that was returned from the previous list pipelines call. It can be used to return the next set of pipelines in the list.</p>",
@@ -1638,6 +1686,7 @@
16381686
"GetPipelineStateInput$name": "<p>The name of the pipeline about which you want to get information.</p>",
16391687
"GetPipelineStateOutput$pipelineName": "<p>The name of the pipeline for which you want to get the state.</p>",
16401688
"ListActionExecutionsInput$pipelineName": "<p> The name of the pipeline for which you want to list action execution history.</p>",
1689+
"ListDeployActionExecutionTargetsInput$pipelineName": "<p>The name of the pipeline with the deploy action.</p>",
16411690
"ListPipelineExecutionsInput$pipelineName": "<p>The name of the pipeline for which you want to get execution summary information.</p>",
16421691
"ListRuleExecutionsInput$pipelineName": "<p>The name of the pipeline for which you want to get execution summary information.</p>",
16431692
"OverrideStageConditionInput$pipelineName": "<p>The name of the pipeline with the stage that will override the condition.</p>",
@@ -2409,6 +2458,13 @@
24092458
"base": null,
24102459
"refs": {
24112460
"ConditionNotOverridableException$message": null,
2461+
"DeployActionExecutionTarget$targetId": "<p>The ID of the target for the deploy action.</p>",
2462+
"DeployActionExecutionTarget$targetType": "<p>The type of target for the deploy action.</p>",
2463+
"DeployActionExecutionTarget$status": "<p>The status of the deploy action.</p>",
2464+
"DeployTargetEvent$name": "<p>The name of the event for the deploy action.</p>",
2465+
"DeployTargetEvent$status": "<p>The status of the event for the deploy action.</p>",
2466+
"DeployTargetEventContext$ssmCommandId": "<p>The command ID for the event for the deploy action.</p>",
2467+
"DeployTargetEventContext$message": "<p>The context message for the event for the deploy action.</p>",
24122468
"ResolvedActionConfigurationMap$key": null,
24132469
"ResolvedActionConfigurationMap$value": null,
24142470
"ResolvedPipelineVariable$name": "<p>The name of a pipeline-level variable.</p>",
@@ -2476,6 +2532,36 @@
24762532
"Tag$value": "<p>The tag's value.</p>"
24772533
}
24782534
},
2535+
"TargetFilter": {
2536+
"base": "<p>Filters the list of targets.</p>",
2537+
"refs": {
2538+
"TargetFilterList$member": null
2539+
}
2540+
},
2541+
"TargetFilterList": {
2542+
"base": null,
2543+
"refs": {
2544+
"ListDeployActionExecutionTargetsInput$filters": "<p>Filters the targets for a specified deploy action.</p>"
2545+
}
2546+
},
2547+
"TargetFilterName": {
2548+
"base": null,
2549+
"refs": {
2550+
"TargetFilter$name": "<p>The name on which to filter.</p>"
2551+
}
2552+
},
2553+
"TargetFilterValue": {
2554+
"base": null,
2555+
"refs": {
2556+
"TargetFilterValueList$member": null
2557+
}
2558+
},
2559+
"TargetFilterValueList": {
2560+
"base": null,
2561+
"refs": {
2562+
"TargetFilter$values": "<p>The values on which to filter.</p>"
2563+
}
2564+
},
24792565
"ThirdPartyJob": {
24802566
"base": "<p>A response to a <code>PollForThirdPartyJobs</code> request returned by CodePipeline when there is a job to be worked on by a partner action.</p>",
24812567
"refs": {
@@ -2525,6 +2611,10 @@
25252611
"ActionRevision$created": "<p>The date and time when the most recent version of the action was created, in timestamp format.</p>",
25262612
"ArtifactRevision$created": "<p>The date and time when the most recent revision of the artifact was created, in timestamp format.</p>",
25272613
"ConditionExecution$lastStatusChange": "<p>The last status change of the condition.</p>",
2614+
"DeployActionExecutionTarget$startTime": "<p>The start time for the deploy action.</p>",
2615+
"DeployActionExecutionTarget$endTime": "<p>The end time for the deploy action.</p>",
2616+
"DeployTargetEvent$startTime": "<p>The start time for the event for the deploy action.</p>",
2617+
"DeployTargetEvent$endTime": "<p>The end time for the event for the deploy action.</p>",
25282618
"GetPipelineStateOutput$created": "<p>The date and time the pipeline was created, in timestamp format.</p>",
25292619
"GetPipelineStateOutput$updated": "<p>The date and time the pipeline was last updated, in timestamp format.</p>",
25302620
"PipelineExecutionSummary$startTime": "<p>The date and time when the pipeline execution began, in timestamp format.</p>",

0 commit comments

Comments
 (0)