@aws-sdk/client-mediastore 3.300.0 → 3.303.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/models/models_0.js +15 -18
- package/dist-es/models/models_0.js +15 -18
- package/dist-types/commands/CreateContainerCommand.d.ts +3 -3
- package/dist-types/commands/DeleteContainerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContainerPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCorsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMetricPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContainerCommand.d.ts +1 -1
- package/dist-types/commands/GetContainerPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetCorsPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetMetricPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListContainersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutContainerPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutCorsPolicyCommand.d.ts +7 -7
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutMetricPolicyCommand.d.ts +4 -4
- package/dist-types/commands/StartAccessLoggingCommand.d.ts +1 -1
- package/dist-types/commands/StopAccessLoggingCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +30 -15
- package/dist-types/ts3.4/models/models_0.d.ts +20 -15
- package/package.json +34 -34
|
@@ -2,19 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PolicyNotFoundException = exports.LimitExceededException = exports.InternalServerError = exports.CorsPolicyNotFoundException = exports.ContainerNotFoundException = exports.ContainerLevelMetrics = exports.ContainerInUseException = exports.ContainerStatus = exports.MethodName = void 0;
|
|
4
4
|
const MediaStoreServiceException_1 = require("./MediaStoreServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
ContainerStatus["DELETING"] = "DELETING";
|
|
17
|
-
})(ContainerStatus = exports.ContainerStatus || (exports.ContainerStatus = {}));
|
|
5
|
+
exports.MethodName = {
|
|
6
|
+
DELETE: "DELETE",
|
|
7
|
+
GET: "GET",
|
|
8
|
+
HEAD: "HEAD",
|
|
9
|
+
PUT: "PUT",
|
|
10
|
+
};
|
|
11
|
+
exports.ContainerStatus = {
|
|
12
|
+
ACTIVE: "ACTIVE",
|
|
13
|
+
CREATING: "CREATING",
|
|
14
|
+
DELETING: "DELETING",
|
|
15
|
+
};
|
|
18
16
|
class ContainerInUseException extends MediaStoreServiceException_1.MediaStoreServiceException {
|
|
19
17
|
constructor(opts) {
|
|
20
18
|
super({
|
|
@@ -29,11 +27,10 @@ class ContainerInUseException extends MediaStoreServiceException_1.MediaStoreSer
|
|
|
29
27
|
}
|
|
30
28
|
}
|
|
31
29
|
exports.ContainerInUseException = ContainerInUseException;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
})(ContainerLevelMetrics = exports.ContainerLevelMetrics || (exports.ContainerLevelMetrics = {}));
|
|
30
|
+
exports.ContainerLevelMetrics = {
|
|
31
|
+
DISABLED: "DISABLED",
|
|
32
|
+
ENABLED: "ENABLED",
|
|
33
|
+
};
|
|
37
34
|
class ContainerNotFoundException extends MediaStoreServiceException_1.MediaStoreServiceException {
|
|
38
35
|
constructor(opts) {
|
|
39
36
|
super({
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { MediaStoreServiceException as __BaseException } from "./MediaStoreServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
ContainerStatus["DELETING"] = "DELETING";
|
|
14
|
-
})(ContainerStatus || (ContainerStatus = {}));
|
|
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
|
+
};
|
|
15
13
|
export class ContainerInUseException extends __BaseException {
|
|
16
14
|
constructor(opts) {
|
|
17
15
|
super({
|
|
@@ -25,11 +23,10 @@ export class ContainerInUseException extends __BaseException {
|
|
|
25
23
|
this.Message = opts.Message;
|
|
26
24
|
}
|
|
27
25
|
}
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
})(ContainerLevelMetrics || (ContainerLevelMetrics = {}));
|
|
26
|
+
export const ContainerLevelMetrics = {
|
|
27
|
+
DISABLED: "DISABLED",
|
|
28
|
+
ENABLED: "ENABLED",
|
|
29
|
+
};
|
|
33
30
|
export class ContainerNotFoundException extends __BaseException {
|
|
34
31
|
constructor(opts) {
|
|
35
32
|
super({
|
|
@@ -27,10 +27,10 @@ export interface CreateContainerCommandOutput extends CreateContainerOutput, __M
|
|
|
27
27
|
* import { MediaStoreClient, CreateContainerCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
28
28
|
* // const { MediaStoreClient, CreateContainerCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
29
29
|
* const client = new MediaStoreClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateContainerInput
|
|
31
31
|
* ContainerName: "STRING_VALUE", // required
|
|
32
|
-
* Tags: [
|
|
33
|
-
* {
|
|
32
|
+
* Tags: [ // TagList
|
|
33
|
+
* { // Tag
|
|
34
34
|
* Key: "STRING_VALUE", // required
|
|
35
35
|
* Value: "STRING_VALUE",
|
|
36
36
|
* },
|
|
@@ -28,7 +28,7 @@ export interface DeleteContainerCommandOutput extends DeleteContainerOutput, __M
|
|
|
28
28
|
* import { MediaStoreClient, DeleteContainerCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
29
29
|
* // const { MediaStoreClient, DeleteContainerCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
30
30
|
* const client = new MediaStoreClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteContainerInput
|
|
32
32
|
* ContainerName: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteContainerCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteContainerPolicyCommandOutput extends DeleteContainerPolic
|
|
|
26
26
|
* import { MediaStoreClient, DeleteContainerPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, DeleteContainerPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteContainerPolicyInput
|
|
30
30
|
* ContainerName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteContainerPolicyCommand(input);
|
|
@@ -30,7 +30,7 @@ export interface DeleteCorsPolicyCommandOutput extends DeleteCorsPolicyOutput, _
|
|
|
30
30
|
* import { MediaStoreClient, DeleteCorsPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
31
31
|
* // const { MediaStoreClient, DeleteCorsPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
32
32
|
* const client = new MediaStoreClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // DeleteCorsPolicyInput
|
|
34
34
|
* ContainerName: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DeleteCorsPolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
|
|
|
26
26
|
* import { MediaStoreClient, DeleteLifecyclePolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, DeleteLifecyclePolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteLifecyclePolicyInput
|
|
30
30
|
* ContainerName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteLifecyclePolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteMetricPolicyCommandOutput extends DeleteMetricPolicyOutpu
|
|
|
26
26
|
* import { MediaStoreClient, DeleteMetricPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, DeleteMetricPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteMetricPolicyInput
|
|
30
30
|
* ContainerName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteMetricPolicyCommand(input);
|
|
@@ -32,7 +32,7 @@ export interface DescribeContainerCommandOutput extends DescribeContainerOutput,
|
|
|
32
32
|
* import { MediaStoreClient, DescribeContainerCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
33
33
|
* // const { MediaStoreClient, DescribeContainerCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
34
34
|
* const client = new MediaStoreClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // DescribeContainerInput
|
|
36
36
|
* ContainerName: "STRING_VALUE",
|
|
37
37
|
* };
|
|
38
38
|
* const command = new DescribeContainerCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface GetContainerPolicyCommandOutput extends GetContainerPolicyOutpu
|
|
|
28
28
|
* import { MediaStoreClient, GetContainerPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
29
29
|
* // const { MediaStoreClient, GetContainerPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
30
30
|
* const client = new MediaStoreClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetContainerPolicyInput
|
|
32
32
|
* ContainerName: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetContainerPolicyCommand(input);
|
|
@@ -30,7 +30,7 @@ export interface GetCorsPolicyCommandOutput extends GetCorsPolicyOutput, __Metad
|
|
|
30
30
|
* import { MediaStoreClient, GetCorsPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
31
31
|
* // const { MediaStoreClient, GetCorsPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
32
32
|
* const client = new MediaStoreClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // GetCorsPolicyInput
|
|
34
34
|
* ContainerName: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
36
36
|
* const command = new GetCorsPolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyOutpu
|
|
|
26
26
|
* import { MediaStoreClient, GetLifecyclePolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, GetLifecyclePolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetLifecyclePolicyInput
|
|
30
30
|
* ContainerName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetLifecyclePolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetMetricPolicyCommandOutput extends GetMetricPolicyOutput, __M
|
|
|
26
26
|
* import { MediaStoreClient, GetMetricPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, GetMetricPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetMetricPolicyInput
|
|
30
30
|
* ContainerName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetMetricPolicyCommand(input);
|
|
@@ -34,7 +34,7 @@ export interface ListContainersCommandOutput extends ListContainersOutput, __Met
|
|
|
34
34
|
* import { MediaStoreClient, ListContainersCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
35
35
|
* // const { MediaStoreClient, ListContainersCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
36
36
|
* const client = new MediaStoreClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // ListContainersInput
|
|
38
38
|
* NextToken: "STRING_VALUE",
|
|
39
39
|
* MaxResults: Number("int"),
|
|
40
40
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
26
26
|
* import { MediaStoreClient, ListTagsForResourceCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, ListTagsForResourceCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceInput
|
|
30
30
|
* Resource: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -32,7 +32,7 @@ export interface PutContainerPolicyCommandOutput extends PutContainerPolicyOutpu
|
|
|
32
32
|
* import { MediaStoreClient, PutContainerPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
33
33
|
* // const { MediaStoreClient, PutContainerPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
34
34
|
* const client = new MediaStoreClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // PutContainerPolicyInput
|
|
36
36
|
* ContainerName: "STRING_VALUE", // required
|
|
37
37
|
* Policy: "STRING_VALUE", // required
|
|
38
38
|
* };
|
|
@@ -36,21 +36,21 @@ export interface PutCorsPolicyCommandOutput extends PutCorsPolicyOutput, __Metad
|
|
|
36
36
|
* import { MediaStoreClient, PutCorsPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
37
37
|
* // const { MediaStoreClient, PutCorsPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
38
38
|
* const client = new MediaStoreClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // PutCorsPolicyInput
|
|
40
40
|
* ContainerName: "STRING_VALUE", // required
|
|
41
|
-
* CorsPolicy: [ // required
|
|
42
|
-
* {
|
|
43
|
-
* AllowedOrigins: [ // required
|
|
41
|
+
* CorsPolicy: [ // CorsPolicy // required
|
|
42
|
+
* { // CorsRule
|
|
43
|
+
* AllowedOrigins: [ // AllowedOrigins // required
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
-
* AllowedMethods: [
|
|
46
|
+
* AllowedMethods: [ // AllowedMethods
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
|
-
* AllowedHeaders: [ // required
|
|
49
|
+
* AllowedHeaders: [ // AllowedHeaders // required
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
52
|
* MaxAgeSeconds: Number("int"),
|
|
53
|
-
* ExposeHeaders: [
|
|
53
|
+
* ExposeHeaders: [ // ExposeHeaders
|
|
54
54
|
* "STRING_VALUE",
|
|
55
55
|
* ],
|
|
56
56
|
* },
|
|
@@ -27,7 +27,7 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyOutpu
|
|
|
27
27
|
* import { MediaStoreClient, PutLifecyclePolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
28
28
|
* // const { MediaStoreClient, PutLifecyclePolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
29
29
|
* const client = new MediaStoreClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // PutLifecyclePolicyInput
|
|
31
31
|
* ContainerName: "STRING_VALUE", // required
|
|
32
32
|
* LifecyclePolicy: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -26,12 +26,12 @@ export interface PutMetricPolicyCommandOutput extends PutMetricPolicyOutput, __M
|
|
|
26
26
|
* import { MediaStoreClient, PutMetricPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, PutMetricPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // PutMetricPolicyInput
|
|
30
30
|
* ContainerName: "STRING_VALUE", // required
|
|
31
|
-
* MetricPolicy: {
|
|
31
|
+
* MetricPolicy: { // MetricPolicy
|
|
32
32
|
* ContainerLevelMetrics: "STRING_VALUE", // required
|
|
33
|
-
* MetricPolicyRules: [
|
|
34
|
-
* {
|
|
33
|
+
* MetricPolicyRules: [ // MetricPolicyRules
|
|
34
|
+
* { // MetricPolicyRule
|
|
35
35
|
* ObjectGroup: "STRING_VALUE", // required
|
|
36
36
|
* ObjectGroupName: "STRING_VALUE", // required
|
|
37
37
|
* },
|
|
@@ -26,7 +26,7 @@ export interface StartAccessLoggingCommandOutput extends StartAccessLoggingOutpu
|
|
|
26
26
|
* import { MediaStoreClient, StartAccessLoggingCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, StartAccessLoggingCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StartAccessLoggingInput
|
|
30
30
|
* ContainerName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StartAccessLoggingCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface StopAccessLoggingCommandOutput extends StopAccessLoggingOutput,
|
|
|
26
26
|
* import { MediaStoreClient, StopAccessLoggingCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, StopAccessLoggingCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StopAccessLoggingInput
|
|
30
30
|
* ContainerName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StopAccessLoggingCommand(input);
|
|
@@ -28,10 +28,10 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
28
28
|
* import { MediaStoreClient, TagResourceCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
29
29
|
* // const { MediaStoreClient, TagResourceCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
30
30
|
* const client = new MediaStoreClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // TagResourceInput
|
|
32
32
|
* Resource: "STRING_VALUE", // required
|
|
33
|
-
* Tags: [ // required
|
|
34
|
-
* {
|
|
33
|
+
* Tags: [ // TagList // required
|
|
34
|
+
* { // Tag
|
|
35
35
|
* Key: "STRING_VALUE", // required
|
|
36
36
|
* Value: "STRING_VALUE",
|
|
37
37
|
* },
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
26
26
|
* import { MediaStoreClient, UntagResourceCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
27
27
|
* // const { MediaStoreClient, UntagResourceCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
28
28
|
* const client = new MediaStoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceInput
|
|
30
30
|
* Resource: "STRING_VALUE", // required
|
|
31
|
-
* TagKeys: [ // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -2,21 +2,31 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { MediaStoreServiceException as __BaseException } from "./MediaStoreServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
+
* @enum
|
|
5
6
|
*/
|
|
6
|
-
export declare
|
|
7
|
-
DELETE
|
|
8
|
-
GET
|
|
9
|
-
HEAD
|
|
10
|
-
PUT
|
|
11
|
-
}
|
|
7
|
+
export declare const MethodName: {
|
|
8
|
+
readonly DELETE: "DELETE";
|
|
9
|
+
readonly GET: "GET";
|
|
10
|
+
readonly HEAD: "HEAD";
|
|
11
|
+
readonly PUT: "PUT";
|
|
12
|
+
};
|
|
12
13
|
/**
|
|
13
14
|
* @public
|
|
14
15
|
*/
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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];
|
|
20
30
|
/**
|
|
21
31
|
* @public
|
|
22
32
|
* <p>This section describes operations that you can perform on an AWS Elemental MediaStore
|
|
@@ -73,11 +83,16 @@ export declare class ContainerInUseException extends __BaseException {
|
|
|
73
83
|
}
|
|
74
84
|
/**
|
|
75
85
|
* @public
|
|
86
|
+
* @enum
|
|
76
87
|
*/
|
|
77
|
-
export declare
|
|
78
|
-
DISABLED
|
|
79
|
-
ENABLED
|
|
80
|
-
}
|
|
88
|
+
export declare const ContainerLevelMetrics: {
|
|
89
|
+
readonly DISABLED: "DISABLED";
|
|
90
|
+
readonly ENABLED: "ENABLED";
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export type ContainerLevelMetrics = (typeof ContainerLevelMetrics)[keyof typeof ContainerLevelMetrics];
|
|
81
96
|
/**
|
|
82
97
|
* @public
|
|
83
98
|
* <p>The container that you specified in the request does not exist.</p>
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { MediaStoreServiceException as __BaseException } from "./MediaStoreServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
DELETE
|
|
5
|
-
GET
|
|
6
|
-
HEAD
|
|
7
|
-
PUT
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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];
|
|
14
17
|
export interface Container {
|
|
15
18
|
Endpoint?: string;
|
|
16
19
|
CreationTime?: Date;
|
|
@@ -27,10 +30,12 @@ export declare class ContainerInUseException extends __BaseException {
|
|
|
27
30
|
opts: __ExceptionOptionType<ContainerInUseException, __BaseException>
|
|
28
31
|
);
|
|
29
32
|
}
|
|
30
|
-
export declare
|
|
31
|
-
DISABLED
|
|
32
|
-
ENABLED
|
|
33
|
-
}
|
|
33
|
+
export declare const ContainerLevelMetrics: {
|
|
34
|
+
readonly DISABLED: "DISABLED";
|
|
35
|
+
readonly ENABLED: "ENABLED";
|
|
36
|
+
};
|
|
37
|
+
export type ContainerLevelMetrics =
|
|
38
|
+
(typeof ContainerLevelMetrics)[keyof typeof ContainerLevelMetrics];
|
|
34
39
|
export declare class ContainerNotFoundException extends __BaseException {
|
|
35
40
|
readonly name: "ContainerNotFoundException";
|
|
36
41
|
readonly $fault: "client";
|
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.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|