@aws-sdk/client-mediastore 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.
|
@@ -39,12 +39,12 @@ export interface Container {
|
|
|
39
39
|
* container is created. Once the value has been assigned, it does not change.</p>
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
|
-
Endpoint?: string;
|
|
42
|
+
Endpoint?: string | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* <p>Unix timestamp.</p>
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
|
-
CreationTime?: Date;
|
|
47
|
+
CreationTime?: Date | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* <p>The Amazon Resource Name (ARN) of the container. The ARN has the following
|
|
50
50
|
* format:</p>
|
|
@@ -53,12 +53,12 @@ export interface Container {
|
|
|
53
53
|
* <p>For example: arn:aws:mediastore:us-west-2:111122223333:container/movies </p>
|
|
54
54
|
* @public
|
|
55
55
|
*/
|
|
56
|
-
ARN?: string;
|
|
56
|
+
ARN?: string | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* <p>The name of the container.</p>
|
|
59
59
|
* @public
|
|
60
60
|
*/
|
|
61
|
-
Name?: string;
|
|
61
|
+
Name?: string | undefined;
|
|
62
62
|
/**
|
|
63
63
|
* <p>The status of container creation or deletion. The status is one of the following:
|
|
64
64
|
* <code>CREATING</code>, <code>ACTIVE</code>, or <code>DELETING</code>. While the service
|
|
@@ -66,12 +66,12 @@ export interface Container {
|
|
|
66
66
|
* available, the status changes to <code>ACTIVE</code>.</p>
|
|
67
67
|
* @public
|
|
68
68
|
*/
|
|
69
|
-
Status?: ContainerStatus;
|
|
69
|
+
Status?: ContainerStatus | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* <p>The state of access logging on the container. This value is <code>false</code> by default, indicating that AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the container, MediaStore changes this value to <code>true</code>, indicating that the service delivers access logs for objects stored in that container to CloudWatch Logs.</p>
|
|
72
72
|
* @public
|
|
73
73
|
*/
|
|
74
|
-
AccessLoggingEnabled?: boolean;
|
|
74
|
+
AccessLoggingEnabled?: boolean | undefined;
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
77
|
* <p>The container that you specified in the request already exists or is being
|
|
@@ -81,7 +81,7 @@ export interface Container {
|
|
|
81
81
|
export declare class ContainerInUseException extends __BaseException {
|
|
82
82
|
readonly name: "ContainerInUseException";
|
|
83
83
|
readonly $fault: "client";
|
|
84
|
-
Message?: string;
|
|
84
|
+
Message?: string | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* @internal
|
|
87
87
|
*/
|
|
@@ -106,7 +106,7 @@ export type ContainerLevelMetrics = (typeof ContainerLevelMetrics)[keyof typeof
|
|
|
106
106
|
export declare class ContainerNotFoundException extends __BaseException {
|
|
107
107
|
readonly name: "ContainerNotFoundException";
|
|
108
108
|
readonly $fault: "client";
|
|
109
|
-
Message?: string;
|
|
109
|
+
Message?: string | undefined;
|
|
110
110
|
/**
|
|
111
111
|
* @internal
|
|
112
112
|
*/
|
|
@@ -135,7 +135,7 @@ export interface CorsRule {
|
|
|
135
135
|
* <code>AllowedOrigins</code> element.</p>
|
|
136
136
|
* @public
|
|
137
137
|
*/
|
|
138
|
-
AllowedMethods?: MethodName[];
|
|
138
|
+
AllowedMethods?: MethodName[] | undefined;
|
|
139
139
|
/**
|
|
140
140
|
* <p>Specifies which headers are allowed in a preflight <code>OPTIONS</code> request
|
|
141
141
|
* through the <code>Access-Control-Request-Headers</code> header. Each header name that is
|
|
@@ -151,7 +151,7 @@ export interface CorsRule {
|
|
|
151
151
|
* <p>A CORS rule can have only one <code>MaxAgeSeconds</code> element.</p>
|
|
152
152
|
* @public
|
|
153
153
|
*/
|
|
154
|
-
MaxAgeSeconds?: number;
|
|
154
|
+
MaxAgeSeconds?: number | undefined;
|
|
155
155
|
/**
|
|
156
156
|
* <p>One or more headers in the response that you want users to be able to access from
|
|
157
157
|
* their applications (for example, from a JavaScript <code>XMLHttpRequest</code>
|
|
@@ -159,7 +159,7 @@ export interface CorsRule {
|
|
|
159
159
|
* <p>This element is optional for each rule.</p>
|
|
160
160
|
* @public
|
|
161
161
|
*/
|
|
162
|
-
ExposeHeaders?: string[];
|
|
162
|
+
ExposeHeaders?: string[] | undefined;
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
165
|
* <p>The CORS policy that you specified in the request does not exist.</p>
|
|
@@ -168,7 +168,7 @@ export interface CorsRule {
|
|
|
168
168
|
export declare class CorsPolicyNotFoundException extends __BaseException {
|
|
169
169
|
readonly name: "CorsPolicyNotFoundException";
|
|
170
170
|
readonly $fault: "client";
|
|
171
|
-
Message?: string;
|
|
171
|
+
Message?: string | undefined;
|
|
172
172
|
/**
|
|
173
173
|
* @internal
|
|
174
174
|
*/
|
|
@@ -193,7 +193,7 @@ export interface Tag {
|
|
|
193
193
|
* "companyB." Tag values are case-sensitive.</p>
|
|
194
194
|
* @public
|
|
195
195
|
*/
|
|
196
|
-
Value?: string;
|
|
196
|
+
Value?: string | undefined;
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
199
|
* @public
|
|
@@ -213,7 +213,7 @@ export interface CreateContainerInput {
|
|
|
213
213
|
* tags to each container. For more information about tagging, including naming and usage conventions, see <a href="https://docs.aws.amazon.com/mediastore/latest/ug/tagging.html">Tagging Resources in MediaStore</a>.</p>
|
|
214
214
|
* @public
|
|
215
215
|
*/
|
|
216
|
-
Tags?: Tag[];
|
|
216
|
+
Tags?: Tag[] | undefined;
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
219
|
* @public
|
|
@@ -243,7 +243,7 @@ export interface CreateContainerOutput {
|
|
|
243
243
|
export declare class InternalServerError extends __BaseException {
|
|
244
244
|
readonly name: "InternalServerError";
|
|
245
245
|
readonly $fault: "server";
|
|
246
|
-
Message?: string;
|
|
246
|
+
Message?: string | undefined;
|
|
247
247
|
/**
|
|
248
248
|
* @internal
|
|
249
249
|
*/
|
|
@@ -256,7 +256,7 @@ export declare class InternalServerError extends __BaseException {
|
|
|
256
256
|
export declare class LimitExceededException extends __BaseException {
|
|
257
257
|
readonly name: "LimitExceededException";
|
|
258
258
|
readonly $fault: "client";
|
|
259
|
-
Message?: string;
|
|
259
|
+
Message?: string | undefined;
|
|
260
260
|
/**
|
|
261
261
|
* @internal
|
|
262
262
|
*/
|
|
@@ -299,7 +299,7 @@ export interface DeleteContainerPolicyOutput {
|
|
|
299
299
|
export declare class PolicyNotFoundException extends __BaseException {
|
|
300
300
|
readonly name: "PolicyNotFoundException";
|
|
301
301
|
readonly $fault: "client";
|
|
302
|
-
Message?: string;
|
|
302
|
+
Message?: string | undefined;
|
|
303
303
|
/**
|
|
304
304
|
* @internal
|
|
305
305
|
*/
|
|
@@ -358,7 +358,7 @@ export interface DescribeContainerInput {
|
|
|
358
358
|
* <p>The name of the container to query.</p>
|
|
359
359
|
* @public
|
|
360
360
|
*/
|
|
361
|
-
ContainerName?: string;
|
|
361
|
+
ContainerName?: string | undefined;
|
|
362
362
|
}
|
|
363
363
|
/**
|
|
364
364
|
* @public
|
|
@@ -368,7 +368,7 @@ export interface DescribeContainerOutput {
|
|
|
368
368
|
* <p>The name of the queried container.</p>
|
|
369
369
|
* @public
|
|
370
370
|
*/
|
|
371
|
-
Container?: Container;
|
|
371
|
+
Container?: Container | undefined;
|
|
372
372
|
}
|
|
373
373
|
/**
|
|
374
374
|
* @public
|
|
@@ -471,7 +471,7 @@ export interface MetricPolicy {
|
|
|
471
471
|
* <p>A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also <a href="https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas">request a quota increase</a> to allow up to 300 rules per policy.</p>
|
|
472
472
|
* @public
|
|
473
473
|
*/
|
|
474
|
-
MetricPolicyRules?: MetricPolicyRule[];
|
|
474
|
+
MetricPolicyRules?: MetricPolicyRule[] | undefined;
|
|
475
475
|
}
|
|
476
476
|
/**
|
|
477
477
|
* @public
|
|
@@ -493,13 +493,13 @@ export interface ListContainersInput {
|
|
|
493
493
|
* included in a response only if there actually are more containers to list.</p>
|
|
494
494
|
* @public
|
|
495
495
|
*/
|
|
496
|
-
NextToken?: string;
|
|
496
|
+
NextToken?: string | undefined;
|
|
497
497
|
/**
|
|
498
498
|
* <p>Enter the maximum number of containers in the response. Use from 1 to 255 characters.
|
|
499
499
|
* </p>
|
|
500
500
|
* @public
|
|
501
501
|
*/
|
|
502
|
-
MaxResults?: number;
|
|
502
|
+
MaxResults?: number | undefined;
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
505
|
* @public
|
|
@@ -517,7 +517,7 @@ export interface ListContainersOutput {
|
|
|
517
517
|
* command, and only if there are still containers to return. </p>
|
|
518
518
|
* @public
|
|
519
519
|
*/
|
|
520
|
-
NextToken?: string;
|
|
520
|
+
NextToken?: string | undefined;
|
|
521
521
|
}
|
|
522
522
|
/**
|
|
523
523
|
* @public
|
|
@@ -537,7 +537,7 @@ export interface ListTagsForResourceOutput {
|
|
|
537
537
|
* <p>An array of key:value pairs that are assigned to the container.</p>
|
|
538
538
|
* @public
|
|
539
539
|
*/
|
|
540
|
-
Tags?: Tag[];
|
|
540
|
+
Tags?: Tag[] | undefined;
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
543
|
* @public
|
|
@@ -15,17 +15,17 @@ export declare const ContainerStatus: {
|
|
|
15
15
|
export type ContainerStatus =
|
|
16
16
|
(typeof ContainerStatus)[keyof typeof ContainerStatus];
|
|
17
17
|
export interface Container {
|
|
18
|
-
Endpoint?: string;
|
|
19
|
-
CreationTime?: Date;
|
|
20
|
-
ARN?: string;
|
|
21
|
-
Name?: string;
|
|
22
|
-
Status?: ContainerStatus;
|
|
23
|
-
AccessLoggingEnabled?: boolean;
|
|
18
|
+
Endpoint?: string | undefined;
|
|
19
|
+
CreationTime?: Date | undefined;
|
|
20
|
+
ARN?: string | undefined;
|
|
21
|
+
Name?: string | undefined;
|
|
22
|
+
Status?: ContainerStatus | undefined;
|
|
23
|
+
AccessLoggingEnabled?: boolean | undefined;
|
|
24
24
|
}
|
|
25
25
|
export declare class ContainerInUseException extends __BaseException {
|
|
26
26
|
readonly name: "ContainerInUseException";
|
|
27
27
|
readonly $fault: "client";
|
|
28
|
-
Message?: string;
|
|
28
|
+
Message?: string | undefined;
|
|
29
29
|
constructor(
|
|
30
30
|
opts: __ExceptionOptionType<ContainerInUseException, __BaseException>
|
|
31
31
|
);
|
|
@@ -39,33 +39,33 @@ export type ContainerLevelMetrics =
|
|
|
39
39
|
export declare class ContainerNotFoundException extends __BaseException {
|
|
40
40
|
readonly name: "ContainerNotFoundException";
|
|
41
41
|
readonly $fault: "client";
|
|
42
|
-
Message?: string;
|
|
42
|
+
Message?: string | undefined;
|
|
43
43
|
constructor(
|
|
44
44
|
opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
47
|
export interface CorsRule {
|
|
48
48
|
AllowedOrigins: string[] | undefined;
|
|
49
|
-
AllowedMethods?: MethodName[];
|
|
49
|
+
AllowedMethods?: MethodName[] | undefined;
|
|
50
50
|
AllowedHeaders: string[] | undefined;
|
|
51
|
-
MaxAgeSeconds?: number;
|
|
52
|
-
ExposeHeaders?: string[];
|
|
51
|
+
MaxAgeSeconds?: number | undefined;
|
|
52
|
+
ExposeHeaders?: string[] | undefined;
|
|
53
53
|
}
|
|
54
54
|
export declare class CorsPolicyNotFoundException extends __BaseException {
|
|
55
55
|
readonly name: "CorsPolicyNotFoundException";
|
|
56
56
|
readonly $fault: "client";
|
|
57
|
-
Message?: string;
|
|
57
|
+
Message?: string | undefined;
|
|
58
58
|
constructor(
|
|
59
59
|
opts: __ExceptionOptionType<CorsPolicyNotFoundException, __BaseException>
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
export interface Tag {
|
|
63
63
|
Key: string | undefined;
|
|
64
|
-
Value?: string;
|
|
64
|
+
Value?: string | undefined;
|
|
65
65
|
}
|
|
66
66
|
export interface CreateContainerInput {
|
|
67
67
|
ContainerName: string | undefined;
|
|
68
|
-
Tags?: Tag[];
|
|
68
|
+
Tags?: Tag[] | undefined;
|
|
69
69
|
}
|
|
70
70
|
export interface CreateContainerOutput {
|
|
71
71
|
Container: Container | undefined;
|
|
@@ -73,7 +73,7 @@ export interface CreateContainerOutput {
|
|
|
73
73
|
export declare class InternalServerError extends __BaseException {
|
|
74
74
|
readonly name: "InternalServerError";
|
|
75
75
|
readonly $fault: "server";
|
|
76
|
-
Message?: string;
|
|
76
|
+
Message?: string | undefined;
|
|
77
77
|
constructor(
|
|
78
78
|
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
79
79
|
);
|
|
@@ -81,7 +81,7 @@ export declare class InternalServerError extends __BaseException {
|
|
|
81
81
|
export declare class LimitExceededException extends __BaseException {
|
|
82
82
|
readonly name: "LimitExceededException";
|
|
83
83
|
readonly $fault: "client";
|
|
84
|
-
Message?: string;
|
|
84
|
+
Message?: string | undefined;
|
|
85
85
|
constructor(
|
|
86
86
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
87
87
|
);
|
|
@@ -97,7 +97,7 @@ export interface DeleteContainerPolicyOutput {}
|
|
|
97
97
|
export declare class PolicyNotFoundException extends __BaseException {
|
|
98
98
|
readonly name: "PolicyNotFoundException";
|
|
99
99
|
readonly $fault: "client";
|
|
100
|
-
Message?: string;
|
|
100
|
+
Message?: string | undefined;
|
|
101
101
|
constructor(
|
|
102
102
|
opts: __ExceptionOptionType<PolicyNotFoundException, __BaseException>
|
|
103
103
|
);
|
|
@@ -115,10 +115,10 @@ export interface DeleteMetricPolicyInput {
|
|
|
115
115
|
}
|
|
116
116
|
export interface DeleteMetricPolicyOutput {}
|
|
117
117
|
export interface DescribeContainerInput {
|
|
118
|
-
ContainerName?: string;
|
|
118
|
+
ContainerName?: string | undefined;
|
|
119
119
|
}
|
|
120
120
|
export interface DescribeContainerOutput {
|
|
121
|
-
Container?: Container;
|
|
121
|
+
Container?: Container | undefined;
|
|
122
122
|
}
|
|
123
123
|
export interface GetContainerPolicyInput {
|
|
124
124
|
ContainerName: string | undefined;
|
|
@@ -147,24 +147,24 @@ export interface MetricPolicyRule {
|
|
|
147
147
|
}
|
|
148
148
|
export interface MetricPolicy {
|
|
149
149
|
ContainerLevelMetrics: ContainerLevelMetrics | undefined;
|
|
150
|
-
MetricPolicyRules?: MetricPolicyRule[];
|
|
150
|
+
MetricPolicyRules?: MetricPolicyRule[] | undefined;
|
|
151
151
|
}
|
|
152
152
|
export interface GetMetricPolicyOutput {
|
|
153
153
|
MetricPolicy: MetricPolicy | undefined;
|
|
154
154
|
}
|
|
155
155
|
export interface ListContainersInput {
|
|
156
|
-
NextToken?: string;
|
|
157
|
-
MaxResults?: number;
|
|
156
|
+
NextToken?: string | undefined;
|
|
157
|
+
MaxResults?: number | undefined;
|
|
158
158
|
}
|
|
159
159
|
export interface ListContainersOutput {
|
|
160
160
|
Containers: Container[] | undefined;
|
|
161
|
-
NextToken?: string;
|
|
161
|
+
NextToken?: string | undefined;
|
|
162
162
|
}
|
|
163
163
|
export interface ListTagsForResourceInput {
|
|
164
164
|
Resource: string | undefined;
|
|
165
165
|
}
|
|
166
166
|
export interface ListTagsForResourceOutput {
|
|
167
|
-
Tags?: Tag[];
|
|
167
|
+
Tags?: Tag[] | undefined;
|
|
168
168
|
}
|
|
169
169
|
export interface PutContainerPolicyInput {
|
|
170
170
|
ContainerName: string | undefined;
|
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.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",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|