@aws-sdk/client-mediastore 3.489.0 → 3.495.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-cjs/MediaStore.js +1 -53
- package/dist-cjs/MediaStoreClient.js +1 -43
- package/dist-cjs/commands/CreateContainerCommand.js +1 -28
- package/dist-cjs/commands/DeleteContainerCommand.js +1 -28
- package/dist-cjs/commands/DeleteContainerPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteCorsPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteMetricPolicyCommand.js +1 -28
- package/dist-cjs/commands/DescribeContainerCommand.js +1 -28
- package/dist-cjs/commands/GetContainerPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetCorsPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/GetMetricPolicyCommand.js +1 -28
- package/dist-cjs/commands/ListContainersCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PutContainerPolicyCommand.js +1 -28
- package/dist-cjs/commands/PutCorsPolicyCommand.js +1 -28
- package/dist-cjs/commands/PutLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/PutMetricPolicyCommand.js +1 -28
- package/dist-cjs/commands/StartAccessLoggingCommand.js +1 -28
- package/dist-cjs/commands/StopAccessLoggingCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -24
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1824 -11
- package/dist-cjs/models/MediaStoreServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -103
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListContainersPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -5
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1148
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,1825 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
ContainerInUseException: () => ContainerInUseException,
|
|
25
|
+
ContainerLevelMetrics: () => ContainerLevelMetrics,
|
|
26
|
+
ContainerNotFoundException: () => ContainerNotFoundException,
|
|
27
|
+
ContainerStatus: () => ContainerStatus,
|
|
28
|
+
CorsPolicyNotFoundException: () => CorsPolicyNotFoundException,
|
|
29
|
+
CreateContainerCommand: () => CreateContainerCommand,
|
|
30
|
+
DeleteContainerCommand: () => DeleteContainerCommand,
|
|
31
|
+
DeleteContainerPolicyCommand: () => DeleteContainerPolicyCommand,
|
|
32
|
+
DeleteCorsPolicyCommand: () => DeleteCorsPolicyCommand,
|
|
33
|
+
DeleteLifecyclePolicyCommand: () => DeleteLifecyclePolicyCommand,
|
|
34
|
+
DeleteMetricPolicyCommand: () => DeleteMetricPolicyCommand,
|
|
35
|
+
DescribeContainerCommand: () => DescribeContainerCommand,
|
|
36
|
+
GetContainerPolicyCommand: () => GetContainerPolicyCommand,
|
|
37
|
+
GetCorsPolicyCommand: () => GetCorsPolicyCommand,
|
|
38
|
+
GetLifecyclePolicyCommand: () => GetLifecyclePolicyCommand,
|
|
39
|
+
GetMetricPolicyCommand: () => GetMetricPolicyCommand,
|
|
40
|
+
InternalServerError: () => InternalServerError,
|
|
41
|
+
LimitExceededException: () => LimitExceededException,
|
|
42
|
+
ListContainersCommand: () => ListContainersCommand,
|
|
43
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
44
|
+
MediaStore: () => MediaStore,
|
|
45
|
+
MediaStoreClient: () => MediaStoreClient,
|
|
46
|
+
MediaStoreServiceException: () => MediaStoreServiceException,
|
|
47
|
+
MethodName: () => MethodName,
|
|
48
|
+
PolicyNotFoundException: () => PolicyNotFoundException,
|
|
49
|
+
PutContainerPolicyCommand: () => PutContainerPolicyCommand,
|
|
50
|
+
PutCorsPolicyCommand: () => PutCorsPolicyCommand,
|
|
51
|
+
PutLifecyclePolicyCommand: () => PutLifecyclePolicyCommand,
|
|
52
|
+
PutMetricPolicyCommand: () => PutMetricPolicyCommand,
|
|
53
|
+
StartAccessLoggingCommand: () => StartAccessLoggingCommand,
|
|
54
|
+
StopAccessLoggingCommand: () => StopAccessLoggingCommand,
|
|
55
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
56
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
57
|
+
__Client: () => import_smithy_client.Client,
|
|
58
|
+
paginateListContainers: () => paginateListContainers
|
|
59
|
+
});
|
|
60
|
+
module.exports = __toCommonJS(src_exports);
|
|
61
|
+
|
|
62
|
+
// src/MediaStoreClient.ts
|
|
63
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
64
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
65
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
66
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
67
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
68
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
69
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
70
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
71
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
// src/endpoint/EndpointParameters.ts
|
|
75
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
76
|
+
return {
|
|
77
|
+
...options,
|
|
78
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
79
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
80
|
+
defaultSigningName: "mediastore"
|
|
81
|
+
};
|
|
82
|
+
}, "resolveClientEndpointParameters");
|
|
83
|
+
var commonParams = {
|
|
84
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
85
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
86
|
+
Region: { type: "builtInParams", name: "region" },
|
|
87
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
// src/MediaStoreClient.ts
|
|
91
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
92
|
+
|
|
93
|
+
// src/runtimeExtensions.ts
|
|
94
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
95
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
96
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
97
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
98
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
99
|
+
const extensionConfiguration = {
|
|
100
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
101
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
102
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
103
|
+
};
|
|
104
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
105
|
+
return {
|
|
106
|
+
...runtimeConfig,
|
|
107
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
108
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
109
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
110
|
+
};
|
|
111
|
+
}, "resolveRuntimeExtensions");
|
|
112
|
+
|
|
113
|
+
// src/MediaStoreClient.ts
|
|
114
|
+
var _MediaStoreClient = class _MediaStoreClient extends import_smithy_client.Client {
|
|
115
|
+
constructor(...[configuration]) {
|
|
116
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
117
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
118
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
119
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
120
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
121
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
122
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
123
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
124
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
125
|
+
super(_config_8);
|
|
126
|
+
this.config = _config_8;
|
|
127
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
128
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
129
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
130
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
131
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
132
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
133
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
137
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
138
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
139
|
+
*/
|
|
140
|
+
destroy() {
|
|
141
|
+
super.destroy();
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
__name(_MediaStoreClient, "MediaStoreClient");
|
|
145
|
+
var MediaStoreClient = _MediaStoreClient;
|
|
146
|
+
|
|
147
|
+
// src/MediaStore.ts
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
// src/commands/CreateContainerCommand.ts
|
|
151
|
+
|
|
152
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
153
|
+
|
|
154
|
+
var import_types = require("@smithy/types");
|
|
155
|
+
|
|
156
|
+
// src/protocols/Aws_json1_1.ts
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
// src/models/MediaStoreServiceException.ts
|
|
161
|
+
|
|
162
|
+
var _MediaStoreServiceException = class _MediaStoreServiceException extends import_smithy_client.ServiceException {
|
|
163
|
+
/**
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
|
+
constructor(options) {
|
|
167
|
+
super(options);
|
|
168
|
+
Object.setPrototypeOf(this, _MediaStoreServiceException.prototype);
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
__name(_MediaStoreServiceException, "MediaStoreServiceException");
|
|
172
|
+
var MediaStoreServiceException = _MediaStoreServiceException;
|
|
173
|
+
|
|
174
|
+
// src/models/models_0.ts
|
|
175
|
+
var MethodName = {
|
|
176
|
+
DELETE: "DELETE",
|
|
177
|
+
GET: "GET",
|
|
178
|
+
HEAD: "HEAD",
|
|
179
|
+
PUT: "PUT"
|
|
180
|
+
};
|
|
181
|
+
var ContainerStatus = {
|
|
182
|
+
ACTIVE: "ACTIVE",
|
|
183
|
+
CREATING: "CREATING",
|
|
184
|
+
DELETING: "DELETING"
|
|
185
|
+
};
|
|
186
|
+
var _ContainerInUseException = class _ContainerInUseException extends MediaStoreServiceException {
|
|
187
|
+
/**
|
|
188
|
+
* @internal
|
|
189
|
+
*/
|
|
190
|
+
constructor(opts) {
|
|
191
|
+
super({
|
|
192
|
+
name: "ContainerInUseException",
|
|
193
|
+
$fault: "client",
|
|
194
|
+
...opts
|
|
195
|
+
});
|
|
196
|
+
this.name = "ContainerInUseException";
|
|
197
|
+
this.$fault = "client";
|
|
198
|
+
Object.setPrototypeOf(this, _ContainerInUseException.prototype);
|
|
199
|
+
this.Message = opts.Message;
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
__name(_ContainerInUseException, "ContainerInUseException");
|
|
203
|
+
var ContainerInUseException = _ContainerInUseException;
|
|
204
|
+
var ContainerLevelMetrics = {
|
|
205
|
+
DISABLED: "DISABLED",
|
|
206
|
+
ENABLED: "ENABLED"
|
|
207
|
+
};
|
|
208
|
+
var _ContainerNotFoundException = class _ContainerNotFoundException extends MediaStoreServiceException {
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "ContainerNotFoundException",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts
|
|
217
|
+
});
|
|
218
|
+
this.name = "ContainerNotFoundException";
|
|
219
|
+
this.$fault = "client";
|
|
220
|
+
Object.setPrototypeOf(this, _ContainerNotFoundException.prototype);
|
|
221
|
+
this.Message = opts.Message;
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
__name(_ContainerNotFoundException, "ContainerNotFoundException");
|
|
225
|
+
var ContainerNotFoundException = _ContainerNotFoundException;
|
|
226
|
+
var _CorsPolicyNotFoundException = class _CorsPolicyNotFoundException extends MediaStoreServiceException {
|
|
227
|
+
/**
|
|
228
|
+
* @internal
|
|
229
|
+
*/
|
|
230
|
+
constructor(opts) {
|
|
231
|
+
super({
|
|
232
|
+
name: "CorsPolicyNotFoundException",
|
|
233
|
+
$fault: "client",
|
|
234
|
+
...opts
|
|
235
|
+
});
|
|
236
|
+
this.name = "CorsPolicyNotFoundException";
|
|
237
|
+
this.$fault = "client";
|
|
238
|
+
Object.setPrototypeOf(this, _CorsPolicyNotFoundException.prototype);
|
|
239
|
+
this.Message = opts.Message;
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
__name(_CorsPolicyNotFoundException, "CorsPolicyNotFoundException");
|
|
243
|
+
var CorsPolicyNotFoundException = _CorsPolicyNotFoundException;
|
|
244
|
+
var _InternalServerError = class _InternalServerError extends MediaStoreServiceException {
|
|
245
|
+
/**
|
|
246
|
+
* @internal
|
|
247
|
+
*/
|
|
248
|
+
constructor(opts) {
|
|
249
|
+
super({
|
|
250
|
+
name: "InternalServerError",
|
|
251
|
+
$fault: "server",
|
|
252
|
+
...opts
|
|
253
|
+
});
|
|
254
|
+
this.name = "InternalServerError";
|
|
255
|
+
this.$fault = "server";
|
|
256
|
+
Object.setPrototypeOf(this, _InternalServerError.prototype);
|
|
257
|
+
this.Message = opts.Message;
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
__name(_InternalServerError, "InternalServerError");
|
|
261
|
+
var InternalServerError = _InternalServerError;
|
|
262
|
+
var _LimitExceededException = class _LimitExceededException extends MediaStoreServiceException {
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
*/
|
|
266
|
+
constructor(opts) {
|
|
267
|
+
super({
|
|
268
|
+
name: "LimitExceededException",
|
|
269
|
+
$fault: "client",
|
|
270
|
+
...opts
|
|
271
|
+
});
|
|
272
|
+
this.name = "LimitExceededException";
|
|
273
|
+
this.$fault = "client";
|
|
274
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
275
|
+
this.Message = opts.Message;
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
279
|
+
var LimitExceededException = _LimitExceededException;
|
|
280
|
+
var _PolicyNotFoundException = class _PolicyNotFoundException extends MediaStoreServiceException {
|
|
281
|
+
/**
|
|
282
|
+
* @internal
|
|
283
|
+
*/
|
|
284
|
+
constructor(opts) {
|
|
285
|
+
super({
|
|
286
|
+
name: "PolicyNotFoundException",
|
|
287
|
+
$fault: "client",
|
|
288
|
+
...opts
|
|
289
|
+
});
|
|
290
|
+
this.name = "PolicyNotFoundException";
|
|
291
|
+
this.$fault = "client";
|
|
292
|
+
Object.setPrototypeOf(this, _PolicyNotFoundException.prototype);
|
|
293
|
+
this.Message = opts.Message;
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
__name(_PolicyNotFoundException, "PolicyNotFoundException");
|
|
297
|
+
var PolicyNotFoundException = _PolicyNotFoundException;
|
|
298
|
+
|
|
299
|
+
// src/protocols/Aws_json1_1.ts
|
|
300
|
+
var se_CreateContainerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
301
|
+
const headers = sharedHeaders("CreateContainer");
|
|
302
|
+
let body;
|
|
303
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
304
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
305
|
+
}, "se_CreateContainerCommand");
|
|
306
|
+
var se_DeleteContainerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
307
|
+
const headers = sharedHeaders("DeleteContainer");
|
|
308
|
+
let body;
|
|
309
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
310
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
311
|
+
}, "se_DeleteContainerCommand");
|
|
312
|
+
var se_DeleteContainerPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
313
|
+
const headers = sharedHeaders("DeleteContainerPolicy");
|
|
314
|
+
let body;
|
|
315
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
316
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
317
|
+
}, "se_DeleteContainerPolicyCommand");
|
|
318
|
+
var se_DeleteCorsPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
319
|
+
const headers = sharedHeaders("DeleteCorsPolicy");
|
|
320
|
+
let body;
|
|
321
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
322
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
323
|
+
}, "se_DeleteCorsPolicyCommand");
|
|
324
|
+
var se_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
325
|
+
const headers = sharedHeaders("DeleteLifecyclePolicy");
|
|
326
|
+
let body;
|
|
327
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
328
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
329
|
+
}, "se_DeleteLifecyclePolicyCommand");
|
|
330
|
+
var se_DeleteMetricPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
331
|
+
const headers = sharedHeaders("DeleteMetricPolicy");
|
|
332
|
+
let body;
|
|
333
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
334
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
335
|
+
}, "se_DeleteMetricPolicyCommand");
|
|
336
|
+
var se_DescribeContainerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
337
|
+
const headers = sharedHeaders("DescribeContainer");
|
|
338
|
+
let body;
|
|
339
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
340
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
341
|
+
}, "se_DescribeContainerCommand");
|
|
342
|
+
var se_GetContainerPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
343
|
+
const headers = sharedHeaders("GetContainerPolicy");
|
|
344
|
+
let body;
|
|
345
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
346
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
347
|
+
}, "se_GetContainerPolicyCommand");
|
|
348
|
+
var se_GetCorsPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
349
|
+
const headers = sharedHeaders("GetCorsPolicy");
|
|
350
|
+
let body;
|
|
351
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
352
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
353
|
+
}, "se_GetCorsPolicyCommand");
|
|
354
|
+
var se_GetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
355
|
+
const headers = sharedHeaders("GetLifecyclePolicy");
|
|
356
|
+
let body;
|
|
357
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
358
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
359
|
+
}, "se_GetLifecyclePolicyCommand");
|
|
360
|
+
var se_GetMetricPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
361
|
+
const headers = sharedHeaders("GetMetricPolicy");
|
|
362
|
+
let body;
|
|
363
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
364
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
365
|
+
}, "se_GetMetricPolicyCommand");
|
|
366
|
+
var se_ListContainersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
367
|
+
const headers = sharedHeaders("ListContainers");
|
|
368
|
+
let body;
|
|
369
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
370
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
371
|
+
}, "se_ListContainersCommand");
|
|
372
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
373
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
374
|
+
let body;
|
|
375
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
376
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
377
|
+
}, "se_ListTagsForResourceCommand");
|
|
378
|
+
var se_PutContainerPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
379
|
+
const headers = sharedHeaders("PutContainerPolicy");
|
|
380
|
+
let body;
|
|
381
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
382
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
383
|
+
}, "se_PutContainerPolicyCommand");
|
|
384
|
+
var se_PutCorsPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
385
|
+
const headers = sharedHeaders("PutCorsPolicy");
|
|
386
|
+
let body;
|
|
387
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
388
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
389
|
+
}, "se_PutCorsPolicyCommand");
|
|
390
|
+
var se_PutLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
391
|
+
const headers = sharedHeaders("PutLifecyclePolicy");
|
|
392
|
+
let body;
|
|
393
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
394
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
395
|
+
}, "se_PutLifecyclePolicyCommand");
|
|
396
|
+
var se_PutMetricPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
397
|
+
const headers = sharedHeaders("PutMetricPolicy");
|
|
398
|
+
let body;
|
|
399
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
400
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
401
|
+
}, "se_PutMetricPolicyCommand");
|
|
402
|
+
var se_StartAccessLoggingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
403
|
+
const headers = sharedHeaders("StartAccessLogging");
|
|
404
|
+
let body;
|
|
405
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
406
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
407
|
+
}, "se_StartAccessLoggingCommand");
|
|
408
|
+
var se_StopAccessLoggingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
409
|
+
const headers = sharedHeaders("StopAccessLogging");
|
|
410
|
+
let body;
|
|
411
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
412
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
413
|
+
}, "se_StopAccessLoggingCommand");
|
|
414
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
415
|
+
const headers = sharedHeaders("TagResource");
|
|
416
|
+
let body;
|
|
417
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
418
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
419
|
+
}, "se_TagResourceCommand");
|
|
420
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
421
|
+
const headers = sharedHeaders("UntagResource");
|
|
422
|
+
let body;
|
|
423
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
424
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
425
|
+
}, "se_UntagResourceCommand");
|
|
426
|
+
var de_CreateContainerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
427
|
+
if (output.statusCode >= 300) {
|
|
428
|
+
return de_CreateContainerCommandError(output, context);
|
|
429
|
+
}
|
|
430
|
+
const data = await parseBody(output.body, context);
|
|
431
|
+
let contents = {};
|
|
432
|
+
contents = de_CreateContainerOutput(data, context);
|
|
433
|
+
const response = {
|
|
434
|
+
$metadata: deserializeMetadata(output),
|
|
435
|
+
...contents
|
|
436
|
+
};
|
|
437
|
+
return response;
|
|
438
|
+
}, "de_CreateContainerCommand");
|
|
439
|
+
var de_CreateContainerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
440
|
+
const parsedOutput = {
|
|
441
|
+
...output,
|
|
442
|
+
body: await parseErrorBody(output.body, context)
|
|
443
|
+
};
|
|
444
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
445
|
+
switch (errorCode) {
|
|
446
|
+
case "ContainerInUseException":
|
|
447
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
448
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
449
|
+
case "InternalServerError":
|
|
450
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
451
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
452
|
+
case "LimitExceededException":
|
|
453
|
+
case "com.amazonaws.mediastore#LimitExceededException":
|
|
454
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
455
|
+
default:
|
|
456
|
+
const parsedBody = parsedOutput.body;
|
|
457
|
+
return throwDefaultError({
|
|
458
|
+
output,
|
|
459
|
+
parsedBody,
|
|
460
|
+
errorCode
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
}, "de_CreateContainerCommandError");
|
|
464
|
+
var de_DeleteContainerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
465
|
+
if (output.statusCode >= 300) {
|
|
466
|
+
return de_DeleteContainerCommandError(output, context);
|
|
467
|
+
}
|
|
468
|
+
const data = await parseBody(output.body, context);
|
|
469
|
+
let contents = {};
|
|
470
|
+
contents = (0, import_smithy_client._json)(data);
|
|
471
|
+
const response = {
|
|
472
|
+
$metadata: deserializeMetadata(output),
|
|
473
|
+
...contents
|
|
474
|
+
};
|
|
475
|
+
return response;
|
|
476
|
+
}, "de_DeleteContainerCommand");
|
|
477
|
+
var de_DeleteContainerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
478
|
+
const parsedOutput = {
|
|
479
|
+
...output,
|
|
480
|
+
body: await parseErrorBody(output.body, context)
|
|
481
|
+
};
|
|
482
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
483
|
+
switch (errorCode) {
|
|
484
|
+
case "ContainerInUseException":
|
|
485
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
486
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
487
|
+
case "ContainerNotFoundException":
|
|
488
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
489
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
490
|
+
case "InternalServerError":
|
|
491
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
492
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
493
|
+
default:
|
|
494
|
+
const parsedBody = parsedOutput.body;
|
|
495
|
+
return throwDefaultError({
|
|
496
|
+
output,
|
|
497
|
+
parsedBody,
|
|
498
|
+
errorCode
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
}, "de_DeleteContainerCommandError");
|
|
502
|
+
var de_DeleteContainerPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
503
|
+
if (output.statusCode >= 300) {
|
|
504
|
+
return de_DeleteContainerPolicyCommandError(output, context);
|
|
505
|
+
}
|
|
506
|
+
const data = await parseBody(output.body, context);
|
|
507
|
+
let contents = {};
|
|
508
|
+
contents = (0, import_smithy_client._json)(data);
|
|
509
|
+
const response = {
|
|
510
|
+
$metadata: deserializeMetadata(output),
|
|
511
|
+
...contents
|
|
512
|
+
};
|
|
513
|
+
return response;
|
|
514
|
+
}, "de_DeleteContainerPolicyCommand");
|
|
515
|
+
var de_DeleteContainerPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
516
|
+
const parsedOutput = {
|
|
517
|
+
...output,
|
|
518
|
+
body: await parseErrorBody(output.body, context)
|
|
519
|
+
};
|
|
520
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
521
|
+
switch (errorCode) {
|
|
522
|
+
case "ContainerInUseException":
|
|
523
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
524
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
525
|
+
case "ContainerNotFoundException":
|
|
526
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
527
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
528
|
+
case "InternalServerError":
|
|
529
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
530
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
531
|
+
case "PolicyNotFoundException":
|
|
532
|
+
case "com.amazonaws.mediastore#PolicyNotFoundException":
|
|
533
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
534
|
+
default:
|
|
535
|
+
const parsedBody = parsedOutput.body;
|
|
536
|
+
return throwDefaultError({
|
|
537
|
+
output,
|
|
538
|
+
parsedBody,
|
|
539
|
+
errorCode
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
}, "de_DeleteContainerPolicyCommandError");
|
|
543
|
+
var de_DeleteCorsPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
544
|
+
if (output.statusCode >= 300) {
|
|
545
|
+
return de_DeleteCorsPolicyCommandError(output, context);
|
|
546
|
+
}
|
|
547
|
+
const data = await parseBody(output.body, context);
|
|
548
|
+
let contents = {};
|
|
549
|
+
contents = (0, import_smithy_client._json)(data);
|
|
550
|
+
const response = {
|
|
551
|
+
$metadata: deserializeMetadata(output),
|
|
552
|
+
...contents
|
|
553
|
+
};
|
|
554
|
+
return response;
|
|
555
|
+
}, "de_DeleteCorsPolicyCommand");
|
|
556
|
+
var de_DeleteCorsPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
557
|
+
const parsedOutput = {
|
|
558
|
+
...output,
|
|
559
|
+
body: await parseErrorBody(output.body, context)
|
|
560
|
+
};
|
|
561
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
562
|
+
switch (errorCode) {
|
|
563
|
+
case "ContainerInUseException":
|
|
564
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
565
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
566
|
+
case "ContainerNotFoundException":
|
|
567
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
568
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
569
|
+
case "CorsPolicyNotFoundException":
|
|
570
|
+
case "com.amazonaws.mediastore#CorsPolicyNotFoundException":
|
|
571
|
+
throw await de_CorsPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
572
|
+
case "InternalServerError":
|
|
573
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
574
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
575
|
+
default:
|
|
576
|
+
const parsedBody = parsedOutput.body;
|
|
577
|
+
return throwDefaultError({
|
|
578
|
+
output,
|
|
579
|
+
parsedBody,
|
|
580
|
+
errorCode
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
}, "de_DeleteCorsPolicyCommandError");
|
|
584
|
+
var de_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
585
|
+
if (output.statusCode >= 300) {
|
|
586
|
+
return de_DeleteLifecyclePolicyCommandError(output, context);
|
|
587
|
+
}
|
|
588
|
+
const data = await parseBody(output.body, context);
|
|
589
|
+
let contents = {};
|
|
590
|
+
contents = (0, import_smithy_client._json)(data);
|
|
591
|
+
const response = {
|
|
592
|
+
$metadata: deserializeMetadata(output),
|
|
593
|
+
...contents
|
|
594
|
+
};
|
|
595
|
+
return response;
|
|
596
|
+
}, "de_DeleteLifecyclePolicyCommand");
|
|
597
|
+
var de_DeleteLifecyclePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
598
|
+
const parsedOutput = {
|
|
599
|
+
...output,
|
|
600
|
+
body: await parseErrorBody(output.body, context)
|
|
601
|
+
};
|
|
602
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
603
|
+
switch (errorCode) {
|
|
604
|
+
case "ContainerInUseException":
|
|
605
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
606
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
607
|
+
case "ContainerNotFoundException":
|
|
608
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
609
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
610
|
+
case "InternalServerError":
|
|
611
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
612
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
613
|
+
case "PolicyNotFoundException":
|
|
614
|
+
case "com.amazonaws.mediastore#PolicyNotFoundException":
|
|
615
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
616
|
+
default:
|
|
617
|
+
const parsedBody = parsedOutput.body;
|
|
618
|
+
return throwDefaultError({
|
|
619
|
+
output,
|
|
620
|
+
parsedBody,
|
|
621
|
+
errorCode
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
}, "de_DeleteLifecyclePolicyCommandError");
|
|
625
|
+
var de_DeleteMetricPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
626
|
+
if (output.statusCode >= 300) {
|
|
627
|
+
return de_DeleteMetricPolicyCommandError(output, context);
|
|
628
|
+
}
|
|
629
|
+
const data = await parseBody(output.body, context);
|
|
630
|
+
let contents = {};
|
|
631
|
+
contents = (0, import_smithy_client._json)(data);
|
|
632
|
+
const response = {
|
|
633
|
+
$metadata: deserializeMetadata(output),
|
|
634
|
+
...contents
|
|
635
|
+
};
|
|
636
|
+
return response;
|
|
637
|
+
}, "de_DeleteMetricPolicyCommand");
|
|
638
|
+
var de_DeleteMetricPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
639
|
+
const parsedOutput = {
|
|
640
|
+
...output,
|
|
641
|
+
body: await parseErrorBody(output.body, context)
|
|
642
|
+
};
|
|
643
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
644
|
+
switch (errorCode) {
|
|
645
|
+
case "ContainerInUseException":
|
|
646
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
647
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
648
|
+
case "ContainerNotFoundException":
|
|
649
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
650
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
651
|
+
case "InternalServerError":
|
|
652
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
653
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
654
|
+
case "PolicyNotFoundException":
|
|
655
|
+
case "com.amazonaws.mediastore#PolicyNotFoundException":
|
|
656
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
657
|
+
default:
|
|
658
|
+
const parsedBody = parsedOutput.body;
|
|
659
|
+
return throwDefaultError({
|
|
660
|
+
output,
|
|
661
|
+
parsedBody,
|
|
662
|
+
errorCode
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
}, "de_DeleteMetricPolicyCommandError");
|
|
666
|
+
var de_DescribeContainerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
667
|
+
if (output.statusCode >= 300) {
|
|
668
|
+
return de_DescribeContainerCommandError(output, context);
|
|
669
|
+
}
|
|
670
|
+
const data = await parseBody(output.body, context);
|
|
671
|
+
let contents = {};
|
|
672
|
+
contents = de_DescribeContainerOutput(data, context);
|
|
673
|
+
const response = {
|
|
674
|
+
$metadata: deserializeMetadata(output),
|
|
675
|
+
...contents
|
|
676
|
+
};
|
|
677
|
+
return response;
|
|
678
|
+
}, "de_DescribeContainerCommand");
|
|
679
|
+
var de_DescribeContainerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
680
|
+
const parsedOutput = {
|
|
681
|
+
...output,
|
|
682
|
+
body: await parseErrorBody(output.body, context)
|
|
683
|
+
};
|
|
684
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
685
|
+
switch (errorCode) {
|
|
686
|
+
case "ContainerNotFoundException":
|
|
687
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
688
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
689
|
+
case "InternalServerError":
|
|
690
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
691
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
692
|
+
default:
|
|
693
|
+
const parsedBody = parsedOutput.body;
|
|
694
|
+
return throwDefaultError({
|
|
695
|
+
output,
|
|
696
|
+
parsedBody,
|
|
697
|
+
errorCode
|
|
698
|
+
});
|
|
699
|
+
}
|
|
700
|
+
}, "de_DescribeContainerCommandError");
|
|
701
|
+
var de_GetContainerPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
702
|
+
if (output.statusCode >= 300) {
|
|
703
|
+
return de_GetContainerPolicyCommandError(output, context);
|
|
704
|
+
}
|
|
705
|
+
const data = await parseBody(output.body, context);
|
|
706
|
+
let contents = {};
|
|
707
|
+
contents = (0, import_smithy_client._json)(data);
|
|
708
|
+
const response = {
|
|
709
|
+
$metadata: deserializeMetadata(output),
|
|
710
|
+
...contents
|
|
711
|
+
};
|
|
712
|
+
return response;
|
|
713
|
+
}, "de_GetContainerPolicyCommand");
|
|
714
|
+
var de_GetContainerPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
715
|
+
const parsedOutput = {
|
|
716
|
+
...output,
|
|
717
|
+
body: await parseErrorBody(output.body, context)
|
|
718
|
+
};
|
|
719
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
720
|
+
switch (errorCode) {
|
|
721
|
+
case "ContainerInUseException":
|
|
722
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
723
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
724
|
+
case "ContainerNotFoundException":
|
|
725
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
726
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
727
|
+
case "InternalServerError":
|
|
728
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
729
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
730
|
+
case "PolicyNotFoundException":
|
|
731
|
+
case "com.amazonaws.mediastore#PolicyNotFoundException":
|
|
732
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
733
|
+
default:
|
|
734
|
+
const parsedBody = parsedOutput.body;
|
|
735
|
+
return throwDefaultError({
|
|
736
|
+
output,
|
|
737
|
+
parsedBody,
|
|
738
|
+
errorCode
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
}, "de_GetContainerPolicyCommandError");
|
|
742
|
+
var de_GetCorsPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
743
|
+
if (output.statusCode >= 300) {
|
|
744
|
+
return de_GetCorsPolicyCommandError(output, context);
|
|
745
|
+
}
|
|
746
|
+
const data = await parseBody(output.body, context);
|
|
747
|
+
let contents = {};
|
|
748
|
+
contents = (0, import_smithy_client._json)(data);
|
|
749
|
+
const response = {
|
|
750
|
+
$metadata: deserializeMetadata(output),
|
|
751
|
+
...contents
|
|
752
|
+
};
|
|
753
|
+
return response;
|
|
754
|
+
}, "de_GetCorsPolicyCommand");
|
|
755
|
+
var de_GetCorsPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
756
|
+
const parsedOutput = {
|
|
757
|
+
...output,
|
|
758
|
+
body: await parseErrorBody(output.body, context)
|
|
759
|
+
};
|
|
760
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
761
|
+
switch (errorCode) {
|
|
762
|
+
case "ContainerInUseException":
|
|
763
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
764
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
765
|
+
case "ContainerNotFoundException":
|
|
766
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
767
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
768
|
+
case "CorsPolicyNotFoundException":
|
|
769
|
+
case "com.amazonaws.mediastore#CorsPolicyNotFoundException":
|
|
770
|
+
throw await de_CorsPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
771
|
+
case "InternalServerError":
|
|
772
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
773
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
774
|
+
default:
|
|
775
|
+
const parsedBody = parsedOutput.body;
|
|
776
|
+
return throwDefaultError({
|
|
777
|
+
output,
|
|
778
|
+
parsedBody,
|
|
779
|
+
errorCode
|
|
780
|
+
});
|
|
781
|
+
}
|
|
782
|
+
}, "de_GetCorsPolicyCommandError");
|
|
783
|
+
var de_GetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
784
|
+
if (output.statusCode >= 300) {
|
|
785
|
+
return de_GetLifecyclePolicyCommandError(output, context);
|
|
786
|
+
}
|
|
787
|
+
const data = await parseBody(output.body, context);
|
|
788
|
+
let contents = {};
|
|
789
|
+
contents = (0, import_smithy_client._json)(data);
|
|
790
|
+
const response = {
|
|
791
|
+
$metadata: deserializeMetadata(output),
|
|
792
|
+
...contents
|
|
793
|
+
};
|
|
794
|
+
return response;
|
|
795
|
+
}, "de_GetLifecyclePolicyCommand");
|
|
796
|
+
var de_GetLifecyclePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
797
|
+
const parsedOutput = {
|
|
798
|
+
...output,
|
|
799
|
+
body: await parseErrorBody(output.body, context)
|
|
800
|
+
};
|
|
801
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
802
|
+
switch (errorCode) {
|
|
803
|
+
case "ContainerInUseException":
|
|
804
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
805
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
806
|
+
case "ContainerNotFoundException":
|
|
807
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
808
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
809
|
+
case "InternalServerError":
|
|
810
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
811
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
812
|
+
case "PolicyNotFoundException":
|
|
813
|
+
case "com.amazonaws.mediastore#PolicyNotFoundException":
|
|
814
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
815
|
+
default:
|
|
816
|
+
const parsedBody = parsedOutput.body;
|
|
817
|
+
return throwDefaultError({
|
|
818
|
+
output,
|
|
819
|
+
parsedBody,
|
|
820
|
+
errorCode
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
}, "de_GetLifecyclePolicyCommandError");
|
|
824
|
+
var de_GetMetricPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
825
|
+
if (output.statusCode >= 300) {
|
|
826
|
+
return de_GetMetricPolicyCommandError(output, context);
|
|
827
|
+
}
|
|
828
|
+
const data = await parseBody(output.body, context);
|
|
829
|
+
let contents = {};
|
|
830
|
+
contents = (0, import_smithy_client._json)(data);
|
|
831
|
+
const response = {
|
|
832
|
+
$metadata: deserializeMetadata(output),
|
|
833
|
+
...contents
|
|
834
|
+
};
|
|
835
|
+
return response;
|
|
836
|
+
}, "de_GetMetricPolicyCommand");
|
|
837
|
+
var de_GetMetricPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
838
|
+
const parsedOutput = {
|
|
839
|
+
...output,
|
|
840
|
+
body: await parseErrorBody(output.body, context)
|
|
841
|
+
};
|
|
842
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
843
|
+
switch (errorCode) {
|
|
844
|
+
case "ContainerInUseException":
|
|
845
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
846
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
847
|
+
case "ContainerNotFoundException":
|
|
848
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
849
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
850
|
+
case "InternalServerError":
|
|
851
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
852
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
853
|
+
case "PolicyNotFoundException":
|
|
854
|
+
case "com.amazonaws.mediastore#PolicyNotFoundException":
|
|
855
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
856
|
+
default:
|
|
857
|
+
const parsedBody = parsedOutput.body;
|
|
858
|
+
return throwDefaultError({
|
|
859
|
+
output,
|
|
860
|
+
parsedBody,
|
|
861
|
+
errorCode
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
}, "de_GetMetricPolicyCommandError");
|
|
865
|
+
var de_ListContainersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
866
|
+
if (output.statusCode >= 300) {
|
|
867
|
+
return de_ListContainersCommandError(output, context);
|
|
868
|
+
}
|
|
869
|
+
const data = await parseBody(output.body, context);
|
|
870
|
+
let contents = {};
|
|
871
|
+
contents = de_ListContainersOutput(data, context);
|
|
872
|
+
const response = {
|
|
873
|
+
$metadata: deserializeMetadata(output),
|
|
874
|
+
...contents
|
|
875
|
+
};
|
|
876
|
+
return response;
|
|
877
|
+
}, "de_ListContainersCommand");
|
|
878
|
+
var de_ListContainersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
879
|
+
const parsedOutput = {
|
|
880
|
+
...output,
|
|
881
|
+
body: await parseErrorBody(output.body, context)
|
|
882
|
+
};
|
|
883
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
884
|
+
switch (errorCode) {
|
|
885
|
+
case "InternalServerError":
|
|
886
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
887
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
888
|
+
default:
|
|
889
|
+
const parsedBody = parsedOutput.body;
|
|
890
|
+
return throwDefaultError({
|
|
891
|
+
output,
|
|
892
|
+
parsedBody,
|
|
893
|
+
errorCode
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
}, "de_ListContainersCommandError");
|
|
897
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
898
|
+
if (output.statusCode >= 300) {
|
|
899
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
900
|
+
}
|
|
901
|
+
const data = await parseBody(output.body, context);
|
|
902
|
+
let contents = {};
|
|
903
|
+
contents = (0, import_smithy_client._json)(data);
|
|
904
|
+
const response = {
|
|
905
|
+
$metadata: deserializeMetadata(output),
|
|
906
|
+
...contents
|
|
907
|
+
};
|
|
908
|
+
return response;
|
|
909
|
+
}, "de_ListTagsForResourceCommand");
|
|
910
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
911
|
+
const parsedOutput = {
|
|
912
|
+
...output,
|
|
913
|
+
body: await parseErrorBody(output.body, context)
|
|
914
|
+
};
|
|
915
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
916
|
+
switch (errorCode) {
|
|
917
|
+
case "ContainerInUseException":
|
|
918
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
919
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
920
|
+
case "ContainerNotFoundException":
|
|
921
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
922
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
923
|
+
case "InternalServerError":
|
|
924
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
925
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
926
|
+
default:
|
|
927
|
+
const parsedBody = parsedOutput.body;
|
|
928
|
+
return throwDefaultError({
|
|
929
|
+
output,
|
|
930
|
+
parsedBody,
|
|
931
|
+
errorCode
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
}, "de_ListTagsForResourceCommandError");
|
|
935
|
+
var de_PutContainerPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
936
|
+
if (output.statusCode >= 300) {
|
|
937
|
+
return de_PutContainerPolicyCommandError(output, context);
|
|
938
|
+
}
|
|
939
|
+
const data = await parseBody(output.body, context);
|
|
940
|
+
let contents = {};
|
|
941
|
+
contents = (0, import_smithy_client._json)(data);
|
|
942
|
+
const response = {
|
|
943
|
+
$metadata: deserializeMetadata(output),
|
|
944
|
+
...contents
|
|
945
|
+
};
|
|
946
|
+
return response;
|
|
947
|
+
}, "de_PutContainerPolicyCommand");
|
|
948
|
+
var de_PutContainerPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
949
|
+
const parsedOutput = {
|
|
950
|
+
...output,
|
|
951
|
+
body: await parseErrorBody(output.body, context)
|
|
952
|
+
};
|
|
953
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
954
|
+
switch (errorCode) {
|
|
955
|
+
case "ContainerInUseException":
|
|
956
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
957
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
958
|
+
case "ContainerNotFoundException":
|
|
959
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
960
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
961
|
+
case "InternalServerError":
|
|
962
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
963
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
964
|
+
default:
|
|
965
|
+
const parsedBody = parsedOutput.body;
|
|
966
|
+
return throwDefaultError({
|
|
967
|
+
output,
|
|
968
|
+
parsedBody,
|
|
969
|
+
errorCode
|
|
970
|
+
});
|
|
971
|
+
}
|
|
972
|
+
}, "de_PutContainerPolicyCommandError");
|
|
973
|
+
var de_PutCorsPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
974
|
+
if (output.statusCode >= 300) {
|
|
975
|
+
return de_PutCorsPolicyCommandError(output, context);
|
|
976
|
+
}
|
|
977
|
+
const data = await parseBody(output.body, context);
|
|
978
|
+
let contents = {};
|
|
979
|
+
contents = (0, import_smithy_client._json)(data);
|
|
980
|
+
const response = {
|
|
981
|
+
$metadata: deserializeMetadata(output),
|
|
982
|
+
...contents
|
|
983
|
+
};
|
|
984
|
+
return response;
|
|
985
|
+
}, "de_PutCorsPolicyCommand");
|
|
986
|
+
var de_PutCorsPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
987
|
+
const parsedOutput = {
|
|
988
|
+
...output,
|
|
989
|
+
body: await parseErrorBody(output.body, context)
|
|
990
|
+
};
|
|
991
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
992
|
+
switch (errorCode) {
|
|
993
|
+
case "ContainerInUseException":
|
|
994
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
995
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
996
|
+
case "ContainerNotFoundException":
|
|
997
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
998
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
999
|
+
case "InternalServerError":
|
|
1000
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
1001
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1002
|
+
default:
|
|
1003
|
+
const parsedBody = parsedOutput.body;
|
|
1004
|
+
return throwDefaultError({
|
|
1005
|
+
output,
|
|
1006
|
+
parsedBody,
|
|
1007
|
+
errorCode
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
}, "de_PutCorsPolicyCommandError");
|
|
1011
|
+
var de_PutLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1012
|
+
if (output.statusCode >= 300) {
|
|
1013
|
+
return de_PutLifecyclePolicyCommandError(output, context);
|
|
1014
|
+
}
|
|
1015
|
+
const data = await parseBody(output.body, context);
|
|
1016
|
+
let contents = {};
|
|
1017
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1018
|
+
const response = {
|
|
1019
|
+
$metadata: deserializeMetadata(output),
|
|
1020
|
+
...contents
|
|
1021
|
+
};
|
|
1022
|
+
return response;
|
|
1023
|
+
}, "de_PutLifecyclePolicyCommand");
|
|
1024
|
+
var de_PutLifecyclePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1025
|
+
const parsedOutput = {
|
|
1026
|
+
...output,
|
|
1027
|
+
body: await parseErrorBody(output.body, context)
|
|
1028
|
+
};
|
|
1029
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1030
|
+
switch (errorCode) {
|
|
1031
|
+
case "ContainerInUseException":
|
|
1032
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
1033
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
1034
|
+
case "ContainerNotFoundException":
|
|
1035
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
1036
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
1037
|
+
case "InternalServerError":
|
|
1038
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
1039
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1040
|
+
default:
|
|
1041
|
+
const parsedBody = parsedOutput.body;
|
|
1042
|
+
return throwDefaultError({
|
|
1043
|
+
output,
|
|
1044
|
+
parsedBody,
|
|
1045
|
+
errorCode
|
|
1046
|
+
});
|
|
1047
|
+
}
|
|
1048
|
+
}, "de_PutLifecyclePolicyCommandError");
|
|
1049
|
+
var de_PutMetricPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1050
|
+
if (output.statusCode >= 300) {
|
|
1051
|
+
return de_PutMetricPolicyCommandError(output, context);
|
|
1052
|
+
}
|
|
1053
|
+
const data = await parseBody(output.body, context);
|
|
1054
|
+
let contents = {};
|
|
1055
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1056
|
+
const response = {
|
|
1057
|
+
$metadata: deserializeMetadata(output),
|
|
1058
|
+
...contents
|
|
1059
|
+
};
|
|
1060
|
+
return response;
|
|
1061
|
+
}, "de_PutMetricPolicyCommand");
|
|
1062
|
+
var de_PutMetricPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1063
|
+
const parsedOutput = {
|
|
1064
|
+
...output,
|
|
1065
|
+
body: await parseErrorBody(output.body, context)
|
|
1066
|
+
};
|
|
1067
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1068
|
+
switch (errorCode) {
|
|
1069
|
+
case "ContainerInUseException":
|
|
1070
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
1071
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
1072
|
+
case "ContainerNotFoundException":
|
|
1073
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
1074
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
1075
|
+
case "InternalServerError":
|
|
1076
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
1077
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1078
|
+
default:
|
|
1079
|
+
const parsedBody = parsedOutput.body;
|
|
1080
|
+
return throwDefaultError({
|
|
1081
|
+
output,
|
|
1082
|
+
parsedBody,
|
|
1083
|
+
errorCode
|
|
1084
|
+
});
|
|
1085
|
+
}
|
|
1086
|
+
}, "de_PutMetricPolicyCommandError");
|
|
1087
|
+
var de_StartAccessLoggingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1088
|
+
if (output.statusCode >= 300) {
|
|
1089
|
+
return de_StartAccessLoggingCommandError(output, context);
|
|
1090
|
+
}
|
|
1091
|
+
const data = await parseBody(output.body, context);
|
|
1092
|
+
let contents = {};
|
|
1093
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1094
|
+
const response = {
|
|
1095
|
+
$metadata: deserializeMetadata(output),
|
|
1096
|
+
...contents
|
|
1097
|
+
};
|
|
1098
|
+
return response;
|
|
1099
|
+
}, "de_StartAccessLoggingCommand");
|
|
1100
|
+
var de_StartAccessLoggingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1101
|
+
const parsedOutput = {
|
|
1102
|
+
...output,
|
|
1103
|
+
body: await parseErrorBody(output.body, context)
|
|
1104
|
+
};
|
|
1105
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1106
|
+
switch (errorCode) {
|
|
1107
|
+
case "ContainerInUseException":
|
|
1108
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
1109
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
1110
|
+
case "ContainerNotFoundException":
|
|
1111
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
1112
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
1113
|
+
case "InternalServerError":
|
|
1114
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
1115
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1116
|
+
default:
|
|
1117
|
+
const parsedBody = parsedOutput.body;
|
|
1118
|
+
return throwDefaultError({
|
|
1119
|
+
output,
|
|
1120
|
+
parsedBody,
|
|
1121
|
+
errorCode
|
|
1122
|
+
});
|
|
1123
|
+
}
|
|
1124
|
+
}, "de_StartAccessLoggingCommandError");
|
|
1125
|
+
var de_StopAccessLoggingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1126
|
+
if (output.statusCode >= 300) {
|
|
1127
|
+
return de_StopAccessLoggingCommandError(output, context);
|
|
1128
|
+
}
|
|
1129
|
+
const data = await parseBody(output.body, context);
|
|
1130
|
+
let contents = {};
|
|
1131
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1132
|
+
const response = {
|
|
1133
|
+
$metadata: deserializeMetadata(output),
|
|
1134
|
+
...contents
|
|
1135
|
+
};
|
|
1136
|
+
return response;
|
|
1137
|
+
}, "de_StopAccessLoggingCommand");
|
|
1138
|
+
var de_StopAccessLoggingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1139
|
+
const parsedOutput = {
|
|
1140
|
+
...output,
|
|
1141
|
+
body: await parseErrorBody(output.body, context)
|
|
1142
|
+
};
|
|
1143
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1144
|
+
switch (errorCode) {
|
|
1145
|
+
case "ContainerInUseException":
|
|
1146
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
1147
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
1148
|
+
case "ContainerNotFoundException":
|
|
1149
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
1150
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
1151
|
+
case "InternalServerError":
|
|
1152
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
1153
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1154
|
+
default:
|
|
1155
|
+
const parsedBody = parsedOutput.body;
|
|
1156
|
+
return throwDefaultError({
|
|
1157
|
+
output,
|
|
1158
|
+
parsedBody,
|
|
1159
|
+
errorCode
|
|
1160
|
+
});
|
|
1161
|
+
}
|
|
1162
|
+
}, "de_StopAccessLoggingCommandError");
|
|
1163
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1164
|
+
if (output.statusCode >= 300) {
|
|
1165
|
+
return de_TagResourceCommandError(output, context);
|
|
1166
|
+
}
|
|
1167
|
+
const data = await parseBody(output.body, context);
|
|
1168
|
+
let contents = {};
|
|
1169
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1170
|
+
const response = {
|
|
1171
|
+
$metadata: deserializeMetadata(output),
|
|
1172
|
+
...contents
|
|
1173
|
+
};
|
|
1174
|
+
return response;
|
|
1175
|
+
}, "de_TagResourceCommand");
|
|
1176
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1177
|
+
const parsedOutput = {
|
|
1178
|
+
...output,
|
|
1179
|
+
body: await parseErrorBody(output.body, context)
|
|
1180
|
+
};
|
|
1181
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1182
|
+
switch (errorCode) {
|
|
1183
|
+
case "ContainerInUseException":
|
|
1184
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
1185
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
1186
|
+
case "ContainerNotFoundException":
|
|
1187
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
1188
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
1189
|
+
case "InternalServerError":
|
|
1190
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
1191
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1192
|
+
default:
|
|
1193
|
+
const parsedBody = parsedOutput.body;
|
|
1194
|
+
return throwDefaultError({
|
|
1195
|
+
output,
|
|
1196
|
+
parsedBody,
|
|
1197
|
+
errorCode
|
|
1198
|
+
});
|
|
1199
|
+
}
|
|
1200
|
+
}, "de_TagResourceCommandError");
|
|
1201
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1202
|
+
if (output.statusCode >= 300) {
|
|
1203
|
+
return de_UntagResourceCommandError(output, context);
|
|
1204
|
+
}
|
|
1205
|
+
const data = await parseBody(output.body, context);
|
|
1206
|
+
let contents = {};
|
|
1207
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1208
|
+
const response = {
|
|
1209
|
+
$metadata: deserializeMetadata(output),
|
|
1210
|
+
...contents
|
|
1211
|
+
};
|
|
1212
|
+
return response;
|
|
1213
|
+
}, "de_UntagResourceCommand");
|
|
1214
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1215
|
+
const parsedOutput = {
|
|
1216
|
+
...output,
|
|
1217
|
+
body: await parseErrorBody(output.body, context)
|
|
1218
|
+
};
|
|
1219
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1220
|
+
switch (errorCode) {
|
|
1221
|
+
case "ContainerInUseException":
|
|
1222
|
+
case "com.amazonaws.mediastore#ContainerInUseException":
|
|
1223
|
+
throw await de_ContainerInUseExceptionRes(parsedOutput, context);
|
|
1224
|
+
case "ContainerNotFoundException":
|
|
1225
|
+
case "com.amazonaws.mediastore#ContainerNotFoundException":
|
|
1226
|
+
throw await de_ContainerNotFoundExceptionRes(parsedOutput, context);
|
|
1227
|
+
case "InternalServerError":
|
|
1228
|
+
case "com.amazonaws.mediastore#InternalServerError":
|
|
1229
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1230
|
+
default:
|
|
1231
|
+
const parsedBody = parsedOutput.body;
|
|
1232
|
+
return throwDefaultError({
|
|
1233
|
+
output,
|
|
1234
|
+
parsedBody,
|
|
1235
|
+
errorCode
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1238
|
+
}, "de_UntagResourceCommandError");
|
|
1239
|
+
var de_ContainerInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1240
|
+
const body = parsedOutput.body;
|
|
1241
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1242
|
+
const exception = new ContainerInUseException({
|
|
1243
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1244
|
+
...deserialized
|
|
1245
|
+
});
|
|
1246
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1247
|
+
}, "de_ContainerInUseExceptionRes");
|
|
1248
|
+
var de_ContainerNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1249
|
+
const body = parsedOutput.body;
|
|
1250
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1251
|
+
const exception = new ContainerNotFoundException({
|
|
1252
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1253
|
+
...deserialized
|
|
1254
|
+
});
|
|
1255
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1256
|
+
}, "de_ContainerNotFoundExceptionRes");
|
|
1257
|
+
var de_CorsPolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1258
|
+
const body = parsedOutput.body;
|
|
1259
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1260
|
+
const exception = new CorsPolicyNotFoundException({
|
|
1261
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1262
|
+
...deserialized
|
|
1263
|
+
});
|
|
1264
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1265
|
+
}, "de_CorsPolicyNotFoundExceptionRes");
|
|
1266
|
+
var de_InternalServerErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1267
|
+
const body = parsedOutput.body;
|
|
1268
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1269
|
+
const exception = new InternalServerError({
|
|
1270
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1271
|
+
...deserialized
|
|
1272
|
+
});
|
|
1273
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1274
|
+
}, "de_InternalServerErrorRes");
|
|
1275
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1276
|
+
const body = parsedOutput.body;
|
|
1277
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1278
|
+
const exception = new LimitExceededException({
|
|
1279
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1280
|
+
...deserialized
|
|
1281
|
+
});
|
|
1282
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1283
|
+
}, "de_LimitExceededExceptionRes");
|
|
1284
|
+
var de_PolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1285
|
+
const body = parsedOutput.body;
|
|
1286
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1287
|
+
const exception = new PolicyNotFoundException({
|
|
1288
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1289
|
+
...deserialized
|
|
1290
|
+
});
|
|
1291
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1292
|
+
}, "de_PolicyNotFoundExceptionRes");
|
|
1293
|
+
var de_Container = /* @__PURE__ */ __name((output, context) => {
|
|
1294
|
+
return (0, import_smithy_client.take)(output, {
|
|
1295
|
+
ARN: import_smithy_client.expectString,
|
|
1296
|
+
AccessLoggingEnabled: import_smithy_client.expectBoolean,
|
|
1297
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1298
|
+
Endpoint: import_smithy_client.expectString,
|
|
1299
|
+
Name: import_smithy_client.expectString,
|
|
1300
|
+
Status: import_smithy_client.expectString
|
|
1301
|
+
});
|
|
1302
|
+
}, "de_Container");
|
|
1303
|
+
var de_ContainerList = /* @__PURE__ */ __name((output, context) => {
|
|
1304
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1305
|
+
return de_Container(entry, context);
|
|
1306
|
+
});
|
|
1307
|
+
return retVal;
|
|
1308
|
+
}, "de_ContainerList");
|
|
1309
|
+
var de_CreateContainerOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1310
|
+
return (0, import_smithy_client.take)(output, {
|
|
1311
|
+
Container: (_) => de_Container(_, context)
|
|
1312
|
+
});
|
|
1313
|
+
}, "de_CreateContainerOutput");
|
|
1314
|
+
var de_DescribeContainerOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1315
|
+
return (0, import_smithy_client.take)(output, {
|
|
1316
|
+
Container: (_) => de_Container(_, context)
|
|
1317
|
+
});
|
|
1318
|
+
}, "de_DescribeContainerOutput");
|
|
1319
|
+
var de_ListContainersOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1320
|
+
return (0, import_smithy_client.take)(output, {
|
|
1321
|
+
Containers: (_) => de_ContainerList(_, context),
|
|
1322
|
+
NextToken: import_smithy_client.expectString
|
|
1323
|
+
});
|
|
1324
|
+
}, "de_ListContainersOutput");
|
|
1325
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1326
|
+
httpStatusCode: output.statusCode,
|
|
1327
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1328
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1329
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1330
|
+
}), "deserializeMetadata");
|
|
1331
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1332
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(MediaStoreServiceException);
|
|
1333
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1334
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1335
|
+
const contents = {
|
|
1336
|
+
protocol,
|
|
1337
|
+
hostname,
|
|
1338
|
+
port,
|
|
1339
|
+
method: "POST",
|
|
1340
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1341
|
+
headers
|
|
1342
|
+
};
|
|
1343
|
+
if (resolvedHostname !== void 0) {
|
|
1344
|
+
contents.hostname = resolvedHostname;
|
|
1345
|
+
}
|
|
1346
|
+
if (body !== void 0) {
|
|
1347
|
+
contents.body = body;
|
|
1348
|
+
}
|
|
1349
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
1350
|
+
}, "buildHttpRpcRequest");
|
|
1351
|
+
function sharedHeaders(operation) {
|
|
1352
|
+
return {
|
|
1353
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1354
|
+
"x-amz-target": `MediaStore_20170901.${operation}`
|
|
1355
|
+
};
|
|
1356
|
+
}
|
|
1357
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
1358
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1359
|
+
if (encoded.length) {
|
|
1360
|
+
return JSON.parse(encoded);
|
|
1361
|
+
}
|
|
1362
|
+
return {};
|
|
1363
|
+
}), "parseBody");
|
|
1364
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1365
|
+
const value = await parseBody(errorBody, context);
|
|
1366
|
+
value.message = value.message ?? value.Message;
|
|
1367
|
+
return value;
|
|
1368
|
+
}, "parseErrorBody");
|
|
1369
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1370
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1371
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1372
|
+
let cleanValue = rawValue;
|
|
1373
|
+
if (typeof cleanValue === "number") {
|
|
1374
|
+
cleanValue = cleanValue.toString();
|
|
1375
|
+
}
|
|
1376
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1377
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1378
|
+
}
|
|
1379
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1380
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1381
|
+
}
|
|
1382
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1383
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1384
|
+
}
|
|
1385
|
+
return cleanValue;
|
|
1386
|
+
}, "sanitizeErrorCode");
|
|
1387
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1388
|
+
if (headerKey !== void 0) {
|
|
1389
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1390
|
+
}
|
|
1391
|
+
if (data.code !== void 0) {
|
|
1392
|
+
return sanitizeErrorCode(data.code);
|
|
1393
|
+
}
|
|
1394
|
+
if (data["__type"] !== void 0) {
|
|
1395
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1396
|
+
}
|
|
1397
|
+
}, "loadRestJsonErrorCode");
|
|
1398
|
+
|
|
1399
|
+
// src/commands/CreateContainerCommand.ts
|
|
1400
|
+
var _CreateContainerCommand = class _CreateContainerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1401
|
+
...commonParams
|
|
1402
|
+
}).m(function(Command, cs, config, o) {
|
|
1403
|
+
return [
|
|
1404
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1405
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1406
|
+
];
|
|
1407
|
+
}).s("MediaStore_20170901", "CreateContainer", {}).n("MediaStoreClient", "CreateContainerCommand").f(void 0, void 0).ser(se_CreateContainerCommand).de(de_CreateContainerCommand).build() {
|
|
1408
|
+
};
|
|
1409
|
+
__name(_CreateContainerCommand, "CreateContainerCommand");
|
|
1410
|
+
var CreateContainerCommand = _CreateContainerCommand;
|
|
1411
|
+
|
|
1412
|
+
// src/commands/DeleteContainerCommand.ts
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
var _DeleteContainerCommand = class _DeleteContainerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1418
|
+
...commonParams
|
|
1419
|
+
}).m(function(Command, cs, config, o) {
|
|
1420
|
+
return [
|
|
1421
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1422
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1423
|
+
];
|
|
1424
|
+
}).s("MediaStore_20170901", "DeleteContainer", {}).n("MediaStoreClient", "DeleteContainerCommand").f(void 0, void 0).ser(se_DeleteContainerCommand).de(de_DeleteContainerCommand).build() {
|
|
1425
|
+
};
|
|
1426
|
+
__name(_DeleteContainerCommand, "DeleteContainerCommand");
|
|
1427
|
+
var DeleteContainerCommand = _DeleteContainerCommand;
|
|
1428
|
+
|
|
1429
|
+
// src/commands/DeleteContainerPolicyCommand.ts
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
var _DeleteContainerPolicyCommand = class _DeleteContainerPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1435
|
+
...commonParams
|
|
1436
|
+
}).m(function(Command, cs, config, o) {
|
|
1437
|
+
return [
|
|
1438
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1439
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1440
|
+
];
|
|
1441
|
+
}).s("MediaStore_20170901", "DeleteContainerPolicy", {}).n("MediaStoreClient", "DeleteContainerPolicyCommand").f(void 0, void 0).ser(se_DeleteContainerPolicyCommand).de(de_DeleteContainerPolicyCommand).build() {
|
|
1442
|
+
};
|
|
1443
|
+
__name(_DeleteContainerPolicyCommand, "DeleteContainerPolicyCommand");
|
|
1444
|
+
var DeleteContainerPolicyCommand = _DeleteContainerPolicyCommand;
|
|
1445
|
+
|
|
1446
|
+
// src/commands/DeleteCorsPolicyCommand.ts
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
var _DeleteCorsPolicyCommand = class _DeleteCorsPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1452
|
+
...commonParams
|
|
1453
|
+
}).m(function(Command, cs, config, o) {
|
|
1454
|
+
return [
|
|
1455
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1456
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1457
|
+
];
|
|
1458
|
+
}).s("MediaStore_20170901", "DeleteCorsPolicy", {}).n("MediaStoreClient", "DeleteCorsPolicyCommand").f(void 0, void 0).ser(se_DeleteCorsPolicyCommand).de(de_DeleteCorsPolicyCommand).build() {
|
|
1459
|
+
};
|
|
1460
|
+
__name(_DeleteCorsPolicyCommand, "DeleteCorsPolicyCommand");
|
|
1461
|
+
var DeleteCorsPolicyCommand = _DeleteCorsPolicyCommand;
|
|
1462
|
+
|
|
1463
|
+
// src/commands/DeleteLifecyclePolicyCommand.ts
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
var _DeleteLifecyclePolicyCommand = class _DeleteLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1469
|
+
...commonParams
|
|
1470
|
+
}).m(function(Command, cs, config, o) {
|
|
1471
|
+
return [
|
|
1472
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1473
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1474
|
+
];
|
|
1475
|
+
}).s("MediaStore_20170901", "DeleteLifecyclePolicy", {}).n("MediaStoreClient", "DeleteLifecyclePolicyCommand").f(void 0, void 0).ser(se_DeleteLifecyclePolicyCommand).de(de_DeleteLifecyclePolicyCommand).build() {
|
|
1476
|
+
};
|
|
1477
|
+
__name(_DeleteLifecyclePolicyCommand, "DeleteLifecyclePolicyCommand");
|
|
1478
|
+
var DeleteLifecyclePolicyCommand = _DeleteLifecyclePolicyCommand;
|
|
1479
|
+
|
|
1480
|
+
// src/commands/DeleteMetricPolicyCommand.ts
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
var _DeleteMetricPolicyCommand = class _DeleteMetricPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1486
|
+
...commonParams
|
|
1487
|
+
}).m(function(Command, cs, config, o) {
|
|
1488
|
+
return [
|
|
1489
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1490
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1491
|
+
];
|
|
1492
|
+
}).s("MediaStore_20170901", "DeleteMetricPolicy", {}).n("MediaStoreClient", "DeleteMetricPolicyCommand").f(void 0, void 0).ser(se_DeleteMetricPolicyCommand).de(de_DeleteMetricPolicyCommand).build() {
|
|
1493
|
+
};
|
|
1494
|
+
__name(_DeleteMetricPolicyCommand, "DeleteMetricPolicyCommand");
|
|
1495
|
+
var DeleteMetricPolicyCommand = _DeleteMetricPolicyCommand;
|
|
1496
|
+
|
|
1497
|
+
// src/commands/DescribeContainerCommand.ts
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
var _DescribeContainerCommand = class _DescribeContainerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1503
|
+
...commonParams
|
|
1504
|
+
}).m(function(Command, cs, config, o) {
|
|
1505
|
+
return [
|
|
1506
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1507
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1508
|
+
];
|
|
1509
|
+
}).s("MediaStore_20170901", "DescribeContainer", {}).n("MediaStoreClient", "DescribeContainerCommand").f(void 0, void 0).ser(se_DescribeContainerCommand).de(de_DescribeContainerCommand).build() {
|
|
1510
|
+
};
|
|
1511
|
+
__name(_DescribeContainerCommand, "DescribeContainerCommand");
|
|
1512
|
+
var DescribeContainerCommand = _DescribeContainerCommand;
|
|
1513
|
+
|
|
1514
|
+
// src/commands/GetContainerPolicyCommand.ts
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
var _GetContainerPolicyCommand = class _GetContainerPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1520
|
+
...commonParams
|
|
1521
|
+
}).m(function(Command, cs, config, o) {
|
|
1522
|
+
return [
|
|
1523
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1524
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1525
|
+
];
|
|
1526
|
+
}).s("MediaStore_20170901", "GetContainerPolicy", {}).n("MediaStoreClient", "GetContainerPolicyCommand").f(void 0, void 0).ser(se_GetContainerPolicyCommand).de(de_GetContainerPolicyCommand).build() {
|
|
1527
|
+
};
|
|
1528
|
+
__name(_GetContainerPolicyCommand, "GetContainerPolicyCommand");
|
|
1529
|
+
var GetContainerPolicyCommand = _GetContainerPolicyCommand;
|
|
1530
|
+
|
|
1531
|
+
// src/commands/GetCorsPolicyCommand.ts
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
var _GetCorsPolicyCommand = class _GetCorsPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1537
|
+
...commonParams
|
|
1538
|
+
}).m(function(Command, cs, config, o) {
|
|
1539
|
+
return [
|
|
1540
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1541
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1542
|
+
];
|
|
1543
|
+
}).s("MediaStore_20170901", "GetCorsPolicy", {}).n("MediaStoreClient", "GetCorsPolicyCommand").f(void 0, void 0).ser(se_GetCorsPolicyCommand).de(de_GetCorsPolicyCommand).build() {
|
|
1544
|
+
};
|
|
1545
|
+
__name(_GetCorsPolicyCommand, "GetCorsPolicyCommand");
|
|
1546
|
+
var GetCorsPolicyCommand = _GetCorsPolicyCommand;
|
|
1547
|
+
|
|
1548
|
+
// src/commands/GetLifecyclePolicyCommand.ts
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
|
|
1553
|
+
var _GetLifecyclePolicyCommand = class _GetLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1554
|
+
...commonParams
|
|
1555
|
+
}).m(function(Command, cs, config, o) {
|
|
1556
|
+
return [
|
|
1557
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1558
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1559
|
+
];
|
|
1560
|
+
}).s("MediaStore_20170901", "GetLifecyclePolicy", {}).n("MediaStoreClient", "GetLifecyclePolicyCommand").f(void 0, void 0).ser(se_GetLifecyclePolicyCommand).de(de_GetLifecyclePolicyCommand).build() {
|
|
1561
|
+
};
|
|
1562
|
+
__name(_GetLifecyclePolicyCommand, "GetLifecyclePolicyCommand");
|
|
1563
|
+
var GetLifecyclePolicyCommand = _GetLifecyclePolicyCommand;
|
|
1564
|
+
|
|
1565
|
+
// src/commands/GetMetricPolicyCommand.ts
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
var _GetMetricPolicyCommand = class _GetMetricPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1571
|
+
...commonParams
|
|
1572
|
+
}).m(function(Command, cs, config, o) {
|
|
1573
|
+
return [
|
|
1574
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1575
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1576
|
+
];
|
|
1577
|
+
}).s("MediaStore_20170901", "GetMetricPolicy", {}).n("MediaStoreClient", "GetMetricPolicyCommand").f(void 0, void 0).ser(se_GetMetricPolicyCommand).de(de_GetMetricPolicyCommand).build() {
|
|
1578
|
+
};
|
|
1579
|
+
__name(_GetMetricPolicyCommand, "GetMetricPolicyCommand");
|
|
1580
|
+
var GetMetricPolicyCommand = _GetMetricPolicyCommand;
|
|
1581
|
+
|
|
1582
|
+
// src/commands/ListContainersCommand.ts
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
var _ListContainersCommand = class _ListContainersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1588
|
+
...commonParams
|
|
1589
|
+
}).m(function(Command, cs, config, o) {
|
|
1590
|
+
return [
|
|
1591
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1592
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1593
|
+
];
|
|
1594
|
+
}).s("MediaStore_20170901", "ListContainers", {}).n("MediaStoreClient", "ListContainersCommand").f(void 0, void 0).ser(se_ListContainersCommand).de(de_ListContainersCommand).build() {
|
|
1595
|
+
};
|
|
1596
|
+
__name(_ListContainersCommand, "ListContainersCommand");
|
|
1597
|
+
var ListContainersCommand = _ListContainersCommand;
|
|
1598
|
+
|
|
1599
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1600
|
+
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1605
|
+
...commonParams
|
|
1606
|
+
}).m(function(Command, cs, config, o) {
|
|
1607
|
+
return [
|
|
1608
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1609
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1610
|
+
];
|
|
1611
|
+
}).s("MediaStore_20170901", "ListTagsForResource", {}).n("MediaStoreClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1612
|
+
};
|
|
1613
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1614
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1615
|
+
|
|
1616
|
+
// src/commands/PutContainerPolicyCommand.ts
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
var _PutContainerPolicyCommand = class _PutContainerPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1622
|
+
...commonParams
|
|
1623
|
+
}).m(function(Command, cs, config, o) {
|
|
1624
|
+
return [
|
|
1625
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1626
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1627
|
+
];
|
|
1628
|
+
}).s("MediaStore_20170901", "PutContainerPolicy", {}).n("MediaStoreClient", "PutContainerPolicyCommand").f(void 0, void 0).ser(se_PutContainerPolicyCommand).de(de_PutContainerPolicyCommand).build() {
|
|
1629
|
+
};
|
|
1630
|
+
__name(_PutContainerPolicyCommand, "PutContainerPolicyCommand");
|
|
1631
|
+
var PutContainerPolicyCommand = _PutContainerPolicyCommand;
|
|
1632
|
+
|
|
1633
|
+
// src/commands/PutCorsPolicyCommand.ts
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
var _PutCorsPolicyCommand = class _PutCorsPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1639
|
+
...commonParams
|
|
1640
|
+
}).m(function(Command, cs, config, o) {
|
|
1641
|
+
return [
|
|
1642
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1643
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1644
|
+
];
|
|
1645
|
+
}).s("MediaStore_20170901", "PutCorsPolicy", {}).n("MediaStoreClient", "PutCorsPolicyCommand").f(void 0, void 0).ser(se_PutCorsPolicyCommand).de(de_PutCorsPolicyCommand).build() {
|
|
1646
|
+
};
|
|
1647
|
+
__name(_PutCorsPolicyCommand, "PutCorsPolicyCommand");
|
|
1648
|
+
var PutCorsPolicyCommand = _PutCorsPolicyCommand;
|
|
1649
|
+
|
|
1650
|
+
// src/commands/PutLifecyclePolicyCommand.ts
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
var _PutLifecyclePolicyCommand = class _PutLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1656
|
+
...commonParams
|
|
1657
|
+
}).m(function(Command, cs, config, o) {
|
|
1658
|
+
return [
|
|
1659
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1660
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1661
|
+
];
|
|
1662
|
+
}).s("MediaStore_20170901", "PutLifecyclePolicy", {}).n("MediaStoreClient", "PutLifecyclePolicyCommand").f(void 0, void 0).ser(se_PutLifecyclePolicyCommand).de(de_PutLifecyclePolicyCommand).build() {
|
|
1663
|
+
};
|
|
1664
|
+
__name(_PutLifecyclePolicyCommand, "PutLifecyclePolicyCommand");
|
|
1665
|
+
var PutLifecyclePolicyCommand = _PutLifecyclePolicyCommand;
|
|
1666
|
+
|
|
1667
|
+
// src/commands/PutMetricPolicyCommand.ts
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
|
+
var _PutMetricPolicyCommand = class _PutMetricPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1673
|
+
...commonParams
|
|
1674
|
+
}).m(function(Command, cs, config, o) {
|
|
1675
|
+
return [
|
|
1676
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1677
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1678
|
+
];
|
|
1679
|
+
}).s("MediaStore_20170901", "PutMetricPolicy", {}).n("MediaStoreClient", "PutMetricPolicyCommand").f(void 0, void 0).ser(se_PutMetricPolicyCommand).de(de_PutMetricPolicyCommand).build() {
|
|
1680
|
+
};
|
|
1681
|
+
__name(_PutMetricPolicyCommand, "PutMetricPolicyCommand");
|
|
1682
|
+
var PutMetricPolicyCommand = _PutMetricPolicyCommand;
|
|
1683
|
+
|
|
1684
|
+
// src/commands/StartAccessLoggingCommand.ts
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
|
|
1688
|
+
|
|
1689
|
+
var _StartAccessLoggingCommand = class _StartAccessLoggingCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1690
|
+
...commonParams
|
|
1691
|
+
}).m(function(Command, cs, config, o) {
|
|
1692
|
+
return [
|
|
1693
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1694
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1695
|
+
];
|
|
1696
|
+
}).s("MediaStore_20170901", "StartAccessLogging", {}).n("MediaStoreClient", "StartAccessLoggingCommand").f(void 0, void 0).ser(se_StartAccessLoggingCommand).de(de_StartAccessLoggingCommand).build() {
|
|
1697
|
+
};
|
|
1698
|
+
__name(_StartAccessLoggingCommand, "StartAccessLoggingCommand");
|
|
1699
|
+
var StartAccessLoggingCommand = _StartAccessLoggingCommand;
|
|
1700
|
+
|
|
1701
|
+
// src/commands/StopAccessLoggingCommand.ts
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
var _StopAccessLoggingCommand = class _StopAccessLoggingCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1707
|
+
...commonParams
|
|
1708
|
+
}).m(function(Command, cs, config, o) {
|
|
1709
|
+
return [
|
|
1710
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1711
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1712
|
+
];
|
|
1713
|
+
}).s("MediaStore_20170901", "StopAccessLogging", {}).n("MediaStoreClient", "StopAccessLoggingCommand").f(void 0, void 0).ser(se_StopAccessLoggingCommand).de(de_StopAccessLoggingCommand).build() {
|
|
1714
|
+
};
|
|
1715
|
+
__name(_StopAccessLoggingCommand, "StopAccessLoggingCommand");
|
|
1716
|
+
var StopAccessLoggingCommand = _StopAccessLoggingCommand;
|
|
1717
|
+
|
|
1718
|
+
// src/commands/TagResourceCommand.ts
|
|
1719
|
+
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+
|
|
1723
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1724
|
+
...commonParams
|
|
1725
|
+
}).m(function(Command, cs, config, o) {
|
|
1726
|
+
return [
|
|
1727
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1728
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1729
|
+
];
|
|
1730
|
+
}).s("MediaStore_20170901", "TagResource", {}).n("MediaStoreClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1731
|
+
};
|
|
1732
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1733
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
1734
|
+
|
|
1735
|
+
// src/commands/UntagResourceCommand.ts
|
|
1736
|
+
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1741
|
+
...commonParams
|
|
1742
|
+
}).m(function(Command, cs, config, o) {
|
|
1743
|
+
return [
|
|
1744
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1745
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1746
|
+
];
|
|
1747
|
+
}).s("MediaStore_20170901", "UntagResource", {}).n("MediaStoreClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1748
|
+
};
|
|
1749
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1750
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
1751
|
+
|
|
1752
|
+
// src/MediaStore.ts
|
|
1753
|
+
var commands = {
|
|
1754
|
+
CreateContainerCommand,
|
|
1755
|
+
DeleteContainerCommand,
|
|
1756
|
+
DeleteContainerPolicyCommand,
|
|
1757
|
+
DeleteCorsPolicyCommand,
|
|
1758
|
+
DeleteLifecyclePolicyCommand,
|
|
1759
|
+
DeleteMetricPolicyCommand,
|
|
1760
|
+
DescribeContainerCommand,
|
|
1761
|
+
GetContainerPolicyCommand,
|
|
1762
|
+
GetCorsPolicyCommand,
|
|
1763
|
+
GetLifecyclePolicyCommand,
|
|
1764
|
+
GetMetricPolicyCommand,
|
|
1765
|
+
ListContainersCommand,
|
|
1766
|
+
ListTagsForResourceCommand,
|
|
1767
|
+
PutContainerPolicyCommand,
|
|
1768
|
+
PutCorsPolicyCommand,
|
|
1769
|
+
PutLifecyclePolicyCommand,
|
|
1770
|
+
PutMetricPolicyCommand,
|
|
1771
|
+
StartAccessLoggingCommand,
|
|
1772
|
+
StopAccessLoggingCommand,
|
|
1773
|
+
TagResourceCommand,
|
|
1774
|
+
UntagResourceCommand
|
|
1775
|
+
};
|
|
1776
|
+
var _MediaStore = class _MediaStore extends MediaStoreClient {
|
|
1777
|
+
};
|
|
1778
|
+
__name(_MediaStore, "MediaStore");
|
|
1779
|
+
var MediaStore = _MediaStore;
|
|
1780
|
+
(0, import_smithy_client.createAggregatedClient)(commands, MediaStore);
|
|
1781
|
+
|
|
1782
|
+
// src/pagination/ListContainersPaginator.ts
|
|
1783
|
+
var import_core = require("@smithy/core");
|
|
1784
|
+
var paginateListContainers = (0, import_core.createPaginator)(MediaStoreClient, ListContainersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1785
|
+
|
|
1786
|
+
// src/index.ts
|
|
1787
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1788
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1789
|
+
0 && (module.exports = {
|
|
1790
|
+
ContainerInUseException,
|
|
1791
|
+
ContainerLevelMetrics,
|
|
1792
|
+
ContainerNotFoundException,
|
|
1793
|
+
ContainerStatus,
|
|
1794
|
+
CorsPolicyNotFoundException,
|
|
1795
|
+
CreateContainerCommand,
|
|
1796
|
+
DeleteContainerCommand,
|
|
1797
|
+
DeleteContainerPolicyCommand,
|
|
1798
|
+
DeleteCorsPolicyCommand,
|
|
1799
|
+
DeleteLifecyclePolicyCommand,
|
|
1800
|
+
DeleteMetricPolicyCommand,
|
|
1801
|
+
DescribeContainerCommand,
|
|
1802
|
+
GetContainerPolicyCommand,
|
|
1803
|
+
GetCorsPolicyCommand,
|
|
1804
|
+
GetLifecyclePolicyCommand,
|
|
1805
|
+
GetMetricPolicyCommand,
|
|
1806
|
+
InternalServerError,
|
|
1807
|
+
LimitExceededException,
|
|
1808
|
+
ListContainersCommand,
|
|
1809
|
+
ListTagsForResourceCommand,
|
|
1810
|
+
MediaStore,
|
|
1811
|
+
MediaStoreClient,
|
|
1812
|
+
MediaStoreServiceException,
|
|
1813
|
+
MethodName,
|
|
1814
|
+
PolicyNotFoundException,
|
|
1815
|
+
PutContainerPolicyCommand,
|
|
1816
|
+
PutCorsPolicyCommand,
|
|
1817
|
+
PutLifecyclePolicyCommand,
|
|
1818
|
+
PutMetricPolicyCommand,
|
|
1819
|
+
StartAccessLoggingCommand,
|
|
1820
|
+
StopAccessLoggingCommand,
|
|
1821
|
+
TagResourceCommand,
|
|
1822
|
+
UntagResourceCommand,
|
|
1823
|
+
__Client,
|
|
1824
|
+
paginateListContainers
|
|
1825
|
+
});
|