@aws-sdk/client-mediastore 3.987.0 → 3.989.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.
@@ -104,35 +104,61 @@ const _URO = "UntagResourceOutput";
104
104
  const _V = "Value";
105
105
  const _c = "client";
106
106
  const _e = "error";
107
- const _s = "server";
108
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mediastore";
107
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.mediastore";
108
+ const _se = "server";
109
109
  const n0 = "com.amazonaws.mediastore";
110
110
  import { TypeRegistry } from "@smithy/core/schema";
111
111
  import { ContainerInUseException, ContainerNotFoundException, CorsPolicyNotFoundException, InternalServerError, LimitExceededException, PolicyNotFoundException, } from "../models/errors";
112
112
  import { MediaStoreServiceException } from "../models/MediaStoreServiceException";
113
- export var Container$ = [3, n0, _C,
114
- 0,
115
- [_E, _CT, _ARN, _N, _S, _ALE],
116
- [0, 4, 0, 0, 0, 2]
117
- ];
113
+ const _s_registry = TypeRegistry.for(_s);
114
+ export var MediaStoreServiceException$ = [-3, _s, "MediaStoreServiceException", 0, [], []];
115
+ _s_registry.registerError(MediaStoreServiceException$, MediaStoreServiceException);
116
+ const n0_registry = TypeRegistry.for(n0);
118
117
  export var ContainerInUseException$ = [-3, n0, _CIUE,
119
118
  { [_e]: _c },
120
119
  [_M],
121
120
  [0]
122
121
  ];
123
- TypeRegistry.for(n0).registerError(ContainerInUseException$, ContainerInUseException);
122
+ n0_registry.registerError(ContainerInUseException$, ContainerInUseException);
124
123
  export var ContainerNotFoundException$ = [-3, n0, _CNFE,
125
124
  { [_e]: _c },
126
125
  [_M],
127
126
  [0]
128
127
  ];
129
- TypeRegistry.for(n0).registerError(ContainerNotFoundException$, ContainerNotFoundException);
128
+ n0_registry.registerError(ContainerNotFoundException$, ContainerNotFoundException);
130
129
  export var CorsPolicyNotFoundException$ = [-3, n0, _CPNFE,
131
130
  { [_e]: _c },
132
131
  [_M],
133
132
  [0]
134
133
  ];
135
- TypeRegistry.for(n0).registerError(CorsPolicyNotFoundException$, CorsPolicyNotFoundException);
134
+ n0_registry.registerError(CorsPolicyNotFoundException$, CorsPolicyNotFoundException);
135
+ export var InternalServerError$ = [-3, n0, _ISE,
136
+ { [_e]: _se },
137
+ [_M],
138
+ [0]
139
+ ];
140
+ n0_registry.registerError(InternalServerError$, InternalServerError);
141
+ export var LimitExceededException$ = [-3, n0, _LEE,
142
+ { [_e]: _c },
143
+ [_M],
144
+ [0]
145
+ ];
146
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
147
+ export var PolicyNotFoundException$ = [-3, n0, _PNFE,
148
+ { [_e]: _c },
149
+ [_M],
150
+ [0]
151
+ ];
152
+ n0_registry.registerError(PolicyNotFoundException$, PolicyNotFoundException);
153
+ export const errorTypeRegistries = [
154
+ _s_registry,
155
+ n0_registry,
156
+ ];
157
+ export var Container$ = [3, n0, _C,
158
+ 0,
159
+ [_E, _CT, _ARN, _N, _S, _ALE],
160
+ [0, 4, 0, 0, 0, 2]
161
+ ];
136
162
  export var CorsRule$ = [3, n0, _CR,
137
163
  0,
138
164
  [_AO, _AH, _AM, _MAS, _EH],
@@ -248,18 +274,6 @@ export var GetMetricPolicyOutput$ = [3, n0, _GMPO,
248
274
  [_MP],
249
275
  [() => MetricPolicy$], 1
250
276
  ];
251
- export var InternalServerError$ = [-3, n0, _ISE,
252
- { [_e]: _s },
253
- [_M],
254
- [0]
255
- ];
256
- TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
257
- export var LimitExceededException$ = [-3, n0, _LEE,
258
- { [_e]: _c },
259
- [_M],
260
- [0]
261
- ];
262
- TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
263
277
  export var ListContainersInput$ = [3, n0, _LCI,
264
278
  0,
265
279
  [_NT, _MR],
@@ -290,12 +304,6 @@ export var MetricPolicyRule$ = [3, n0, _MPRe,
290
304
  [_OG, _OGN],
291
305
  [0, 0], 2
292
306
  ];
293
- export var PolicyNotFoundException$ = [-3, n0, _PNFE,
294
- { [_e]: _c },
295
- [_M],
296
- [0]
297
- ];
298
- TypeRegistry.for(n0).registerError(PolicyNotFoundException$, PolicyNotFoundException);
299
307
  export var PutContainerPolicyInput$ = [3, n0, _PCPI,
300
308
  0,
301
309
  [_CN, _P],
@@ -381,8 +389,6 @@ export var UntagResourceOutput$ = [3, n0, _URO,
381
389
  [],
382
390
  []
383
391
  ];
384
- export var MediaStoreServiceException$ = [-3, _sm, "MediaStoreServiceException", 0, [], []];
385
- TypeRegistry.for(_sm).registerError(MediaStoreServiceException$, MediaStoreServiceException);
386
392
  var AllowedHeaders = 64 | 0;
387
393
  var AllowedMethods = 64 | 0;
388
394
  var AllowedOrigins = 64 | 0;
@@ -1,8 +1,19 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var Container$: StaticStructureSchema;
3
+ export declare var MediaStoreServiceException$: StaticErrorSchema;
3
4
  export declare var ContainerInUseException$: StaticErrorSchema;
4
5
  export declare var ContainerNotFoundException$: StaticErrorSchema;
5
6
  export declare var CorsPolicyNotFoundException$: StaticErrorSchema;
7
+ export declare var InternalServerError$: StaticErrorSchema;
8
+ export declare var LimitExceededException$: StaticErrorSchema;
9
+ export declare var PolicyNotFoundException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
16
+ export declare var Container$: StaticStructureSchema;
6
17
  export declare var CorsRule$: StaticStructureSchema;
7
18
  export declare var CreateContainerInput$: StaticStructureSchema;
8
19
  export declare var CreateContainerOutput$: StaticStructureSchema;
@@ -26,15 +37,12 @@ export declare var GetLifecyclePolicyInput$: StaticStructureSchema;
26
37
  export declare var GetLifecyclePolicyOutput$: StaticStructureSchema;
27
38
  export declare var GetMetricPolicyInput$: StaticStructureSchema;
28
39
  export declare var GetMetricPolicyOutput$: StaticStructureSchema;
29
- export declare var InternalServerError$: StaticErrorSchema;
30
- export declare var LimitExceededException$: StaticErrorSchema;
31
40
  export declare var ListContainersInput$: StaticStructureSchema;
32
41
  export declare var ListContainersOutput$: StaticStructureSchema;
33
42
  export declare var ListTagsForResourceInput$: StaticStructureSchema;
34
43
  export declare var ListTagsForResourceOutput$: StaticStructureSchema;
35
44
  export declare var MetricPolicy$: StaticStructureSchema;
36
45
  export declare var MetricPolicyRule$: StaticStructureSchema;
37
- export declare var PolicyNotFoundException$: StaticErrorSchema;
38
46
  export declare var PutContainerPolicyInput$: StaticStructureSchema;
39
47
  export declare var PutContainerPolicyOutput$: StaticStructureSchema;
40
48
  export declare var PutCorsPolicyInput$: StaticStructureSchema;
@@ -52,7 +60,6 @@ export declare var TagResourceInput$: StaticStructureSchema;
52
60
  export declare var TagResourceOutput$: StaticStructureSchema;
53
61
  export declare var UntagResourceInput$: StaticStructureSchema;
54
62
  export declare var UntagResourceOutput$: StaticStructureSchema;
55
- export declare var MediaStoreServiceException$: StaticErrorSchema;
56
63
  export declare var CreateContainer$: StaticOperationSchema;
57
64
  export declare var DeleteContainer$: StaticOperationSchema;
58
65
  export declare var DeleteContainerPolicy$: StaticOperationSchema;
@@ -1,12 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
6
- export declare var Container$: StaticStructureSchema;
7
+ export declare var MediaStoreServiceException$: StaticErrorSchema;
7
8
  export declare var ContainerInUseException$: StaticErrorSchema;
8
9
  export declare var ContainerNotFoundException$: StaticErrorSchema;
9
10
  export declare var CorsPolicyNotFoundException$: StaticErrorSchema;
11
+ export declare var InternalServerError$: StaticErrorSchema;
12
+ export declare var LimitExceededException$: StaticErrorSchema;
13
+ export declare var PolicyNotFoundException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
15
+ export declare var Container$: StaticStructureSchema;
10
16
  export declare var CorsRule$: StaticStructureSchema;
11
17
  export declare var CreateContainerInput$: StaticStructureSchema;
12
18
  export declare var CreateContainerOutput$: StaticStructureSchema;
@@ -30,15 +36,12 @@ export declare var GetLifecyclePolicyInput$: StaticStructureSchema;
30
36
  export declare var GetLifecyclePolicyOutput$: StaticStructureSchema;
31
37
  export declare var GetMetricPolicyInput$: StaticStructureSchema;
32
38
  export declare var GetMetricPolicyOutput$: StaticStructureSchema;
33
- export declare var InternalServerError$: StaticErrorSchema;
34
- export declare var LimitExceededException$: StaticErrorSchema;
35
39
  export declare var ListContainersInput$: StaticStructureSchema;
36
40
  export declare var ListContainersOutput$: StaticStructureSchema;
37
41
  export declare var ListTagsForResourceInput$: StaticStructureSchema;
38
42
  export declare var ListTagsForResourceOutput$: StaticStructureSchema;
39
43
  export declare var MetricPolicy$: StaticStructureSchema;
40
44
  export declare var MetricPolicyRule$: StaticStructureSchema;
41
- export declare var PolicyNotFoundException$: StaticErrorSchema;
42
45
  export declare var PutContainerPolicyInput$: StaticStructureSchema;
43
46
  export declare var PutContainerPolicyOutput$: StaticStructureSchema;
44
47
  export declare var PutCorsPolicyInput$: StaticStructureSchema;
@@ -56,7 +59,6 @@ export declare var TagResourceInput$: StaticStructureSchema;
56
59
  export declare var TagResourceOutput$: StaticStructureSchema;
57
60
  export declare var UntagResourceInput$: StaticStructureSchema;
58
61
  export declare var UntagResourceOutput$: StaticStructureSchema;
59
- export declare var MediaStoreServiceException$: StaticErrorSchema;
60
62
  export declare var CreateContainer$: StaticOperationSchema;
61
63
  export declare var DeleteContainer$: StaticOperationSchema;
62
64
  export declare var DeleteContainerPolicy$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediastore",
3
3
  "description": "AWS SDK for JavaScript Mediastore Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mediastore",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",