@aws-sdk/client-mediastore 3.933.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 +16 -15
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +15 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -100
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +39 -0
- package/dist-types/models/errors.d.ts +81 -0
- package/dist-types/models/models_0.d.ts +1 -120
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +20 -0
- package/dist-types/ts3.4/models/errors.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -70
- 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
|
@@ -117,17 +117,6 @@ let MediaStoreServiceException$1 = class MediaStoreServiceException extends smit
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const MethodName = {
|
|
121
|
-
DELETE: "DELETE",
|
|
122
|
-
GET: "GET",
|
|
123
|
-
HEAD: "HEAD",
|
|
124
|
-
PUT: "PUT",
|
|
125
|
-
};
|
|
126
|
-
const ContainerStatus = {
|
|
127
|
-
ACTIVE: "ACTIVE",
|
|
128
|
-
CREATING: "CREATING",
|
|
129
|
-
DELETING: "DELETING",
|
|
130
|
-
};
|
|
131
120
|
let ContainerInUseException$1 = class ContainerInUseException extends MediaStoreServiceException$1 {
|
|
132
121
|
name = "ContainerInUseException";
|
|
133
122
|
$fault = "client";
|
|
@@ -142,10 +131,6 @@ let ContainerInUseException$1 = class ContainerInUseException extends MediaStore
|
|
|
142
131
|
this.Message = opts.Message;
|
|
143
132
|
}
|
|
144
133
|
};
|
|
145
|
-
const ContainerLevelMetrics = {
|
|
146
|
-
DISABLED: "DISABLED",
|
|
147
|
-
ENABLED: "ENABLED",
|
|
148
|
-
};
|
|
149
134
|
let ContainerNotFoundException$1 = class ContainerNotFoundException extends MediaStoreServiceException$1 {
|
|
150
135
|
name = "ContainerNotFoundException";
|
|
151
136
|
$fault = "client";
|
|
@@ -888,6 +873,22 @@ smithyClient.createAggregatedClient(commands, MediaStore);
|
|
|
888
873
|
|
|
889
874
|
const paginateListContainers = core.createPaginator(MediaStoreClient, ListContainersCommand, "NextToken", "NextToken", "MaxResults");
|
|
890
875
|
|
|
876
|
+
const MethodName = {
|
|
877
|
+
DELETE: "DELETE",
|
|
878
|
+
GET: "GET",
|
|
879
|
+
HEAD: "HEAD",
|
|
880
|
+
PUT: "PUT",
|
|
881
|
+
};
|
|
882
|
+
const ContainerStatus = {
|
|
883
|
+
ACTIVE: "ACTIVE",
|
|
884
|
+
CREATING: "CREATING",
|
|
885
|
+
DELETING: "DELETING",
|
|
886
|
+
};
|
|
887
|
+
const ContainerLevelMetrics = {
|
|
888
|
+
DISABLED: "DISABLED",
|
|
889
|
+
ENABLED: "ENABLED",
|
|
890
|
+
};
|
|
891
|
+
|
|
891
892
|
Object.defineProperty(exports, "$Command", {
|
|
892
893
|
enumerable: true,
|
|
893
894
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./MediaStoreClient";
|
|
|
2
2
|
export * from "./MediaStore";
|
|
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 { MediaStoreServiceException } from "./models/MediaStoreServiceException";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const MethodName = {
|
|
2
|
+
DELETE: "DELETE",
|
|
3
|
+
GET: "GET",
|
|
4
|
+
HEAD: "HEAD",
|
|
5
|
+
PUT: "PUT",
|
|
6
|
+
};
|
|
7
|
+
export const ContainerStatus = {
|
|
8
|
+
ACTIVE: "ACTIVE",
|
|
9
|
+
CREATING: "CREATING",
|
|
10
|
+
DELETING: "DELETING",
|
|
11
|
+
};
|
|
12
|
+
export const ContainerLevelMetrics = {
|
|
13
|
+
DISABLED: "DISABLED",
|
|
14
|
+
ENABLED: "ENABLED",
|
|
15
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { MediaStoreServiceException as __BaseException } from "./MediaStoreServiceException";
|
|
2
|
+
export class ContainerInUseException extends __BaseException {
|
|
3
|
+
name = "ContainerInUseException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "ContainerInUseException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, ContainerInUseException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ContainerNotFoundException extends __BaseException {
|
|
17
|
+
name = "ContainerNotFoundException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ContainerNotFoundException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ContainerNotFoundException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class CorsPolicyNotFoundException extends __BaseException {
|
|
31
|
+
name = "CorsPolicyNotFoundException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "CorsPolicyNotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, CorsPolicyNotFoundException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class InternalServerError extends __BaseException {
|
|
45
|
+
name = "InternalServerError";
|
|
46
|
+
$fault = "server";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InternalServerError",
|
|
51
|
+
$fault: "server",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class LimitExceededException extends __BaseException {
|
|
59
|
+
name = "LimitExceededException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "LimitExceededException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class PolicyNotFoundException extends __BaseException {
|
|
73
|
+
name = "PolicyNotFoundException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "PolicyNotFoundException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,100 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const MethodName = {
|
|
3
|
-
DELETE: "DELETE",
|
|
4
|
-
GET: "GET",
|
|
5
|
-
HEAD: "HEAD",
|
|
6
|
-
PUT: "PUT",
|
|
7
|
-
};
|
|
8
|
-
export const ContainerStatus = {
|
|
9
|
-
ACTIVE: "ACTIVE",
|
|
10
|
-
CREATING: "CREATING",
|
|
11
|
-
DELETING: "DELETING",
|
|
12
|
-
};
|
|
13
|
-
export class ContainerInUseException extends __BaseException {
|
|
14
|
-
name = "ContainerInUseException";
|
|
15
|
-
$fault = "client";
|
|
16
|
-
Message;
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "ContainerInUseException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, ContainerInUseException.prototype);
|
|
24
|
-
this.Message = opts.Message;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export const ContainerLevelMetrics = {
|
|
28
|
-
DISABLED: "DISABLED",
|
|
29
|
-
ENABLED: "ENABLED",
|
|
30
|
-
};
|
|
31
|
-
export class ContainerNotFoundException extends __BaseException {
|
|
32
|
-
name = "ContainerNotFoundException";
|
|
33
|
-
$fault = "client";
|
|
34
|
-
Message;
|
|
35
|
-
constructor(opts) {
|
|
36
|
-
super({
|
|
37
|
-
name: "ContainerNotFoundException",
|
|
38
|
-
$fault: "client",
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
Object.setPrototypeOf(this, ContainerNotFoundException.prototype);
|
|
42
|
-
this.Message = opts.Message;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export class CorsPolicyNotFoundException extends __BaseException {
|
|
46
|
-
name = "CorsPolicyNotFoundException";
|
|
47
|
-
$fault = "client";
|
|
48
|
-
Message;
|
|
49
|
-
constructor(opts) {
|
|
50
|
-
super({
|
|
51
|
-
name: "CorsPolicyNotFoundException",
|
|
52
|
-
$fault: "client",
|
|
53
|
-
...opts,
|
|
54
|
-
});
|
|
55
|
-
Object.setPrototypeOf(this, CorsPolicyNotFoundException.prototype);
|
|
56
|
-
this.Message = opts.Message;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
export class InternalServerError extends __BaseException {
|
|
60
|
-
name = "InternalServerError";
|
|
61
|
-
$fault = "server";
|
|
62
|
-
Message;
|
|
63
|
-
constructor(opts) {
|
|
64
|
-
super({
|
|
65
|
-
name: "InternalServerError",
|
|
66
|
-
$fault: "server",
|
|
67
|
-
...opts,
|
|
68
|
-
});
|
|
69
|
-
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
70
|
-
this.Message = opts.Message;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
export class LimitExceededException extends __BaseException {
|
|
74
|
-
name = "LimitExceededException";
|
|
75
|
-
$fault = "client";
|
|
76
|
-
Message;
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "LimitExceededException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
84
|
-
this.Message = opts.Message;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
export class PolicyNotFoundException extends __BaseException {
|
|
88
|
-
name = "PolicyNotFoundException";
|
|
89
|
-
$fault = "client";
|
|
90
|
-
Message;
|
|
91
|
-
constructor(opts) {
|
|
92
|
-
super({
|
|
93
|
-
name: "PolicyNotFoundException",
|
|
94
|
-
$fault: "client",
|
|
95
|
-
...opts,
|
|
96
|
-
});
|
|
97
|
-
Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
|
|
98
|
-
this.Message = opts.Message;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
1
|
+
export {};
|
|
@@ -108,7 +108,7 @@ const _s = "server";
|
|
|
108
108
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mediastore";
|
|
109
109
|
const n0 = "com.amazonaws.mediastore";
|
|
110
110
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
111
|
-
import { ContainerInUseException as __ContainerInUseException, ContainerNotFoundException as __ContainerNotFoundException, CorsPolicyNotFoundException as __CorsPolicyNotFoundException, InternalServerError as __InternalServerError, LimitExceededException as __LimitExceededException, PolicyNotFoundException as __PolicyNotFoundException, } from "../models/
|
|
111
|
+
import { ContainerInUseException as __ContainerInUseException, ContainerNotFoundException as __ContainerNotFoundException, CorsPolicyNotFoundException as __CorsPolicyNotFoundException, InternalServerError as __InternalServerError, LimitExceededException as __LimitExceededException, PolicyNotFoundException as __PolicyNotFoundException, } from "../models/errors";
|
|
112
112
|
import { MediaStoreServiceException as __MediaStoreServiceException } from "../models/MediaStoreServiceException";
|
|
113
113
|
export var Container = [3, n0, _C, 0, [_E, _CT, _ARN, _N, _S, _ALE], [0, 4, 0, 0, 0, 2]];
|
|
114
114
|
export var ContainerInUseException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
11
11
|
export type { MediaStoreExtensionConfiguration } from "./extensionConfiguration";
|
|
12
12
|
export * from "./commands";
|
|
13
13
|
export * from "./pagination";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
15
17
|
export { MediaStoreServiceException } from "./models/MediaStoreServiceException";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const MethodName: {
|
|
6
|
+
readonly DELETE: "DELETE";
|
|
7
|
+
readonly GET: "GET";
|
|
8
|
+
readonly HEAD: "HEAD";
|
|
9
|
+
readonly PUT: "PUT";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type MethodName = (typeof MethodName)[keyof typeof MethodName];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const ContainerStatus: {
|
|
20
|
+
readonly ACTIVE: "ACTIVE";
|
|
21
|
+
readonly CREATING: "CREATING";
|
|
22
|
+
readonly DELETING: "DELETING";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type ContainerStatus = (typeof ContainerStatus)[keyof typeof ContainerStatus];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const ContainerLevelMetrics: {
|
|
33
|
+
readonly DISABLED: "DISABLED";
|
|
34
|
+
readonly ENABLED: "ENABLED";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type ContainerLevelMetrics = (typeof ContainerLevelMetrics)[keyof typeof ContainerLevelMetrics];
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MediaStoreServiceException as __BaseException } from "./MediaStoreServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The container that you specified in the request already exists or is being
|
|
5
|
+
* updated.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class ContainerInUseException extends __BaseException {
|
|
9
|
+
readonly name: "ContainerInUseException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<ContainerInUseException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The container that you specified in the request does not exist.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class ContainerNotFoundException extends __BaseException {
|
|
22
|
+
readonly name: "ContainerNotFoundException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
Message?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
constructor(opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>The CORS policy that you specified in the request does not exist.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class CorsPolicyNotFoundException extends __BaseException {
|
|
35
|
+
readonly name: "CorsPolicyNotFoundException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<CorsPolicyNotFoundException, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>The service is temporarily unavailable.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare class InternalServerError extends __BaseException {
|
|
48
|
+
readonly name: "InternalServerError";
|
|
49
|
+
readonly $fault: "server";
|
|
50
|
+
Message?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>A service limit has been exceeded.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class LimitExceededException extends __BaseException {
|
|
61
|
+
readonly name: "LimitExceededException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
Message?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* <p>The policy that you specified in the request does not exist.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class PolicyNotFoundException extends __BaseException {
|
|
74
|
+
readonly name: "PolicyNotFoundException";
|
|
75
|
+
readonly $fault: "client";
|
|
76
|
+
Message?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
constructor(opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>);
|
|
81
|
+
}
|
|
@@ -1,32 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MediaStoreServiceException as __BaseException } from "./MediaStoreServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const MethodName: {
|
|
8
|
-
readonly DELETE: "DELETE";
|
|
9
|
-
readonly GET: "GET";
|
|
10
|
-
readonly HEAD: "HEAD";
|
|
11
|
-
readonly PUT: "PUT";
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type MethodName = (typeof MethodName)[keyof typeof MethodName];
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
* @enum
|
|
20
|
-
*/
|
|
21
|
-
export declare const ContainerStatus: {
|
|
22
|
-
readonly ACTIVE: "ACTIVE";
|
|
23
|
-
readonly CREATING: "CREATING";
|
|
24
|
-
readonly DELETING: "DELETING";
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export type ContainerStatus = (typeof ContainerStatus)[keyof typeof ContainerStatus];
|
|
1
|
+
import { ContainerLevelMetrics, ContainerStatus, MethodName } from "./enums";
|
|
30
2
|
/**
|
|
31
3
|
* <p>This section describes operations that you can perform on an AWS Elemental MediaStore
|
|
32
4
|
* container.</p>
|
|
@@ -73,45 +45,6 @@ export interface Container {
|
|
|
73
45
|
*/
|
|
74
46
|
AccessLoggingEnabled?: boolean | undefined;
|
|
75
47
|
}
|
|
76
|
-
/**
|
|
77
|
-
* <p>The container that you specified in the request already exists or is being
|
|
78
|
-
* updated.</p>
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
export declare class ContainerInUseException extends __BaseException {
|
|
82
|
-
readonly name: "ContainerInUseException";
|
|
83
|
-
readonly $fault: "client";
|
|
84
|
-
Message?: string | undefined;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
constructor(opts: __ExceptionOptionType<ContainerInUseException, __BaseException>);
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* @public
|
|
92
|
-
* @enum
|
|
93
|
-
*/
|
|
94
|
-
export declare const ContainerLevelMetrics: {
|
|
95
|
-
readonly DISABLED: "DISABLED";
|
|
96
|
-
readonly ENABLED: "ENABLED";
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* @public
|
|
100
|
-
*/
|
|
101
|
-
export type ContainerLevelMetrics = (typeof ContainerLevelMetrics)[keyof typeof ContainerLevelMetrics];
|
|
102
|
-
/**
|
|
103
|
-
* <p>The container that you specified in the request does not exist.</p>
|
|
104
|
-
* @public
|
|
105
|
-
*/
|
|
106
|
-
export declare class ContainerNotFoundException extends __BaseException {
|
|
107
|
-
readonly name: "ContainerNotFoundException";
|
|
108
|
-
readonly $fault: "client";
|
|
109
|
-
Message?: string | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
constructor(opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>);
|
|
114
|
-
}
|
|
115
48
|
/**
|
|
116
49
|
* <p>A rule for a CORS policy. You can add up to 100 rules to a CORS policy. If more than
|
|
117
50
|
* one rule applies, the service uses the first applicable rule listed.</p>
|
|
@@ -161,19 +94,6 @@ export interface CorsRule {
|
|
|
161
94
|
*/
|
|
162
95
|
ExposeHeaders?: string[] | undefined;
|
|
163
96
|
}
|
|
164
|
-
/**
|
|
165
|
-
* <p>The CORS policy that you specified in the request does not exist.</p>
|
|
166
|
-
* @public
|
|
167
|
-
*/
|
|
168
|
-
export declare class CorsPolicyNotFoundException extends __BaseException {
|
|
169
|
-
readonly name: "CorsPolicyNotFoundException";
|
|
170
|
-
readonly $fault: "client";
|
|
171
|
-
Message?: string | undefined;
|
|
172
|
-
/**
|
|
173
|
-
* @internal
|
|
174
|
-
*/
|
|
175
|
-
constructor(opts: __ExceptionOptionType<CorsPolicyNotFoundException, __BaseException>);
|
|
176
|
-
}
|
|
177
97
|
/**
|
|
178
98
|
* <p>A collection of tags associated with a container. Each tag consists of a key:value pair, which can be anything you define. Typically, the tag key
|
|
179
99
|
* represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or
|
|
@@ -236,32 +156,6 @@ export interface CreateContainerOutput {
|
|
|
236
156
|
*/
|
|
237
157
|
Container: Container | undefined;
|
|
238
158
|
}
|
|
239
|
-
/**
|
|
240
|
-
* <p>The service is temporarily unavailable.</p>
|
|
241
|
-
* @public
|
|
242
|
-
*/
|
|
243
|
-
export declare class InternalServerError extends __BaseException {
|
|
244
|
-
readonly name: "InternalServerError";
|
|
245
|
-
readonly $fault: "server";
|
|
246
|
-
Message?: string | undefined;
|
|
247
|
-
/**
|
|
248
|
-
* @internal
|
|
249
|
-
*/
|
|
250
|
-
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* <p>A service limit has been exceeded.</p>
|
|
254
|
-
* @public
|
|
255
|
-
*/
|
|
256
|
-
export declare class LimitExceededException extends __BaseException {
|
|
257
|
-
readonly name: "LimitExceededException";
|
|
258
|
-
readonly $fault: "client";
|
|
259
|
-
Message?: string | undefined;
|
|
260
|
-
/**
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
263
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
264
|
-
}
|
|
265
159
|
/**
|
|
266
160
|
* @public
|
|
267
161
|
*/
|
|
@@ -292,19 +186,6 @@ export interface DeleteContainerPolicyInput {
|
|
|
292
186
|
*/
|
|
293
187
|
export interface DeleteContainerPolicyOutput {
|
|
294
188
|
}
|
|
295
|
-
/**
|
|
296
|
-
* <p>The policy that you specified in the request does not exist.</p>
|
|
297
|
-
* @public
|
|
298
|
-
*/
|
|
299
|
-
export declare class PolicyNotFoundException extends __BaseException {
|
|
300
|
-
readonly name: "PolicyNotFoundException";
|
|
301
|
-
readonly $fault: "client";
|
|
302
|
-
Message?: string | undefined;
|
|
303
|
-
/**
|
|
304
|
-
* @internal
|
|
305
|
-
*/
|
|
306
|
-
constructor(opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>);
|
|
307
|
-
}
|
|
308
189
|
/**
|
|
309
190
|
* @public
|
|
310
191
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { MediaStoreExtensionConfiguration } 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 { MediaStoreServiceException } from "./models/MediaStoreServiceException";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const MethodName: {
|
|
2
|
+
readonly DELETE: "DELETE";
|
|
3
|
+
readonly GET: "GET";
|
|
4
|
+
readonly HEAD: "HEAD";
|
|
5
|
+
readonly PUT: "PUT";
|
|
6
|
+
};
|
|
7
|
+
export type MethodName = (typeof MethodName)[keyof typeof MethodName];
|
|
8
|
+
export declare const ContainerStatus: {
|
|
9
|
+
readonly ACTIVE: "ACTIVE";
|
|
10
|
+
readonly CREATING: "CREATING";
|
|
11
|
+
readonly DELETING: "DELETING";
|
|
12
|
+
};
|
|
13
|
+
export type ContainerStatus =
|
|
14
|
+
(typeof ContainerStatus)[keyof typeof ContainerStatus];
|
|
15
|
+
export declare const ContainerLevelMetrics: {
|
|
16
|
+
readonly DISABLED: "DISABLED";
|
|
17
|
+
readonly ENABLED: "ENABLED";
|
|
18
|
+
};
|
|
19
|
+
export type ContainerLevelMetrics =
|
|
20
|
+
(typeof ContainerLevelMetrics)[keyof typeof ContainerLevelMetrics];
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MediaStoreServiceException as __BaseException } from "./MediaStoreServiceException";
|
|
3
|
+
export declare class ContainerInUseException extends __BaseException {
|
|
4
|
+
readonly name: "ContainerInUseException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<ContainerInUseException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ContainerNotFoundException extends __BaseException {
|
|
12
|
+
readonly name: "ContainerNotFoundException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class CorsPolicyNotFoundException extends __BaseException {
|
|
20
|
+
readonly name: "CorsPolicyNotFoundException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
Message?: string | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<CorsPolicyNotFoundException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class InternalServerError extends __BaseException {
|
|
28
|
+
readonly name: "InternalServerError";
|
|
29
|
+
readonly $fault: "server";
|
|
30
|
+
Message?: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class LimitExceededException extends __BaseException {
|
|
36
|
+
readonly name: "LimitExceededException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
Message?: string | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class PolicyNotFoundException extends __BaseException {
|
|
44
|
+
readonly name: "PolicyNotFoundException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
Message?: string | undefined;
|
|
47
|
+
constructor(
|
|
48
|
+
opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MediaStoreServiceException as __BaseException } from "./MediaStoreServiceException";
|
|
3
|
-
export declare const MethodName: {
|
|
4
|
-
readonly DELETE: "DELETE";
|
|
5
|
-
readonly GET: "GET";
|
|
6
|
-
readonly HEAD: "HEAD";
|
|
7
|
-
readonly PUT: "PUT";
|
|
8
|
-
};
|
|
9
|
-
export type MethodName = (typeof MethodName)[keyof typeof MethodName];
|
|
10
|
-
export declare const ContainerStatus: {
|
|
11
|
-
readonly ACTIVE: "ACTIVE";
|
|
12
|
-
readonly CREATING: "CREATING";
|
|
13
|
-
readonly DELETING: "DELETING";
|
|
14
|
-
};
|
|
15
|
-
export type ContainerStatus =
|
|
16
|
-
(typeof ContainerStatus)[keyof typeof ContainerStatus];
|
|
1
|
+
import { ContainerLevelMetrics, ContainerStatus, MethodName } from "./enums";
|
|
17
2
|
export interface Container {
|
|
18
3
|
Endpoint?: string | undefined;
|
|
19
4
|
CreationTime?: Date | undefined;
|
|
@@ -22,28 +7,6 @@ export interface Container {
|
|
|
22
7
|
Status?: ContainerStatus | undefined;
|
|
23
8
|
AccessLoggingEnabled?: boolean | undefined;
|
|
24
9
|
}
|
|
25
|
-
export declare class ContainerInUseException extends __BaseException {
|
|
26
|
-
readonly name: "ContainerInUseException";
|
|
27
|
-
readonly $fault: "client";
|
|
28
|
-
Message?: string | undefined;
|
|
29
|
-
constructor(
|
|
30
|
-
opts: __ExceptionOptionType<ContainerInUseException, __BaseException>
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
export declare const ContainerLevelMetrics: {
|
|
34
|
-
readonly DISABLED: "DISABLED";
|
|
35
|
-
readonly ENABLED: "ENABLED";
|
|
36
|
-
};
|
|
37
|
-
export type ContainerLevelMetrics =
|
|
38
|
-
(typeof ContainerLevelMetrics)[keyof typeof ContainerLevelMetrics];
|
|
39
|
-
export declare class ContainerNotFoundException extends __BaseException {
|
|
40
|
-
readonly name: "ContainerNotFoundException";
|
|
41
|
-
readonly $fault: "client";
|
|
42
|
-
Message?: string | undefined;
|
|
43
|
-
constructor(
|
|
44
|
-
opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
10
|
export interface CorsRule {
|
|
48
11
|
AllowedOrigins: string[] | undefined;
|
|
49
12
|
AllowedMethods?: MethodName[] | undefined;
|
|
@@ -51,14 +14,6 @@ export interface CorsRule {
|
|
|
51
14
|
MaxAgeSeconds?: number | undefined;
|
|
52
15
|
ExposeHeaders?: string[] | undefined;
|
|
53
16
|
}
|
|
54
|
-
export declare class CorsPolicyNotFoundException extends __BaseException {
|
|
55
|
-
readonly name: "CorsPolicyNotFoundException";
|
|
56
|
-
readonly $fault: "client";
|
|
57
|
-
Message?: string | undefined;
|
|
58
|
-
constructor(
|
|
59
|
-
opts: __ExceptionOptionType<CorsPolicyNotFoundException, __BaseException>
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
17
|
export interface Tag {
|
|
63
18
|
Key: string | undefined;
|
|
64
19
|
Value?: string | undefined;
|
|
@@ -70,22 +25,6 @@ export interface CreateContainerInput {
|
|
|
70
25
|
export interface CreateContainerOutput {
|
|
71
26
|
Container: Container | undefined;
|
|
72
27
|
}
|
|
73
|
-
export declare class InternalServerError extends __BaseException {
|
|
74
|
-
readonly name: "InternalServerError";
|
|
75
|
-
readonly $fault: "server";
|
|
76
|
-
Message?: string | undefined;
|
|
77
|
-
constructor(
|
|
78
|
-
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
export declare class LimitExceededException extends __BaseException {
|
|
82
|
-
readonly name: "LimitExceededException";
|
|
83
|
-
readonly $fault: "client";
|
|
84
|
-
Message?: string | undefined;
|
|
85
|
-
constructor(
|
|
86
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
28
|
export interface DeleteContainerInput {
|
|
90
29
|
ContainerName: string | undefined;
|
|
91
30
|
}
|
|
@@ -94,14 +33,6 @@ export interface DeleteContainerPolicyInput {
|
|
|
94
33
|
ContainerName: string | undefined;
|
|
95
34
|
}
|
|
96
35
|
export interface DeleteContainerPolicyOutput {}
|
|
97
|
-
export declare class PolicyNotFoundException extends __BaseException {
|
|
98
|
-
readonly name: "PolicyNotFoundException";
|
|
99
|
-
readonly $fault: "client";
|
|
100
|
-
Message?: string | undefined;
|
|
101
|
-
constructor(
|
|
102
|
-
opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
36
|
export interface DeleteCorsPolicyInput {
|
|
106
37
|
ContainerName: string | undefined;
|
|
107
38
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediastore",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediastore 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",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@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";
|