@aws-sdk/client-codepipeline 3.810.0 → 3.816.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -543,6 +543,14 @@ ListActionTypes
543
543
 
544
544
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codepipeline/command/ListActionTypesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codepipeline/Interface/ListActionTypesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codepipeline/Interface/ListActionTypesCommandOutput/)
545
545
 
546
+ </details>
547
+ <details>
548
+ <summary>
549
+ ListDeployActionExecutionTargets
550
+ </summary>
551
+
552
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codepipeline/command/ListDeployActionExecutionTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codepipeline/Interface/ListDeployActionExecutionTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codepipeline/Interface/ListDeployActionExecutionTargetsCommandOutput/)
553
+
546
554
  </details>
547
555
  <details>
548
556
  <summary>
package/dist-cjs/index.js CHANGED
@@ -26,6 +26,7 @@ __export(index_exports, {
26
26
  AcknowledgeThirdPartyJobCommand: () => AcknowledgeThirdPartyJobCommand,
27
27
  ActionCategory: () => ActionCategory,
28
28
  ActionConfigurationPropertyType: () => ActionConfigurationPropertyType,
29
+ ActionExecutionNotFoundException: () => ActionExecutionNotFoundException,
29
30
  ActionExecutionStatus: () => ActionExecutionStatus,
30
31
  ActionNotFoundException: () => ActionNotFoundException,
31
32
  ActionOwner: () => ActionOwner,
@@ -90,6 +91,7 @@ __export(index_exports, {
90
91
  LimitExceededException: () => LimitExceededException,
91
92
  ListActionExecutionsCommand: () => ListActionExecutionsCommand,
92
93
  ListActionTypesCommand: () => ListActionTypesCommand,
94
+ ListDeployActionExecutionTargetsCommand: () => ListDeployActionExecutionTargetsCommand,
93
95
  ListPipelineExecutionsCommand: () => ListPipelineExecutionsCommand,
94
96
  ListPipelinesCommand: () => ListPipelinesCommand,
95
97
  ListRuleExecutionsCommand: () => ListRuleExecutionsCommand,
@@ -139,6 +141,7 @@ __export(index_exports, {
139
141
  StartTimeRange: () => StartTimeRange,
140
142
  StopPipelineExecutionCommand: () => StopPipelineExecutionCommand,
141
143
  TagResourceCommand: () => TagResourceCommand,
144
+ TargetFilterName: () => TargetFilterName,
142
145
  ThirdPartyJobDataFilterSensitiveLog: () => ThirdPartyJobDataFilterSensitiveLog,
143
146
  ThirdPartyJobDetailsFilterSensitiveLog: () => ThirdPartyJobDetailsFilterSensitiveLog,
144
147
  TooManyTagsException: () => TooManyTagsException,
@@ -153,6 +156,7 @@ __export(index_exports, {
153
156
  __Client: () => import_smithy_client.Client,
154
157
  paginateListActionExecutions: () => paginateListActionExecutions,
155
158
  paginateListActionTypes: () => paginateListActionTypes,
159
+ paginateListDeployActionExecutionTargets: () => paginateListDeployActionExecutionTargets,
156
160
  paginateListPipelineExecutions: () => paginateListPipelineExecutions,
157
161
  paginateListPipelines: () => paginateListPipelines,
158
162
  paginateListRuleExecutions: () => paginateListRuleExecutions,
@@ -447,6 +451,24 @@ var StartTimeRange = {
447
451
  All: "All",
448
452
  Latest: "Latest"
449
453
  };
454
+ var ActionExecutionNotFoundException = class _ActionExecutionNotFoundException extends CodePipelineServiceException {
455
+ static {
456
+ __name(this, "ActionExecutionNotFoundException");
457
+ }
458
+ name = "ActionExecutionNotFoundException";
459
+ $fault = "client";
460
+ /**
461
+ * @internal
462
+ */
463
+ constructor(opts) {
464
+ super({
465
+ name: "ActionExecutionNotFoundException",
466
+ $fault: "client",
467
+ ...opts
468
+ });
469
+ Object.setPrototypeOf(this, _ActionExecutionNotFoundException.prototype);
470
+ }
471
+ };
450
472
  var ActionNotFoundException = class _ActionNotFoundException extends CodePipelineServiceException {
451
473
  static {
452
474
  __name(this, "ActionNotFoundException");
@@ -898,6 +920,9 @@ var InvalidNextTokenException = class _InvalidNextTokenException extends CodePip
898
920
  Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
899
921
  }
900
922
  };
923
+ var TargetFilterName = {
924
+ TARGET_STATUS: "TARGET_STATUS"
925
+ };
901
926
  var RuleConfigurationPropertyType = {
902
927
  Boolean: "Boolean",
903
928
  Number: "Number",
@@ -1380,6 +1405,12 @@ var se_ListActionTypesCommand = /* @__PURE__ */ __name(async (input, context) =>
1380
1405
  body = JSON.stringify((0, import_smithy_client._json)(input));
1381
1406
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1382
1407
  }, "se_ListActionTypesCommand");
1408
+ var se_ListDeployActionExecutionTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
1409
+ const headers = sharedHeaders("ListDeployActionExecutionTargets");
1410
+ let body;
1411
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1412
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1413
+ }, "se_ListDeployActionExecutionTargetsCommand");
1383
1414
  var se_ListPipelineExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1384
1415
  const headers = sharedHeaders("ListPipelineExecutions");
1385
1416
  let body;
@@ -1752,6 +1783,19 @@ var de_ListActionTypesCommand = /* @__PURE__ */ __name(async (output, context) =
1752
1783
  };
1753
1784
  return response;
1754
1785
  }, "de_ListActionTypesCommand");
1786
+ var de_ListDeployActionExecutionTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
1787
+ if (output.statusCode >= 300) {
1788
+ return de_CommandError(output, context);
1789
+ }
1790
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1791
+ let contents = {};
1792
+ contents = de_ListDeployActionExecutionTargetsOutput(data, context);
1793
+ const response = {
1794
+ $metadata: deserializeMetadata(output),
1795
+ ...contents
1796
+ };
1797
+ return response;
1798
+ }, "de_ListDeployActionExecutionTargetsCommand");
1755
1799
  var de_ListPipelineExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1756
1800
  if (output.statusCode >= 300) {
1757
1801
  return de_CommandError(output, context);
@@ -2129,6 +2173,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2129
2173
  case "InvalidNextTokenException":
2130
2174
  case "com.amazonaws.codepipeline#InvalidNextTokenException":
2131
2175
  throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
2176
+ case "ActionExecutionNotFoundException":
2177
+ case "com.amazonaws.codepipeline#ActionExecutionNotFoundException":
2178
+ throw await de_ActionExecutionNotFoundExceptionRes(parsedOutput, context);
2132
2179
  case "InvalidArnException":
2133
2180
  case "com.amazonaws.codepipeline#InvalidArnException":
2134
2181
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -2195,6 +2242,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2195
2242
  });
2196
2243
  }
2197
2244
  }, "de_CommandError");
2245
+ var de_ActionExecutionNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2246
+ const body = parsedOutput.body;
2247
+ const deserialized = (0, import_smithy_client._json)(body);
2248
+ const exception = new ActionExecutionNotFoundException({
2249
+ $metadata: deserializeMetadata(parsedOutput),
2250
+ ...deserialized
2251
+ });
2252
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2253
+ }, "de_ActionExecutionNotFoundExceptionRes");
2198
2254
  var de_ActionNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2199
2255
  const body = parsedOutput.body;
2200
2256
  const deserialized = (0, import_smithy_client._json)(body);
@@ -2714,6 +2770,37 @@ var de_CreatePipelineOutput = /* @__PURE__ */ __name((output, context) => {
2714
2770
  tags: import_smithy_client._json
2715
2771
  });
2716
2772
  }, "de_CreatePipelineOutput");
2773
+ var de_DeployActionExecutionTarget = /* @__PURE__ */ __name((output, context) => {
2774
+ return (0, import_smithy_client.take)(output, {
2775
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
2776
+ events: /* @__PURE__ */ __name((_) => de_DeployTargetEventList(_, context), "events"),
2777
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
2778
+ status: import_smithy_client.expectString,
2779
+ targetId: import_smithy_client.expectString,
2780
+ targetType: import_smithy_client.expectString
2781
+ });
2782
+ }, "de_DeployActionExecutionTarget");
2783
+ var de_DeployActionExecutionTargetList = /* @__PURE__ */ __name((output, context) => {
2784
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2785
+ return de_DeployActionExecutionTarget(entry, context);
2786
+ });
2787
+ return retVal;
2788
+ }, "de_DeployActionExecutionTargetList");
2789
+ var de_DeployTargetEvent = /* @__PURE__ */ __name((output, context) => {
2790
+ return (0, import_smithy_client.take)(output, {
2791
+ context: import_smithy_client._json,
2792
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
2793
+ name: import_smithy_client.expectString,
2794
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
2795
+ status: import_smithy_client.expectString
2796
+ });
2797
+ }, "de_DeployTargetEvent");
2798
+ var de_DeployTargetEventList = /* @__PURE__ */ __name((output, context) => {
2799
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2800
+ return de_DeployTargetEvent(entry, context);
2801
+ });
2802
+ return retVal;
2803
+ }, "de_DeployTargetEventList");
2717
2804
  var de_GetPipelineExecutionOutput = /* @__PURE__ */ __name((output, context) => {
2718
2805
  return (0, import_smithy_client.take)(output, {
2719
2806
  pipelineExecution: /* @__PURE__ */ __name((_) => de_PipelineExecution(_, context), "pipelineExecution")
@@ -2740,6 +2827,12 @@ var de_ListActionExecutionsOutput = /* @__PURE__ */ __name((output, context) =>
2740
2827
  nextToken: import_smithy_client.expectString
2741
2828
  });
2742
2829
  }, "de_ListActionExecutionsOutput");
2830
+ var de_ListDeployActionExecutionTargetsOutput = /* @__PURE__ */ __name((output, context) => {
2831
+ return (0, import_smithy_client.take)(output, {
2832
+ nextToken: import_smithy_client.expectString,
2833
+ targets: /* @__PURE__ */ __name((_) => de_DeployActionExecutionTargetList(_, context), "targets")
2834
+ });
2835
+ }, "de_ListDeployActionExecutionTargetsOutput");
2743
2836
  var de_ListPipelineExecutionsOutput = /* @__PURE__ */ __name((output, context) => {
2744
2837
  return (0, import_smithy_client.take)(output, {
2745
2838
  nextToken: import_smithy_client.expectString,
@@ -3246,6 +3339,21 @@ var ListActionTypesCommand = class extends import_smithy_client.Command.classBui
3246
3339
  }
3247
3340
  };
3248
3341
 
3342
+ // src/commands/ListDeployActionExecutionTargetsCommand.ts
3343
+
3344
+
3345
+
3346
+ var ListDeployActionExecutionTargetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3347
+ return [
3348
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3349
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3350
+ ];
3351
+ }).s("CodePipeline_20150709", "ListDeployActionExecutionTargets", {}).n("CodePipelineClient", "ListDeployActionExecutionTargetsCommand").f(void 0, void 0).ser(se_ListDeployActionExecutionTargetsCommand).de(de_ListDeployActionExecutionTargetsCommand).build() {
3352
+ static {
3353
+ __name(this, "ListDeployActionExecutionTargetsCommand");
3354
+ }
3355
+ };
3356
+
3249
3357
  // src/commands/ListPipelineExecutionsCommand.ts
3250
3358
 
3251
3359
 
@@ -3641,6 +3749,7 @@ var commands = {
3641
3749
  GetThirdPartyJobDetailsCommand,
3642
3750
  ListActionExecutionsCommand,
3643
3751
  ListActionTypesCommand,
3752
+ ListDeployActionExecutionTargetsCommand,
3644
3753
  ListPipelineExecutionsCommand,
3645
3754
  ListPipelinesCommand,
3646
3755
  ListRuleExecutionsCommand,
@@ -3682,6 +3791,10 @@ var paginateListActionExecutions = (0, import_core.createPaginator)(CodePipeline
3682
3791
 
3683
3792
  var paginateListActionTypes = (0, import_core.createPaginator)(CodePipelineClient, ListActionTypesCommand, "nextToken", "nextToken", "");
3684
3793
 
3794
+ // src/pagination/ListDeployActionExecutionTargetsPaginator.ts
3795
+
3796
+ var paginateListDeployActionExecutionTargets = (0, import_core.createPaginator)(CodePipelineClient, ListDeployActionExecutionTargetsCommand, "nextToken", "nextToken", "maxResults");
3797
+
3685
3798
  // src/pagination/ListPipelineExecutionsPaginator.ts
3686
3799
 
3687
3800
  var paginateListPipelineExecutions = (0, import_core.createPaginator)(CodePipelineClient, ListPipelineExecutionsCommand, "nextToken", "nextToken", "maxResults");
@@ -3727,6 +3840,7 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3727
3840
  GetThirdPartyJobDetailsCommand,
3728
3841
  ListActionExecutionsCommand,
3729
3842
  ListActionTypesCommand,
3843
+ ListDeployActionExecutionTargetsCommand,
3730
3844
  ListPipelineExecutionsCommand,
3731
3845
  ListPipelinesCommand,
3732
3846
  ListRuleExecutionsCommand,
@@ -3754,6 +3868,7 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3754
3868
  UpdatePipelineCommand,
3755
3869
  paginateListActionExecutions,
3756
3870
  paginateListActionTypes,
3871
+ paginateListDeployActionExecutionTargets,
3757
3872
  paginateListPipelineExecutions,
3758
3873
  paginateListPipelines,
3759
3874
  paginateListRuleExecutions,
@@ -3770,6 +3885,7 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3770
3885
  EnvironmentVariableType,
3771
3886
  ActionExecutionStatus,
3772
3887
  StartTimeRange,
3888
+ ActionExecutionNotFoundException,
3773
3889
  ActionNotFoundException,
3774
3890
  ExecutorType,
3775
3891
  ActionTypeNotFoundException,
@@ -3811,6 +3927,7 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3811
3927
  RetryTrigger,
3812
3928
  InvalidJobException,
3813
3929
  InvalidNextTokenException,
3930
+ TargetFilterName,
3814
3931
  RuleConfigurationPropertyType,
3815
3932
  InvalidArnException,
3816
3933
  ResourceNotFoundException,
@@ -18,6 +18,7 @@ import { GetPipelineStateCommand, } from "./commands/GetPipelineStateCommand";
18
18
  import { GetThirdPartyJobDetailsCommand, } from "./commands/GetThirdPartyJobDetailsCommand";
19
19
  import { ListActionExecutionsCommand, } from "./commands/ListActionExecutionsCommand";
20
20
  import { ListActionTypesCommand, } from "./commands/ListActionTypesCommand";
21
+ import { ListDeployActionExecutionTargetsCommand, } from "./commands/ListDeployActionExecutionTargetsCommand";
21
22
  import { ListPipelineExecutionsCommand, } from "./commands/ListPipelineExecutionsCommand";
22
23
  import { ListPipelinesCommand, } from "./commands/ListPipelinesCommand";
23
24
  import { ListRuleExecutionsCommand, } from "./commands/ListRuleExecutionsCommand";
@@ -62,6 +63,7 @@ const commands = {
62
63
  GetThirdPartyJobDetailsCommand,
63
64
  ListActionExecutionsCommand,
64
65
  ListActionTypesCommand,
66
+ ListDeployActionExecutionTargetsCommand,
65
67
  ListPipelineExecutionsCommand,
66
68
  ListPipelinesCommand,
67
69
  ListRuleExecutionsCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListDeployActionExecutionTargetsCommand, se_ListDeployActionExecutionTargetsCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListDeployActionExecutionTargetsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CodePipeline_20150709", "ListDeployActionExecutionTargets", {})
17
+ .n("CodePipelineClient", "ListDeployActionExecutionTargetsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListDeployActionExecutionTargetsCommand)
20
+ .de(de_ListDeployActionExecutionTargetsCommand)
21
+ .build() {
22
+ }
@@ -16,6 +16,7 @@ export * from "./GetPipelineStateCommand";
16
16
  export * from "./GetThirdPartyJobDetailsCommand";
17
17
  export * from "./ListActionExecutionsCommand";
18
18
  export * from "./ListActionTypesCommand";
19
+ export * from "./ListDeployActionExecutionTargetsCommand";
19
20
  export * from "./ListPipelineExecutionsCommand";
20
21
  export * from "./ListPipelinesCommand";
21
22
  export * from "./ListRuleExecutionsCommand";
@@ -90,6 +90,18 @@ export const StartTimeRange = {
90
90
  All: "All",
91
91
  Latest: "Latest",
92
92
  };
93
+ export class ActionExecutionNotFoundException extends __BaseException {
94
+ name = "ActionExecutionNotFoundException";
95
+ $fault = "client";
96
+ constructor(opts) {
97
+ super({
98
+ name: "ActionExecutionNotFoundException",
99
+ $fault: "client",
100
+ ...opts,
101
+ });
102
+ Object.setPrototypeOf(this, ActionExecutionNotFoundException.prototype);
103
+ }
104
+ }
93
105
  export class ActionNotFoundException extends __BaseException {
94
106
  name = "ActionNotFoundException";
95
107
  $fault = "client";
@@ -427,6 +439,9 @@ export class InvalidNextTokenException extends __BaseException {
427
439
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
428
440
  }
429
441
  }
442
+ export const TargetFilterName = {
443
+ TARGET_STATUS: "TARGET_STATUS",
444
+ };
430
445
  export const RuleConfigurationPropertyType = {
431
446
  Boolean: "Boolean",
432
447
  Number: "Number",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CodePipelineClient } from "../CodePipelineClient";
3
+ import { ListDeployActionExecutionTargetsCommand, } from "../commands/ListDeployActionExecutionTargetsCommand";
4
+ export const paginateListDeployActionExecutionTargets = createPaginator(CodePipelineClient, ListDeployActionExecutionTargetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListActionExecutionsPaginator";
3
3
  export * from "./ListActionTypesPaginator";
4
+ export * from "./ListDeployActionExecutionTargetsPaginator";
4
5
  export * from "./ListPipelineExecutionsPaginator";
5
6
  export * from "./ListPipelinesPaginator";
6
7
  export * from "./ListRuleExecutionsPaginator";
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { CodePipelineServiceException as __BaseException } from "../models/CodePipelineServiceException";
6
- import { ActionNotFoundException, ActionTypeNotFoundException, ApprovalAlreadyCompletedException, ConcurrentModificationException, ConcurrentPipelineExecutionsLimitExceededException, ConditionNotOverridableException, ConflictException, DuplicatedStopRequestException, InvalidActionDeclarationException, InvalidApprovalTokenException, InvalidArnException, InvalidBlockerDeclarationException, InvalidClientTokenException, InvalidJobException, InvalidJobStateException, InvalidNextTokenException, InvalidNonceException, InvalidStageDeclarationException, InvalidStructureException, InvalidTagsException, InvalidWebhookAuthenticationParametersException, InvalidWebhookFilterPatternException, JobNotFoundException, LimitExceededException, NotLatestPipelineExecutionException, OutputVariablesSizeExceededException, PipelineExecutionNotFoundException, PipelineExecutionNotStoppableException, PipelineExecutionOutdatedException, PipelineNameInUseException, PipelineNotFoundException, PipelineVersionNotFoundException, RequestFailedException, ResourceNotFoundException, StageNotFoundException, StageNotRetryableException, TooManyTagsException, UnableToRollbackStageException, ValidationException, WebhookNotFoundException, } from "../models/models_0";
6
+ import { ActionExecutionNotFoundException, ActionNotFoundException, ActionTypeNotFoundException, ApprovalAlreadyCompletedException, ConcurrentModificationException, ConcurrentPipelineExecutionsLimitExceededException, ConditionNotOverridableException, ConflictException, DuplicatedStopRequestException, InvalidActionDeclarationException, InvalidApprovalTokenException, InvalidArnException, InvalidBlockerDeclarationException, InvalidClientTokenException, InvalidJobException, InvalidJobStateException, InvalidNextTokenException, InvalidNonceException, InvalidStageDeclarationException, InvalidStructureException, InvalidTagsException, InvalidWebhookAuthenticationParametersException, InvalidWebhookFilterPatternException, JobNotFoundException, LimitExceededException, NotLatestPipelineExecutionException, OutputVariablesSizeExceededException, PipelineExecutionNotFoundException, PipelineExecutionNotStoppableException, PipelineExecutionOutdatedException, PipelineNameInUseException, PipelineNotFoundException, PipelineVersionNotFoundException, RequestFailedException, ResourceNotFoundException, StageNotFoundException, StageNotRetryableException, TooManyTagsException, UnableToRollbackStageException, ValidationException, WebhookNotFoundException, } from "../models/models_0";
7
7
  export const se_AcknowledgeJobCommand = async (input, context) => {
8
8
  const headers = sharedHeaders("AcknowledgeJob");
9
9
  let body;
@@ -112,6 +112,12 @@ export const se_ListActionTypesCommand = async (input, context) => {
112
112
  body = JSON.stringify(_json(input));
113
113
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
114
114
  };
115
+ export const se_ListDeployActionExecutionTargetsCommand = async (input, context) => {
116
+ const headers = sharedHeaders("ListDeployActionExecutionTargets");
117
+ let body;
118
+ body = JSON.stringify(_json(input));
119
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
120
+ };
115
121
  export const se_ListPipelineExecutionsCommand = async (input, context) => {
116
122
  const headers = sharedHeaders("ListPipelineExecutions");
117
123
  let body;
@@ -484,6 +490,19 @@ export const de_ListActionTypesCommand = async (output, context) => {
484
490
  };
485
491
  return response;
486
492
  };
493
+ export const de_ListDeployActionExecutionTargetsCommand = async (output, context) => {
494
+ if (output.statusCode >= 300) {
495
+ return de_CommandError(output, context);
496
+ }
497
+ const data = await parseBody(output.body, context);
498
+ let contents = {};
499
+ contents = de_ListDeployActionExecutionTargetsOutput(data, context);
500
+ const response = {
501
+ $metadata: deserializeMetadata(output),
502
+ ...contents,
503
+ };
504
+ return response;
505
+ };
487
506
  export const de_ListPipelineExecutionsCommand = async (output, context) => {
488
507
  if (output.statusCode >= 300) {
489
508
  return de_CommandError(output, context);
@@ -861,6 +880,9 @@ const de_CommandError = async (output, context) => {
861
880
  case "InvalidNextTokenException":
862
881
  case "com.amazonaws.codepipeline#InvalidNextTokenException":
863
882
  throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
883
+ case "ActionExecutionNotFoundException":
884
+ case "com.amazonaws.codepipeline#ActionExecutionNotFoundException":
885
+ throw await de_ActionExecutionNotFoundExceptionRes(parsedOutput, context);
864
886
  case "InvalidArnException":
865
887
  case "com.amazonaws.codepipeline#InvalidArnException":
866
888
  throw await de_InvalidArnExceptionRes(parsedOutput, context);
@@ -927,6 +949,15 @@ const de_CommandError = async (output, context) => {
927
949
  });
928
950
  }
929
951
  };
952
+ const de_ActionExecutionNotFoundExceptionRes = async (parsedOutput, context) => {
953
+ const body = parsedOutput.body;
954
+ const deserialized = _json(body);
955
+ const exception = new ActionExecutionNotFoundException({
956
+ $metadata: deserializeMetadata(parsedOutput),
957
+ ...deserialized,
958
+ });
959
+ return __decorateServiceException(exception, body);
960
+ };
930
961
  const de_ActionNotFoundExceptionRes = async (parsedOutput, context) => {
931
962
  const body = parsedOutput.body;
932
963
  const deserialized = _json(body);
@@ -1454,6 +1485,41 @@ const de_CreatePipelineOutput = (output, context) => {
1454
1485
  tags: _json,
1455
1486
  });
1456
1487
  };
1488
+ const de_DeployActionExecutionTarget = (output, context) => {
1489
+ return take(output, {
1490
+ endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1491
+ events: (_) => de_DeployTargetEventList(_, context),
1492
+ startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1493
+ status: __expectString,
1494
+ targetId: __expectString,
1495
+ targetType: __expectString,
1496
+ });
1497
+ };
1498
+ const de_DeployActionExecutionTargetList = (output, context) => {
1499
+ const retVal = (output || [])
1500
+ .filter((e) => e != null)
1501
+ .map((entry) => {
1502
+ return de_DeployActionExecutionTarget(entry, context);
1503
+ });
1504
+ return retVal;
1505
+ };
1506
+ const de_DeployTargetEvent = (output, context) => {
1507
+ return take(output, {
1508
+ context: _json,
1509
+ endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1510
+ name: __expectString,
1511
+ startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1512
+ status: __expectString,
1513
+ });
1514
+ };
1515
+ const de_DeployTargetEventList = (output, context) => {
1516
+ const retVal = (output || [])
1517
+ .filter((e) => e != null)
1518
+ .map((entry) => {
1519
+ return de_DeployTargetEvent(entry, context);
1520
+ });
1521
+ return retVal;
1522
+ };
1457
1523
  const de_GetPipelineExecutionOutput = (output, context) => {
1458
1524
  return take(output, {
1459
1525
  pipelineExecution: (_) => de_PipelineExecution(_, context),
@@ -1480,6 +1546,12 @@ const de_ListActionExecutionsOutput = (output, context) => {
1480
1546
  nextToken: __expectString,
1481
1547
  });
1482
1548
  };
1549
+ const de_ListDeployActionExecutionTargetsOutput = (output, context) => {
1550
+ return take(output, {
1551
+ nextToken: __expectString,
1552
+ targets: (_) => de_DeployActionExecutionTargetList(_, context),
1553
+ });
1554
+ };
1483
1555
  const de_ListPipelineExecutionsOutput = (output, context) => {
1484
1556
  return take(output, {
1485
1557
  nextToken: __expectString,
@@ -18,6 +18,7 @@ import { GetPipelineStateCommandInput, GetPipelineStateCommandOutput } from "./c
18
18
  import { GetThirdPartyJobDetailsCommandInput, GetThirdPartyJobDetailsCommandOutput } from "./commands/GetThirdPartyJobDetailsCommand";
19
19
  import { ListActionExecutionsCommandInput, ListActionExecutionsCommandOutput } from "./commands/ListActionExecutionsCommand";
20
20
  import { ListActionTypesCommandInput, ListActionTypesCommandOutput } from "./commands/ListActionTypesCommand";
21
+ import { ListDeployActionExecutionTargetsCommandInput, ListDeployActionExecutionTargetsCommandOutput } from "./commands/ListDeployActionExecutionTargetsCommand";
21
22
  import { ListPipelineExecutionsCommandInput, ListPipelineExecutionsCommandOutput } from "./commands/ListPipelineExecutionsCommand";
22
23
  import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
23
24
  import { ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput } from "./commands/ListRuleExecutionsCommand";
@@ -154,6 +155,12 @@ export interface CodePipeline {
154
155
  listActionTypes(args: ListActionTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListActionTypesCommandOutput>;
155
156
  listActionTypes(args: ListActionTypesCommandInput, cb: (err: any, data?: ListActionTypesCommandOutput) => void): void;
156
157
  listActionTypes(args: ListActionTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActionTypesCommandOutput) => void): void;
158
+ /**
159
+ * @see {@link ListDeployActionExecutionTargetsCommand}
160
+ */
161
+ listDeployActionExecutionTargets(args: ListDeployActionExecutionTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDeployActionExecutionTargetsCommandOutput>;
162
+ listDeployActionExecutionTargets(args: ListDeployActionExecutionTargetsCommandInput, cb: (err: any, data?: ListDeployActionExecutionTargetsCommandOutput) => void): void;
163
+ listDeployActionExecutionTargets(args: ListDeployActionExecutionTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeployActionExecutionTargetsCommandOutput) => void): void;
157
164
  /**
158
165
  * @see {@link ListPipelineExecutionsCommand}
159
166
  */
@@ -25,6 +25,7 @@ import { GetPipelineStateCommandInput, GetPipelineStateCommandOutput } from "./c
25
25
  import { GetThirdPartyJobDetailsCommandInput, GetThirdPartyJobDetailsCommandOutput } from "./commands/GetThirdPartyJobDetailsCommand";
26
26
  import { ListActionExecutionsCommandInput, ListActionExecutionsCommandOutput } from "./commands/ListActionExecutionsCommand";
27
27
  import { ListActionTypesCommandInput, ListActionTypesCommandOutput } from "./commands/ListActionTypesCommand";
28
+ import { ListDeployActionExecutionTargetsCommandInput, ListDeployActionExecutionTargetsCommandOutput } from "./commands/ListDeployActionExecutionTargetsCommand";
28
29
  import { ListPipelineExecutionsCommandInput, ListPipelineExecutionsCommandOutput } from "./commands/ListPipelineExecutionsCommand";
29
30
  import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
30
31
  import { ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput } from "./commands/ListRuleExecutionsCommand";
@@ -56,11 +57,11 @@ export { __Client };
56
57
  /**
57
58
  * @public
58
59
  */
59
- export type ServiceInputTypes = AcknowledgeJobCommandInput | AcknowledgeThirdPartyJobCommandInput | CreateCustomActionTypeCommandInput | CreatePipelineCommandInput | DeleteCustomActionTypeCommandInput | DeletePipelineCommandInput | DeleteWebhookCommandInput | DeregisterWebhookWithThirdPartyCommandInput | DisableStageTransitionCommandInput | EnableStageTransitionCommandInput | GetActionTypeCommandInput | GetJobDetailsCommandInput | GetPipelineCommandInput | GetPipelineExecutionCommandInput | GetPipelineStateCommandInput | GetThirdPartyJobDetailsCommandInput | ListActionExecutionsCommandInput | ListActionTypesCommandInput | ListPipelineExecutionsCommandInput | ListPipelinesCommandInput | ListRuleExecutionsCommandInput | ListRuleTypesCommandInput | ListTagsForResourceCommandInput | ListWebhooksCommandInput | OverrideStageConditionCommandInput | PollForJobsCommandInput | PollForThirdPartyJobsCommandInput | PutActionRevisionCommandInput | PutApprovalResultCommandInput | PutJobFailureResultCommandInput | PutJobSuccessResultCommandInput | PutThirdPartyJobFailureResultCommandInput | PutThirdPartyJobSuccessResultCommandInput | PutWebhookCommandInput | RegisterWebhookWithThirdPartyCommandInput | RetryStageExecutionCommandInput | RollbackStageCommandInput | StartPipelineExecutionCommandInput | StopPipelineExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTypeCommandInput | UpdatePipelineCommandInput;
60
+ export type ServiceInputTypes = AcknowledgeJobCommandInput | AcknowledgeThirdPartyJobCommandInput | CreateCustomActionTypeCommandInput | CreatePipelineCommandInput | DeleteCustomActionTypeCommandInput | DeletePipelineCommandInput | DeleteWebhookCommandInput | DeregisterWebhookWithThirdPartyCommandInput | DisableStageTransitionCommandInput | EnableStageTransitionCommandInput | GetActionTypeCommandInput | GetJobDetailsCommandInput | GetPipelineCommandInput | GetPipelineExecutionCommandInput | GetPipelineStateCommandInput | GetThirdPartyJobDetailsCommandInput | ListActionExecutionsCommandInput | ListActionTypesCommandInput | ListDeployActionExecutionTargetsCommandInput | ListPipelineExecutionsCommandInput | ListPipelinesCommandInput | ListRuleExecutionsCommandInput | ListRuleTypesCommandInput | ListTagsForResourceCommandInput | ListWebhooksCommandInput | OverrideStageConditionCommandInput | PollForJobsCommandInput | PollForThirdPartyJobsCommandInput | PutActionRevisionCommandInput | PutApprovalResultCommandInput | PutJobFailureResultCommandInput | PutJobSuccessResultCommandInput | PutThirdPartyJobFailureResultCommandInput | PutThirdPartyJobSuccessResultCommandInput | PutWebhookCommandInput | RegisterWebhookWithThirdPartyCommandInput | RetryStageExecutionCommandInput | RollbackStageCommandInput | StartPipelineExecutionCommandInput | StopPipelineExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTypeCommandInput | UpdatePipelineCommandInput;
60
61
  /**
61
62
  * @public
62
63
  */
63
- export type ServiceOutputTypes = AcknowledgeJobCommandOutput | AcknowledgeThirdPartyJobCommandOutput | CreateCustomActionTypeCommandOutput | CreatePipelineCommandOutput | DeleteCustomActionTypeCommandOutput | DeletePipelineCommandOutput | DeleteWebhookCommandOutput | DeregisterWebhookWithThirdPartyCommandOutput | DisableStageTransitionCommandOutput | EnableStageTransitionCommandOutput | GetActionTypeCommandOutput | GetJobDetailsCommandOutput | GetPipelineCommandOutput | GetPipelineExecutionCommandOutput | GetPipelineStateCommandOutput | GetThirdPartyJobDetailsCommandOutput | ListActionExecutionsCommandOutput | ListActionTypesCommandOutput | ListPipelineExecutionsCommandOutput | ListPipelinesCommandOutput | ListRuleExecutionsCommandOutput | ListRuleTypesCommandOutput | ListTagsForResourceCommandOutput | ListWebhooksCommandOutput | OverrideStageConditionCommandOutput | PollForJobsCommandOutput | PollForThirdPartyJobsCommandOutput | PutActionRevisionCommandOutput | PutApprovalResultCommandOutput | PutJobFailureResultCommandOutput | PutJobSuccessResultCommandOutput | PutThirdPartyJobFailureResultCommandOutput | PutThirdPartyJobSuccessResultCommandOutput | PutWebhookCommandOutput | RegisterWebhookWithThirdPartyCommandOutput | RetryStageExecutionCommandOutput | RollbackStageCommandOutput | StartPipelineExecutionCommandOutput | StopPipelineExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTypeCommandOutput | UpdatePipelineCommandOutput;
64
+ export type ServiceOutputTypes = AcknowledgeJobCommandOutput | AcknowledgeThirdPartyJobCommandOutput | CreateCustomActionTypeCommandOutput | CreatePipelineCommandOutput | DeleteCustomActionTypeCommandOutput | DeletePipelineCommandOutput | DeleteWebhookCommandOutput | DeregisterWebhookWithThirdPartyCommandOutput | DisableStageTransitionCommandOutput | EnableStageTransitionCommandOutput | GetActionTypeCommandOutput | GetJobDetailsCommandOutput | GetPipelineCommandOutput | GetPipelineExecutionCommandOutput | GetPipelineStateCommandOutput | GetThirdPartyJobDetailsCommandOutput | ListActionExecutionsCommandOutput | ListActionTypesCommandOutput | ListDeployActionExecutionTargetsCommandOutput | ListPipelineExecutionsCommandOutput | ListPipelinesCommandOutput | ListRuleExecutionsCommandOutput | ListRuleTypesCommandOutput | ListTagsForResourceCommandOutput | ListWebhooksCommandOutput | OverrideStageConditionCommandOutput | PollForJobsCommandOutput | PollForThirdPartyJobsCommandOutput | PutActionRevisionCommandOutput | PutApprovalResultCommandOutput | PutJobFailureResultCommandOutput | PutJobSuccessResultCommandOutput | PutThirdPartyJobFailureResultCommandOutput | PutThirdPartyJobSuccessResultCommandOutput | PutWebhookCommandOutput | RegisterWebhookWithThirdPartyCommandOutput | RetryStageExecutionCommandOutput | RollbackStageCommandOutput | StartPipelineExecutionCommandOutput | StopPipelineExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTypeCommandOutput | UpdatePipelineCommandOutput;
64
65
  /**
65
66
  * @public
66
67
  */
@@ -0,0 +1,117 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
4
+ import { ListDeployActionExecutionTargetsInput, ListDeployActionExecutionTargetsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDeployActionExecutionTargetsCommand}.
14
+ */
15
+ export interface ListDeployActionExecutionTargetsCommandInput extends ListDeployActionExecutionTargetsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDeployActionExecutionTargetsCommand}.
21
+ */
22
+ export interface ListDeployActionExecutionTargetsCommandOutput extends ListDeployActionExecutionTargetsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListDeployActionExecutionTargetsCommand_base: {
25
+ new (input: ListDeployActionExecutionTargetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDeployActionExecutionTargetsCommandInput, ListDeployActionExecutionTargetsCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListDeployActionExecutionTargetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDeployActionExecutionTargetsCommandInput, ListDeployActionExecutionTargetsCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the targets for the deploy action.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodePipelineClient, ListDeployActionExecutionTargetsCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
35
+ * // const { CodePipelineClient, ListDeployActionExecutionTargetsCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
36
+ * const client = new CodePipelineClient(config);
37
+ * const input = { // ListDeployActionExecutionTargetsInput
38
+ * pipelineName: "STRING_VALUE",
39
+ * actionExecutionId: "STRING_VALUE", // required
40
+ * filters: [ // TargetFilterList
41
+ * { // TargetFilter
42
+ * name: "TARGET_STATUS",
43
+ * values: [ // TargetFilterValueList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * ],
48
+ * maxResults: Number("int"),
49
+ * nextToken: "STRING_VALUE",
50
+ * };
51
+ * const command = new ListDeployActionExecutionTargetsCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // ListDeployActionExecutionTargetsOutput
54
+ * // targets: [ // DeployActionExecutionTargetList
55
+ * // { // DeployActionExecutionTarget
56
+ * // targetId: "STRING_VALUE",
57
+ * // targetType: "STRING_VALUE",
58
+ * // status: "STRING_VALUE",
59
+ * // startTime: new Date("TIMESTAMP"),
60
+ * // endTime: new Date("TIMESTAMP"),
61
+ * // events: [ // DeployTargetEventList
62
+ * // { // DeployTargetEvent
63
+ * // name: "STRING_VALUE",
64
+ * // status: "STRING_VALUE",
65
+ * // startTime: new Date("TIMESTAMP"),
66
+ * // endTime: new Date("TIMESTAMP"),
67
+ * // context: { // DeployTargetEventContext
68
+ * // ssmCommandId: "STRING_VALUE",
69
+ * // message: "STRING_VALUE",
70
+ * // },
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // ],
75
+ * // nextToken: "STRING_VALUE",
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param ListDeployActionExecutionTargetsCommandInput - {@link ListDeployActionExecutionTargetsCommandInput}
81
+ * @returns {@link ListDeployActionExecutionTargetsCommandOutput}
82
+ * @see {@link ListDeployActionExecutionTargetsCommandInput} for command's `input` shape.
83
+ * @see {@link ListDeployActionExecutionTargetsCommandOutput} for command's `response` shape.
84
+ * @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape.
85
+ *
86
+ * @throws {@link ActionExecutionNotFoundException} (client fault)
87
+ * <p>The action execution was not found.</p>
88
+ *
89
+ * @throws {@link InvalidNextTokenException} (client fault)
90
+ * <p>The next token was specified in an invalid format. Make sure that the next token
91
+ * you provide is the token returned by a previous call.</p>
92
+ *
93
+ * @throws {@link PipelineNotFoundException} (client fault)
94
+ * <p>The pipeline was specified in an invalid format or cannot be found.</p>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <p>The validation was specified in an invalid format.</p>
98
+ *
99
+ * @throws {@link CodePipelineServiceException}
100
+ * <p>Base exception class for all service exceptions from CodePipeline service.</p>
101
+ *
102
+ *
103
+ * @public
104
+ */
105
+ export declare class ListDeployActionExecutionTargetsCommand extends ListDeployActionExecutionTargetsCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: ListDeployActionExecutionTargetsInput;
110
+ output: ListDeployActionExecutionTargetsOutput;
111
+ };
112
+ sdk: {
113
+ input: ListDeployActionExecutionTargetsCommandInput;
114
+ output: ListDeployActionExecutionTargetsCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -16,6 +16,7 @@ export * from "./GetPipelineStateCommand";
16
16
  export * from "./GetThirdPartyJobDetailsCommand";
17
17
  export * from "./ListActionExecutionsCommand";
18
18
  export * from "./ListActionTypesCommand";
19
+ export * from "./ListDeployActionExecutionTargetsCommand";
19
20
  export * from "./ListPipelineExecutionsCommand";
20
21
  export * from "./ListPipelinesCommand";
21
22
  export * from "./ListRuleExecutionsCommand";
@@ -845,6 +845,18 @@ export interface ActionExecutionFilter {
845
845
  */
846
846
  latestInPipelineExecution?: LatestInPipelineExecutionFilter | undefined;
847
847
  }
848
+ /**
849
+ * <p>The action execution was not found.</p>
850
+ * @public
851
+ */
852
+ export declare class ActionExecutionNotFoundException extends __BaseException {
853
+ readonly name: "ActionExecutionNotFoundException";
854
+ readonly $fault: "client";
855
+ /**
856
+ * @internal
857
+ */
858
+ constructor(opts: __ExceptionOptionType<ActionExecutionNotFoundException, __BaseException>);
859
+ }
848
860
  /**
849
861
  * <p>The specified action cannot be found.</p>
850
862
  * @public
@@ -3831,6 +3843,164 @@ export interface ListActionTypesOutput {
3831
3843
  */
3832
3844
  nextToken?: string | undefined;
3833
3845
  }
3846
+ /**
3847
+ * @public
3848
+ * @enum
3849
+ */
3850
+ export declare const TargetFilterName: {
3851
+ readonly TARGET_STATUS: "TARGET_STATUS";
3852
+ };
3853
+ /**
3854
+ * @public
3855
+ */
3856
+ export type TargetFilterName = (typeof TargetFilterName)[keyof typeof TargetFilterName];
3857
+ /**
3858
+ * <p>Filters the list of targets.</p>
3859
+ * @public
3860
+ */
3861
+ export interface TargetFilter {
3862
+ /**
3863
+ * <p>The name on which to filter.</p>
3864
+ * @public
3865
+ */
3866
+ name?: TargetFilterName | undefined;
3867
+ /**
3868
+ * <p>The values on which to filter.</p>
3869
+ * @public
3870
+ */
3871
+ values?: string[] | undefined;
3872
+ }
3873
+ /**
3874
+ * @public
3875
+ */
3876
+ export interface ListDeployActionExecutionTargetsInput {
3877
+ /**
3878
+ * <p>The name of the pipeline with the deploy action.</p>
3879
+ * @public
3880
+ */
3881
+ pipelineName?: string | undefined;
3882
+ /**
3883
+ * <p>The execution ID for the deploy action.</p>
3884
+ * @public
3885
+ */
3886
+ actionExecutionId: string | undefined;
3887
+ /**
3888
+ * <p>Filters the targets for a specified deploy action.</p>
3889
+ * @public
3890
+ */
3891
+ filters?: TargetFilter[] | undefined;
3892
+ /**
3893
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
3894
+ * results, make another call with the returned nextToken value.</p>
3895
+ * @public
3896
+ */
3897
+ maxResults?: number | undefined;
3898
+ /**
3899
+ * <p>An identifier that was returned from the previous list action types call, which can be
3900
+ * used to return the next set of action types in the list.</p>
3901
+ * @public
3902
+ */
3903
+ nextToken?: string | undefined;
3904
+ }
3905
+ /**
3906
+ * <p>The context for the event for the deploy action.</p>
3907
+ * @public
3908
+ */
3909
+ export interface DeployTargetEventContext {
3910
+ /**
3911
+ * <p>The command ID for the event for the deploy action.</p>
3912
+ * @public
3913
+ */
3914
+ ssmCommandId?: string | undefined;
3915
+ /**
3916
+ * <p>The context message for the event for the deploy action.</p>
3917
+ * @public
3918
+ */
3919
+ message?: string | undefined;
3920
+ }
3921
+ /**
3922
+ * <p>A lifecycle event for the deploy action.</p>
3923
+ * @public
3924
+ */
3925
+ export interface DeployTargetEvent {
3926
+ /**
3927
+ * <p>The name of the event for the deploy action.</p>
3928
+ * @public
3929
+ */
3930
+ name?: string | undefined;
3931
+ /**
3932
+ * <p>The status of the event for the deploy action.</p>
3933
+ * @public
3934
+ */
3935
+ status?: string | undefined;
3936
+ /**
3937
+ * <p>The start time for the event for the deploy action.</p>
3938
+ * @public
3939
+ */
3940
+ startTime?: Date | undefined;
3941
+ /**
3942
+ * <p>The end time for the event for the deploy action.</p>
3943
+ * @public
3944
+ */
3945
+ endTime?: Date | undefined;
3946
+ /**
3947
+ * <p>The context for the event for the deploy action.</p>
3948
+ * @public
3949
+ */
3950
+ context?: DeployTargetEventContext | undefined;
3951
+ }
3952
+ /**
3953
+ * <p>The target for the deploy action.</p>
3954
+ * @public
3955
+ */
3956
+ export interface DeployActionExecutionTarget {
3957
+ /**
3958
+ * <p>The ID of the target for the deploy action.</p>
3959
+ * @public
3960
+ */
3961
+ targetId?: string | undefined;
3962
+ /**
3963
+ * <p>The type of target for the deploy action.</p>
3964
+ * @public
3965
+ */
3966
+ targetType?: string | undefined;
3967
+ /**
3968
+ * <p>The status of the deploy action.</p>
3969
+ * @public
3970
+ */
3971
+ status?: string | undefined;
3972
+ /**
3973
+ * <p>The start time for the deploy action.</p>
3974
+ * @public
3975
+ */
3976
+ startTime?: Date | undefined;
3977
+ /**
3978
+ * <p>The end time for the deploy action.</p>
3979
+ * @public
3980
+ */
3981
+ endTime?: Date | undefined;
3982
+ /**
3983
+ * <p>The lifecycle events for the deploy action.</p>
3984
+ * @public
3985
+ */
3986
+ events?: DeployTargetEvent[] | undefined;
3987
+ }
3988
+ /**
3989
+ * @public
3990
+ */
3991
+ export interface ListDeployActionExecutionTargetsOutput {
3992
+ /**
3993
+ * <p>The targets for the deploy action.</p>
3994
+ * @public
3995
+ */
3996
+ targets?: DeployActionExecutionTarget[] | undefined;
3997
+ /**
3998
+ * <p>An identifier that was returned from the previous list action types call, which can be
3999
+ * used to return the next set of action types in the list.</p>
4000
+ * @public
4001
+ */
4002
+ nextToken?: string | undefined;
4003
+ }
3834
4004
  /**
3835
4005
  * <p>Filter for pipeline executions that have successfully completed the stage in the
3836
4006
  * current pipeline version.</p>
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListDeployActionExecutionTargetsCommandInput, ListDeployActionExecutionTargetsCommandOutput } from "../commands/ListDeployActionExecutionTargetsCommand";
3
+ import { CodePipelinePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListDeployActionExecutionTargets: (config: CodePipelinePaginationConfiguration, input: ListDeployActionExecutionTargetsCommandInput, ...rest: any[]) => Paginator<ListDeployActionExecutionTargetsCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListActionExecutionsPaginator";
3
3
  export * from "./ListActionTypesPaginator";
4
+ export * from "./ListDeployActionExecutionTargetsPaginator";
4
5
  export * from "./ListPipelineExecutionsPaginator";
5
6
  export * from "./ListPipelinesPaginator";
6
7
  export * from "./ListRuleExecutionsPaginator";
@@ -18,6 +18,7 @@ import { GetPipelineStateCommandInput, GetPipelineStateCommandOutput } from "../
18
18
  import { GetThirdPartyJobDetailsCommandInput, GetThirdPartyJobDetailsCommandOutput } from "../commands/GetThirdPartyJobDetailsCommand";
19
19
  import { ListActionExecutionsCommandInput, ListActionExecutionsCommandOutput } from "../commands/ListActionExecutionsCommand";
20
20
  import { ListActionTypesCommandInput, ListActionTypesCommandOutput } from "../commands/ListActionTypesCommand";
21
+ import { ListDeployActionExecutionTargetsCommandInput, ListDeployActionExecutionTargetsCommandOutput } from "../commands/ListDeployActionExecutionTargetsCommand";
21
22
  import { ListPipelineExecutionsCommandInput, ListPipelineExecutionsCommandOutput } from "../commands/ListPipelineExecutionsCommand";
22
23
  import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "../commands/ListPipelinesCommand";
23
24
  import { ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput } from "../commands/ListRuleExecutionsCommand";
@@ -115,6 +116,10 @@ export declare const se_ListActionExecutionsCommand: (input: ListActionExecution
115
116
  * serializeAws_json1_1ListActionTypesCommand
116
117
  */
117
118
  export declare const se_ListActionTypesCommand: (input: ListActionTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
+ /**
120
+ * serializeAws_json1_1ListDeployActionExecutionTargetsCommand
121
+ */
122
+ export declare const se_ListDeployActionExecutionTargetsCommand: (input: ListDeployActionExecutionTargetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
123
  /**
119
124
  * serializeAws_json1_1ListPipelineExecutionsCommand
120
125
  */
@@ -287,6 +292,10 @@ export declare const de_ListActionExecutionsCommand: (output: __HttpResponse, co
287
292
  * deserializeAws_json1_1ListActionTypesCommand
288
293
  */
289
294
  export declare const de_ListActionTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListActionTypesCommandOutput>;
295
+ /**
296
+ * deserializeAws_json1_1ListDeployActionExecutionTargetsCommand
297
+ */
298
+ export declare const de_ListDeployActionExecutionTargetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDeployActionExecutionTargetsCommandOutput>;
290
299
  /**
291
300
  * deserializeAws_json1_1ListPipelineExecutionsCommand
292
301
  */
@@ -72,6 +72,10 @@ import {
72
72
  ListActionTypesCommandInput,
73
73
  ListActionTypesCommandOutput,
74
74
  } from "./commands/ListActionTypesCommand";
75
+ import {
76
+ ListDeployActionExecutionTargetsCommandInput,
77
+ ListDeployActionExecutionTargetsCommandOutput,
78
+ } from "./commands/ListDeployActionExecutionTargetsCommand";
75
79
  import {
76
80
  ListPipelineExecutionsCommandInput,
77
81
  ListPipelineExecutionsCommandOutput,
@@ -409,6 +413,19 @@ export interface CodePipeline {
409
413
  options: __HttpHandlerOptions,
410
414
  cb: (err: any, data?: ListActionTypesCommandOutput) => void
411
415
  ): void;
416
+ listDeployActionExecutionTargets(
417
+ args: ListDeployActionExecutionTargetsCommandInput,
418
+ options?: __HttpHandlerOptions
419
+ ): Promise<ListDeployActionExecutionTargetsCommandOutput>;
420
+ listDeployActionExecutionTargets(
421
+ args: ListDeployActionExecutionTargetsCommandInput,
422
+ cb: (err: any, data?: ListDeployActionExecutionTargetsCommandOutput) => void
423
+ ): void;
424
+ listDeployActionExecutionTargets(
425
+ args: ListDeployActionExecutionTargetsCommandInput,
426
+ options: __HttpHandlerOptions,
427
+ cb: (err: any, data?: ListDeployActionExecutionTargetsCommandOutput) => void
428
+ ): void;
412
429
  listPipelineExecutions(
413
430
  args: ListPipelineExecutionsCommandInput,
414
431
  options?: __HttpHandlerOptions
@@ -117,6 +117,10 @@ import {
117
117
  ListActionTypesCommandInput,
118
118
  ListActionTypesCommandOutput,
119
119
  } from "./commands/ListActionTypesCommand";
120
+ import {
121
+ ListDeployActionExecutionTargetsCommandInput,
122
+ ListDeployActionExecutionTargetsCommandOutput,
123
+ } from "./commands/ListDeployActionExecutionTargetsCommand";
120
124
  import {
121
125
  ListPipelineExecutionsCommandInput,
122
126
  ListPipelineExecutionsCommandOutput,
@@ -243,6 +247,7 @@ export type ServiceInputTypes =
243
247
  | GetThirdPartyJobDetailsCommandInput
244
248
  | ListActionExecutionsCommandInput
245
249
  | ListActionTypesCommandInput
250
+ | ListDeployActionExecutionTargetsCommandInput
246
251
  | ListPipelineExecutionsCommandInput
247
252
  | ListPipelinesCommandInput
248
253
  | ListRuleExecutionsCommandInput
@@ -287,6 +292,7 @@ export type ServiceOutputTypes =
287
292
  | GetThirdPartyJobDetailsCommandOutput
288
293
  | ListActionExecutionsCommandOutput
289
294
  | ListActionTypesCommandOutput
295
+ | ListDeployActionExecutionTargetsCommandOutput
290
296
  | ListPipelineExecutionsCommandOutput
291
297
  | ListPipelinesCommandOutput
292
298
  | ListRuleExecutionsCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CodePipelineClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CodePipelineClient";
8
+ import {
9
+ ListDeployActionExecutionTargetsInput,
10
+ ListDeployActionExecutionTargetsOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListDeployActionExecutionTargetsCommandInput
15
+ extends ListDeployActionExecutionTargetsInput {}
16
+ export interface ListDeployActionExecutionTargetsCommandOutput
17
+ extends ListDeployActionExecutionTargetsOutput,
18
+ __MetadataBearer {}
19
+ declare const ListDeployActionExecutionTargetsCommand_base: {
20
+ new (
21
+ input: ListDeployActionExecutionTargetsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListDeployActionExecutionTargetsCommandInput,
24
+ ListDeployActionExecutionTargetsCommandOutput,
25
+ CodePipelineClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListDeployActionExecutionTargetsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListDeployActionExecutionTargetsCommandInput,
33
+ ListDeployActionExecutionTargetsCommandOutput,
34
+ CodePipelineClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListDeployActionExecutionTargetsCommand extends ListDeployActionExecutionTargetsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListDeployActionExecutionTargetsInput;
44
+ output: ListDeployActionExecutionTargetsOutput;
45
+ };
46
+ sdk: {
47
+ input: ListDeployActionExecutionTargetsCommandInput;
48
+ output: ListDeployActionExecutionTargetsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -16,6 +16,7 @@ export * from "./GetPipelineStateCommand";
16
16
  export * from "./GetThirdPartyJobDetailsCommand";
17
17
  export * from "./ListActionExecutionsCommand";
18
18
  export * from "./ListActionTypesCommand";
19
+ export * from "./ListDeployActionExecutionTargetsCommand";
19
20
  export * from "./ListPipelineExecutionsCommand";
20
21
  export * from "./ListPipelinesCommand";
21
22
  export * from "./ListRuleExecutionsCommand";
@@ -213,6 +213,16 @@ export interface ActionExecutionFilter {
213
213
  pipelineExecutionId?: string | undefined;
214
214
  latestInPipelineExecution?: LatestInPipelineExecutionFilter | undefined;
215
215
  }
216
+ export declare class ActionExecutionNotFoundException extends __BaseException {
217
+ readonly name: "ActionExecutionNotFoundException";
218
+ readonly $fault: "client";
219
+ constructor(
220
+ opts: __ExceptionOptionType<
221
+ ActionExecutionNotFoundException,
222
+ __BaseException
223
+ >
224
+ );
225
+ }
216
226
  export declare class ActionNotFoundException extends __BaseException {
217
227
  readonly name: "ActionNotFoundException";
218
228
  readonly $fault: "client";
@@ -983,6 +993,45 @@ export interface ListActionTypesOutput {
983
993
  actionTypes: ActionType[] | undefined;
984
994
  nextToken?: string | undefined;
985
995
  }
996
+ export declare const TargetFilterName: {
997
+ readonly TARGET_STATUS: "TARGET_STATUS";
998
+ };
999
+ export type TargetFilterName =
1000
+ (typeof TargetFilterName)[keyof typeof TargetFilterName];
1001
+ export interface TargetFilter {
1002
+ name?: TargetFilterName | undefined;
1003
+ values?: string[] | undefined;
1004
+ }
1005
+ export interface ListDeployActionExecutionTargetsInput {
1006
+ pipelineName?: string | undefined;
1007
+ actionExecutionId: string | undefined;
1008
+ filters?: TargetFilter[] | undefined;
1009
+ maxResults?: number | undefined;
1010
+ nextToken?: string | undefined;
1011
+ }
1012
+ export interface DeployTargetEventContext {
1013
+ ssmCommandId?: string | undefined;
1014
+ message?: string | undefined;
1015
+ }
1016
+ export interface DeployTargetEvent {
1017
+ name?: string | undefined;
1018
+ status?: string | undefined;
1019
+ startTime?: Date | undefined;
1020
+ endTime?: Date | undefined;
1021
+ context?: DeployTargetEventContext | undefined;
1022
+ }
1023
+ export interface DeployActionExecutionTarget {
1024
+ targetId?: string | undefined;
1025
+ targetType?: string | undefined;
1026
+ status?: string | undefined;
1027
+ startTime?: Date | undefined;
1028
+ endTime?: Date | undefined;
1029
+ events?: DeployTargetEvent[] | undefined;
1030
+ }
1031
+ export interface ListDeployActionExecutionTargetsOutput {
1032
+ targets?: DeployActionExecutionTarget[] | undefined;
1033
+ nextToken?: string | undefined;
1034
+ }
986
1035
  export interface SucceededInStageFilter {
987
1036
  stageName?: string | undefined;
988
1037
  }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListDeployActionExecutionTargetsCommandInput,
4
+ ListDeployActionExecutionTargetsCommandOutput,
5
+ } from "../commands/ListDeployActionExecutionTargetsCommand";
6
+ import { CodePipelinePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListDeployActionExecutionTargets: (
8
+ config: CodePipelinePaginationConfiguration,
9
+ input: ListDeployActionExecutionTargetsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListDeployActionExecutionTargetsCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListActionExecutionsPaginator";
3
3
  export * from "./ListActionTypesPaginator";
4
+ export * from "./ListDeployActionExecutionTargetsPaginator";
4
5
  export * from "./ListPipelineExecutionsPaginator";
5
6
  export * from "./ListPipelinesPaginator";
6
7
  export * from "./ListRuleExecutionsPaginator";
@@ -75,6 +75,10 @@ import {
75
75
  ListActionTypesCommandInput,
76
76
  ListActionTypesCommandOutput,
77
77
  } from "../commands/ListActionTypesCommand";
78
+ import {
79
+ ListDeployActionExecutionTargetsCommandInput,
80
+ ListDeployActionExecutionTargetsCommandOutput,
81
+ } from "../commands/ListDeployActionExecutionTargetsCommand";
78
82
  import {
79
83
  ListPipelineExecutionsCommandInput,
80
84
  ListPipelineExecutionsCommandOutput,
@@ -247,6 +251,10 @@ export declare const se_ListActionTypesCommand: (
247
251
  input: ListActionTypesCommandInput,
248
252
  context: __SerdeContext
249
253
  ) => Promise<__HttpRequest>;
254
+ export declare const se_ListDeployActionExecutionTargetsCommand: (
255
+ input: ListDeployActionExecutionTargetsCommandInput,
256
+ context: __SerdeContext
257
+ ) => Promise<__HttpRequest>;
250
258
  export declare const se_ListPipelineExecutionsCommand: (
251
259
  input: ListPipelineExecutionsCommandInput,
252
260
  context: __SerdeContext
@@ -419,6 +427,10 @@ export declare const de_ListActionTypesCommand: (
419
427
  output: __HttpResponse,
420
428
  context: __SerdeContext
421
429
  ) => Promise<ListActionTypesCommandOutput>;
430
+ export declare const de_ListDeployActionExecutionTargetsCommand: (
431
+ output: __HttpResponse,
432
+ context: __SerdeContext
433
+ ) => Promise<ListDeployActionExecutionTargetsCommandOutput>;
422
434
  export declare const de_ListPipelineExecutionsCommand: (
423
435
  output: __HttpResponse,
424
436
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codepipeline",
3
3
  "description": "AWS SDK for JavaScript Codepipeline Client for Node.js, Browser and React Native",
4
- "version": "3.810.0",
4
+ "version": "3.816.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codepipeline",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.810.0",
24
- "@aws-sdk/credential-provider-node": "3.810.0",
23
+ "@aws-sdk/core": "3.816.0",
24
+ "@aws-sdk/credential-provider-node": "3.816.0",
25
25
  "@aws-sdk/middleware-host-header": "3.804.0",
26
26
  "@aws-sdk/middleware-logger": "3.804.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
- "@aws-sdk/middleware-user-agent": "3.810.0",
28
+ "@aws-sdk/middleware-user-agent": "3.816.0",
29
29
  "@aws-sdk/region-config-resolver": "3.808.0",
30
30
  "@aws-sdk/types": "3.804.0",
31
31
  "@aws-sdk/util-endpoints": "3.808.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.804.0",
33
- "@aws-sdk/util-user-agent-node": "3.810.0",
33
+ "@aws-sdk/util-user-agent-node": "3.816.0",
34
34
  "@smithy/config-resolver": "^4.1.2",
35
35
  "@smithy/core": "^3.3.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",