@aws-sdk/client-mediastore-data 3.378.0 → 3.382.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.
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare class ContainerNotFoundException extends __BaseException {
|
|
|
19
19
|
*/
|
|
20
20
|
export interface DeleteObjectRequest {
|
|
21
21
|
/**
|
|
22
|
+
* @public
|
|
22
23
|
* <p>The path (including the file name) where the object is stored in the container.
|
|
23
24
|
* Format: <folder name>/<folder name>/<file name></p>
|
|
24
25
|
*/
|
|
@@ -60,6 +61,7 @@ export declare class ObjectNotFoundException extends __BaseException {
|
|
|
60
61
|
*/
|
|
61
62
|
export interface DescribeObjectRequest {
|
|
62
63
|
/**
|
|
64
|
+
* @public
|
|
63
65
|
* <p>The path (including the file name) where the object is stored in the container.
|
|
64
66
|
* Format: <folder name>/<folder name>/<file name></p>
|
|
65
67
|
*/
|
|
@@ -70,24 +72,29 @@ export interface DescribeObjectRequest {
|
|
|
70
72
|
*/
|
|
71
73
|
export interface DescribeObjectResponse {
|
|
72
74
|
/**
|
|
75
|
+
* @public
|
|
73
76
|
* <p>The ETag that represents a unique instance of the object.</p>
|
|
74
77
|
*/
|
|
75
78
|
ETag?: string;
|
|
76
79
|
/**
|
|
80
|
+
* @public
|
|
77
81
|
* <p>The content type of the object.</p>
|
|
78
82
|
*/
|
|
79
83
|
ContentType?: string;
|
|
80
84
|
/**
|
|
85
|
+
* @public
|
|
81
86
|
* <p>The length of the object in bytes.</p>
|
|
82
87
|
*/
|
|
83
88
|
ContentLength?: number;
|
|
84
89
|
/**
|
|
90
|
+
* @public
|
|
85
91
|
* <p>An optional <code>CacheControl</code> header that allows the caller to control the
|
|
86
92
|
* object's cache behavior. Headers can be passed in as specified in the HTTP at <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9</a>.</p>
|
|
87
93
|
* <p>Headers with a custom user-defined value are also accepted.</p>
|
|
88
94
|
*/
|
|
89
95
|
CacheControl?: string;
|
|
90
96
|
/**
|
|
97
|
+
* @public
|
|
91
98
|
* <p>The date and time that the object was last modified.</p>
|
|
92
99
|
*/
|
|
93
100
|
LastModified?: Date;
|
|
@@ -97,6 +104,7 @@ export interface DescribeObjectResponse {
|
|
|
97
104
|
*/
|
|
98
105
|
export interface GetObjectRequest {
|
|
99
106
|
/**
|
|
107
|
+
* @public
|
|
100
108
|
* <p>The path (including the file name) where the object is stored in the container.
|
|
101
109
|
* Format: <folder name>/<folder name>/<file name></p>
|
|
102
110
|
* <p>For example, to upload the file <code>mlaw.avi</code> to the folder path
|
|
@@ -118,6 +126,7 @@ export interface GetObjectRequest {
|
|
|
118
126
|
*/
|
|
119
127
|
Path: string | undefined;
|
|
120
128
|
/**
|
|
129
|
+
* @public
|
|
121
130
|
* <p>The range bytes of an object to retrieve. For more information about the
|
|
122
131
|
* <code>Range</code> header, see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>. AWS Elemental MediaStore ignores this header for partially uploaded objects that have streaming upload availability.</p>
|
|
123
132
|
*/
|
|
@@ -128,36 +137,44 @@ export interface GetObjectRequest {
|
|
|
128
137
|
*/
|
|
129
138
|
export interface GetObjectResponse {
|
|
130
139
|
/**
|
|
140
|
+
* @public
|
|
131
141
|
* <p>The bytes of the object. </p>
|
|
132
142
|
*/
|
|
133
143
|
Body?: StreamingBlobTypes;
|
|
134
144
|
/**
|
|
145
|
+
* @public
|
|
135
146
|
* <p>An optional <code>CacheControl</code> header that allows the caller to control the
|
|
136
147
|
* object's cache behavior. Headers can be passed in as specified in the HTTP spec at <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9</a>.</p>
|
|
137
148
|
* <p>Headers with a custom user-defined value are also accepted.</p>
|
|
138
149
|
*/
|
|
139
150
|
CacheControl?: string;
|
|
140
151
|
/**
|
|
152
|
+
* @public
|
|
141
153
|
* <p>The range of bytes to retrieve.</p>
|
|
142
154
|
*/
|
|
143
155
|
ContentRange?: string;
|
|
144
156
|
/**
|
|
157
|
+
* @public
|
|
145
158
|
* <p>The length of the object in bytes.</p>
|
|
146
159
|
*/
|
|
147
160
|
ContentLength?: number;
|
|
148
161
|
/**
|
|
162
|
+
* @public
|
|
149
163
|
* <p>The content type of the object.</p>
|
|
150
164
|
*/
|
|
151
165
|
ContentType?: string;
|
|
152
166
|
/**
|
|
167
|
+
* @public
|
|
153
168
|
* <p>The ETag that represents a unique instance of the object.</p>
|
|
154
169
|
*/
|
|
155
170
|
ETag?: string;
|
|
156
171
|
/**
|
|
172
|
+
* @public
|
|
157
173
|
* <p>The date and time that the object was last modified.</p>
|
|
158
174
|
*/
|
|
159
175
|
LastModified?: Date;
|
|
160
176
|
/**
|
|
177
|
+
* @public
|
|
161
178
|
* <p>The HTML status code of the request. Status codes ranging from 200 to 299 indicate
|
|
162
179
|
* success. All other status codes indicate the type of error that occurred.</p>
|
|
163
180
|
*/
|
|
@@ -194,26 +211,32 @@ export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
|
194
211
|
*/
|
|
195
212
|
export interface Item {
|
|
196
213
|
/**
|
|
214
|
+
* @public
|
|
197
215
|
* <p>The name of the item.</p>
|
|
198
216
|
*/
|
|
199
217
|
Name?: string;
|
|
200
218
|
/**
|
|
219
|
+
* @public
|
|
201
220
|
* <p>The item type (folder or object).</p>
|
|
202
221
|
*/
|
|
203
222
|
Type?: ItemType | string;
|
|
204
223
|
/**
|
|
224
|
+
* @public
|
|
205
225
|
* <p>The ETag that represents a unique instance of the item.</p>
|
|
206
226
|
*/
|
|
207
227
|
ETag?: string;
|
|
208
228
|
/**
|
|
229
|
+
* @public
|
|
209
230
|
* <p>The date and time that the item was last modified.</p>
|
|
210
231
|
*/
|
|
211
232
|
LastModified?: Date;
|
|
212
233
|
/**
|
|
234
|
+
* @public
|
|
213
235
|
* <p>The content type of the item.</p>
|
|
214
236
|
*/
|
|
215
237
|
ContentType?: string;
|
|
216
238
|
/**
|
|
239
|
+
* @public
|
|
217
240
|
* <p>The length of the item in bytes.</p>
|
|
218
241
|
*/
|
|
219
242
|
ContentLength?: number;
|
|
@@ -223,11 +246,13 @@ export interface Item {
|
|
|
223
246
|
*/
|
|
224
247
|
export interface ListItemsRequest {
|
|
225
248
|
/**
|
|
249
|
+
* @public
|
|
226
250
|
* <p>The path in the container from which to retrieve items. Format: <folder
|
|
227
251
|
* name>/<folder name>/<file name></p>
|
|
228
252
|
*/
|
|
229
253
|
Path?: string;
|
|
230
254
|
/**
|
|
255
|
+
* @public
|
|
231
256
|
* <p>The maximum number of results to return per API request. For example, you submit a
|
|
232
257
|
* <code>ListItems</code> request with <code>MaxResults</code> set at 500. Although 2,000
|
|
233
258
|
* items match your request, the service returns no more than the first 500 items. (The
|
|
@@ -239,6 +264,7 @@ export interface ListItemsRequest {
|
|
|
239
264
|
*/
|
|
240
265
|
MaxResults?: number;
|
|
241
266
|
/**
|
|
267
|
+
* @public
|
|
242
268
|
* <p>The token that identifies which batch of results that you want to see. For example,
|
|
243
269
|
* you submit a <code>ListItems</code> request with <code>MaxResults</code> set at 500. The
|
|
244
270
|
* service returns the first batch of results (up to 500) and a <code>NextToken</code> value.
|
|
@@ -253,10 +279,12 @@ export interface ListItemsRequest {
|
|
|
253
279
|
*/
|
|
254
280
|
export interface ListItemsResponse {
|
|
255
281
|
/**
|
|
282
|
+
* @public
|
|
256
283
|
* <p>The metadata entries for the folders and objects at the requested path.</p>
|
|
257
284
|
*/
|
|
258
285
|
Items?: Item[];
|
|
259
286
|
/**
|
|
287
|
+
* @public
|
|
260
288
|
* <p>The token that can be used in a request to view the next set of results. For example,
|
|
261
289
|
* you submit a <code>ListItems</code> request that matches 2,000 items with
|
|
262
290
|
* <code>MaxResults</code> set at 500. The service returns the first batch of results (up
|
|
@@ -293,10 +321,12 @@ export type UploadAvailability = (typeof UploadAvailability)[keyof typeof Upload
|
|
|
293
321
|
*/
|
|
294
322
|
export interface PutObjectRequest {
|
|
295
323
|
/**
|
|
324
|
+
* @public
|
|
296
325
|
* <p>The bytes to be stored. </p>
|
|
297
326
|
*/
|
|
298
327
|
Body: StreamingBlobTypes | undefined;
|
|
299
328
|
/**
|
|
329
|
+
* @public
|
|
300
330
|
* <p>The path (including the file name) where the object is stored in the container.
|
|
301
331
|
* Format: <folder name>/<folder name>/<file name></p>
|
|
302
332
|
* <p>For example, to upload the file <code>mlaw.avi</code> to the folder path
|
|
@@ -318,22 +348,26 @@ export interface PutObjectRequest {
|
|
|
318
348
|
*/
|
|
319
349
|
Path: string | undefined;
|
|
320
350
|
/**
|
|
351
|
+
* @public
|
|
321
352
|
* <p>The content type of the object.</p>
|
|
322
353
|
*/
|
|
323
354
|
ContentType?: string;
|
|
324
355
|
/**
|
|
356
|
+
* @public
|
|
325
357
|
* <p>An optional <code>CacheControl</code> header that allows the caller to control the
|
|
326
358
|
* object's cache behavior. Headers can be passed in as specified in the HTTP at <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9</a>.</p>
|
|
327
359
|
* <p>Headers with a custom user-defined value are also accepted.</p>
|
|
328
360
|
*/
|
|
329
361
|
CacheControl?: string;
|
|
330
362
|
/**
|
|
363
|
+
* @public
|
|
331
364
|
* <p>Indicates the storage class of a <code>Put</code> request. Defaults to
|
|
332
365
|
* high-performance temporal storage class, and objects are persisted into durable storage
|
|
333
366
|
* shortly after being received.</p>
|
|
334
367
|
*/
|
|
335
368
|
StorageClass?: StorageClass | string;
|
|
336
369
|
/**
|
|
370
|
+
* @public
|
|
337
371
|
* <p>Indicates the availability of an object while it is still uploading. If the value is set to <code>streaming</code>, the object is available for
|
|
338
372
|
* downloading after some initial buffering but before the object is uploaded completely. If the value is set to <code>standard</code>, the object is
|
|
339
373
|
* available for downloading only when it is uploaded completely. The default value for this header is <code>standard</code>.</p>
|
|
@@ -346,14 +380,17 @@ export interface PutObjectRequest {
|
|
|
346
380
|
*/
|
|
347
381
|
export interface PutObjectResponse {
|
|
348
382
|
/**
|
|
383
|
+
* @public
|
|
349
384
|
* <p>The SHA256 digest of the object that is persisted.</p>
|
|
350
385
|
*/
|
|
351
386
|
ContentSHA256?: string;
|
|
352
387
|
/**
|
|
388
|
+
* @public
|
|
353
389
|
* <p>Unique identifier of the object in the container.</p>
|
|
354
390
|
*/
|
|
355
391
|
ETag?: string;
|
|
356
392
|
/**
|
|
393
|
+
* @public
|
|
357
394
|
* <p>The storage class where the object was persisted. The class should be
|
|
358
395
|
* “Temporal”.</p>
|
|
359
396
|
*/
|
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.382.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,15 +23,15 @@
|
|
|
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/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
31
|
-
"@aws-sdk/middleware-signing": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
33
33
|
"@aws-sdk/types": "3.378.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
37
37
|
"@smithy/config-resolver": "^2.0.1",
|