@aws-sdk/client-mediaconnect 3.186.0 → 3.188.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 (49) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/MediaConnect.js +122 -129
  3. package/dist-es/MediaConnectClient.js +22 -28
  4. package/dist-es/commands/AddFlowMediaStreamsCommand.js +21 -28
  5. package/dist-es/commands/AddFlowOutputsCommand.js +21 -28
  6. package/dist-es/commands/AddFlowSourcesCommand.js +21 -28
  7. package/dist-es/commands/AddFlowVpcInterfacesCommand.js +21 -28
  8. package/dist-es/commands/CreateFlowCommand.js +21 -28
  9. package/dist-es/commands/DeleteFlowCommand.js +21 -28
  10. package/dist-es/commands/DescribeFlowCommand.js +21 -28
  11. package/dist-es/commands/DescribeOfferingCommand.js +21 -28
  12. package/dist-es/commands/DescribeReservationCommand.js +21 -28
  13. package/dist-es/commands/GrantFlowEntitlementsCommand.js +21 -28
  14. package/dist-es/commands/ListEntitlementsCommand.js +21 -28
  15. package/dist-es/commands/ListFlowsCommand.js +21 -28
  16. package/dist-es/commands/ListOfferingsCommand.js +21 -28
  17. package/dist-es/commands/ListReservationsCommand.js +21 -28
  18. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  19. package/dist-es/commands/PurchaseOfferingCommand.js +21 -28
  20. package/dist-es/commands/RemoveFlowMediaStreamCommand.js +21 -28
  21. package/dist-es/commands/RemoveFlowOutputCommand.js +21 -28
  22. package/dist-es/commands/RemoveFlowSourceCommand.js +21 -28
  23. package/dist-es/commands/RemoveFlowVpcInterfaceCommand.js +21 -28
  24. package/dist-es/commands/RevokeFlowEntitlementCommand.js +21 -28
  25. package/dist-es/commands/StartFlowCommand.js +21 -28
  26. package/dist-es/commands/StopFlowCommand.js +21 -28
  27. package/dist-es/commands/TagResourceCommand.js +22 -29
  28. package/dist-es/commands/UntagResourceCommand.js +22 -29
  29. package/dist-es/commands/UpdateFlowCommand.js +21 -28
  30. package/dist-es/commands/UpdateFlowEntitlementCommand.js +21 -28
  31. package/dist-es/commands/UpdateFlowMediaStreamCommand.js +21 -28
  32. package/dist-es/commands/UpdateFlowOutputCommand.js +21 -28
  33. package/dist-es/commands/UpdateFlowSourceCommand.js +21 -28
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/MediaConnectServiceException.js +5 -10
  36. package/dist-es/models/models_0.js +411 -210
  37. package/dist-es/pagination/ListEntitlementsPaginator.js +25 -68
  38. package/dist-es/pagination/ListFlowsPaginator.js +25 -68
  39. package/dist-es/pagination/ListOfferingsPaginator.js +25 -68
  40. package/dist-es/pagination/ListReservationsPaginator.js +25 -68
  41. package/dist-es/protocols/Aws_restJson1.js +2553 -3366
  42. package/dist-es/runtimeConfig.browser.js +26 -12
  43. package/dist-es/runtimeConfig.js +30 -12
  44. package/dist-es/runtimeConfig.native.js +8 -5
  45. package/dist-es/runtimeConfig.shared.js +8 -11
  46. package/dist-es/waiters/waitForFlowActive.js +60 -80
  47. package/dist-es/waiters/waitForFlowDeleted.js +45 -65
  48. package/dist-es/waiters/waitForFlowStandby.js +51 -71
  49. package/package.json +34 -34
@@ -1,7 +1,6 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {};
4
- var partitionHash = {
2
+ const regionHash = {};
3
+ const partitionHash = {
5
4
  aws: {
6
5
  regions: [
7
6
  "af-south-1",
@@ -121,8 +120,9 @@ var partitionHash = {
121
120
  ],
122
121
  },
123
122
  };
124
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
125
- return __generator(this, function (_a) {
126
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "mediaconnect", regionHash: regionHash, partitionHash: partitionHash }))];
127
- });
128
- }); };
123
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
+ ...options,
125
+ signingService: "mediaconnect",
126
+ regionHash,
127
+ partitionHash,
128
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var MediaConnectServiceException = (function (_super) {
4
- __extends(MediaConnectServiceException, _super);
5
- function MediaConnectServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, MediaConnectServiceException.prototype);
8
- return _this;
2
+ export class MediaConnectServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, MediaConnectServiceException.prototype);
9
6
  }
10
- return MediaConnectServiceException;
11
- }(__ServiceException));
12
- export { MediaConnectServiceException };
7
+ }