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