@aws-sdk/client-codepipeline 3.181.0 → 3.183.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 (57) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/CodePipeline.js +158 -165
  3. package/dist-es/CodePipelineClient.js +22 -28
  4. package/dist-es/commands/AcknowledgeJobCommand.js +21 -28
  5. package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +21 -28
  6. package/dist-es/commands/CreateCustomActionTypeCommand.js +21 -28
  7. package/dist-es/commands/CreatePipelineCommand.js +21 -28
  8. package/dist-es/commands/DeleteCustomActionTypeCommand.js +22 -29
  9. package/dist-es/commands/DeletePipelineCommand.js +22 -29
  10. package/dist-es/commands/DeleteWebhookCommand.js +21 -28
  11. package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +21 -28
  12. package/dist-es/commands/DisableStageTransitionCommand.js +22 -29
  13. package/dist-es/commands/EnableStageTransitionCommand.js +22 -29
  14. package/dist-es/commands/GetActionTypeCommand.js +21 -28
  15. package/dist-es/commands/GetJobDetailsCommand.js +21 -28
  16. package/dist-es/commands/GetPipelineCommand.js +21 -28
  17. package/dist-es/commands/GetPipelineExecutionCommand.js +21 -28
  18. package/dist-es/commands/GetPipelineStateCommand.js +21 -28
  19. package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +21 -28
  20. package/dist-es/commands/ListActionExecutionsCommand.js +21 -28
  21. package/dist-es/commands/ListActionTypesCommand.js +21 -28
  22. package/dist-es/commands/ListPipelineExecutionsCommand.js +21 -28
  23. package/dist-es/commands/ListPipelinesCommand.js +21 -28
  24. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  25. package/dist-es/commands/ListWebhooksCommand.js +21 -28
  26. package/dist-es/commands/PollForJobsCommand.js +21 -28
  27. package/dist-es/commands/PollForThirdPartyJobsCommand.js +21 -28
  28. package/dist-es/commands/PutActionRevisionCommand.js +21 -28
  29. package/dist-es/commands/PutApprovalResultCommand.js +21 -28
  30. package/dist-es/commands/PutJobFailureResultCommand.js +22 -29
  31. package/dist-es/commands/PutJobSuccessResultCommand.js +22 -29
  32. package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +22 -29
  33. package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +22 -29
  34. package/dist-es/commands/PutWebhookCommand.js +21 -28
  35. package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +21 -28
  36. package/dist-es/commands/RetryStageExecutionCommand.js +21 -28
  37. package/dist-es/commands/StartPipelineExecutionCommand.js +21 -28
  38. package/dist-es/commands/StopPipelineExecutionCommand.js +21 -28
  39. package/dist-es/commands/TagResourceCommand.js +21 -28
  40. package/dist-es/commands/UntagResourceCommand.js +21 -28
  41. package/dist-es/commands/UpdateActionTypeCommand.js +22 -29
  42. package/dist-es/commands/UpdatePipelineCommand.js +21 -28
  43. package/dist-es/endpoints.js +8 -8
  44. package/dist-es/models/CodePipelineServiceException.js +5 -10
  45. package/dist-es/models/models_0.js +854 -570
  46. package/dist-es/pagination/ListActionExecutionsPaginator.js +25 -68
  47. package/dist-es/pagination/ListActionTypesPaginator.js +24 -67
  48. package/dist-es/pagination/ListPipelineExecutionsPaginator.js +25 -68
  49. package/dist-es/pagination/ListPipelinesPaginator.js +25 -68
  50. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  51. package/dist-es/pagination/ListWebhooksPaginator.js +25 -68
  52. package/dist-es/protocols/Aws_json1_1.js +3101 -3746
  53. package/dist-es/runtimeConfig.browser.js +26 -12
  54. package/dist-es/runtimeConfig.js +30 -12
  55. package/dist-es/runtimeConfig.native.js +8 -5
  56. package/dist-es/runtimeConfig.shared.js +8 -11
  57. package/package.json +33 -33
@@ -1,6 +1,5 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {
2
+ const regionHash = {
4
3
  "ca-central-1": {
5
4
  variants: [
6
5
  {
@@ -50,7 +49,7 @@ var regionHash = {
50
49
  ],
51
50
  },
52
51
  };
53
- var partitionHash = {
52
+ const partitionHash = {
54
53
  aws: {
55
54
  regions: [
56
55
  "af-south-1",
@@ -175,8 +174,9 @@ var partitionHash = {
175
174
  ],
176
175
  },
177
176
  };
178
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
179
- return __generator(this, function (_a) {
180
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "codepipeline", regionHash: regionHash, partitionHash: partitionHash }))];
181
- });
182
- }); };
177
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
178
+ ...options,
179
+ signingService: "codepipeline",
180
+ regionHash,
181
+ partitionHash,
182
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var CodePipelineServiceException = (function (_super) {
4
- __extends(CodePipelineServiceException, _super);
5
- function CodePipelineServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, CodePipelineServiceException.prototype);
8
- return _this;
2
+ export class CodePipelineServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, CodePipelineServiceException.prototype);
9
6
  }
10
- return CodePipelineServiceException;
11
- }(__ServiceException));
12
- export { CodePipelineServiceException };
7
+ }