@aws-sdk/client-mediastore-data 3.686.0 → 3.691.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.
@@ -8,7 +8,7 @@ import { MediaStoreDataServiceException as __BaseException } from "./MediaStoreD
8
8
  export declare class ContainerNotFoundException extends __BaseException {
9
9
  readonly name: "ContainerNotFoundException";
10
10
  readonly $fault: "client";
11
- Message?: string;
11
+ Message?: string | undefined;
12
12
  /**
13
13
  * @internal
14
14
  */
@@ -37,7 +37,7 @@ export interface DeleteObjectResponse {
37
37
  export declare class InternalServerError extends __BaseException {
38
38
  readonly name: "InternalServerError";
39
39
  readonly $fault: "server";
40
- Message?: string;
40
+ Message?: string | undefined;
41
41
  /**
42
42
  * @internal
43
43
  */
@@ -50,7 +50,7 @@ export declare class InternalServerError extends __BaseException {
50
50
  export declare class ObjectNotFoundException extends __BaseException {
51
51
  readonly name: "ObjectNotFoundException";
52
52
  readonly $fault: "client";
53
- Message?: string;
53
+ Message?: string | undefined;
54
54
  /**
55
55
  * @internal
56
56
  */
@@ -75,29 +75,29 @@ export interface DescribeObjectResponse {
75
75
  * <p>The ETag that represents a unique instance of the object.</p>
76
76
  * @public
77
77
  */
78
- ETag?: string;
78
+ ETag?: string | undefined;
79
79
  /**
80
80
  * <p>The content type of the object.</p>
81
81
  * @public
82
82
  */
83
- ContentType?: string;
83
+ ContentType?: string | undefined;
84
84
  /**
85
85
  * <p>The length of the object in bytes.</p>
86
86
  * @public
87
87
  */
88
- ContentLength?: number;
88
+ ContentLength?: number | undefined;
89
89
  /**
90
90
  * <p>An optional <code>CacheControl</code> header that allows the caller to control the
91
91
  * 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>
92
92
  * <p>Headers with a custom user-defined value are also accepted.</p>
93
93
  * @public
94
94
  */
95
- CacheControl?: string;
95
+ CacheControl?: string | undefined;
96
96
  /**
97
97
  * <p>The date and time that the object was last modified.</p>
98
98
  * @public
99
99
  */
100
- LastModified?: Date;
100
+ LastModified?: Date | undefined;
101
101
  }
102
102
  /**
103
103
  * @public
@@ -130,7 +130,7 @@ export interface GetObjectRequest {
130
130
  * <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>
131
131
  * @public
132
132
  */
133
- Range?: string;
133
+ Range?: string | undefined;
134
134
  }
135
135
  /**
136
136
  * @public
@@ -140,39 +140,39 @@ export interface GetObjectResponse {
140
140
  * <p>The bytes of the object. </p>
141
141
  * @public
142
142
  */
143
- Body?: StreamingBlobTypes;
143
+ Body?: StreamingBlobTypes | undefined;
144
144
  /**
145
145
  * <p>An optional <code>CacheControl</code> header that allows the caller to control the
146
146
  * 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>
147
147
  * <p>Headers with a custom user-defined value are also accepted.</p>
148
148
  * @public
149
149
  */
150
- CacheControl?: string;
150
+ CacheControl?: string | undefined;
151
151
  /**
152
152
  * <p>The range of bytes to retrieve.</p>
153
153
  * @public
154
154
  */
155
- ContentRange?: string;
155
+ ContentRange?: string | undefined;
156
156
  /**
157
157
  * <p>The length of the object in bytes.</p>
158
158
  * @public
159
159
  */
160
- ContentLength?: number;
160
+ ContentLength?: number | undefined;
161
161
  /**
162
162
  * <p>The content type of the object.</p>
163
163
  * @public
164
164
  */
165
- ContentType?: string;
165
+ ContentType?: string | undefined;
166
166
  /**
167
167
  * <p>The ETag that represents a unique instance of the object.</p>
168
168
  * @public
169
169
  */
170
- ETag?: string;
170
+ ETag?: string | undefined;
171
171
  /**
172
172
  * <p>The date and time that the object was last modified.</p>
173
173
  * @public
174
174
  */
175
- LastModified?: Date;
175
+ LastModified?: Date | undefined;
176
176
  /**
177
177
  * <p>The HTML status code of the request. Status codes ranging from 200 to 299 indicate
178
178
  * success. All other status codes indicate the type of error that occurred.</p>
@@ -187,7 +187,7 @@ export interface GetObjectResponse {
187
187
  export declare class RequestedRangeNotSatisfiableException extends __BaseException {
188
188
  readonly name: "RequestedRangeNotSatisfiableException";
189
189
  readonly $fault: "client";
190
- Message?: string;
190
+ Message?: string | undefined;
191
191
  /**
192
192
  * @internal
193
193
  */
@@ -214,32 +214,32 @@ export interface Item {
214
214
  * <p>The name of the item.</p>
215
215
  * @public
216
216
  */
217
- Name?: string;
217
+ Name?: string | undefined;
218
218
  /**
219
219
  * <p>The item type (folder or object).</p>
220
220
  * @public
221
221
  */
222
- Type?: ItemType;
222
+ Type?: ItemType | undefined;
223
223
  /**
224
224
  * <p>The ETag that represents a unique instance of the item.</p>
225
225
  * @public
226
226
  */
227
- ETag?: string;
227
+ ETag?: string | undefined;
228
228
  /**
229
229
  * <p>The date and time that the item was last modified.</p>
230
230
  * @public
231
231
  */
232
- LastModified?: Date;
232
+ LastModified?: Date | undefined;
233
233
  /**
234
234
  * <p>The content type of the item.</p>
235
235
  * @public
236
236
  */
237
- ContentType?: string;
237
+ ContentType?: string | undefined;
238
238
  /**
239
239
  * <p>The length of the item in bytes.</p>
240
240
  * @public
241
241
  */
242
- ContentLength?: number;
242
+ ContentLength?: number | undefined;
243
243
  }
244
244
  /**
245
245
  * @public
@@ -250,7 +250,7 @@ export interface ListItemsRequest {
250
250
  * name>/<folder name>/<file name></p>
251
251
  * @public
252
252
  */
253
- Path?: string;
253
+ Path?: string | undefined;
254
254
  /**
255
255
  * <p>The maximum number of results to return per API request. For example, you submit a
256
256
  * <code>ListItems</code> request with <code>MaxResults</code> set at 500. Although 2,000
@@ -262,7 +262,7 @@ export interface ListItemsRequest {
262
262
  * pagination with a maximum of 1,000 results per page.</p>
263
263
  * @public
264
264
  */
265
- MaxResults?: number;
265
+ MaxResults?: number | undefined;
266
266
  /**
267
267
  * <p>The token that identifies which batch of results that you want to see. For example,
268
268
  * you submit a <code>ListItems</code> request with <code>MaxResults</code> set at 500. The
@@ -272,7 +272,7 @@ export interface ListItemsRequest {
272
272
  * <p>Tokens expire after 15 minutes.</p>
273
273
  * @public
274
274
  */
275
- NextToken?: string;
275
+ NextToken?: string | undefined;
276
276
  }
277
277
  /**
278
278
  * @public
@@ -282,7 +282,7 @@ export interface ListItemsResponse {
282
282
  * <p>The metadata entries for the folders and objects at the requested path.</p>
283
283
  * @public
284
284
  */
285
- Items?: Item[];
285
+ Items?: Item[] | undefined;
286
286
  /**
287
287
  * <p>The token that can be used in a request to view the next set of results. For example,
288
288
  * you submit a <code>ListItems</code> request that matches 2,000 items with
@@ -291,7 +291,7 @@ export interface ListItemsResponse {
291
291
  * results.</p>
292
292
  * @public
293
293
  */
294
- NextToken?: string;
294
+ NextToken?: string | undefined;
295
295
  }
296
296
  /**
297
297
  * @public
@@ -351,21 +351,21 @@ export interface PutObjectRequest {
351
351
  * <p>The content type of the object.</p>
352
352
  * @public
353
353
  */
354
- ContentType?: string;
354
+ ContentType?: string | undefined;
355
355
  /**
356
356
  * <p>An optional <code>CacheControl</code> header that allows the caller to control the
357
357
  * 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>
358
358
  * <p>Headers with a custom user-defined value are also accepted.</p>
359
359
  * @public
360
360
  */
361
- CacheControl?: string;
361
+ CacheControl?: string | undefined;
362
362
  /**
363
363
  * <p>Indicates the storage class of a <code>Put</code> request. Defaults to
364
364
  * high-performance temporal storage class, and objects are persisted into durable storage
365
365
  * shortly after being received.</p>
366
366
  * @public
367
367
  */
368
- StorageClass?: StorageClass;
368
+ StorageClass?: StorageClass | undefined;
369
369
  /**
370
370
  * <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
371
371
  * downloading after some initial buffering but before the object is uploaded completely. If the value is set to <code>standard</code>, the object is
@@ -373,7 +373,7 @@ export interface PutObjectRequest {
373
373
  * <p>To use this header, you must also set the HTTP <code>Transfer-Encoding</code> header to <code>chunked</code>.</p>
374
374
  * @public
375
375
  */
376
- UploadAvailability?: UploadAvailability;
376
+ UploadAvailability?: UploadAvailability | undefined;
377
377
  }
378
378
  /**
379
379
  * @public
@@ -383,18 +383,18 @@ export interface PutObjectResponse {
383
383
  * <p>The SHA256 digest of the object that is persisted.</p>
384
384
  * @public
385
385
  */
386
- ContentSHA256?: string;
386
+ ContentSHA256?: string | undefined;
387
387
  /**
388
388
  * <p>Unique identifier of the object in the container.</p>
389
389
  * @public
390
390
  */
391
- ETag?: string;
391
+ ETag?: string | undefined;
392
392
  /**
393
393
  * <p>The storage class where the object was persisted. The class should be
394
394
  * “Temporal”.</p>
395
395
  * @public
396
396
  */
397
- StorageClass?: StorageClass;
397
+ StorageClass?: StorageClass | undefined;
398
398
  }
399
399
  /**
400
400
  * @internal
@@ -4,7 +4,7 @@ import { MediaStoreDataServiceException as __BaseException } from "./MediaStoreD
4
4
  export declare class ContainerNotFoundException extends __BaseException {
5
5
  readonly name: "ContainerNotFoundException";
6
6
  readonly $fault: "client";
7
- Message?: string;
7
+ Message?: string | undefined;
8
8
  constructor(
9
9
  opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>
10
10
  );
@@ -16,7 +16,7 @@ export interface DeleteObjectResponse {}
16
16
  export declare class InternalServerError extends __BaseException {
17
17
  readonly name: "InternalServerError";
18
18
  readonly $fault: "server";
19
- Message?: string;
19
+ Message?: string | undefined;
20
20
  constructor(
21
21
  opts: __ExceptionOptionType<InternalServerError, __BaseException>
22
22
  );
@@ -24,7 +24,7 @@ export declare class InternalServerError extends __BaseException {
24
24
  export declare class ObjectNotFoundException extends __BaseException {
25
25
  readonly name: "ObjectNotFoundException";
26
26
  readonly $fault: "client";
27
- Message?: string;
27
+ Message?: string | undefined;
28
28
  constructor(
29
29
  opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
30
30
  );
@@ -33,30 +33,30 @@ export interface DescribeObjectRequest {
33
33
  Path: string | undefined;
34
34
  }
35
35
  export interface DescribeObjectResponse {
36
- ETag?: string;
37
- ContentType?: string;
38
- ContentLength?: number;
39
- CacheControl?: string;
40
- LastModified?: Date;
36
+ ETag?: string | undefined;
37
+ ContentType?: string | undefined;
38
+ ContentLength?: number | undefined;
39
+ CacheControl?: string | undefined;
40
+ LastModified?: Date | undefined;
41
41
  }
42
42
  export interface GetObjectRequest {
43
43
  Path: string | undefined;
44
- Range?: string;
44
+ Range?: string | undefined;
45
45
  }
46
46
  export interface GetObjectResponse {
47
- Body?: StreamingBlobTypes;
48
- CacheControl?: string;
49
- ContentRange?: string;
50
- ContentLength?: number;
51
- ContentType?: string;
52
- ETag?: string;
53
- LastModified?: Date;
47
+ Body?: StreamingBlobTypes | undefined;
48
+ CacheControl?: string | undefined;
49
+ ContentRange?: string | undefined;
50
+ ContentLength?: number | undefined;
51
+ ContentType?: string | undefined;
52
+ ETag?: string | undefined;
53
+ LastModified?: Date | undefined;
54
54
  StatusCode: number | undefined;
55
55
  }
56
56
  export declare class RequestedRangeNotSatisfiableException extends __BaseException {
57
57
  readonly name: "RequestedRangeNotSatisfiableException";
58
58
  readonly $fault: "client";
59
- Message?: string;
59
+ Message?: string | undefined;
60
60
  constructor(
61
61
  opts: __ExceptionOptionType<
62
62
  RequestedRangeNotSatisfiableException,
@@ -70,21 +70,21 @@ export declare const ItemType: {
70
70
  };
71
71
  export type ItemType = (typeof ItemType)[keyof typeof ItemType];
72
72
  export interface Item {
73
- Name?: string;
74
- Type?: ItemType;
75
- ETag?: string;
76
- LastModified?: Date;
77
- ContentType?: string;
78
- ContentLength?: number;
73
+ Name?: string | undefined;
74
+ Type?: ItemType | undefined;
75
+ ETag?: string | undefined;
76
+ LastModified?: Date | undefined;
77
+ ContentType?: string | undefined;
78
+ ContentLength?: number | undefined;
79
79
  }
80
80
  export interface ListItemsRequest {
81
- Path?: string;
82
- MaxResults?: number;
83
- NextToken?: string;
81
+ Path?: string | undefined;
82
+ MaxResults?: number | undefined;
83
+ NextToken?: string | undefined;
84
84
  }
85
85
  export interface ListItemsResponse {
86
- Items?: Item[];
87
- NextToken?: string;
86
+ Items?: Item[] | undefined;
87
+ NextToken?: string | undefined;
88
88
  }
89
89
  export declare const StorageClass: {
90
90
  readonly TEMPORAL: "TEMPORAL";
@@ -99,15 +99,15 @@ export type UploadAvailability =
99
99
  export interface PutObjectRequest {
100
100
  Body: StreamingBlobTypes | undefined;
101
101
  Path: string | undefined;
102
- ContentType?: string;
103
- CacheControl?: string;
104
- StorageClass?: StorageClass;
105
- UploadAvailability?: UploadAvailability;
102
+ ContentType?: string | undefined;
103
+ CacheControl?: string | undefined;
104
+ StorageClass?: StorageClass | undefined;
105
+ UploadAvailability?: UploadAvailability | undefined;
106
106
  }
107
107
  export interface PutObjectResponse {
108
- ContentSHA256?: string;
109
- ETag?: string;
110
- StorageClass?: StorageClass;
108
+ ContentSHA256?: string | undefined;
109
+ ETag?: string | undefined;
110
+ StorageClass?: StorageClass | undefined;
111
111
  }
112
112
  export declare const GetObjectResponseFilterSensitiveLog: (
113
113
  obj: GetObjectResponse
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.686.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mediastore-data",
@@ -22,19 +22,19 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.686.0",
26
- "@aws-sdk/client-sts": "3.686.0",
27
- "@aws-sdk/core": "3.686.0",
28
- "@aws-sdk/credential-provider-node": "3.686.0",
25
+ "@aws-sdk/client-sso-oidc": "3.691.0",
26
+ "@aws-sdk/client-sts": "3.691.0",
27
+ "@aws-sdk/core": "3.691.0",
28
+ "@aws-sdk/credential-provider-node": "3.691.0",
29
29
  "@aws-sdk/middleware-host-header": "3.686.0",
30
30
  "@aws-sdk/middleware-logger": "3.686.0",
31
31
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
32
- "@aws-sdk/middleware-user-agent": "3.686.0",
32
+ "@aws-sdk/middleware-user-agent": "3.691.0",
33
33
  "@aws-sdk/region-config-resolver": "3.686.0",
34
34
  "@aws-sdk/types": "3.686.0",
35
35
  "@aws-sdk/util-endpoints": "3.686.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.686.0",
37
- "@aws-sdk/util-user-agent-node": "3.686.0",
37
+ "@aws-sdk/util-user-agent-node": "3.691.0",
38
38
  "@smithy/config-resolver": "^3.0.10",
39
39
  "@smithy/core": "^2.5.1",
40
40
  "@smithy/fetch-http-handler": "^4.0.0",