@aws-sdk/client-codepipeline 3.620.0 → 3.621.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 (38) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +374 -71
  3. package/dist-es/CodePipeline.js +6 -0
  4. package/dist-es/commands/ListRuleExecutionsCommand.js +24 -0
  5. package/dist-es/commands/ListRuleTypesCommand.js +24 -0
  6. package/dist-es/commands/OverrideStageConditionCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +82 -39
  9. package/dist-es/pagination/ListRuleExecutionsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_json1_1.js +198 -14
  12. package/dist-types/CodePipeline.d.ts +22 -0
  13. package/dist-types/CodePipelineClient.d.ts +5 -2
  14. package/dist-types/commands/CreatePipelineCommand.d.ts +172 -2
  15. package/dist-types/commands/GetPipelineCommand.d.ts +86 -1
  16. package/dist-types/commands/GetPipelineStateCommand.d.ts +123 -0
  17. package/dist-types/commands/ListRuleExecutionsCommand.d.ts +132 -0
  18. package/dist-types/commands/ListRuleTypesCommand.d.ts +98 -0
  19. package/dist-types/commands/OverrideStageConditionCommand.d.ts +85 -0
  20. package/dist-types/commands/PutActionRevisionCommand.d.ts +3 -0
  21. package/dist-types/commands/RetryStageExecutionCommand.d.ts +3 -0
  22. package/dist-types/commands/UpdatePipelineCommand.d.ts +172 -2
  23. package/dist-types/commands/index.d.ts +3 -0
  24. package/dist-types/models/models_0.d.ts +1019 -222
  25. package/dist-types/pagination/ListRuleExecutionsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  28. package/dist-types/ts3.4/CodePipeline.d.ts +52 -0
  29. package/dist-types/ts3.4/CodePipelineClient.d.ts +18 -0
  30. package/dist-types/ts3.4/commands/ListRuleExecutionsCommand.d.ts +40 -0
  31. package/dist-types/ts3.4/commands/ListRuleTypesCommand.d.ts +36 -0
  32. package/dist-types/ts3.4/commands/OverrideStageConditionCommand.d.ts +35 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +228 -29
  35. package/dist-types/ts3.4/pagination/ListRuleExecutionsPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  38. package/package.json +11 -11
package/dist-cjs/index.js CHANGED
@@ -40,6 +40,9 @@ __export(src_exports, {
40
40
  CodePipelineServiceException: () => CodePipelineServiceException,
41
41
  ConcurrentModificationException: () => ConcurrentModificationException,
42
42
  ConcurrentPipelineExecutionsLimitExceededException: () => ConcurrentPipelineExecutionsLimitExceededException,
43
+ ConditionExecutionStatus: () => ConditionExecutionStatus,
44
+ ConditionNotOverridableException: () => ConditionNotOverridableException,
45
+ ConditionType: () => ConditionType,
43
46
  ConflictException: () => ConflictException,
44
47
  CreateCustomActionTypeCommand: () => CreateCustomActionTypeCommand,
45
48
  CreatePipelineCommand: () => CreatePipelineCommand,
@@ -88,10 +91,13 @@ __export(src_exports, {
88
91
  ListActionTypesCommand: () => ListActionTypesCommand,
89
92
  ListPipelineExecutionsCommand: () => ListPipelineExecutionsCommand,
90
93
  ListPipelinesCommand: () => ListPipelinesCommand,
94
+ ListRuleExecutionsCommand: () => ListRuleExecutionsCommand,
95
+ ListRuleTypesCommand: () => ListRuleTypesCommand,
91
96
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
92
97
  ListWebhooksCommand: () => ListWebhooksCommand,
93
98
  NotLatestPipelineExecutionException: () => NotLatestPipelineExecutionException,
94
99
  OutputVariablesSizeExceededException: () => OutputVariablesSizeExceededException,
100
+ OverrideStageConditionCommand: () => OverrideStageConditionCommand,
95
101
  PipelineExecutionNotFoundException: () => PipelineExecutionNotFoundException,
96
102
  PipelineExecutionNotStoppableException: () => PipelineExecutionNotStoppableException,
97
103
  PipelineExecutionOutdatedException: () => PipelineExecutionOutdatedException,
@@ -117,6 +123,10 @@ __export(src_exports, {
117
123
  Result: () => Result,
118
124
  RetryStageExecutionCommand: () => RetryStageExecutionCommand,
119
125
  RollbackStageCommand: () => RollbackStageCommand,
126
+ RuleCategory: () => RuleCategory,
127
+ RuleConfigurationPropertyType: () => RuleConfigurationPropertyType,
128
+ RuleExecutionStatus: () => RuleExecutionStatus,
129
+ RuleOwner: () => RuleOwner,
120
130
  SourceRevisionType: () => SourceRevisionType,
121
131
  StageExecutionStatus: () => StageExecutionStatus,
122
132
  StageNotFoundException: () => StageNotFoundException,
@@ -143,6 +153,7 @@ __export(src_exports, {
143
153
  paginateListActionTypes: () => paginateListActionTypes,
144
154
  paginateListPipelineExecutions: () => paginateListPipelineExecutions,
145
155
  paginateListPipelines: () => paginateListPipelines,
156
+ paginateListRuleExecutions: () => paginateListRuleExecutions,
146
157
  paginateListTagsForResource: () => paginateListTagsForResource,
147
158
  paginateListWebhooks: () => paginateListWebhooks
148
159
  });
@@ -494,6 +505,16 @@ var EncryptionKeyType = {
494
505
  var ArtifactStoreType = {
495
506
  S3: "S3"
496
507
  };
508
+ var Result = {
509
+ FAIL: "FAIL",
510
+ ROLLBACK: "ROLLBACK"
511
+ };
512
+ var RuleCategory = {
513
+ Rule: "Rule"
514
+ };
515
+ var RuleOwner = {
516
+ AWS: "AWS"
517
+ };
497
518
  var BlockerType = {
498
519
  Schedule: "Schedule"
499
520
  };
@@ -574,9 +595,6 @@ var PipelineType = {
574
595
  V1: "V1",
575
596
  V2: "V2"
576
597
  };
577
- var Result = {
578
- ROLLBACK: "ROLLBACK"
579
- };
580
598
  var GitPullRequestEventType = {
581
599
  CLOSED: "CLOSED",
582
600
  OPEN: "OPEN",
@@ -783,6 +801,21 @@ var _PipelineExecutionNotFoundException = class _PipelineExecutionNotFoundExcept
783
801
  };
784
802
  __name(_PipelineExecutionNotFoundException, "PipelineExecutionNotFoundException");
785
803
  var PipelineExecutionNotFoundException = _PipelineExecutionNotFoundException;
804
+ var ConditionExecutionStatus = {
805
+ Abandoned: "Abandoned",
806
+ Cancelled: "Cancelled",
807
+ Errored: "Errored",
808
+ Failed: "Failed",
809
+ InProgress: "InProgress",
810
+ Overridden: "Overridden",
811
+ Succeeded: "Succeeded"
812
+ };
813
+ var RuleExecutionStatus = {
814
+ Abandoned: "Abandoned",
815
+ Failed: "Failed",
816
+ InProgress: "InProgress",
817
+ Succeeded: "Succeeded"
818
+ };
786
819
  var StageExecutionStatus = {
787
820
  Cancelled: "Cancelled",
788
821
  Failed: "Failed",
@@ -825,6 +858,11 @@ var _InvalidNextTokenException = class _InvalidNextTokenException extends CodePi
825
858
  };
826
859
  __name(_InvalidNextTokenException, "InvalidNextTokenException");
827
860
  var InvalidNextTokenException = _InvalidNextTokenException;
861
+ var RuleConfigurationPropertyType = {
862
+ Boolean: "Boolean",
863
+ Number: "Number",
864
+ String: "String"
865
+ };
828
866
  var _InvalidArnException = class _InvalidArnException extends CodePipelineServiceException {
829
867
  /**
830
868
  * @internal
@@ -864,6 +902,78 @@ var WebhookAuthenticationType = {
864
902
  IP: "IP",
865
903
  UNAUTHENTICATED: "UNAUTHENTICATED"
866
904
  };
905
+ var _ConcurrentPipelineExecutionsLimitExceededException = class _ConcurrentPipelineExecutionsLimitExceededException extends CodePipelineServiceException {
906
+ /**
907
+ * @internal
908
+ */
909
+ constructor(opts) {
910
+ super({
911
+ name: "ConcurrentPipelineExecutionsLimitExceededException",
912
+ $fault: "client",
913
+ ...opts
914
+ });
915
+ this.name = "ConcurrentPipelineExecutionsLimitExceededException";
916
+ this.$fault = "client";
917
+ Object.setPrototypeOf(this, _ConcurrentPipelineExecutionsLimitExceededException.prototype);
918
+ }
919
+ };
920
+ __name(_ConcurrentPipelineExecutionsLimitExceededException, "ConcurrentPipelineExecutionsLimitExceededException");
921
+ var ConcurrentPipelineExecutionsLimitExceededException = _ConcurrentPipelineExecutionsLimitExceededException;
922
+ var _ConditionNotOverridableException = class _ConditionNotOverridableException extends CodePipelineServiceException {
923
+ /**
924
+ * @internal
925
+ */
926
+ constructor(opts) {
927
+ super({
928
+ name: "ConditionNotOverridableException",
929
+ $fault: "client",
930
+ ...opts
931
+ });
932
+ this.name = "ConditionNotOverridableException";
933
+ this.$fault = "client";
934
+ Object.setPrototypeOf(this, _ConditionNotOverridableException.prototype);
935
+ }
936
+ };
937
+ __name(_ConditionNotOverridableException, "ConditionNotOverridableException");
938
+ var ConditionNotOverridableException = _ConditionNotOverridableException;
939
+ var _ConflictException = class _ConflictException extends CodePipelineServiceException {
940
+ /**
941
+ * @internal
942
+ */
943
+ constructor(opts) {
944
+ super({
945
+ name: "ConflictException",
946
+ $fault: "client",
947
+ ...opts
948
+ });
949
+ this.name = "ConflictException";
950
+ this.$fault = "client";
951
+ Object.setPrototypeOf(this, _ConflictException.prototype);
952
+ }
953
+ };
954
+ __name(_ConflictException, "ConflictException");
955
+ var ConflictException = _ConflictException;
956
+ var _NotLatestPipelineExecutionException = class _NotLatestPipelineExecutionException extends CodePipelineServiceException {
957
+ /**
958
+ * @internal
959
+ */
960
+ constructor(opts) {
961
+ super({
962
+ name: "NotLatestPipelineExecutionException",
963
+ $fault: "client",
964
+ ...opts
965
+ });
966
+ this.name = "NotLatestPipelineExecutionException";
967
+ this.$fault = "client";
968
+ Object.setPrototypeOf(this, _NotLatestPipelineExecutionException.prototype);
969
+ }
970
+ };
971
+ __name(_NotLatestPipelineExecutionException, "NotLatestPipelineExecutionException");
972
+ var NotLatestPipelineExecutionException = _NotLatestPipelineExecutionException;
973
+ var ConditionType = {
974
+ BEFORE_ENTRY: "BEFORE_ENTRY",
975
+ ON_SUCCESS: "ON_SUCCESS"
976
+ };
867
977
  var _InvalidApprovalTokenException = class _InvalidApprovalTokenException extends CodePipelineServiceException {
868
978
  /**
869
979
  * @internal
@@ -957,40 +1067,6 @@ var _InvalidWebhookFilterPatternException = class _InvalidWebhookFilterPatternEx
957
1067
  };
958
1068
  __name(_InvalidWebhookFilterPatternException, "InvalidWebhookFilterPatternException");
959
1069
  var InvalidWebhookFilterPatternException = _InvalidWebhookFilterPatternException;
960
- var _ConflictException = class _ConflictException extends CodePipelineServiceException {
961
- /**
962
- * @internal
963
- */
964
- constructor(opts) {
965
- super({
966
- name: "ConflictException",
967
- $fault: "client",
968
- ...opts
969
- });
970
- this.name = "ConflictException";
971
- this.$fault = "client";
972
- Object.setPrototypeOf(this, _ConflictException.prototype);
973
- }
974
- };
975
- __name(_ConflictException, "ConflictException");
976
- var ConflictException = _ConflictException;
977
- var _NotLatestPipelineExecutionException = class _NotLatestPipelineExecutionException extends CodePipelineServiceException {
978
- /**
979
- * @internal
980
- */
981
- constructor(opts) {
982
- super({
983
- name: "NotLatestPipelineExecutionException",
984
- $fault: "client",
985
- ...opts
986
- });
987
- this.name = "NotLatestPipelineExecutionException";
988
- this.$fault = "client";
989
- Object.setPrototypeOf(this, _NotLatestPipelineExecutionException.prototype);
990
- }
991
- };
992
- __name(_NotLatestPipelineExecutionException, "NotLatestPipelineExecutionException");
993
- var NotLatestPipelineExecutionException = _NotLatestPipelineExecutionException;
994
1070
  var StageRetryMode = {
995
1071
  ALL_ACTIONS: "ALL_ACTIONS",
996
1072
  FAILED_ACTIONS: "FAILED_ACTIONS"
@@ -1046,23 +1122,6 @@ var _UnableToRollbackStageException = class _UnableToRollbackStageException exte
1046
1122
  };
1047
1123
  __name(_UnableToRollbackStageException, "UnableToRollbackStageException");
1048
1124
  var UnableToRollbackStageException = _UnableToRollbackStageException;
1049
- var _ConcurrentPipelineExecutionsLimitExceededException = class _ConcurrentPipelineExecutionsLimitExceededException extends CodePipelineServiceException {
1050
- /**
1051
- * @internal
1052
- */
1053
- constructor(opts) {
1054
- super({
1055
- name: "ConcurrentPipelineExecutionsLimitExceededException",
1056
- $fault: "client",
1057
- ...opts
1058
- });
1059
- this.name = "ConcurrentPipelineExecutionsLimitExceededException";
1060
- this.$fault = "client";
1061
- Object.setPrototypeOf(this, _ConcurrentPipelineExecutionsLimitExceededException.prototype);
1062
- }
1063
- };
1064
- __name(_ConcurrentPipelineExecutionsLimitExceededException, "ConcurrentPipelineExecutionsLimitExceededException");
1065
- var ConcurrentPipelineExecutionsLimitExceededException = _ConcurrentPipelineExecutionsLimitExceededException;
1066
1125
  var SourceRevisionType = {
1067
1126
  COMMIT_ID: "COMMIT_ID",
1068
1127
  IMAGE_DIGEST: "IMAGE_DIGEST",
@@ -1181,7 +1240,7 @@ var se_CreateCustomActionTypeCommand = /* @__PURE__ */ __name(async (input, cont
1181
1240
  var se_CreatePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
1182
1241
  const headers = sharedHeaders("CreatePipeline");
1183
1242
  let body;
1184
- body = JSON.stringify((0, import_smithy_client._json)(input));
1243
+ body = JSON.stringify(se_CreatePipelineInput(input, context));
1185
1244
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1186
1245
  }, "se_CreatePipelineCommand");
1187
1246
  var se_DeleteCustomActionTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1280,6 +1339,18 @@ var se_ListPipelinesCommand = /* @__PURE__ */ __name(async (input, context) => {
1280
1339
  body = JSON.stringify((0, import_smithy_client._json)(input));
1281
1340
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1282
1341
  }, "se_ListPipelinesCommand");
1342
+ var se_ListRuleExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1343
+ const headers = sharedHeaders("ListRuleExecutions");
1344
+ let body;
1345
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1346
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1347
+ }, "se_ListRuleExecutionsCommand");
1348
+ var se_ListRuleTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
1349
+ const headers = sharedHeaders("ListRuleTypes");
1350
+ let body;
1351
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1352
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1353
+ }, "se_ListRuleTypesCommand");
1283
1354
  var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1284
1355
  const headers = sharedHeaders("ListTagsForResource");
1285
1356
  let body;
@@ -1292,6 +1363,12 @@ var se_ListWebhooksCommand = /* @__PURE__ */ __name(async (input, context) => {
1292
1363
  body = JSON.stringify((0, import_smithy_client._json)(input));
1293
1364
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1294
1365
  }, "se_ListWebhooksCommand");
1366
+ var se_OverrideStageConditionCommand = /* @__PURE__ */ __name(async (input, context) => {
1367
+ const headers = sharedHeaders("OverrideStageCondition");
1368
+ let body;
1369
+ body = JSON.stringify((0, import_smithy_client._json)(input));
1370
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1371
+ }, "se_OverrideStageConditionCommand");
1295
1372
  var se_PollForJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1296
1373
  const headers = sharedHeaders("PollForJobs");
1297
1374
  let body;
@@ -1397,7 +1474,7 @@ var se_UpdateActionTypeCommand = /* @__PURE__ */ __name(async (input, context) =
1397
1474
  var se_UpdatePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
1398
1475
  const headers = sharedHeaders("UpdatePipeline");
1399
1476
  let body;
1400
- body = JSON.stringify((0, import_smithy_client._json)(input));
1477
+ body = JSON.stringify(se_UpdatePipelineInput(input, context));
1401
1478
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1402
1479
  }, "se_UpdatePipelineCommand");
1403
1480
  var de_AcknowledgeJobCommand = /* @__PURE__ */ __name(async (output, context) => {
@@ -1445,7 +1522,7 @@ var de_CreatePipelineCommand = /* @__PURE__ */ __name(async (output, context) =>
1445
1522
  }
1446
1523
  const data = await (0, import_core2.parseJsonBody)(output.body, context);
1447
1524
  let contents = {};
1448
- contents = (0, import_smithy_client._json)(data);
1525
+ contents = de_CreatePipelineOutput(data, context);
1449
1526
  const response = {
1450
1527
  $metadata: deserializeMetadata(output),
1451
1528
  ...contents
@@ -1648,6 +1725,32 @@ var de_ListPipelinesCommand = /* @__PURE__ */ __name(async (output, context) =>
1648
1725
  };
1649
1726
  return response;
1650
1727
  }, "de_ListPipelinesCommand");
1728
+ var de_ListRuleExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1729
+ if (output.statusCode >= 300) {
1730
+ return de_CommandError(output, context);
1731
+ }
1732
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1733
+ let contents = {};
1734
+ contents = de_ListRuleExecutionsOutput(data, context);
1735
+ const response = {
1736
+ $metadata: deserializeMetadata(output),
1737
+ ...contents
1738
+ };
1739
+ return response;
1740
+ }, "de_ListRuleExecutionsCommand");
1741
+ var de_ListRuleTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
1742
+ if (output.statusCode >= 300) {
1743
+ return de_CommandError(output, context);
1744
+ }
1745
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1746
+ let contents = {};
1747
+ contents = (0, import_smithy_client._json)(data);
1748
+ const response = {
1749
+ $metadata: deserializeMetadata(output),
1750
+ ...contents
1751
+ };
1752
+ return response;
1753
+ }, "de_ListRuleTypesCommand");
1651
1754
  var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1652
1755
  if (output.statusCode >= 300) {
1653
1756
  return de_CommandError(output, context);
@@ -1674,6 +1777,16 @@ var de_ListWebhooksCommand = /* @__PURE__ */ __name(async (output, context) => {
1674
1777
  };
1675
1778
  return response;
1676
1779
  }, "de_ListWebhooksCommand");
1780
+ var de_OverrideStageConditionCommand = /* @__PURE__ */ __name(async (output, context) => {
1781
+ if (output.statusCode >= 300) {
1782
+ return de_CommandError(output, context);
1783
+ }
1784
+ await (0, import_smithy_client.collectBody)(output.body, context);
1785
+ const response = {
1786
+ $metadata: deserializeMetadata(output)
1787
+ };
1788
+ return response;
1789
+ }, "de_OverrideStageConditionCommand");
1677
1790
  var de_PollForJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1678
1791
  if (output.statusCode >= 300) {
1679
1792
  return de_CommandError(output, context);
@@ -1886,7 +1999,7 @@ var de_UpdatePipelineCommand = /* @__PURE__ */ __name(async (output, context) =>
1886
1999
  }
1887
2000
  const data = await (0, import_core2.parseJsonBody)(output.body, context);
1888
2001
  let contents = {};
1889
- contents = (0, import_smithy_client._json)(data);
2002
+ contents = de_UpdatePipelineOutput(data, context);
1890
2003
  const response = {
1891
2004
  $metadata: deserializeMetadata(output),
1892
2005
  ...contents
@@ -1969,6 +2082,18 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1969
2082
  case "ResourceNotFoundException":
1970
2083
  case "com.amazonaws.codepipeline#ResourceNotFoundException":
1971
2084
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2085
+ case "ConcurrentPipelineExecutionsLimitExceededException":
2086
+ case "com.amazonaws.codepipeline#ConcurrentPipelineExecutionsLimitExceededException":
2087
+ throw await de_ConcurrentPipelineExecutionsLimitExceededExceptionRes(parsedOutput, context);
2088
+ case "ConditionNotOverridableException":
2089
+ case "com.amazonaws.codepipeline#ConditionNotOverridableException":
2090
+ throw await de_ConditionNotOverridableExceptionRes(parsedOutput, context);
2091
+ case "ConflictException":
2092
+ case "com.amazonaws.codepipeline#ConflictException":
2093
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2094
+ case "NotLatestPipelineExecutionException":
2095
+ case "com.amazonaws.codepipeline#NotLatestPipelineExecutionException":
2096
+ throw await de_NotLatestPipelineExecutionExceptionRes(parsedOutput, context);
1972
2097
  case "ActionNotFoundException":
1973
2098
  case "com.amazonaws.codepipeline#ActionNotFoundException":
1974
2099
  throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
@@ -1990,12 +2115,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1990
2115
  case "InvalidWebhookFilterPatternException":
1991
2116
  case "com.amazonaws.codepipeline#InvalidWebhookFilterPatternException":
1992
2117
  throw await de_InvalidWebhookFilterPatternExceptionRes(parsedOutput, context);
1993
- case "ConflictException":
1994
- case "com.amazonaws.codepipeline#ConflictException":
1995
- throw await de_ConflictExceptionRes(parsedOutput, context);
1996
- case "NotLatestPipelineExecutionException":
1997
- case "com.amazonaws.codepipeline#NotLatestPipelineExecutionException":
1998
- throw await de_NotLatestPipelineExecutionExceptionRes(parsedOutput, context);
1999
2118
  case "StageNotRetryableException":
2000
2119
  case "com.amazonaws.codepipeline#StageNotRetryableException":
2001
2120
  throw await de_StageNotRetryableExceptionRes(parsedOutput, context);
@@ -2005,9 +2124,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2005
2124
  case "UnableToRollbackStageException":
2006
2125
  case "com.amazonaws.codepipeline#UnableToRollbackStageException":
2007
2126
  throw await de_UnableToRollbackStageExceptionRes(parsedOutput, context);
2008
- case "ConcurrentPipelineExecutionsLimitExceededException":
2009
- case "com.amazonaws.codepipeline#ConcurrentPipelineExecutionsLimitExceededException":
2010
- throw await de_ConcurrentPipelineExecutionsLimitExceededExceptionRes(parsedOutput, context);
2011
2127
  case "DuplicatedStopRequestException":
2012
2128
  case "com.amazonaws.codepipeline#DuplicatedStopRequestException":
2013
2129
  throw await de_DuplicatedStopRequestExceptionRes(parsedOutput, context);
@@ -2071,6 +2187,15 @@ var de_ConcurrentPipelineExecutionsLimitExceededExceptionRes = /* @__PURE__ */ _
2071
2187
  });
2072
2188
  return (0, import_smithy_client.decorateServiceException)(exception, body);
2073
2189
  }, "de_ConcurrentPipelineExecutionsLimitExceededExceptionRes");
2190
+ var de_ConditionNotOverridableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2191
+ const body = parsedOutput.body;
2192
+ const deserialized = (0, import_smithy_client._json)(body);
2193
+ const exception = new ConditionNotOverridableException({
2194
+ $metadata: deserializeMetadata(parsedOutput),
2195
+ ...deserialized
2196
+ });
2197
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2198
+ }, "de_ConditionNotOverridableExceptionRes");
2074
2199
  var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2075
2200
  const body = parsedOutput.body;
2076
2201
  const deserialized = (0, import_smithy_client._json)(body);
@@ -2384,6 +2509,12 @@ var se_ActionRevision = /* @__PURE__ */ __name((input, context) => {
2384
2509
  revisionId: []
2385
2510
  });
2386
2511
  }, "se_ActionRevision");
2512
+ var se_CreatePipelineInput = /* @__PURE__ */ __name((input, context) => {
2513
+ return (0, import_smithy_client.take)(input, {
2514
+ pipeline: import_smithy_client._json,
2515
+ tags: import_smithy_client._json
2516
+ });
2517
+ }, "se_CreatePipelineInput");
2387
2518
  var se_CurrentRevision = /* @__PURE__ */ __name((input, context) => {
2388
2519
  return (0, import_smithy_client.take)(input, {
2389
2520
  changeIdentifier: [],
@@ -2426,6 +2557,11 @@ var se_StartPipelineExecutionInput = /* @__PURE__ */ __name((input, context) =>
2426
2557
  variables: import_smithy_client._json
2427
2558
  });
2428
2559
  }, "se_StartPipelineExecutionInput");
2560
+ var se_UpdatePipelineInput = /* @__PURE__ */ __name((input, context) => {
2561
+ return (0, import_smithy_client.take)(input, {
2562
+ pipeline: import_smithy_client._json
2563
+ });
2564
+ }, "se_UpdatePipelineInput");
2429
2565
  var de_ActionExecution = /* @__PURE__ */ __name((output, context) => {
2430
2566
  return (0, import_smithy_client.take)(output, {
2431
2567
  actionExecutionId: import_smithy_client.expectString,
@@ -2499,6 +2635,31 @@ var de_ArtifactRevisionList = /* @__PURE__ */ __name((output, context) => {
2499
2635
  });
2500
2636
  return retVal;
2501
2637
  }, "de_ArtifactRevisionList");
2638
+ var de_ConditionExecution = /* @__PURE__ */ __name((output, context) => {
2639
+ return (0, import_smithy_client.take)(output, {
2640
+ lastStatusChange: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2641
+ status: import_smithy_client.expectString,
2642
+ summary: import_smithy_client.expectString
2643
+ });
2644
+ }, "de_ConditionExecution");
2645
+ var de_ConditionState = /* @__PURE__ */ __name((output, context) => {
2646
+ return (0, import_smithy_client.take)(output, {
2647
+ latestExecution: (_) => de_ConditionExecution(_, context),
2648
+ ruleStates: (_) => de_RuleStateList(_, context)
2649
+ });
2650
+ }, "de_ConditionState");
2651
+ var de_ConditionStateList = /* @__PURE__ */ __name((output, context) => {
2652
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2653
+ return de_ConditionState(entry, context);
2654
+ });
2655
+ return retVal;
2656
+ }, "de_ConditionStateList");
2657
+ var de_CreatePipelineOutput = /* @__PURE__ */ __name((output, context) => {
2658
+ return (0, import_smithy_client.take)(output, {
2659
+ pipeline: import_smithy_client._json,
2660
+ tags: import_smithy_client._json
2661
+ });
2662
+ }, "de_CreatePipelineOutput");
2502
2663
  var de_GetPipelineExecutionOutput = /* @__PURE__ */ __name((output, context) => {
2503
2664
  return (0, import_smithy_client.take)(output, {
2504
2665
  pipelineExecution: (_) => de_PipelineExecution(_, context)
@@ -2537,6 +2698,12 @@ var de_ListPipelinesOutput = /* @__PURE__ */ __name((output, context) => {
2537
2698
  pipelines: (_) => de_PipelineList(_, context)
2538
2699
  });
2539
2700
  }, "de_ListPipelinesOutput");
2701
+ var de_ListRuleExecutionsOutput = /* @__PURE__ */ __name((output, context) => {
2702
+ return (0, import_smithy_client.take)(output, {
2703
+ nextToken: import_smithy_client.expectString,
2704
+ ruleExecutionDetails: (_) => de_RuleExecutionDetailList(_, context)
2705
+ });
2706
+ }, "de_ListRuleExecutionsOutput");
2540
2707
  var de_ListWebhookItem = /* @__PURE__ */ __name((output, context) => {
2541
2708
  return (0, import_smithy_client.take)(output, {
2542
2709
  arn: import_smithy_client.expectString,
@@ -2624,13 +2791,78 @@ var de_PutWebhookOutput = /* @__PURE__ */ __name((output, context) => {
2624
2791
  webhook: (_) => de_ListWebhookItem(_, context)
2625
2792
  });
2626
2793
  }, "de_PutWebhookOutput");
2794
+ var de_RuleExecution = /* @__PURE__ */ __name((output, context) => {
2795
+ return (0, import_smithy_client.take)(output, {
2796
+ errorDetails: import_smithy_client._json,
2797
+ externalExecutionId: import_smithy_client.expectString,
2798
+ externalExecutionUrl: import_smithy_client.expectString,
2799
+ lastStatusChange: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2800
+ lastUpdatedBy: import_smithy_client.expectString,
2801
+ ruleExecutionId: import_smithy_client.expectString,
2802
+ status: import_smithy_client.expectString,
2803
+ summary: import_smithy_client.expectString,
2804
+ token: import_smithy_client.expectString
2805
+ });
2806
+ }, "de_RuleExecution");
2807
+ var de_RuleExecutionDetail = /* @__PURE__ */ __name((output, context) => {
2808
+ return (0, import_smithy_client.take)(output, {
2809
+ input: import_smithy_client._json,
2810
+ lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2811
+ output: import_smithy_client._json,
2812
+ pipelineExecutionId: import_smithy_client.expectString,
2813
+ pipelineVersion: import_smithy_client.expectInt32,
2814
+ ruleExecutionId: import_smithy_client.expectString,
2815
+ ruleName: import_smithy_client.expectString,
2816
+ stageName: import_smithy_client.expectString,
2817
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2818
+ status: import_smithy_client.expectString,
2819
+ updatedBy: import_smithy_client.expectString
2820
+ });
2821
+ }, "de_RuleExecutionDetail");
2822
+ var de_RuleExecutionDetailList = /* @__PURE__ */ __name((output, context) => {
2823
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2824
+ return de_RuleExecutionDetail(entry, context);
2825
+ });
2826
+ return retVal;
2827
+ }, "de_RuleExecutionDetailList");
2828
+ var de_RuleRevision = /* @__PURE__ */ __name((output, context) => {
2829
+ return (0, import_smithy_client.take)(output, {
2830
+ created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2831
+ revisionChangeId: import_smithy_client.expectString,
2832
+ revisionId: import_smithy_client.expectString
2833
+ });
2834
+ }, "de_RuleRevision");
2835
+ var de_RuleState = /* @__PURE__ */ __name((output, context) => {
2836
+ return (0, import_smithy_client.take)(output, {
2837
+ currentRevision: (_) => de_RuleRevision(_, context),
2838
+ entityUrl: import_smithy_client.expectString,
2839
+ latestExecution: (_) => de_RuleExecution(_, context),
2840
+ revisionUrl: import_smithy_client.expectString,
2841
+ ruleName: import_smithy_client.expectString
2842
+ });
2843
+ }, "de_RuleState");
2844
+ var de_RuleStateList = /* @__PURE__ */ __name((output, context) => {
2845
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2846
+ return de_RuleState(entry, context);
2847
+ });
2848
+ return retVal;
2849
+ }, "de_RuleStateList");
2850
+ var de_StageConditionState = /* @__PURE__ */ __name((output, context) => {
2851
+ return (0, import_smithy_client.take)(output, {
2852
+ conditionStates: (_) => de_ConditionStateList(_, context),
2853
+ latestExecution: import_smithy_client._json
2854
+ });
2855
+ }, "de_StageConditionState");
2627
2856
  var de_StageState = /* @__PURE__ */ __name((output, context) => {
2628
2857
  return (0, import_smithy_client.take)(output, {
2629
2858
  actionStates: (_) => de_ActionStateList(_, context),
2859
+ beforeEntryConditionState: (_) => de_StageConditionState(_, context),
2630
2860
  inboundExecution: import_smithy_client._json,
2631
2861
  inboundExecutions: import_smithy_client._json,
2632
2862
  inboundTransitionState: (_) => de_TransitionState(_, context),
2633
2863
  latestExecution: import_smithy_client._json,
2864
+ onFailureConditionState: (_) => de_StageConditionState(_, context),
2865
+ onSuccessConditionState: (_) => de_StageConditionState(_, context),
2634
2866
  stageName: import_smithy_client.expectString
2635
2867
  });
2636
2868
  }, "de_StageState");
@@ -2648,6 +2880,11 @@ var de_TransitionState = /* @__PURE__ */ __name((output, context) => {
2648
2880
  lastChangedBy: import_smithy_client.expectString
2649
2881
  });
2650
2882
  }, "de_TransitionState");
2883
+ var de_UpdatePipelineOutput = /* @__PURE__ */ __name((output, context) => {
2884
+ return (0, import_smithy_client.take)(output, {
2885
+ pipeline: import_smithy_client._json
2886
+ });
2887
+ }, "de_UpdatePipelineOutput");
2651
2888
  var de_WebhookList = /* @__PURE__ */ __name((output, context) => {
2652
2889
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2653
2890
  return de_ListWebhookItem(entry, context);
@@ -3004,6 +3241,38 @@ var _ListPipelinesCommand = class _ListPipelinesCommand extends import_smithy_cl
3004
3241
  __name(_ListPipelinesCommand, "ListPipelinesCommand");
3005
3242
  var ListPipelinesCommand = _ListPipelinesCommand;
3006
3243
 
3244
+ // src/commands/ListRuleExecutionsCommand.ts
3245
+
3246
+
3247
+
3248
+ var _ListRuleExecutionsCommand = class _ListRuleExecutionsCommand extends import_smithy_client.Command.classBuilder().ep({
3249
+ ...commonParams
3250
+ }).m(function(Command, cs, config, o) {
3251
+ return [
3252
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3253
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3254
+ ];
3255
+ }).s("CodePipeline_20150709", "ListRuleExecutions", {}).n("CodePipelineClient", "ListRuleExecutionsCommand").f(void 0, void 0).ser(se_ListRuleExecutionsCommand).de(de_ListRuleExecutionsCommand).build() {
3256
+ };
3257
+ __name(_ListRuleExecutionsCommand, "ListRuleExecutionsCommand");
3258
+ var ListRuleExecutionsCommand = _ListRuleExecutionsCommand;
3259
+
3260
+ // src/commands/ListRuleTypesCommand.ts
3261
+
3262
+
3263
+
3264
+ var _ListRuleTypesCommand = class _ListRuleTypesCommand extends import_smithy_client.Command.classBuilder().ep({
3265
+ ...commonParams
3266
+ }).m(function(Command, cs, config, o) {
3267
+ return [
3268
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3269
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3270
+ ];
3271
+ }).s("CodePipeline_20150709", "ListRuleTypes", {}).n("CodePipelineClient", "ListRuleTypesCommand").f(void 0, void 0).ser(se_ListRuleTypesCommand).de(de_ListRuleTypesCommand).build() {
3272
+ };
3273
+ __name(_ListRuleTypesCommand, "ListRuleTypesCommand");
3274
+ var ListRuleTypesCommand = _ListRuleTypesCommand;
3275
+
3007
3276
  // src/commands/ListTagsForResourceCommand.ts
3008
3277
 
3009
3278
 
@@ -3036,6 +3305,22 @@ var _ListWebhooksCommand = class _ListWebhooksCommand extends import_smithy_clie
3036
3305
  __name(_ListWebhooksCommand, "ListWebhooksCommand");
3037
3306
  var ListWebhooksCommand = _ListWebhooksCommand;
3038
3307
 
3308
+ // src/commands/OverrideStageConditionCommand.ts
3309
+
3310
+
3311
+
3312
+ var _OverrideStageConditionCommand = class _OverrideStageConditionCommand extends import_smithy_client.Command.classBuilder().ep({
3313
+ ...commonParams
3314
+ }).m(function(Command, cs, config, o) {
3315
+ return [
3316
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3317
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3318
+ ];
3319
+ }).s("CodePipeline_20150709", "OverrideStageCondition", {}).n("CodePipelineClient", "OverrideStageConditionCommand").f(void 0, void 0).ser(se_OverrideStageConditionCommand).de(de_OverrideStageConditionCommand).build() {
3320
+ };
3321
+ __name(_OverrideStageConditionCommand, "OverrideStageConditionCommand");
3322
+ var OverrideStageConditionCommand = _OverrideStageConditionCommand;
3323
+
3039
3324
  // src/commands/PollForJobsCommand.ts
3040
3325
 
3041
3326
 
@@ -3346,8 +3631,11 @@ var commands = {
3346
3631
  ListActionTypesCommand,
3347
3632
  ListPipelineExecutionsCommand,
3348
3633
  ListPipelinesCommand,
3634
+ ListRuleExecutionsCommand,
3635
+ ListRuleTypesCommand,
3349
3636
  ListTagsForResourceCommand,
3350
3637
  ListWebhooksCommand,
3638
+ OverrideStageConditionCommand,
3351
3639
  PollForJobsCommand,
3352
3640
  PollForThirdPartyJobsCommand,
3353
3641
  PutActionRevisionCommand,
@@ -3389,6 +3677,10 @@ var paginateListPipelineExecutions = (0, import_core.createPaginator)(CodePipeli
3389
3677
 
3390
3678
  var paginateListPipelines = (0, import_core.createPaginator)(CodePipelineClient, ListPipelinesCommand, "nextToken", "nextToken", "maxResults");
3391
3679
 
3680
+ // src/pagination/ListRuleExecutionsPaginator.ts
3681
+
3682
+ var paginateListRuleExecutions = (0, import_core.createPaginator)(CodePipelineClient, ListRuleExecutionsCommand, "nextToken", "nextToken", "maxResults");
3683
+
3392
3684
  // src/pagination/ListTagsForResourcePaginator.ts
3393
3685
 
3394
3686
  var paginateListTagsForResource = (0, import_core.createPaginator)(CodePipelineClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
@@ -3424,8 +3716,11 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3424
3716
  ListActionTypesCommand,
3425
3717
  ListPipelineExecutionsCommand,
3426
3718
  ListPipelinesCommand,
3719
+ ListRuleExecutionsCommand,
3720
+ ListRuleTypesCommand,
3427
3721
  ListTagsForResourceCommand,
3428
3722
  ListWebhooksCommand,
3723
+ OverrideStageConditionCommand,
3429
3724
  PollForJobsCommand,
3430
3725
  PollForThirdPartyJobsCommand,
3431
3726
  PutActionRevisionCommand,
@@ -3448,6 +3743,7 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3448
3743
  paginateListActionTypes,
3449
3744
  paginateListPipelineExecutions,
3450
3745
  paginateListPipelines,
3746
+ paginateListRuleExecutions,
3451
3747
  paginateListTagsForResource,
3452
3748
  paginateListWebhooks,
3453
3749
  JobStatus,
@@ -3468,6 +3764,9 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3468
3764
  ArtifactLocationType,
3469
3765
  EncryptionKeyType,
3470
3766
  ArtifactStoreType,
3767
+ Result,
3768
+ RuleCategory,
3769
+ RuleOwner,
3471
3770
  BlockerType,
3472
3771
  ConcurrentModificationException,
3473
3772
  InvalidTagsException,
@@ -3475,7 +3774,6 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3475
3774
  TooManyTagsException,
3476
3775
  ExecutionMode,
3477
3776
  PipelineType,
3478
- Result,
3479
3777
  GitPullRequestEventType,
3480
3778
  PipelineTriggerProviderType,
3481
3779
  InvalidActionDeclarationException,
@@ -3492,25 +3790,30 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3492
3790
  PipelineExecutionStatus,
3493
3791
  TriggerType,
3494
3792
  PipelineExecutionNotFoundException,
3793
+ ConditionExecutionStatus,
3794
+ RuleExecutionStatus,
3495
3795
  StageExecutionStatus,
3496
3796
  InvalidJobException,
3497
3797
  InvalidNextTokenException,
3798
+ RuleConfigurationPropertyType,
3498
3799
  InvalidArnException,
3499
3800
  ResourceNotFoundException,
3500
3801
  WebhookAuthenticationType,
3802
+ ConcurrentPipelineExecutionsLimitExceededException,
3803
+ ConditionNotOverridableException,
3804
+ ConflictException,
3805
+ NotLatestPipelineExecutionException,
3806
+ ConditionType,
3501
3807
  InvalidApprovalTokenException,
3502
3808
  InvalidJobStateException,
3503
3809
  FailureType,
3504
3810
  OutputVariablesSizeExceededException,
3505
3811
  InvalidWebhookAuthenticationParametersException,
3506
3812
  InvalidWebhookFilterPatternException,
3507
- ConflictException,
3508
- NotLatestPipelineExecutionException,
3509
3813
  StageRetryMode,
3510
3814
  StageNotRetryableException,
3511
3815
  PipelineExecutionOutdatedException,
3512
3816
  UnableToRollbackStageException,
3513
- ConcurrentPipelineExecutionsLimitExceededException,
3514
3817
  SourceRevisionType,
3515
3818
  DuplicatedStopRequestException,
3516
3819
  PipelineExecutionNotStoppableException,