@aws-sdk/client-mediastore-data 3.952.0 → 3.953.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/index.js +78 -57
- package/dist-cjs/runtimeConfig.shared.js +7 -1
- package/dist-es/commands/DeleteObjectCommand.js +2 -2
- package/dist-es/commands/DescribeObjectCommand.js +2 -2
- package/dist-es/commands/GetObjectCommand.js +2 -2
- package/dist-es/commands/ListItemsCommand.js +2 -2
- package/dist-es/commands/PutObjectCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -1
- package/dist-es/schemas/schemas_0.js +40 -40
- package/dist-types/MediaStoreDataClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +22 -24
- package/dist-types/ts3.4/MediaStoreDataClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -25
- package/package.json +35 -35
package/dist-cjs/index.js
CHANGED
|
@@ -110,14 +110,14 @@ class MediaStoreDataClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
class MediaStoreDataServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, MediaStoreDataServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
class ContainerNotFoundException extends MediaStoreDataServiceException {
|
|
121
121
|
name = "ContainerNotFoundException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
Message;
|
|
@@ -130,8 +130,8 @@ let ContainerNotFoundException$1 = class ContainerNotFoundException extends Medi
|
|
|
130
130
|
Object.setPrototypeOf(this, ContainerNotFoundException.prototype);
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
|
-
}
|
|
134
|
-
|
|
133
|
+
}
|
|
134
|
+
class InternalServerError extends MediaStoreDataServiceException {
|
|
135
135
|
name = "InternalServerError";
|
|
136
136
|
$fault = "server";
|
|
137
137
|
Message;
|
|
@@ -144,8 +144,8 @@ let InternalServerError$1 = class InternalServerError extends MediaStoreDataServ
|
|
|
144
144
|
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
145
145
|
this.Message = opts.Message;
|
|
146
146
|
}
|
|
147
|
-
}
|
|
148
|
-
|
|
147
|
+
}
|
|
148
|
+
class ObjectNotFoundException extends MediaStoreDataServiceException {
|
|
149
149
|
name = "ObjectNotFoundException";
|
|
150
150
|
$fault = "client";
|
|
151
151
|
Message;
|
|
@@ -158,8 +158,8 @@ let ObjectNotFoundException$1 = class ObjectNotFoundException extends MediaStore
|
|
|
158
158
|
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
159
159
|
this.Message = opts.Message;
|
|
160
160
|
}
|
|
161
|
-
}
|
|
162
|
-
|
|
161
|
+
}
|
|
162
|
+
class RequestedRangeNotSatisfiableException extends MediaStoreDataServiceException {
|
|
163
163
|
name = "RequestedRangeNotSatisfiableException";
|
|
164
164
|
$fault = "client";
|
|
165
165
|
Message;
|
|
@@ -172,7 +172,7 @@ let RequestedRangeNotSatisfiableException$1 = class RequestedRangeNotSatisfiable
|
|
|
172
172
|
Object.setPrototypeOf(this, RequestedRangeNotSatisfiableException.prototype);
|
|
173
173
|
this.Message = opts.Message;
|
|
174
174
|
}
|
|
175
|
-
}
|
|
175
|
+
}
|
|
176
176
|
|
|
177
177
|
const _B = "Body";
|
|
178
178
|
const _CC = "CacheControl";
|
|
@@ -233,12 +233,12 @@ const _xasc = "x-amz-storage-class";
|
|
|
233
233
|
const _xaua = "x-amz-upload-availability";
|
|
234
234
|
const n0 = "com.amazonaws.mediastoredata";
|
|
235
235
|
var PayloadBlob = [0, n0, _PB, { [_s]: 1 }, 42];
|
|
236
|
-
var ContainerNotFoundException = [-3, n0, _CNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
237
|
-
schema.TypeRegistry.for(n0).registerError(ContainerNotFoundException
|
|
238
|
-
var DeleteObjectRequest = [3, n0, _DOR, 0, [_P], [[0, 1]]];
|
|
239
|
-
var DeleteObjectResponse = [3, n0, _DORe, 0, [], []];
|
|
240
|
-
var DescribeObjectRequest = [3, n0, _DORes, 0, [_P], [[0, 1]]];
|
|
241
|
-
var DescribeObjectResponse = [
|
|
236
|
+
var ContainerNotFoundException$ = [-3, n0, _CNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
237
|
+
schema.TypeRegistry.for(n0).registerError(ContainerNotFoundException$, ContainerNotFoundException);
|
|
238
|
+
var DeleteObjectRequest$ = [3, n0, _DOR, 0, [_P], [[0, 1]]];
|
|
239
|
+
var DeleteObjectResponse$ = [3, n0, _DORe, 0, [], []];
|
|
240
|
+
var DescribeObjectRequest$ = [3, n0, _DORes, 0, [_P], [[0, 1]]];
|
|
241
|
+
var DescribeObjectResponse$ = [
|
|
242
242
|
3,
|
|
243
243
|
n0,
|
|
244
244
|
_DOResc,
|
|
@@ -252,7 +252,7 @@ var DescribeObjectResponse = [
|
|
|
252
252
|
[4, { [_hH]: _LM_ }],
|
|
253
253
|
],
|
|
254
254
|
];
|
|
255
|
-
var GetObjectRequest = [
|
|
255
|
+
var GetObjectRequest$ = [
|
|
256
256
|
3,
|
|
257
257
|
n0,
|
|
258
258
|
_GOR,
|
|
@@ -263,7 +263,7 @@ var GetObjectRequest = [
|
|
|
263
263
|
[0, { [_hH]: _R }],
|
|
264
264
|
],
|
|
265
265
|
];
|
|
266
|
-
var GetObjectResponse = [
|
|
266
|
+
var GetObjectResponse$ = [
|
|
267
267
|
3,
|
|
268
268
|
n0,
|
|
269
269
|
_GORe,
|
|
@@ -280,10 +280,10 @@ var GetObjectResponse = [
|
|
|
280
280
|
[1, 32],
|
|
281
281
|
],
|
|
282
282
|
];
|
|
283
|
-
var InternalServerError = [-3, n0, _ISE, { [_e]: _se }, [_M], [0]];
|
|
284
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerError
|
|
285
|
-
var Item = [3, n0, _I, 0, [_N, _T, _ET, _LM, _CT, _CL], [0, 0, 0, 4, 0, 1]];
|
|
286
|
-
var ListItemsRequest = [
|
|
283
|
+
var InternalServerError$ = [-3, n0, _ISE, { [_e]: _se }, [_M], [0]];
|
|
284
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
|
|
285
|
+
var Item$ = [3, n0, _I, 0, [_N, _T, _ET, _LM, _CT, _CL], [0, 0, 0, 4, 0, 1]];
|
|
286
|
+
var ListItemsRequest$ = [
|
|
287
287
|
3,
|
|
288
288
|
n0,
|
|
289
289
|
_LIR,
|
|
@@ -295,10 +295,10 @@ var ListItemsRequest = [
|
|
|
295
295
|
[0, { [_hQ]: _NT }],
|
|
296
296
|
],
|
|
297
297
|
];
|
|
298
|
-
var ListItemsResponse = [3, n0, _LIRi, 0, [_It, _NT], [() => ItemList, 0]];
|
|
299
|
-
var ObjectNotFoundException = [-3, n0, _ONFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
300
|
-
schema.TypeRegistry.for(n0).registerError(ObjectNotFoundException
|
|
301
|
-
var PutObjectRequest = [
|
|
298
|
+
var ListItemsResponse$ = [3, n0, _LIRi, 0, [_It, _NT], [() => ItemList, 0]];
|
|
299
|
+
var ObjectNotFoundException$ = [-3, n0, _ONFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
300
|
+
schema.TypeRegistry.for(n0).registerError(ObjectNotFoundException$, ObjectNotFoundException);
|
|
301
|
+
var PutObjectRequest$ = [
|
|
302
302
|
3,
|
|
303
303
|
n0,
|
|
304
304
|
_POR,
|
|
@@ -313,8 +313,8 @@ var PutObjectRequest = [
|
|
|
313
313
|
[0, { [_hH]: _xaua }],
|
|
314
314
|
],
|
|
315
315
|
];
|
|
316
|
-
var PutObjectResponse = [3, n0, _PORu, 0, [_CSHA, _ET, _SCt], [0, 0, 0]];
|
|
317
|
-
var RequestedRangeNotSatisfiableException = [
|
|
316
|
+
var PutObjectResponse$ = [3, n0, _PORu, 0, [_CSHA, _ET, _SCt], [0, 0, 0]];
|
|
317
|
+
var RequestedRangeNotSatisfiableException$ = [
|
|
318
318
|
-3,
|
|
319
319
|
n0,
|
|
320
320
|
_RRNSE,
|
|
@@ -322,49 +322,49 @@ var RequestedRangeNotSatisfiableException = [
|
|
|
322
322
|
[_M],
|
|
323
323
|
[0],
|
|
324
324
|
];
|
|
325
|
-
schema.TypeRegistry.for(n0).registerError(RequestedRangeNotSatisfiableException
|
|
326
|
-
var MediaStoreDataServiceException = [-3, _sm, "MediaStoreDataServiceException", 0, [], []];
|
|
327
|
-
schema.TypeRegistry.for(_sm).registerError(MediaStoreDataServiceException
|
|
328
|
-
var ItemList = [1, n0, _IL, 0, () => Item];
|
|
329
|
-
var DeleteObject = [
|
|
325
|
+
schema.TypeRegistry.for(n0).registerError(RequestedRangeNotSatisfiableException$, RequestedRangeNotSatisfiableException);
|
|
326
|
+
var MediaStoreDataServiceException$ = [-3, _sm, "MediaStoreDataServiceException", 0, [], []];
|
|
327
|
+
schema.TypeRegistry.for(_sm).registerError(MediaStoreDataServiceException$, MediaStoreDataServiceException);
|
|
328
|
+
var ItemList = [1, n0, _IL, 0, () => Item$];
|
|
329
|
+
var DeleteObject$ = [
|
|
330
330
|
9,
|
|
331
331
|
n0,
|
|
332
332
|
_DO,
|
|
333
333
|
{ [_h]: ["DELETE", "/{Path+}", 200] },
|
|
334
|
-
() => DeleteObjectRequest
|
|
335
|
-
() => DeleteObjectResponse
|
|
334
|
+
() => DeleteObjectRequest$,
|
|
335
|
+
() => DeleteObjectResponse$,
|
|
336
336
|
];
|
|
337
|
-
var DescribeObject = [
|
|
337
|
+
var DescribeObject$ = [
|
|
338
338
|
9,
|
|
339
339
|
n0,
|
|
340
340
|
_DOe,
|
|
341
341
|
{ [_h]: ["HEAD", "/{Path+}", 200] },
|
|
342
|
-
() => DescribeObjectRequest
|
|
343
|
-
() => DescribeObjectResponse
|
|
342
|
+
() => DescribeObjectRequest$,
|
|
343
|
+
() => DescribeObjectResponse$,
|
|
344
344
|
];
|
|
345
|
-
var GetObject = [
|
|
345
|
+
var GetObject$ = [
|
|
346
346
|
9,
|
|
347
347
|
n0,
|
|
348
348
|
_GO,
|
|
349
349
|
{ [_h]: ["GET", "/{Path+}", 200] },
|
|
350
|
-
() => GetObjectRequest
|
|
351
|
-
() => GetObjectResponse
|
|
350
|
+
() => GetObjectRequest$,
|
|
351
|
+
() => GetObjectResponse$,
|
|
352
352
|
];
|
|
353
|
-
var ListItems = [
|
|
353
|
+
var ListItems$ = [
|
|
354
354
|
9,
|
|
355
355
|
n0,
|
|
356
356
|
_LI,
|
|
357
357
|
{ [_h]: ["GET", "/", 200] },
|
|
358
|
-
() => ListItemsRequest
|
|
359
|
-
() => ListItemsResponse
|
|
358
|
+
() => ListItemsRequest$,
|
|
359
|
+
() => ListItemsResponse$,
|
|
360
360
|
];
|
|
361
|
-
var PutObject = [
|
|
361
|
+
var PutObject$ = [
|
|
362
362
|
9,
|
|
363
363
|
n0,
|
|
364
364
|
_PO,
|
|
365
365
|
{ [_h]: ["PUT", "/{Path+}", 200] },
|
|
366
|
-
() => PutObjectRequest
|
|
367
|
-
() => PutObjectResponse
|
|
366
|
+
() => PutObjectRequest$,
|
|
367
|
+
() => PutObjectResponse$,
|
|
368
368
|
];
|
|
369
369
|
|
|
370
370
|
class DeleteObjectCommand extends smithyClient.Command
|
|
@@ -375,7 +375,7 @@ class DeleteObjectCommand extends smithyClient.Command
|
|
|
375
375
|
})
|
|
376
376
|
.s("MediaStoreObject_20170901", "DeleteObject", {})
|
|
377
377
|
.n("MediaStoreDataClient", "DeleteObjectCommand")
|
|
378
|
-
.sc(DeleteObject)
|
|
378
|
+
.sc(DeleteObject$)
|
|
379
379
|
.build() {
|
|
380
380
|
}
|
|
381
381
|
|
|
@@ -387,7 +387,7 @@ class DescribeObjectCommand extends smithyClient.Command
|
|
|
387
387
|
})
|
|
388
388
|
.s("MediaStoreObject_20170901", "DescribeObject", {})
|
|
389
389
|
.n("MediaStoreDataClient", "DescribeObjectCommand")
|
|
390
|
-
.sc(DescribeObject)
|
|
390
|
+
.sc(DescribeObject$)
|
|
391
391
|
.build() {
|
|
392
392
|
}
|
|
393
393
|
|
|
@@ -399,7 +399,7 @@ class GetObjectCommand extends smithyClient.Command
|
|
|
399
399
|
})
|
|
400
400
|
.s("MediaStoreObject_20170901", "GetObject", {})
|
|
401
401
|
.n("MediaStoreDataClient", "GetObjectCommand")
|
|
402
|
-
.sc(GetObject)
|
|
402
|
+
.sc(GetObject$)
|
|
403
403
|
.build() {
|
|
404
404
|
}
|
|
405
405
|
|
|
@@ -411,7 +411,7 @@ class ListItemsCommand extends smithyClient.Command
|
|
|
411
411
|
})
|
|
412
412
|
.s("MediaStoreObject_20170901", "ListItems", {})
|
|
413
413
|
.n("MediaStoreDataClient", "ListItemsCommand")
|
|
414
|
-
.sc(ListItems)
|
|
414
|
+
.sc(ListItems$)
|
|
415
415
|
.build() {
|
|
416
416
|
}
|
|
417
417
|
|
|
@@ -423,7 +423,7 @@ class PutObjectCommand extends smithyClient.Command
|
|
|
423
423
|
})
|
|
424
424
|
.s("MediaStoreObject_20170901", "PutObject", {})
|
|
425
425
|
.n("MediaStoreDataClient", "PutObjectCommand")
|
|
426
|
-
.sc(PutObject)
|
|
426
|
+
.sc(PutObject$)
|
|
427
427
|
.build() {
|
|
428
428
|
}
|
|
429
429
|
|
|
@@ -460,19 +460,40 @@ Object.defineProperty(exports, "__Client", {
|
|
|
460
460
|
enumerable: true,
|
|
461
461
|
get: function () { return smithyClient.Client; }
|
|
462
462
|
});
|
|
463
|
-
exports.ContainerNotFoundException = ContainerNotFoundException
|
|
463
|
+
exports.ContainerNotFoundException = ContainerNotFoundException;
|
|
464
|
+
exports.ContainerNotFoundException$ = ContainerNotFoundException$;
|
|
465
|
+
exports.DeleteObject$ = DeleteObject$;
|
|
464
466
|
exports.DeleteObjectCommand = DeleteObjectCommand;
|
|
467
|
+
exports.DeleteObjectRequest$ = DeleteObjectRequest$;
|
|
468
|
+
exports.DeleteObjectResponse$ = DeleteObjectResponse$;
|
|
469
|
+
exports.DescribeObject$ = DescribeObject$;
|
|
465
470
|
exports.DescribeObjectCommand = DescribeObjectCommand;
|
|
471
|
+
exports.DescribeObjectRequest$ = DescribeObjectRequest$;
|
|
472
|
+
exports.DescribeObjectResponse$ = DescribeObjectResponse$;
|
|
473
|
+
exports.GetObject$ = GetObject$;
|
|
466
474
|
exports.GetObjectCommand = GetObjectCommand;
|
|
467
|
-
exports.
|
|
475
|
+
exports.GetObjectRequest$ = GetObjectRequest$;
|
|
476
|
+
exports.GetObjectResponse$ = GetObjectResponse$;
|
|
477
|
+
exports.InternalServerError = InternalServerError;
|
|
478
|
+
exports.InternalServerError$ = InternalServerError$;
|
|
479
|
+
exports.Item$ = Item$;
|
|
468
480
|
exports.ItemType = ItemType;
|
|
481
|
+
exports.ListItems$ = ListItems$;
|
|
469
482
|
exports.ListItemsCommand = ListItemsCommand;
|
|
483
|
+
exports.ListItemsRequest$ = ListItemsRequest$;
|
|
484
|
+
exports.ListItemsResponse$ = ListItemsResponse$;
|
|
470
485
|
exports.MediaStoreData = MediaStoreData;
|
|
471
486
|
exports.MediaStoreDataClient = MediaStoreDataClient;
|
|
472
|
-
exports.MediaStoreDataServiceException = MediaStoreDataServiceException
|
|
473
|
-
exports.
|
|
487
|
+
exports.MediaStoreDataServiceException = MediaStoreDataServiceException;
|
|
488
|
+
exports.MediaStoreDataServiceException$ = MediaStoreDataServiceException$;
|
|
489
|
+
exports.ObjectNotFoundException = ObjectNotFoundException;
|
|
490
|
+
exports.ObjectNotFoundException$ = ObjectNotFoundException$;
|
|
491
|
+
exports.PutObject$ = PutObject$;
|
|
474
492
|
exports.PutObjectCommand = PutObjectCommand;
|
|
475
|
-
exports.
|
|
493
|
+
exports.PutObjectRequest$ = PutObjectRequest$;
|
|
494
|
+
exports.PutObjectResponse$ = PutObjectResponse$;
|
|
495
|
+
exports.RequestedRangeNotSatisfiableException = RequestedRangeNotSatisfiableException;
|
|
496
|
+
exports.RequestedRangeNotSatisfiableException$ = RequestedRangeNotSatisfiableException$;
|
|
476
497
|
exports.StorageClass = StorageClass;
|
|
477
498
|
exports.UploadAvailability = UploadAvailability;
|
|
478
499
|
exports.paginateListItems = paginateListItems;
|
|
@@ -27,7 +27,13 @@ const getRuntimeConfig = (config) => {
|
|
|
27
27
|
},
|
|
28
28
|
],
|
|
29
29
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
30
|
-
protocol: config?.protocol ??
|
|
30
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
32
|
+
defaultNamespace: "com.amazonaws.mediastoredata",
|
|
33
|
+
xmlNamespace: "https://object.mediastore.amazonaws.com/doc/2017-09-01",
|
|
34
|
+
version: "2017-09-01",
|
|
35
|
+
serviceTarget: "MediaStoreObject_20170901",
|
|
36
|
+
},
|
|
31
37
|
sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
|
|
32
38
|
serviceId: config?.serviceId ?? "MediaStore Data",
|
|
33
39
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteObject } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteObject$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteObjectCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteObjectCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("MediaStoreObject_20170901", "DeleteObject", {})
|
|
13
13
|
.n("MediaStoreDataClient", "DeleteObjectCommand")
|
|
14
|
-
.sc(DeleteObject)
|
|
14
|
+
.sc(DeleteObject$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeObject } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeObject$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeObjectCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeObjectCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("MediaStoreObject_20170901", "DescribeObject", {})
|
|
13
13
|
.n("MediaStoreDataClient", "DescribeObjectCommand")
|
|
14
|
-
.sc(DescribeObject)
|
|
14
|
+
.sc(DescribeObject$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetObject } from "../schemas/schemas_0";
|
|
4
|
+
import { GetObject$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetObjectCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetObjectCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("MediaStoreObject_20170901", "GetObject", {})
|
|
13
13
|
.n("MediaStoreDataClient", "GetObjectCommand")
|
|
14
|
-
.sc(GetObject)
|
|
14
|
+
.sc(GetObject$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListItems } from "../schemas/schemas_0";
|
|
4
|
+
import { ListItems$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListItemsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListItemsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("MediaStoreObject_20170901", "ListItems", {})
|
|
13
13
|
.n("MediaStoreDataClient", "ListItemsCommand")
|
|
14
|
-
.sc(ListItems)
|
|
14
|
+
.sc(ListItems$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutObject } from "../schemas/schemas_0";
|
|
4
|
+
import { PutObject$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutObjectCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutObjectCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("MediaStoreObject_20170901", "PutObject", {})
|
|
13
13
|
.n("MediaStoreDataClient", "PutObjectCommand")
|
|
14
|
-
.sc(PutObject)
|
|
14
|
+
.sc(PutObject$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -24,7 +24,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
},
|
|
25
25
|
],
|
|
26
26
|
logger: config?.logger ?? new NoOpLogger(),
|
|
27
|
-
protocol: config?.protocol ??
|
|
27
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
28
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
29
|
+
defaultNamespace: "com.amazonaws.mediastoredata",
|
|
30
|
+
xmlNamespace: "https://object.mediastore.amazonaws.com/doc/2017-09-01",
|
|
31
|
+
version: "2017-09-01",
|
|
32
|
+
serviceTarget: "MediaStoreObject_20170901",
|
|
33
|
+
},
|
|
28
34
|
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
29
35
|
serviceId: config?.serviceId ?? "MediaStore Data",
|
|
30
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
@@ -57,15 +57,15 @@ const _xasc = "x-amz-storage-class";
|
|
|
57
57
|
const _xaua = "x-amz-upload-availability";
|
|
58
58
|
const n0 = "com.amazonaws.mediastoredata";
|
|
59
59
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
60
|
-
import { ContainerNotFoundException
|
|
61
|
-
import { MediaStoreDataServiceException
|
|
62
|
-
|
|
63
|
-
export var ContainerNotFoundException = [-3, n0, _CNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
64
|
-
TypeRegistry.for(n0).registerError(ContainerNotFoundException
|
|
65
|
-
export var DeleteObjectRequest = [3, n0, _DOR, 0, [_P], [[0, 1]]];
|
|
66
|
-
export var DeleteObjectResponse = [3, n0, _DORe, 0, [], []];
|
|
67
|
-
export var DescribeObjectRequest = [3, n0, _DORes, 0, [_P], [[0, 1]]];
|
|
68
|
-
export var DescribeObjectResponse = [
|
|
60
|
+
import { ContainerNotFoundException, InternalServerError, ObjectNotFoundException, RequestedRangeNotSatisfiableException, } from "../models/errors";
|
|
61
|
+
import { MediaStoreDataServiceException } from "../models/MediaStoreDataServiceException";
|
|
62
|
+
var PayloadBlob = [0, n0, _PB, { [_s]: 1 }, 42];
|
|
63
|
+
export var ContainerNotFoundException$ = [-3, n0, _CNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
64
|
+
TypeRegistry.for(n0).registerError(ContainerNotFoundException$, ContainerNotFoundException);
|
|
65
|
+
export var DeleteObjectRequest$ = [3, n0, _DOR, 0, [_P], [[0, 1]]];
|
|
66
|
+
export var DeleteObjectResponse$ = [3, n0, _DORe, 0, [], []];
|
|
67
|
+
export var DescribeObjectRequest$ = [3, n0, _DORes, 0, [_P], [[0, 1]]];
|
|
68
|
+
export var DescribeObjectResponse$ = [
|
|
69
69
|
3,
|
|
70
70
|
n0,
|
|
71
71
|
_DOResc,
|
|
@@ -79,7 +79,7 @@ export var DescribeObjectResponse = [
|
|
|
79
79
|
[4, { [_hH]: _LM_ }],
|
|
80
80
|
],
|
|
81
81
|
];
|
|
82
|
-
export var GetObjectRequest = [
|
|
82
|
+
export var GetObjectRequest$ = [
|
|
83
83
|
3,
|
|
84
84
|
n0,
|
|
85
85
|
_GOR,
|
|
@@ -90,7 +90,7 @@ export var GetObjectRequest = [
|
|
|
90
90
|
[0, { [_hH]: _R }],
|
|
91
91
|
],
|
|
92
92
|
];
|
|
93
|
-
export var GetObjectResponse = [
|
|
93
|
+
export var GetObjectResponse$ = [
|
|
94
94
|
3,
|
|
95
95
|
n0,
|
|
96
96
|
_GORe,
|
|
@@ -107,10 +107,10 @@ export var GetObjectResponse = [
|
|
|
107
107
|
[1, 32],
|
|
108
108
|
],
|
|
109
109
|
];
|
|
110
|
-
export var InternalServerError = [-3, n0, _ISE, { [_e]: _se }, [_M], [0]];
|
|
111
|
-
TypeRegistry.for(n0).registerError(InternalServerError
|
|
112
|
-
export var Item = [3, n0, _I, 0, [_N, _T, _ET, _LM, _CT, _CL], [0, 0, 0, 4, 0, 1]];
|
|
113
|
-
export var ListItemsRequest = [
|
|
110
|
+
export var InternalServerError$ = [-3, n0, _ISE, { [_e]: _se }, [_M], [0]];
|
|
111
|
+
TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
|
|
112
|
+
export var Item$ = [3, n0, _I, 0, [_N, _T, _ET, _LM, _CT, _CL], [0, 0, 0, 4, 0, 1]];
|
|
113
|
+
export var ListItemsRequest$ = [
|
|
114
114
|
3,
|
|
115
115
|
n0,
|
|
116
116
|
_LIR,
|
|
@@ -122,10 +122,10 @@ export var ListItemsRequest = [
|
|
|
122
122
|
[0, { [_hQ]: _NT }],
|
|
123
123
|
],
|
|
124
124
|
];
|
|
125
|
-
export var ListItemsResponse = [3, n0, _LIRi, 0, [_It, _NT], [() => ItemList, 0]];
|
|
126
|
-
export var ObjectNotFoundException = [-3, n0, _ONFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
127
|
-
TypeRegistry.for(n0).registerError(ObjectNotFoundException
|
|
128
|
-
export var PutObjectRequest = [
|
|
125
|
+
export var ListItemsResponse$ = [3, n0, _LIRi, 0, [_It, _NT], [() => ItemList, 0]];
|
|
126
|
+
export var ObjectNotFoundException$ = [-3, n0, _ONFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
127
|
+
TypeRegistry.for(n0).registerError(ObjectNotFoundException$, ObjectNotFoundException);
|
|
128
|
+
export var PutObjectRequest$ = [
|
|
129
129
|
3,
|
|
130
130
|
n0,
|
|
131
131
|
_POR,
|
|
@@ -140,8 +140,8 @@ export var PutObjectRequest = [
|
|
|
140
140
|
[0, { [_hH]: _xaua }],
|
|
141
141
|
],
|
|
142
142
|
];
|
|
143
|
-
export var PutObjectResponse = [3, n0, _PORu, 0, [_CSHA, _ET, _SCt], [0, 0, 0]];
|
|
144
|
-
export var RequestedRangeNotSatisfiableException = [
|
|
143
|
+
export var PutObjectResponse$ = [3, n0, _PORu, 0, [_CSHA, _ET, _SCt], [0, 0, 0]];
|
|
144
|
+
export var RequestedRangeNotSatisfiableException$ = [
|
|
145
145
|
-3,
|
|
146
146
|
n0,
|
|
147
147
|
_RRNSE,
|
|
@@ -149,47 +149,47 @@ export var RequestedRangeNotSatisfiableException = [
|
|
|
149
149
|
[_M],
|
|
150
150
|
[0],
|
|
151
151
|
];
|
|
152
|
-
TypeRegistry.for(n0).registerError(RequestedRangeNotSatisfiableException
|
|
153
|
-
export var MediaStoreDataServiceException = [-3, _sm, "MediaStoreDataServiceException", 0, [], []];
|
|
154
|
-
TypeRegistry.for(_sm).registerError(MediaStoreDataServiceException
|
|
155
|
-
|
|
156
|
-
export var DeleteObject = [
|
|
152
|
+
TypeRegistry.for(n0).registerError(RequestedRangeNotSatisfiableException$, RequestedRangeNotSatisfiableException);
|
|
153
|
+
export var MediaStoreDataServiceException$ = [-3, _sm, "MediaStoreDataServiceException", 0, [], []];
|
|
154
|
+
TypeRegistry.for(_sm).registerError(MediaStoreDataServiceException$, MediaStoreDataServiceException);
|
|
155
|
+
var ItemList = [1, n0, _IL, 0, () => Item$];
|
|
156
|
+
export var DeleteObject$ = [
|
|
157
157
|
9,
|
|
158
158
|
n0,
|
|
159
159
|
_DO,
|
|
160
160
|
{ [_h]: ["DELETE", "/{Path+}", 200] },
|
|
161
|
-
() => DeleteObjectRequest
|
|
162
|
-
() => DeleteObjectResponse
|
|
161
|
+
() => DeleteObjectRequest$,
|
|
162
|
+
() => DeleteObjectResponse$,
|
|
163
163
|
];
|
|
164
|
-
export var DescribeObject = [
|
|
164
|
+
export var DescribeObject$ = [
|
|
165
165
|
9,
|
|
166
166
|
n0,
|
|
167
167
|
_DOe,
|
|
168
168
|
{ [_h]: ["HEAD", "/{Path+}", 200] },
|
|
169
|
-
() => DescribeObjectRequest
|
|
170
|
-
() => DescribeObjectResponse
|
|
169
|
+
() => DescribeObjectRequest$,
|
|
170
|
+
() => DescribeObjectResponse$,
|
|
171
171
|
];
|
|
172
|
-
export var GetObject = [
|
|
172
|
+
export var GetObject$ = [
|
|
173
173
|
9,
|
|
174
174
|
n0,
|
|
175
175
|
_GO,
|
|
176
176
|
{ [_h]: ["GET", "/{Path+}", 200] },
|
|
177
|
-
() => GetObjectRequest
|
|
178
|
-
() => GetObjectResponse
|
|
177
|
+
() => GetObjectRequest$,
|
|
178
|
+
() => GetObjectResponse$,
|
|
179
179
|
];
|
|
180
|
-
export var ListItems = [
|
|
180
|
+
export var ListItems$ = [
|
|
181
181
|
9,
|
|
182
182
|
n0,
|
|
183
183
|
_LI,
|
|
184
184
|
{ [_h]: ["GET", "/", 200] },
|
|
185
|
-
() => ListItemsRequest
|
|
186
|
-
() => ListItemsResponse
|
|
185
|
+
() => ListItemsRequest$,
|
|
186
|
+
() => ListItemsResponse$,
|
|
187
187
|
];
|
|
188
|
-
export var PutObject = [
|
|
188
|
+
export var PutObject$ = [
|
|
189
189
|
9,
|
|
190
190
|
n0,
|
|
191
191
|
_PO,
|
|
192
192
|
{ [_h]: ["PUT", "/{Path+}", 200] },
|
|
193
|
-
() => PutObjectRequest
|
|
194
|
-
() => PutObjectResponse
|
|
193
|
+
() => PutObjectRequest$,
|
|
194
|
+
() => PutObjectResponse$,
|
|
195
195
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { DeleteObjectCommandInput, DeleteObjectCommandOutput } from "./commands/DeleteObjectCommand";
|
|
11
11
|
import { DescribeObjectCommandInput, DescribeObjectCommandOutput } from "./commands/DescribeObjectCommand";
|
|
@@ -146,15 +146,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
146
146
|
* Optional extensions
|
|
147
147
|
*/
|
|
148
148
|
extensions?: RuntimeExtension[];
|
|
149
|
-
/**
|
|
150
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
151
|
-
* may be overridden. A default will always be set by the client.
|
|
152
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
153
|
-
* the client.
|
|
154
|
-
* @alpha
|
|
155
|
-
*
|
|
156
|
-
*/
|
|
157
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
158
149
|
/**
|
|
159
150
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
160
151
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
11
11
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
12
12
|
export type { MediaStoreDataExtensionConfiguration } from "./extensionConfiguration";
|
|
13
13
|
export * from "./commands";
|
|
14
|
+
export * from "./schemas/schemas_0";
|
|
14
15
|
export * from "./pagination";
|
|
15
16
|
export * from "./models/enums";
|
|
16
17
|
export * from "./models/errors";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
34
38
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
39
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
36
40
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
37
41
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { MediaStoreDataClientConfig } from "./MediaStoreDataClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MediaStoreDataHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
19
24
|
serviceId: string;
|
|
20
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import type { StaticErrorSchema,
|
|
2
|
-
export declare var
|
|
3
|
-
export declare var
|
|
4
|
-
export declare var
|
|
5
|
-
export declare var
|
|
6
|
-
export declare var
|
|
7
|
-
export declare var
|
|
8
|
-
export declare var
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var
|
|
23
|
-
export declare var ListItems: StaticOperationSchema;
|
|
24
|
-
export declare var PutObject: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var ContainerNotFoundException$: StaticErrorSchema;
|
|
3
|
+
export declare var DeleteObjectRequest$: StaticStructureSchema;
|
|
4
|
+
export declare var DeleteObjectResponse$: StaticStructureSchema;
|
|
5
|
+
export declare var DescribeObjectRequest$: StaticStructureSchema;
|
|
6
|
+
export declare var DescribeObjectResponse$: StaticStructureSchema;
|
|
7
|
+
export declare var GetObjectRequest$: StaticStructureSchema;
|
|
8
|
+
export declare var GetObjectResponse$: StaticStructureSchema;
|
|
9
|
+
export declare var InternalServerError$: StaticErrorSchema;
|
|
10
|
+
export declare var Item$: StaticStructureSchema;
|
|
11
|
+
export declare var ListItemsRequest$: StaticStructureSchema;
|
|
12
|
+
export declare var ListItemsResponse$: StaticStructureSchema;
|
|
13
|
+
export declare var ObjectNotFoundException$: StaticErrorSchema;
|
|
14
|
+
export declare var PutObjectRequest$: StaticStructureSchema;
|
|
15
|
+
export declare var PutObjectResponse$: StaticStructureSchema;
|
|
16
|
+
export declare var RequestedRangeNotSatisfiableException$: StaticErrorSchema;
|
|
17
|
+
export declare var MediaStoreDataServiceException$: StaticErrorSchema;
|
|
18
|
+
export declare var DeleteObject$: StaticOperationSchema;
|
|
19
|
+
export declare var DescribeObject$: StaticOperationSchema;
|
|
20
|
+
export declare var GetObject$: StaticOperationSchema;
|
|
21
|
+
export declare var ListItems$: StaticOperationSchema;
|
|
22
|
+
export declare var PutObject$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
SdkStreamMixinInjector as __SdkStreamMixinInjector,
|
|
@@ -112,7 +109,6 @@ export interface ClientDefaults
|
|
|
112
109
|
retryMode?: string | __Provider<string>;
|
|
113
110
|
logger?: __Logger;
|
|
114
111
|
extensions?: RuntimeExtension[];
|
|
115
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
116
112
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
117
113
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
118
114
|
}
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { MediaStoreDataExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./pagination";
|
|
8
9
|
export * from "./models/enums";
|
|
9
10
|
export * from "./models/errors";
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
26
26
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
46
50
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
47
51
|
userAgentAppId?:
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
26
26
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
46
50
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
47
51
|
retryStrategy?:
|
|
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
8
8
|
| Record<string, unknown>
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
13
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
23
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
37
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
46
|
logger: import("@smithy/types").Logger;
|
|
39
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
-
import("@smithy/types").HttpRequest,
|
|
42
|
-
import("@smithy/types").HttpResponse
|
|
43
|
-
>;
|
|
44
48
|
defaultsMode:
|
|
45
49
|
| import("@smithy/smithy-client").DefaultsMode
|
|
46
50
|
| import("@smithy/types").Provider<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { MediaStoreDataClientConfig } from "./MediaStoreDataClient";
|
|
2
3
|
export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
3
4
|
apiVersion: string;
|
|
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: MediaStoreDataClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MediaStoreDataHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol:
|
|
18
|
-
import("@smithy/types").
|
|
19
|
-
import("@smithy/types").
|
|
20
|
-
|
|
18
|
+
protocol:
|
|
19
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
20
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
21
|
+
| typeof AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
};
|
|
21
26
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
22
27
|
serviceId: string;
|
|
23
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,30 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
|
-
StaticListSchema,
|
|
4
3
|
StaticOperationSchema,
|
|
5
|
-
StaticSimpleSchema,
|
|
6
4
|
StaticStructureSchema,
|
|
7
5
|
} from "@smithy/types";
|
|
8
|
-
export declare var
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var
|
|
23
|
-
export declare var
|
|
24
|
-
export declare var
|
|
25
|
-
export declare var
|
|
26
|
-
export declare var
|
|
27
|
-
export declare var
|
|
28
|
-
export declare var
|
|
29
|
-
export declare var ListItems: StaticOperationSchema;
|
|
30
|
-
export declare var PutObject: StaticOperationSchema;
|
|
6
|
+
export declare var ContainerNotFoundException$: StaticErrorSchema;
|
|
7
|
+
export declare var DeleteObjectRequest$: StaticStructureSchema;
|
|
8
|
+
export declare var DeleteObjectResponse$: StaticStructureSchema;
|
|
9
|
+
export declare var DescribeObjectRequest$: StaticStructureSchema;
|
|
10
|
+
export declare var DescribeObjectResponse$: StaticStructureSchema;
|
|
11
|
+
export declare var GetObjectRequest$: StaticStructureSchema;
|
|
12
|
+
export declare var GetObjectResponse$: StaticStructureSchema;
|
|
13
|
+
export declare var InternalServerError$: StaticErrorSchema;
|
|
14
|
+
export declare var Item$: StaticStructureSchema;
|
|
15
|
+
export declare var ListItemsRequest$: StaticStructureSchema;
|
|
16
|
+
export declare var ListItemsResponse$: StaticStructureSchema;
|
|
17
|
+
export declare var ObjectNotFoundException$: StaticErrorSchema;
|
|
18
|
+
export declare var PutObjectRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var PutObjectResponse$: StaticStructureSchema;
|
|
20
|
+
export declare var RequestedRangeNotSatisfiableException$: StaticErrorSchema;
|
|
21
|
+
export declare var MediaStoreDataServiceException$: StaticErrorSchema;
|
|
22
|
+
export declare var DeleteObject$: StaticOperationSchema;
|
|
23
|
+
export declare var DescribeObject$: StaticOperationSchema;
|
|
24
|
+
export declare var GetObject$: StaticOperationSchema;
|
|
25
|
+
export declare var ListItems$: StaticOperationSchema;
|
|
26
|
+
export declare var PutObject$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediastore-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediastore Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.953.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediastore-data",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -23,42 +23,42 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^4.4.
|
|
38
|
-
"@smithy/core": "^3.
|
|
39
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
40
|
-
"@smithy/hash-node": "^4.2.
|
|
41
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
42
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.
|
|
46
|
-
"@smithy/middleware-stack": "^4.2.
|
|
47
|
-
"@smithy/node-config-provider": "^4.3.
|
|
48
|
-
"@smithy/node-http-handler": "^4.4.
|
|
49
|
-
"@smithy/protocol-http": "^5.3.
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
51
|
-
"@smithy/types": "^4.
|
|
52
|
-
"@smithy/url-parser": "^4.2.
|
|
26
|
+
"@aws-sdk/core": "3.953.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.953.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.953.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
33
|
+
"@aws-sdk/types": "3.953.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.953.0",
|
|
37
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
38
|
+
"@smithy/core": "^3.19.0",
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
40
|
+
"@smithy/hash-node": "^4.2.6",
|
|
41
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
42
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.3.15",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.15",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
46
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
47
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
48
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
49
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
50
|
+
"@smithy/smithy-client": "^4.10.0",
|
|
51
|
+
"@smithy/types": "^4.10.0",
|
|
52
|
+
"@smithy/url-parser": "^4.2.6",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
58
|
-
"@smithy/util-endpoints": "^3.2.
|
|
59
|
-
"@smithy/util-middleware": "^4.2.
|
|
60
|
-
"@smithy/util-retry": "^4.2.
|
|
61
|
-
"@smithy/util-stream": "^4.5.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.14",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.17",
|
|
58
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
59
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
60
|
+
"@smithy/util-retry": "^4.2.6",
|
|
61
|
+
"@smithy/util-stream": "^4.5.7",
|
|
62
62
|
"@smithy/util-utf8": "^4.2.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|