@aws-sdk/client-codepipeline 3.620.1 → 3.622.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.
Files changed (46) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +386 -89
  3. package/dist-es/CodePipeline.js +6 -0
  4. package/dist-es/CodePipelineClient.js +12 -18
  5. package/dist-es/commands/ListRuleExecutionsCommand.js +24 -0
  6. package/dist-es/commands/ListRuleTypesCommand.js +24 -0
  7. package/dist-es/commands/OverrideStageConditionCommand.js +24 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +82 -39
  10. package/dist-es/pagination/ListRuleExecutionsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_json1_1.js +198 -14
  13. package/dist-types/CodePipeline.d.ts +22 -0
  14. package/dist-types/CodePipelineClient.d.ts +7 -6
  15. package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  16. package/dist-types/commands/CreatePipelineCommand.d.ts +172 -2
  17. package/dist-types/commands/GetPipelineCommand.d.ts +86 -1
  18. package/dist-types/commands/GetPipelineStateCommand.d.ts +123 -0
  19. package/dist-types/commands/ListRuleExecutionsCommand.d.ts +132 -0
  20. package/dist-types/commands/ListRuleTypesCommand.d.ts +98 -0
  21. package/dist-types/commands/OverrideStageConditionCommand.d.ts +85 -0
  22. package/dist-types/commands/PutActionRevisionCommand.d.ts +3 -0
  23. package/dist-types/commands/RetryStageExecutionCommand.d.ts +3 -0
  24. package/dist-types/commands/UpdatePipelineCommand.d.ts +172 -2
  25. package/dist-types/commands/index.d.ts +3 -0
  26. package/dist-types/models/models_0.d.ts +1019 -222
  27. package/dist-types/pagination/ListRuleExecutionsPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  30. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  31. package/dist-types/runtimeConfig.d.ts +2 -2
  32. package/dist-types/runtimeConfig.native.d.ts +2 -2
  33. package/dist-types/ts3.4/CodePipeline.d.ts +52 -0
  34. package/dist-types/ts3.4/CodePipelineClient.d.ts +24 -8
  35. package/dist-types/ts3.4/commands/ListRuleExecutionsCommand.d.ts +40 -0
  36. package/dist-types/ts3.4/commands/ListRuleTypesCommand.d.ts +36 -0
  37. package/dist-types/ts3.4/commands/OverrideStageConditionCommand.d.ts +35 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +228 -29
  40. package/dist-types/ts3.4/pagination/ListRuleExecutionsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  46. package/package.json +11 -11
@@ -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, 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 { 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;
@@ -25,7 +25,7 @@ export const se_CreateCustomActionTypeCommand = async (input, context) => {
25
25
  export const se_CreatePipelineCommand = async (input, context) => {
26
26
  const headers = sharedHeaders("CreatePipeline");
27
27
  let body;
28
- body = JSON.stringify(_json(input));
28
+ body = JSON.stringify(se_CreatePipelineInput(input, context));
29
29
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
30
30
  };
31
31
  export const se_DeleteCustomActionTypeCommand = async (input, context) => {
@@ -124,6 +124,18 @@ export const se_ListPipelinesCommand = async (input, context) => {
124
124
  body = JSON.stringify(_json(input));
125
125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
126
126
  };
127
+ export const se_ListRuleExecutionsCommand = async (input, context) => {
128
+ const headers = sharedHeaders("ListRuleExecutions");
129
+ let body;
130
+ body = JSON.stringify(_json(input));
131
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
132
+ };
133
+ export const se_ListRuleTypesCommand = async (input, context) => {
134
+ const headers = sharedHeaders("ListRuleTypes");
135
+ let body;
136
+ body = JSON.stringify(_json(input));
137
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
138
+ };
127
139
  export const se_ListTagsForResourceCommand = async (input, context) => {
128
140
  const headers = sharedHeaders("ListTagsForResource");
129
141
  let body;
@@ -136,6 +148,12 @@ export const se_ListWebhooksCommand = async (input, context) => {
136
148
  body = JSON.stringify(_json(input));
137
149
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
138
150
  };
151
+ export const se_OverrideStageConditionCommand = async (input, context) => {
152
+ const headers = sharedHeaders("OverrideStageCondition");
153
+ let body;
154
+ body = JSON.stringify(_json(input));
155
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
156
+ };
139
157
  export const se_PollForJobsCommand = async (input, context) => {
140
158
  const headers = sharedHeaders("PollForJobs");
141
159
  let body;
@@ -241,7 +259,7 @@ export const se_UpdateActionTypeCommand = async (input, context) => {
241
259
  export const se_UpdatePipelineCommand = async (input, context) => {
242
260
  const headers = sharedHeaders("UpdatePipeline");
243
261
  let body;
244
- body = JSON.stringify(_json(input));
262
+ body = JSON.stringify(se_UpdatePipelineInput(input, context));
245
263
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
246
264
  };
247
265
  export const de_AcknowledgeJobCommand = async (output, context) => {
@@ -289,7 +307,7 @@ export const de_CreatePipelineCommand = async (output, context) => {
289
307
  }
290
308
  const data = await parseBody(output.body, context);
291
309
  let contents = {};
292
- contents = _json(data);
310
+ contents = de_CreatePipelineOutput(data, context);
293
311
  const response = {
294
312
  $metadata: deserializeMetadata(output),
295
313
  ...contents,
@@ -492,6 +510,32 @@ export const de_ListPipelinesCommand = async (output, context) => {
492
510
  };
493
511
  return response;
494
512
  };
513
+ export const de_ListRuleExecutionsCommand = async (output, context) => {
514
+ if (output.statusCode >= 300) {
515
+ return de_CommandError(output, context);
516
+ }
517
+ const data = await parseBody(output.body, context);
518
+ let contents = {};
519
+ contents = de_ListRuleExecutionsOutput(data, context);
520
+ const response = {
521
+ $metadata: deserializeMetadata(output),
522
+ ...contents,
523
+ };
524
+ return response;
525
+ };
526
+ export const de_ListRuleTypesCommand = async (output, context) => {
527
+ if (output.statusCode >= 300) {
528
+ return de_CommandError(output, context);
529
+ }
530
+ const data = await parseBody(output.body, context);
531
+ let contents = {};
532
+ contents = _json(data);
533
+ const response = {
534
+ $metadata: deserializeMetadata(output),
535
+ ...contents,
536
+ };
537
+ return response;
538
+ };
495
539
  export const de_ListTagsForResourceCommand = async (output, context) => {
496
540
  if (output.statusCode >= 300) {
497
541
  return de_CommandError(output, context);
@@ -518,6 +562,16 @@ export const de_ListWebhooksCommand = async (output, context) => {
518
562
  };
519
563
  return response;
520
564
  };
565
+ export const de_OverrideStageConditionCommand = async (output, context) => {
566
+ if (output.statusCode >= 300) {
567
+ return de_CommandError(output, context);
568
+ }
569
+ await collectBody(output.body, context);
570
+ const response = {
571
+ $metadata: deserializeMetadata(output),
572
+ };
573
+ return response;
574
+ };
521
575
  export const de_PollForJobsCommand = async (output, context) => {
522
576
  if (output.statusCode >= 300) {
523
577
  return de_CommandError(output, context);
@@ -730,7 +784,7 @@ export const de_UpdatePipelineCommand = async (output, context) => {
730
784
  }
731
785
  const data = await parseBody(output.body, context);
732
786
  let contents = {};
733
- contents = _json(data);
787
+ contents = de_UpdatePipelineOutput(data, context);
734
788
  const response = {
735
789
  $metadata: deserializeMetadata(output),
736
790
  ...contents,
@@ -813,6 +867,18 @@ const de_CommandError = async (output, context) => {
813
867
  case "ResourceNotFoundException":
814
868
  case "com.amazonaws.codepipeline#ResourceNotFoundException":
815
869
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
870
+ case "ConcurrentPipelineExecutionsLimitExceededException":
871
+ case "com.amazonaws.codepipeline#ConcurrentPipelineExecutionsLimitExceededException":
872
+ throw await de_ConcurrentPipelineExecutionsLimitExceededExceptionRes(parsedOutput, context);
873
+ case "ConditionNotOverridableException":
874
+ case "com.amazonaws.codepipeline#ConditionNotOverridableException":
875
+ throw await de_ConditionNotOverridableExceptionRes(parsedOutput, context);
876
+ case "ConflictException":
877
+ case "com.amazonaws.codepipeline#ConflictException":
878
+ throw await de_ConflictExceptionRes(parsedOutput, context);
879
+ case "NotLatestPipelineExecutionException":
880
+ case "com.amazonaws.codepipeline#NotLatestPipelineExecutionException":
881
+ throw await de_NotLatestPipelineExecutionExceptionRes(parsedOutput, context);
816
882
  case "ActionNotFoundException":
817
883
  case "com.amazonaws.codepipeline#ActionNotFoundException":
818
884
  throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
@@ -834,12 +900,6 @@ const de_CommandError = async (output, context) => {
834
900
  case "InvalidWebhookFilterPatternException":
835
901
  case "com.amazonaws.codepipeline#InvalidWebhookFilterPatternException":
836
902
  throw await de_InvalidWebhookFilterPatternExceptionRes(parsedOutput, context);
837
- case "ConflictException":
838
- case "com.amazonaws.codepipeline#ConflictException":
839
- throw await de_ConflictExceptionRes(parsedOutput, context);
840
- case "NotLatestPipelineExecutionException":
841
- case "com.amazonaws.codepipeline#NotLatestPipelineExecutionException":
842
- throw await de_NotLatestPipelineExecutionExceptionRes(parsedOutput, context);
843
903
  case "StageNotRetryableException":
844
904
  case "com.amazonaws.codepipeline#StageNotRetryableException":
845
905
  throw await de_StageNotRetryableExceptionRes(parsedOutput, context);
@@ -849,9 +909,6 @@ const de_CommandError = async (output, context) => {
849
909
  case "UnableToRollbackStageException":
850
910
  case "com.amazonaws.codepipeline#UnableToRollbackStageException":
851
911
  throw await de_UnableToRollbackStageExceptionRes(parsedOutput, context);
852
- case "ConcurrentPipelineExecutionsLimitExceededException":
853
- case "com.amazonaws.codepipeline#ConcurrentPipelineExecutionsLimitExceededException":
854
- throw await de_ConcurrentPipelineExecutionsLimitExceededExceptionRes(parsedOutput, context);
855
912
  case "DuplicatedStopRequestException":
856
913
  case "com.amazonaws.codepipeline#DuplicatedStopRequestException":
857
914
  throw await de_DuplicatedStopRequestExceptionRes(parsedOutput, context);
@@ -915,6 +972,15 @@ const de_ConcurrentPipelineExecutionsLimitExceededExceptionRes = async (parsedOu
915
972
  });
916
973
  return __decorateServiceException(exception, body);
917
974
  };
975
+ const de_ConditionNotOverridableExceptionRes = async (parsedOutput, context) => {
976
+ const body = parsedOutput.body;
977
+ const deserialized = _json(body);
978
+ const exception = new ConditionNotOverridableException({
979
+ $metadata: deserializeMetadata(parsedOutput),
980
+ ...deserialized,
981
+ });
982
+ return __decorateServiceException(exception, body);
983
+ };
918
984
  const de_ConflictExceptionRes = async (parsedOutput, context) => {
919
985
  const body = parsedOutput.body;
920
986
  const deserialized = _json(body);
@@ -1228,6 +1294,12 @@ const se_ActionRevision = (input, context) => {
1228
1294
  revisionId: [],
1229
1295
  });
1230
1296
  };
1297
+ const se_CreatePipelineInput = (input, context) => {
1298
+ return take(input, {
1299
+ pipeline: _json,
1300
+ tags: _json,
1301
+ });
1302
+ };
1231
1303
  const se_CurrentRevision = (input, context) => {
1232
1304
  return take(input, {
1233
1305
  changeIdentifier: [],
@@ -1270,6 +1342,11 @@ const se_StartPipelineExecutionInput = (input, context) => {
1270
1342
  variables: _json,
1271
1343
  });
1272
1344
  };
1345
+ const se_UpdatePipelineInput = (input, context) => {
1346
+ return take(input, {
1347
+ pipeline: _json,
1348
+ });
1349
+ };
1273
1350
  const de_ActionExecution = (output, context) => {
1274
1351
  return take(output, {
1275
1352
  actionExecutionId: __expectString,
@@ -1349,6 +1426,33 @@ const de_ArtifactRevisionList = (output, context) => {
1349
1426
  });
1350
1427
  return retVal;
1351
1428
  };
1429
+ const de_ConditionExecution = (output, context) => {
1430
+ return take(output, {
1431
+ lastStatusChange: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1432
+ status: __expectString,
1433
+ summary: __expectString,
1434
+ });
1435
+ };
1436
+ const de_ConditionState = (output, context) => {
1437
+ return take(output, {
1438
+ latestExecution: (_) => de_ConditionExecution(_, context),
1439
+ ruleStates: (_) => de_RuleStateList(_, context),
1440
+ });
1441
+ };
1442
+ const de_ConditionStateList = (output, context) => {
1443
+ const retVal = (output || [])
1444
+ .filter((e) => e != null)
1445
+ .map((entry) => {
1446
+ return de_ConditionState(entry, context);
1447
+ });
1448
+ return retVal;
1449
+ };
1450
+ const de_CreatePipelineOutput = (output, context) => {
1451
+ return take(output, {
1452
+ pipeline: _json,
1453
+ tags: _json,
1454
+ });
1455
+ };
1352
1456
  const de_GetPipelineExecutionOutput = (output, context) => {
1353
1457
  return take(output, {
1354
1458
  pipelineExecution: (_) => de_PipelineExecution(_, context),
@@ -1387,6 +1491,12 @@ const de_ListPipelinesOutput = (output, context) => {
1387
1491
  pipelines: (_) => de_PipelineList(_, context),
1388
1492
  });
1389
1493
  };
1494
+ const de_ListRuleExecutionsOutput = (output, context) => {
1495
+ return take(output, {
1496
+ nextToken: __expectString,
1497
+ ruleExecutionDetails: (_) => de_RuleExecutionDetailList(_, context),
1498
+ });
1499
+ };
1390
1500
  const de_ListWebhookItem = (output, context) => {
1391
1501
  return take(output, {
1392
1502
  arn: __expectString,
@@ -1478,13 +1588,82 @@ const de_PutWebhookOutput = (output, context) => {
1478
1588
  webhook: (_) => de_ListWebhookItem(_, context),
1479
1589
  });
1480
1590
  };
1591
+ const de_RuleExecution = (output, context) => {
1592
+ return take(output, {
1593
+ errorDetails: _json,
1594
+ externalExecutionId: __expectString,
1595
+ externalExecutionUrl: __expectString,
1596
+ lastStatusChange: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1597
+ lastUpdatedBy: __expectString,
1598
+ ruleExecutionId: __expectString,
1599
+ status: __expectString,
1600
+ summary: __expectString,
1601
+ token: __expectString,
1602
+ });
1603
+ };
1604
+ const de_RuleExecutionDetail = (output, context) => {
1605
+ return take(output, {
1606
+ input: _json,
1607
+ lastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1608
+ output: _json,
1609
+ pipelineExecutionId: __expectString,
1610
+ pipelineVersion: __expectInt32,
1611
+ ruleExecutionId: __expectString,
1612
+ ruleName: __expectString,
1613
+ stageName: __expectString,
1614
+ startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1615
+ status: __expectString,
1616
+ updatedBy: __expectString,
1617
+ });
1618
+ };
1619
+ const de_RuleExecutionDetailList = (output, context) => {
1620
+ const retVal = (output || [])
1621
+ .filter((e) => e != null)
1622
+ .map((entry) => {
1623
+ return de_RuleExecutionDetail(entry, context);
1624
+ });
1625
+ return retVal;
1626
+ };
1627
+ const de_RuleRevision = (output, context) => {
1628
+ return take(output, {
1629
+ created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1630
+ revisionChangeId: __expectString,
1631
+ revisionId: __expectString,
1632
+ });
1633
+ };
1634
+ const de_RuleState = (output, context) => {
1635
+ return take(output, {
1636
+ currentRevision: (_) => de_RuleRevision(_, context),
1637
+ entityUrl: __expectString,
1638
+ latestExecution: (_) => de_RuleExecution(_, context),
1639
+ revisionUrl: __expectString,
1640
+ ruleName: __expectString,
1641
+ });
1642
+ };
1643
+ const de_RuleStateList = (output, context) => {
1644
+ const retVal = (output || [])
1645
+ .filter((e) => e != null)
1646
+ .map((entry) => {
1647
+ return de_RuleState(entry, context);
1648
+ });
1649
+ return retVal;
1650
+ };
1651
+ const de_StageConditionState = (output, context) => {
1652
+ return take(output, {
1653
+ conditionStates: (_) => de_ConditionStateList(_, context),
1654
+ latestExecution: _json,
1655
+ });
1656
+ };
1481
1657
  const de_StageState = (output, context) => {
1482
1658
  return take(output, {
1483
1659
  actionStates: (_) => de_ActionStateList(_, context),
1660
+ beforeEntryConditionState: (_) => de_StageConditionState(_, context),
1484
1661
  inboundExecution: _json,
1485
1662
  inboundExecutions: _json,
1486
1663
  inboundTransitionState: (_) => de_TransitionState(_, context),
1487
1664
  latestExecution: _json,
1665
+ onFailureConditionState: (_) => de_StageConditionState(_, context),
1666
+ onSuccessConditionState: (_) => de_StageConditionState(_, context),
1488
1667
  stageName: __expectString,
1489
1668
  });
1490
1669
  };
@@ -1504,6 +1683,11 @@ const de_TransitionState = (output, context) => {
1504
1683
  lastChangedBy: __expectString,
1505
1684
  });
1506
1685
  };
1686
+ const de_UpdatePipelineOutput = (output, context) => {
1687
+ return take(output, {
1688
+ pipeline: _json,
1689
+ });
1690
+ };
1507
1691
  const de_WebhookList = (output, context) => {
1508
1692
  const retVal = (output || [])
1509
1693
  .filter((e) => e != null)
@@ -20,8 +20,11 @@ import { ListActionExecutionsCommandInput, ListActionExecutionsCommandOutput } f
20
20
  import { ListActionTypesCommandInput, ListActionTypesCommandOutput } from "./commands/ListActionTypesCommand";
21
21
  import { ListPipelineExecutionsCommandInput, ListPipelineExecutionsCommandOutput } from "./commands/ListPipelineExecutionsCommand";
22
22
  import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
23
+ import { ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput } from "./commands/ListRuleExecutionsCommand";
24
+ import { ListRuleTypesCommandInput, ListRuleTypesCommandOutput } from "./commands/ListRuleTypesCommand";
23
25
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
24
26
  import { ListWebhooksCommandInput, ListWebhooksCommandOutput } from "./commands/ListWebhooksCommand";
27
+ import { OverrideStageConditionCommandInput, OverrideStageConditionCommandOutput } from "./commands/OverrideStageConditionCommand";
25
28
  import { PollForJobsCommandInput, PollForJobsCommandOutput } from "./commands/PollForJobsCommand";
26
29
  import { PollForThirdPartyJobsCommandInput, PollForThirdPartyJobsCommandOutput } from "./commands/PollForThirdPartyJobsCommand";
27
30
  import { PutActionRevisionCommandInput, PutActionRevisionCommandOutput } from "./commands/PutActionRevisionCommand";
@@ -164,6 +167,19 @@ export interface CodePipeline {
164
167
  listPipelines(args: ListPipelinesCommandInput, options?: __HttpHandlerOptions): Promise<ListPipelinesCommandOutput>;
165
168
  listPipelines(args: ListPipelinesCommandInput, cb: (err: any, data?: ListPipelinesCommandOutput) => void): void;
166
169
  listPipelines(args: ListPipelinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipelinesCommandOutput) => void): void;
170
+ /**
171
+ * @see {@link ListRuleExecutionsCommand}
172
+ */
173
+ listRuleExecutions(args: ListRuleExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleExecutionsCommandOutput>;
174
+ listRuleExecutions(args: ListRuleExecutionsCommandInput, cb: (err: any, data?: ListRuleExecutionsCommandOutput) => void): void;
175
+ listRuleExecutions(args: ListRuleExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleExecutionsCommandOutput) => void): void;
176
+ /**
177
+ * @see {@link ListRuleTypesCommand}
178
+ */
179
+ listRuleTypes(): Promise<ListRuleTypesCommandOutput>;
180
+ listRuleTypes(args: ListRuleTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleTypesCommandOutput>;
181
+ listRuleTypes(args: ListRuleTypesCommandInput, cb: (err: any, data?: ListRuleTypesCommandOutput) => void): void;
182
+ listRuleTypes(args: ListRuleTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleTypesCommandOutput) => void): void;
167
183
  /**
168
184
  * @see {@link ListTagsForResourceCommand}
169
185
  */
@@ -177,6 +193,12 @@ export interface CodePipeline {
177
193
  listWebhooks(args: ListWebhooksCommandInput, options?: __HttpHandlerOptions): Promise<ListWebhooksCommandOutput>;
178
194
  listWebhooks(args: ListWebhooksCommandInput, cb: (err: any, data?: ListWebhooksCommandOutput) => void): void;
179
195
  listWebhooks(args: ListWebhooksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWebhooksCommandOutput) => void): void;
196
+ /**
197
+ * @see {@link OverrideStageConditionCommand}
198
+ */
199
+ overrideStageCondition(args: OverrideStageConditionCommandInput, options?: __HttpHandlerOptions): Promise<OverrideStageConditionCommandOutput>;
200
+ overrideStageCondition(args: OverrideStageConditionCommandInput, cb: (err: any, data?: OverrideStageConditionCommandOutput) => void): void;
201
+ overrideStageCondition(args: OverrideStageConditionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OverrideStageConditionCommandOutput) => void): void;
180
202
  /**
181
203
  * @see {@link PollForJobsCommand}
182
204
  */
@@ -27,8 +27,11 @@ import { ListActionExecutionsCommandInput, ListActionExecutionsCommandOutput } f
27
27
  import { ListActionTypesCommandInput, ListActionTypesCommandOutput } from "./commands/ListActionTypesCommand";
28
28
  import { ListPipelineExecutionsCommandInput, ListPipelineExecutionsCommandOutput } from "./commands/ListPipelineExecutionsCommand";
29
29
  import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
30
+ import { ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput } from "./commands/ListRuleExecutionsCommand";
31
+ import { ListRuleTypesCommandInput, ListRuleTypesCommandOutput } from "./commands/ListRuleTypesCommand";
30
32
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
31
33
  import { ListWebhooksCommandInput, ListWebhooksCommandOutput } from "./commands/ListWebhooksCommand";
34
+ import { OverrideStageConditionCommandInput, OverrideStageConditionCommandOutput } from "./commands/OverrideStageConditionCommand";
32
35
  import { PollForJobsCommandInput, PollForJobsCommandOutput } from "./commands/PollForJobsCommand";
33
36
  import { PollForThirdPartyJobsCommandInput, PollForThirdPartyJobsCommandOutput } from "./commands/PollForThirdPartyJobsCommand";
34
37
  import { PutActionRevisionCommandInput, PutActionRevisionCommandOutput } from "./commands/PutActionRevisionCommand";
@@ -53,11 +56,11 @@ export { __Client };
53
56
  /**
54
57
  * @public
55
58
  */
56
- export type ServiceInputTypes = AcknowledgeJobCommandInput | AcknowledgeThirdPartyJobCommandInput | CreateCustomActionTypeCommandInput | CreatePipelineCommandInput | DeleteCustomActionTypeCommandInput | DeletePipelineCommandInput | DeleteWebhookCommandInput | DeregisterWebhookWithThirdPartyCommandInput | DisableStageTransitionCommandInput | EnableStageTransitionCommandInput | GetActionTypeCommandInput | GetJobDetailsCommandInput | GetPipelineCommandInput | GetPipelineExecutionCommandInput | GetPipelineStateCommandInput | GetThirdPartyJobDetailsCommandInput | ListActionExecutionsCommandInput | ListActionTypesCommandInput | ListPipelineExecutionsCommandInput | ListPipelinesCommandInput | ListTagsForResourceCommandInput | ListWebhooksCommandInput | PollForJobsCommandInput | PollForThirdPartyJobsCommandInput | PutActionRevisionCommandInput | PutApprovalResultCommandInput | PutJobFailureResultCommandInput | PutJobSuccessResultCommandInput | PutThirdPartyJobFailureResultCommandInput | PutThirdPartyJobSuccessResultCommandInput | PutWebhookCommandInput | RegisterWebhookWithThirdPartyCommandInput | RetryStageExecutionCommandInput | RollbackStageCommandInput | StartPipelineExecutionCommandInput | StopPipelineExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTypeCommandInput | UpdatePipelineCommandInput;
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;
57
60
  /**
58
61
  * @public
59
62
  */
60
- export type ServiceOutputTypes = AcknowledgeJobCommandOutput | AcknowledgeThirdPartyJobCommandOutput | CreateCustomActionTypeCommandOutput | CreatePipelineCommandOutput | DeleteCustomActionTypeCommandOutput | DeletePipelineCommandOutput | DeleteWebhookCommandOutput | DeregisterWebhookWithThirdPartyCommandOutput | DisableStageTransitionCommandOutput | EnableStageTransitionCommandOutput | GetActionTypeCommandOutput | GetJobDetailsCommandOutput | GetPipelineCommandOutput | GetPipelineExecutionCommandOutput | GetPipelineStateCommandOutput | GetThirdPartyJobDetailsCommandOutput | ListActionExecutionsCommandOutput | ListActionTypesCommandOutput | ListPipelineExecutionsCommandOutput | ListPipelinesCommandOutput | ListTagsForResourceCommandOutput | ListWebhooksCommandOutput | PollForJobsCommandOutput | PollForThirdPartyJobsCommandOutput | PutActionRevisionCommandOutput | PutApprovalResultCommandOutput | PutJobFailureResultCommandOutput | PutJobSuccessResultCommandOutput | PutThirdPartyJobFailureResultCommandOutput | PutThirdPartyJobSuccessResultCommandOutput | PutWebhookCommandOutput | RegisterWebhookWithThirdPartyCommandOutput | RetryStageExecutionCommandOutput | RollbackStageCommandOutput | StartPipelineExecutionCommandOutput | StopPipelineExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTypeCommandOutput | UpdatePipelineCommandOutput;
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;
61
64
  /**
62
65
  * @public
63
66
  */
@@ -171,7 +174,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
171
174
  /**
172
175
  * @public
173
176
  */
174
- export type CodePipelineClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
177
+ export type CodePipelineClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
175
178
  /**
176
179
  * @public
177
180
  *
@@ -182,7 +185,7 @@ export interface CodePipelineClientConfig extends CodePipelineClientConfigType {
182
185
  /**
183
186
  * @public
184
187
  */
185
- export type CodePipelineClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
188
+ export type CodePipelineClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
186
189
  /**
187
190
  * @public
188
191
  *
@@ -399,6 +402,4 @@ export declare class CodePipelineClient extends __Client<__HttpHandlerOptions, S
399
402
  * Otherwise, sockets might stay open for quite a long time before the server terminates them.
400
403
  */
401
404
  destroy(): void;
402
- private getDefaultHttpAuthSchemeParametersProvider;
403
- private getIdentityProviderConfigProvider;
404
405
  }
@@ -30,12 +30,12 @@ export declare const defaultCodePipelineHttpAuthSchemeProvider: CodePipelineHttp
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
32
  /**
33
- * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
33
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
34
  * @internal
35
35
  */
36
36
  httpAuthSchemes?: HttpAuthScheme[];
37
37
  /**
38
- * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
38
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
39
  * @internal
40
40
  */
41
41
  httpAuthSchemeProvider?: CodePipelineHttpAuthSchemeProvider;
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
45
45
  */
46
46
  export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
47
  /**
48
- * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
48
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
49
  * @internal
50
50
  */
51
51
  readonly httpAuthSchemes: HttpAuthScheme[];
52
52
  /**
53
- * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
53
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
54
  * @internal
55
55
  */
56
56
  readonly httpAuthSchemeProvider: CodePipelineHttpAuthSchemeProvider;