@aws-sdk/client-mediastore 3.51.0 → 3.54.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.
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./MediaStoreClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MediaStoreServiceException } from "./models/MediaStoreServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var MediaStoreServiceException = (function (_super) {
4
+ __extends(MediaStoreServiceException, _super);
5
+ function MediaStoreServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, MediaStoreServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return MediaStoreServiceException;
11
+ }(__ServiceException));
12
+ export { MediaStoreServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { MediaStoreServiceException as __BaseException } from "./MediaStoreServiceException";
2
3
  export var MethodName;
3
4
  (function (MethodName) {
4
5
  MethodName["DELETE"] = "DELETE";
@@ -16,15 +17,54 @@ export var Container;
16
17
  (function (Container) {
17
18
  Container.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
18
19
  })(Container || (Container = {}));
20
+ var ContainerInUseException = (function (_super) {
21
+ __extends(ContainerInUseException, _super);
22
+ function ContainerInUseException(opts) {
23
+ var _this = _super.call(this, __assign({ name: "ContainerInUseException", $fault: "client" }, opts)) || this;
24
+ _this.name = "ContainerInUseException";
25
+ _this.$fault = "client";
26
+ Object.setPrototypeOf(_this, ContainerInUseException.prototype);
27
+ _this.Message = opts.Message;
28
+ return _this;
29
+ }
30
+ return ContainerInUseException;
31
+ }(__BaseException));
32
+ export { ContainerInUseException };
19
33
  export var ContainerLevelMetrics;
20
34
  (function (ContainerLevelMetrics) {
21
35
  ContainerLevelMetrics["DISABLED"] = "DISABLED";
22
36
  ContainerLevelMetrics["ENABLED"] = "ENABLED";
23
37
  })(ContainerLevelMetrics || (ContainerLevelMetrics = {}));
38
+ var ContainerNotFoundException = (function (_super) {
39
+ __extends(ContainerNotFoundException, _super);
40
+ function ContainerNotFoundException(opts) {
41
+ var _this = _super.call(this, __assign({ name: "ContainerNotFoundException", $fault: "client" }, opts)) || this;
42
+ _this.name = "ContainerNotFoundException";
43
+ _this.$fault = "client";
44
+ Object.setPrototypeOf(_this, ContainerNotFoundException.prototype);
45
+ _this.Message = opts.Message;
46
+ return _this;
47
+ }
48
+ return ContainerNotFoundException;
49
+ }(__BaseException));
50
+ export { ContainerNotFoundException };
24
51
  export var CorsRule;
25
52
  (function (CorsRule) {
26
53
  CorsRule.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
27
54
  })(CorsRule || (CorsRule = {}));
55
+ var CorsPolicyNotFoundException = (function (_super) {
56
+ __extends(CorsPolicyNotFoundException, _super);
57
+ function CorsPolicyNotFoundException(opts) {
58
+ var _this = _super.call(this, __assign({ name: "CorsPolicyNotFoundException", $fault: "client" }, opts)) || this;
59
+ _this.name = "CorsPolicyNotFoundException";
60
+ _this.$fault = "client";
61
+ Object.setPrototypeOf(_this, CorsPolicyNotFoundException.prototype);
62
+ _this.Message = opts.Message;
63
+ return _this;
64
+ }
65
+ return CorsPolicyNotFoundException;
66
+ }(__BaseException));
67
+ export { CorsPolicyNotFoundException };
28
68
  export var Tag;
29
69
  (function (Tag) {
30
70
  Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -37,6 +77,32 @@ export var CreateContainerOutput;
37
77
  (function (CreateContainerOutput) {
38
78
  CreateContainerOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
39
79
  })(CreateContainerOutput || (CreateContainerOutput = {}));
80
+ var InternalServerError = (function (_super) {
81
+ __extends(InternalServerError, _super);
82
+ function InternalServerError(opts) {
83
+ var _this = _super.call(this, __assign({ name: "InternalServerError", $fault: "server" }, opts)) || this;
84
+ _this.name = "InternalServerError";
85
+ _this.$fault = "server";
86
+ Object.setPrototypeOf(_this, InternalServerError.prototype);
87
+ _this.Message = opts.Message;
88
+ return _this;
89
+ }
90
+ return InternalServerError;
91
+ }(__BaseException));
92
+ export { InternalServerError };
93
+ var LimitExceededException = (function (_super) {
94
+ __extends(LimitExceededException, _super);
95
+ function LimitExceededException(opts) {
96
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
97
+ _this.name = "LimitExceededException";
98
+ _this.$fault = "client";
99
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
100
+ _this.Message = opts.Message;
101
+ return _this;
102
+ }
103
+ return LimitExceededException;
104
+ }(__BaseException));
105
+ export { LimitExceededException };
40
106
  export var DeleteContainerInput;
41
107
  (function (DeleteContainerInput) {
42
108
  DeleteContainerInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -53,6 +119,19 @@ export var DeleteContainerPolicyOutput;
53
119
  (function (DeleteContainerPolicyOutput) {
54
120
  DeleteContainerPolicyOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
55
121
  })(DeleteContainerPolicyOutput || (DeleteContainerPolicyOutput = {}));
122
+ var PolicyNotFoundException = (function (_super) {
123
+ __extends(PolicyNotFoundException, _super);
124
+ function PolicyNotFoundException(opts) {
125
+ var _this = _super.call(this, __assign({ name: "PolicyNotFoundException", $fault: "client" }, opts)) || this;
126
+ _this.name = "PolicyNotFoundException";
127
+ _this.$fault = "client";
128
+ Object.setPrototypeOf(_this, PolicyNotFoundException.prototype);
129
+ _this.Message = opts.Message;
130
+ return _this;
131
+ }
132
+ return PolicyNotFoundException;
133
+ }(__BaseException));
134
+ export { PolicyNotFoundException };
56
135
  export var DeleteCorsPolicyInput;
57
136
  (function (DeleteCorsPolicyInput) {
58
137
  DeleteCorsPolicyInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };