@aws-sdk/client-mediastore-data 3.300.0 → 3.303.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/models/models_0.js +11 -14
- package/dist-es/models/models_0.js +11 -14
- package/dist-types/commands/DeleteObjectCommand.d.ts +1 -1
- package/dist-types/commands/DescribeObjectCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectCommand.d.ts +1 -1
- package/dist-types/commands/ListItemsCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +26 -11
- package/dist-types/ts3.4/models/models_0.d.ts +15 -11
- package/package.json +36 -36
|
@@ -58,20 +58,17 @@ class RequestedRangeNotSatisfiableException extends MediaStoreDataServiceExcepti
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.RequestedRangeNotSatisfiableException = RequestedRangeNotSatisfiableException;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
UploadAvailability["STANDARD"] = "STANDARD";
|
|
73
|
-
UploadAvailability["STREAMING"] = "STREAMING";
|
|
74
|
-
})(UploadAvailability = exports.UploadAvailability || (exports.UploadAvailability = {}));
|
|
61
|
+
exports.ItemType = {
|
|
62
|
+
FOLDER: "FOLDER",
|
|
63
|
+
OBJECT: "OBJECT",
|
|
64
|
+
};
|
|
65
|
+
exports.StorageClass = {
|
|
66
|
+
TEMPORAL: "TEMPORAL",
|
|
67
|
+
};
|
|
68
|
+
exports.UploadAvailability = {
|
|
69
|
+
STANDARD: "STANDARD",
|
|
70
|
+
STREAMING: "STREAMING",
|
|
71
|
+
};
|
|
75
72
|
const GetObjectResponseFilterSensitiveLog = (obj) => ({
|
|
76
73
|
...obj,
|
|
77
74
|
});
|
|
@@ -51,20 +51,17 @@ export class RequestedRangeNotSatisfiableException extends __BaseException {
|
|
|
51
51
|
this.Message = opts.Message;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
export
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
UploadAvailability["STANDARD"] = "STANDARD";
|
|
66
|
-
UploadAvailability["STREAMING"] = "STREAMING";
|
|
67
|
-
})(UploadAvailability || (UploadAvailability = {}));
|
|
54
|
+
export const ItemType = {
|
|
55
|
+
FOLDER: "FOLDER",
|
|
56
|
+
OBJECT: "OBJECT",
|
|
57
|
+
};
|
|
58
|
+
export const StorageClass = {
|
|
59
|
+
TEMPORAL: "TEMPORAL",
|
|
60
|
+
};
|
|
61
|
+
export const UploadAvailability = {
|
|
62
|
+
STANDARD: "STANDARD",
|
|
63
|
+
STREAMING: "STREAMING",
|
|
64
|
+
};
|
|
68
65
|
export const GetObjectResponseFilterSensitiveLog = (obj) => ({
|
|
69
66
|
...obj,
|
|
70
67
|
});
|
|
@@ -26,7 +26,7 @@ export interface DeleteObjectCommandOutput extends DeleteObjectResponse, __Metad
|
|
|
26
26
|
* import { MediaStoreDataClient, DeleteObjectCommand } from "@aws-sdk/client-mediastore-data"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreDataClient, DeleteObjectCommand } = require("@aws-sdk/client-mediastore-data"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreDataClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteObjectRequest
|
|
30
30
|
* Path: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteObjectCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DescribeObjectCommandOutput extends DescribeObjectResponse, __M
|
|
|
26
26
|
* import { MediaStoreDataClient, DescribeObjectCommand } from "@aws-sdk/client-mediastore-data"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreDataClient, DescribeObjectCommand } = require("@aws-sdk/client-mediastore-data"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreDataClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeObjectRequest
|
|
30
30
|
* Path: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeObjectCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectRe
|
|
|
26
26
|
* import { MediaStoreDataClient, GetObjectCommand } from "@aws-sdk/client-mediastore-data"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreDataClient, GetObjectCommand } = require("@aws-sdk/client-mediastore-data"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreDataClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetObjectRequest
|
|
30
30
|
* Path: "STRING_VALUE", // required
|
|
31
31
|
* Range: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -27,7 +27,7 @@ export interface ListItemsCommandOutput extends ListItemsResponse, __MetadataBea
|
|
|
27
27
|
* import { MediaStoreDataClient, ListItemsCommand } from "@aws-sdk/client-mediastore-data"; // ES Modules import
|
|
28
28
|
* // const { MediaStoreDataClient, ListItemsCommand } = require("@aws-sdk/client-mediastore-data"); // CommonJS import
|
|
29
29
|
* const client = new MediaStoreDataClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListItemsRequest
|
|
31
31
|
* Path: "STRING_VALUE",
|
|
32
32
|
* MaxResults: Number("int"),
|
|
33
33
|
* NextToken: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBea
|
|
|
36
36
|
* import { MediaStoreDataClient, PutObjectCommand } from "@aws-sdk/client-mediastore-data"; // ES Modules import
|
|
37
37
|
* // const { MediaStoreDataClient, PutObjectCommand } = require("@aws-sdk/client-mediastore-data"); // CommonJS import
|
|
38
38
|
* const client = new MediaStoreDataClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // PutObjectRequest
|
|
40
40
|
* Body: "STREAMING_BLOB_VALUE", // required
|
|
41
41
|
* Path: "STRING_VALUE", // required
|
|
42
42
|
* ContentType: "STRING_VALUE",
|
|
@@ -179,11 +179,16 @@ export declare class RequestedRangeNotSatisfiableException extends __BaseExcepti
|
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
181
|
* @public
|
|
182
|
+
* @enum
|
|
182
183
|
*/
|
|
183
|
-
export declare
|
|
184
|
-
FOLDER
|
|
185
|
-
OBJECT
|
|
186
|
-
}
|
|
184
|
+
export declare const ItemType: {
|
|
185
|
+
readonly FOLDER: "FOLDER";
|
|
186
|
+
readonly OBJECT: "OBJECT";
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
187
192
|
/**
|
|
188
193
|
* @public
|
|
189
194
|
* <p>A metadata entry for a folder or object.</p>
|
|
@@ -263,17 +268,27 @@ export interface ListItemsResponse {
|
|
|
263
268
|
}
|
|
264
269
|
/**
|
|
265
270
|
* @public
|
|
271
|
+
* @enum
|
|
266
272
|
*/
|
|
267
|
-
export declare
|
|
268
|
-
TEMPORAL
|
|
269
|
-
}
|
|
273
|
+
export declare const StorageClass: {
|
|
274
|
+
readonly TEMPORAL: "TEMPORAL";
|
|
275
|
+
};
|
|
270
276
|
/**
|
|
271
277
|
* @public
|
|
272
278
|
*/
|
|
273
|
-
export
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
279
|
+
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
* @enum
|
|
283
|
+
*/
|
|
284
|
+
export declare const UploadAvailability: {
|
|
285
|
+
readonly STANDARD: "STANDARD";
|
|
286
|
+
readonly STREAMING: "STREAMING";
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
export type UploadAvailability = (typeof UploadAvailability)[keyof typeof UploadAvailability];
|
|
277
292
|
/**
|
|
278
293
|
* @public
|
|
279
294
|
*/
|
|
@@ -64,10 +64,11 @@ export declare class RequestedRangeNotSatisfiableException extends __BaseExcepti
|
|
|
64
64
|
>
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
|
-
export declare
|
|
68
|
-
FOLDER
|
|
69
|
-
OBJECT
|
|
70
|
-
}
|
|
67
|
+
export declare const ItemType: {
|
|
68
|
+
readonly FOLDER: "FOLDER";
|
|
69
|
+
readonly OBJECT: "OBJECT";
|
|
70
|
+
};
|
|
71
|
+
export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
71
72
|
export interface Item {
|
|
72
73
|
Name?: string;
|
|
73
74
|
Type?: ItemType | string;
|
|
@@ -85,13 +86,16 @@ export interface ListItemsResponse {
|
|
|
85
86
|
Items?: Item[];
|
|
86
87
|
NextToken?: string;
|
|
87
88
|
}
|
|
88
|
-
export declare
|
|
89
|
-
TEMPORAL
|
|
90
|
-
}
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
export declare const StorageClass: {
|
|
90
|
+
readonly TEMPORAL: "TEMPORAL";
|
|
91
|
+
};
|
|
92
|
+
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
93
|
+
export declare const UploadAvailability: {
|
|
94
|
+
readonly STANDARD: "STANDARD";
|
|
95
|
+
readonly STREAMING: "STREAMING";
|
|
96
|
+
};
|
|
97
|
+
export type UploadAvailability =
|
|
98
|
+
(typeof UploadAvailability)[keyof typeof UploadAvailability];
|
|
95
99
|
export interface PutObjectRequest {
|
|
96
100
|
Body: Readable | ReadableStream | Blob | undefined;
|
|
97
101
|
Path: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -23,44 +23,44 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/config-resolver": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
29
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
30
|
-
"@aws-sdk/hash-node": "3.
|
|
31
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
32
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
33
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
34
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
35
|
-
"@aws-sdk/middleware-logger": "3.
|
|
36
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
37
|
-
"@aws-sdk/middleware-retry": "3.
|
|
38
|
-
"@aws-sdk/middleware-serde": "3.
|
|
39
|
-
"@aws-sdk/middleware-signing": "3.
|
|
40
|
-
"@aws-sdk/middleware-stack": "3.
|
|
41
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
42
|
-
"@aws-sdk/node-config-provider": "3.
|
|
43
|
-
"@aws-sdk/node-http-handler": "3.
|
|
44
|
-
"@aws-sdk/protocol-http": "3.
|
|
45
|
-
"@aws-sdk/smithy-client": "3.
|
|
46
|
-
"@aws-sdk/types": "3.
|
|
47
|
-
"@aws-sdk/url-parser": "3.
|
|
48
|
-
"@aws-sdk/util-base64": "3.
|
|
49
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
50
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
52
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
53
|
-
"@aws-sdk/util-endpoints": "3.
|
|
54
|
-
"@aws-sdk/util-retry": "3.
|
|
55
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
56
|
-
"@aws-sdk/util-stream-node": "3.
|
|
57
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
58
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
59
|
-
"@aws-sdk/util-utf8": "3.
|
|
26
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
27
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
30
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
31
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
40
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
41
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
42
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
43
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
44
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
45
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
46
|
+
"@aws-sdk/types": "3.303.0",
|
|
47
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-stream-browser": "3.303.0",
|
|
56
|
+
"@aws-sdk/util-stream-node": "3.303.0",
|
|
57
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
58
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
59
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
63
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/chai": "^4.2.11",
|
|
66
66
|
"@types/mocha": "^8.0.4",
|