@aws-sdk/client-mediastore-data 3.934.0 → 3.935.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 +12 -11
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +11 -0
- package/dist-es/models/errors.js +57 -0
- package/dist-es/models/models_0.js +1 -68
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +35 -0
- package/dist-types/models/errors.d.ts +54 -0
- package/dist-types/models/models_0.d.ts +1 -89
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/errors.d.ts +37 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -52
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -173,17 +173,6 @@ let RequestedRangeNotSatisfiableException$1 = class RequestedRangeNotSatisfiable
|
|
|
173
173
|
this.Message = opts.Message;
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
|
-
const ItemType = {
|
|
177
|
-
FOLDER: "FOLDER",
|
|
178
|
-
OBJECT: "OBJECT",
|
|
179
|
-
};
|
|
180
|
-
const StorageClass = {
|
|
181
|
-
TEMPORAL: "TEMPORAL",
|
|
182
|
-
};
|
|
183
|
-
const UploadAvailability = {
|
|
184
|
-
STANDARD: "STANDARD",
|
|
185
|
-
STREAMING: "STREAMING",
|
|
186
|
-
};
|
|
187
176
|
|
|
188
177
|
const _B = "Body";
|
|
189
178
|
const _CC = "CacheControl";
|
|
@@ -596,6 +585,18 @@ smithyClient.createAggregatedClient(commands, MediaStoreData);
|
|
|
596
585
|
|
|
597
586
|
const paginateListItems = core.createPaginator(MediaStoreDataClient, ListItemsCommand, "NextToken", "NextToken", "MaxResults");
|
|
598
587
|
|
|
588
|
+
const ItemType = {
|
|
589
|
+
FOLDER: "FOLDER",
|
|
590
|
+
OBJECT: "OBJECT",
|
|
591
|
+
};
|
|
592
|
+
const StorageClass = {
|
|
593
|
+
TEMPORAL: "TEMPORAL",
|
|
594
|
+
};
|
|
595
|
+
const UploadAvailability = {
|
|
596
|
+
STANDARD: "STANDARD",
|
|
597
|
+
STREAMING: "STREAMING",
|
|
598
|
+
};
|
|
599
|
+
|
|
599
600
|
Object.defineProperty(exports, "$Command", {
|
|
600
601
|
enumerable: true,
|
|
601
602
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./MediaStoreDataClient";
|
|
|
2
2
|
export * from "./MediaStoreData";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { MediaStoreDataServiceException } from "./models/MediaStoreDataServiceException";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { MediaStoreDataServiceException as __BaseException } from "./MediaStoreDataServiceException";
|
|
2
|
+
export class ContainerNotFoundException extends __BaseException {
|
|
3
|
+
name = "ContainerNotFoundException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "ContainerNotFoundException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, ContainerNotFoundException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServerError extends __BaseException {
|
|
17
|
+
name = "InternalServerError";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "InternalServerError",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ObjectNotFoundException extends __BaseException {
|
|
31
|
+
name = "ObjectNotFoundException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ObjectNotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class RequestedRangeNotSatisfiableException extends __BaseException {
|
|
45
|
+
name = "RequestedRangeNotSatisfiableException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "RequestedRangeNotSatisfiableException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, RequestedRangeNotSatisfiableException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -1,68 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class ContainerNotFoundException extends __BaseException {
|
|
3
|
-
name = "ContainerNotFoundException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "ContainerNotFoundException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, ContainerNotFoundException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class InternalServerError extends __BaseException {
|
|
17
|
-
name = "InternalServerError";
|
|
18
|
-
$fault = "server";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "InternalServerError",
|
|
23
|
-
$fault: "server",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class ObjectNotFoundException extends __BaseException {
|
|
31
|
-
name = "ObjectNotFoundException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
Message;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "ObjectNotFoundException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
41
|
-
this.Message = opts.Message;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export class RequestedRangeNotSatisfiableException extends __BaseException {
|
|
45
|
-
name = "RequestedRangeNotSatisfiableException";
|
|
46
|
-
$fault = "client";
|
|
47
|
-
Message;
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "RequestedRangeNotSatisfiableException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, RequestedRangeNotSatisfiableException.prototype);
|
|
55
|
-
this.Message = opts.Message;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export const ItemType = {
|
|
59
|
-
FOLDER: "FOLDER",
|
|
60
|
-
OBJECT: "OBJECT",
|
|
61
|
-
};
|
|
62
|
-
export const StorageClass = {
|
|
63
|
-
TEMPORAL: "TEMPORAL",
|
|
64
|
-
};
|
|
65
|
-
export const UploadAvailability = {
|
|
66
|
-
STANDARD: "STANDARD",
|
|
67
|
-
STREAMING: "STREAMING",
|
|
68
|
-
};
|
|
1
|
+
export {};
|
|
@@ -57,7 +57,7 @@ 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 as __ContainerNotFoundException, InternalServerError as __InternalServerError, ObjectNotFoundException as __ObjectNotFoundException, RequestedRangeNotSatisfiableException as __RequestedRangeNotSatisfiableException, } from "../models/
|
|
60
|
+
import { ContainerNotFoundException as __ContainerNotFoundException, InternalServerError as __InternalServerError, ObjectNotFoundException as __ObjectNotFoundException, RequestedRangeNotSatisfiableException as __RequestedRangeNotSatisfiableException, } from "../models/errors";
|
|
61
61
|
import { MediaStoreDataServiceException as __MediaStoreDataServiceException } from "../models/MediaStoreDataServiceException";
|
|
62
62
|
export var PayloadBlob = [
|
|
63
63
|
0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -12,5 +12,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
12
12
|
export type { MediaStoreDataExtensionConfiguration } from "./extensionConfiguration";
|
|
13
13
|
export * from "./commands";
|
|
14
14
|
export * from "./pagination";
|
|
15
|
-
export * from "./models";
|
|
15
|
+
export * from "./models/enums";
|
|
16
|
+
export * from "./models/errors";
|
|
17
|
+
export type * from "./models/models_0";
|
|
16
18
|
export { MediaStoreDataServiceException } from "./models/MediaStoreDataServiceException";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ItemType: {
|
|
6
|
+
readonly FOLDER: "FOLDER";
|
|
7
|
+
readonly OBJECT: "OBJECT";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const StorageClass: {
|
|
18
|
+
readonly TEMPORAL: "TEMPORAL";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const UploadAvailability: {
|
|
29
|
+
readonly STANDARD: "STANDARD";
|
|
30
|
+
readonly STREAMING: "STREAMING";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type UploadAvailability = (typeof UploadAvailability)[keyof typeof UploadAvailability];
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MediaStoreDataServiceException as __BaseException } from "./MediaStoreDataServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The specified container was not found for the specified account.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class ContainerNotFoundException extends __BaseException {
|
|
8
|
+
readonly name: "ContainerNotFoundException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The service is temporarily unavailable.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class InternalServerError extends __BaseException {
|
|
21
|
+
readonly name: "InternalServerError";
|
|
22
|
+
readonly $fault: "server";
|
|
23
|
+
Message?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>Could not perform an operation on an object that does not exist.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class ObjectNotFoundException extends __BaseException {
|
|
34
|
+
readonly name: "ObjectNotFoundException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>The requested content range is not valid.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class RequestedRangeNotSatisfiableException extends __BaseException {
|
|
47
|
+
readonly name: "RequestedRangeNotSatisfiableException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
Message?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<RequestedRangeNotSatisfiableException, __BaseException>);
|
|
54
|
+
}
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
/**
|
|
5
|
-
* <p>The specified container was not found for the specified account.</p>
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export declare class ContainerNotFoundException extends __BaseException {
|
|
9
|
-
readonly name: "ContainerNotFoundException";
|
|
10
|
-
readonly $fault: "client";
|
|
11
|
-
Message?: string | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
constructor(opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>);
|
|
16
|
-
}
|
|
2
|
+
import { ItemType, StorageClass, UploadAvailability } from "./enums";
|
|
17
3
|
/**
|
|
18
4
|
* @public
|
|
19
5
|
*/
|
|
@@ -30,32 +16,6 @@ export interface DeleteObjectRequest {
|
|
|
30
16
|
*/
|
|
31
17
|
export interface DeleteObjectResponse {
|
|
32
18
|
}
|
|
33
|
-
/**
|
|
34
|
-
* <p>The service is temporarily unavailable.</p>
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
export declare class InternalServerError extends __BaseException {
|
|
38
|
-
readonly name: "InternalServerError";
|
|
39
|
-
readonly $fault: "server";
|
|
40
|
-
Message?: string | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
|
-
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* <p>Could not perform an operation on an object that does not exist.</p>
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
export declare class ObjectNotFoundException extends __BaseException {
|
|
51
|
-
readonly name: "ObjectNotFoundException";
|
|
52
|
-
readonly $fault: "client";
|
|
53
|
-
Message?: string | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
58
|
-
}
|
|
59
19
|
/**
|
|
60
20
|
* @public
|
|
61
21
|
*/
|
|
@@ -180,31 +140,6 @@ export interface GetObjectResponse {
|
|
|
180
140
|
*/
|
|
181
141
|
StatusCode: number | undefined;
|
|
182
142
|
}
|
|
183
|
-
/**
|
|
184
|
-
* <p>The requested content range is not valid.</p>
|
|
185
|
-
* @public
|
|
186
|
-
*/
|
|
187
|
-
export declare class RequestedRangeNotSatisfiableException extends __BaseException {
|
|
188
|
-
readonly name: "RequestedRangeNotSatisfiableException";
|
|
189
|
-
readonly $fault: "client";
|
|
190
|
-
Message?: string | undefined;
|
|
191
|
-
/**
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
194
|
-
constructor(opts: __ExceptionOptionType<RequestedRangeNotSatisfiableException, __BaseException>);
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* @public
|
|
198
|
-
* @enum
|
|
199
|
-
*/
|
|
200
|
-
export declare const ItemType: {
|
|
201
|
-
readonly FOLDER: "FOLDER";
|
|
202
|
-
readonly OBJECT: "OBJECT";
|
|
203
|
-
};
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
*/
|
|
207
|
-
export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
208
143
|
/**
|
|
209
144
|
* <p>A metadata entry for a folder or object.</p>
|
|
210
145
|
* @public
|
|
@@ -293,29 +228,6 @@ export interface ListItemsResponse {
|
|
|
293
228
|
*/
|
|
294
229
|
NextToken?: string | undefined;
|
|
295
230
|
}
|
|
296
|
-
/**
|
|
297
|
-
* @public
|
|
298
|
-
* @enum
|
|
299
|
-
*/
|
|
300
|
-
export declare const StorageClass: {
|
|
301
|
-
readonly TEMPORAL: "TEMPORAL";
|
|
302
|
-
};
|
|
303
|
-
/**
|
|
304
|
-
* @public
|
|
305
|
-
*/
|
|
306
|
-
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
307
|
-
/**
|
|
308
|
-
* @public
|
|
309
|
-
* @enum
|
|
310
|
-
*/
|
|
311
|
-
export declare const UploadAvailability: {
|
|
312
|
-
readonly STANDARD: "STANDARD";
|
|
313
|
-
readonly STREAMING: "STREAMING";
|
|
314
|
-
};
|
|
315
|
-
/**
|
|
316
|
-
* @public
|
|
317
|
-
*/
|
|
318
|
-
export type UploadAvailability = (typeof UploadAvailability)[keyof typeof UploadAvailability];
|
|
319
231
|
/**
|
|
320
232
|
* @public
|
|
321
233
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { MediaStoreDataExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { MediaStoreDataServiceException } from "./models/MediaStoreDataServiceException";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const ItemType: {
|
|
2
|
+
readonly FOLDER: "FOLDER";
|
|
3
|
+
readonly OBJECT: "OBJECT";
|
|
4
|
+
};
|
|
5
|
+
export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
6
|
+
export declare const StorageClass: {
|
|
7
|
+
readonly TEMPORAL: "TEMPORAL";
|
|
8
|
+
};
|
|
9
|
+
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
10
|
+
export declare const UploadAvailability: {
|
|
11
|
+
readonly STANDARD: "STANDARD";
|
|
12
|
+
readonly STREAMING: "STREAMING";
|
|
13
|
+
};
|
|
14
|
+
export type UploadAvailability =
|
|
15
|
+
(typeof UploadAvailability)[keyof typeof UploadAvailability];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MediaStoreDataServiceException as __BaseException } from "./MediaStoreDataServiceException";
|
|
3
|
+
export declare class ContainerNotFoundException extends __BaseException {
|
|
4
|
+
readonly name: "ContainerNotFoundException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class InternalServerError extends __BaseException {
|
|
12
|
+
readonly name: "InternalServerError";
|
|
13
|
+
readonly $fault: "server";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class ObjectNotFoundException extends __BaseException {
|
|
20
|
+
readonly name: "ObjectNotFoundException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
Message?: string | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class RequestedRangeNotSatisfiableException extends __BaseException {
|
|
28
|
+
readonly name: "RequestedRangeNotSatisfiableException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
Message?: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<
|
|
33
|
+
RequestedRangeNotSatisfiableException,
|
|
34
|
+
__BaseException
|
|
35
|
+
>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
export declare class ContainerNotFoundException extends __BaseException {
|
|
5
|
-
readonly name: "ContainerNotFoundException";
|
|
6
|
-
readonly $fault: "client";
|
|
7
|
-
Message?: string | undefined;
|
|
8
|
-
constructor(
|
|
9
|
-
opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>
|
|
10
|
-
);
|
|
11
|
-
}
|
|
2
|
+
import { ItemType, StorageClass, UploadAvailability } from "./enums";
|
|
12
3
|
export interface DeleteObjectRequest {
|
|
13
4
|
Path: string | undefined;
|
|
14
5
|
}
|
|
15
6
|
export interface DeleteObjectResponse {}
|
|
16
|
-
export declare class InternalServerError extends __BaseException {
|
|
17
|
-
readonly name: "InternalServerError";
|
|
18
|
-
readonly $fault: "server";
|
|
19
|
-
Message?: string | undefined;
|
|
20
|
-
constructor(
|
|
21
|
-
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
export declare class ObjectNotFoundException extends __BaseException {
|
|
25
|
-
readonly name: "ObjectNotFoundException";
|
|
26
|
-
readonly $fault: "client";
|
|
27
|
-
Message?: string | undefined;
|
|
28
|
-
constructor(
|
|
29
|
-
opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
7
|
export interface DescribeObjectRequest {
|
|
33
8
|
Path: string | undefined;
|
|
34
9
|
}
|
|
@@ -53,22 +28,6 @@ export interface GetObjectResponse {
|
|
|
53
28
|
LastModified?: Date | undefined;
|
|
54
29
|
StatusCode: number | undefined;
|
|
55
30
|
}
|
|
56
|
-
export declare class RequestedRangeNotSatisfiableException extends __BaseException {
|
|
57
|
-
readonly name: "RequestedRangeNotSatisfiableException";
|
|
58
|
-
readonly $fault: "client";
|
|
59
|
-
Message?: string | undefined;
|
|
60
|
-
constructor(
|
|
61
|
-
opts: __ExceptionOptionType<
|
|
62
|
-
RequestedRangeNotSatisfiableException,
|
|
63
|
-
__BaseException
|
|
64
|
-
>
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
export declare const ItemType: {
|
|
68
|
-
readonly FOLDER: "FOLDER";
|
|
69
|
-
readonly OBJECT: "OBJECT";
|
|
70
|
-
};
|
|
71
|
-
export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
72
31
|
export interface Item {
|
|
73
32
|
Name?: string | undefined;
|
|
74
33
|
Type?: ItemType | undefined;
|
|
@@ -86,16 +45,6 @@ export interface ListItemsResponse {
|
|
|
86
45
|
Items?: Item[] | undefined;
|
|
87
46
|
NextToken?: string | undefined;
|
|
88
47
|
}
|
|
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];
|
|
99
48
|
export interface PutObjectRequest {
|
|
100
49
|
Body: StreamingBlobTypes | undefined;
|
|
101
50
|
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.935.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,38 +22,38 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.935.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
32
32
|
"@aws-sdk/types": "3.930.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
36
36
|
"@smithy/config-resolver": "^4.4.3",
|
|
37
|
-
"@smithy/core": "^3.18.
|
|
37
|
+
"@smithy/core": "^3.18.5",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
39
39
|
"@smithy/hash-node": "^4.2.5",
|
|
40
40
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
41
41
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
44
|
-
"@smithy/middleware-serde": "^4.2.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
44
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
45
45
|
"@smithy/middleware-stack": "^4.2.5",
|
|
46
46
|
"@smithy/node-config-provider": "^4.3.5",
|
|
47
47
|
"@smithy/node-http-handler": "^4.4.5",
|
|
48
48
|
"@smithy/protocol-http": "^5.3.5",
|
|
49
|
-
"@smithy/smithy-client": "^4.9.
|
|
49
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
50
50
|
"@smithy/types": "^4.9.0",
|
|
51
51
|
"@smithy/url-parser": "^4.2.5",
|
|
52
52
|
"@smithy/util-base64": "^4.3.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
57
57
|
"@smithy/util-endpoints": "^3.2.5",
|
|
58
58
|
"@smithy/util-middleware": "^4.2.5",
|
|
59
59
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|