@aws-sdk/client-mediastore 3.301.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.
@@ -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
- var MethodName;
6
- (function (MethodName) {
7
- MethodName["DELETE"] = "DELETE";
8
- MethodName["GET"] = "GET";
9
- MethodName["HEAD"] = "HEAD";
10
- MethodName["PUT"] = "PUT";
11
- })(MethodName = exports.MethodName || (exports.MethodName = {}));
12
- var ContainerStatus;
13
- (function (ContainerStatus) {
14
- ContainerStatus["ACTIVE"] = "ACTIVE";
15
- ContainerStatus["CREATING"] = "CREATING";
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
- var ContainerLevelMetrics;
33
- (function (ContainerLevelMetrics) {
34
- ContainerLevelMetrics["DISABLED"] = "DISABLED";
35
- ContainerLevelMetrics["ENABLED"] = "ENABLED";
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 var MethodName;
3
- (function (MethodName) {
4
- MethodName["DELETE"] = "DELETE";
5
- MethodName["GET"] = "GET";
6
- MethodName["HEAD"] = "HEAD";
7
- MethodName["PUT"] = "PUT";
8
- })(MethodName || (MethodName = {}));
9
- export var ContainerStatus;
10
- (function (ContainerStatus) {
11
- ContainerStatus["ACTIVE"] = "ACTIVE";
12
- ContainerStatus["CREATING"] = "CREATING";
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 var ContainerLevelMetrics;
29
- (function (ContainerLevelMetrics) {
30
- ContainerLevelMetrics["DISABLED"] = "DISABLED";
31
- ContainerLevelMetrics["ENABLED"] = "ENABLED";
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({
@@ -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 enum MethodName {
7
- DELETE = "DELETE",
8
- GET = "GET",
9
- HEAD = "HEAD",
10
- PUT = "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 declare enum ContainerStatus {
16
- ACTIVE = "ACTIVE",
17
- CREATING = "CREATING",
18
- DELETING = "DELETING"
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 enum ContainerLevelMetrics {
78
- DISABLED = "DISABLED",
79
- ENABLED = "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 enum MethodName {
4
- DELETE = "DELETE",
5
- GET = "GET",
6
- HEAD = "HEAD",
7
- PUT = "PUT",
8
- }
9
- export declare enum ContainerStatus {
10
- ACTIVE = "ACTIVE",
11
- CREATING = "CREATING",
12
- DELETING = "DELETING",
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 enum ContainerLevelMetrics {
31
- DISABLED = "DISABLED",
32
- ENABLED = "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.301.0",
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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
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.295.0",
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",