@aws-sdk/client-mediastore 3.427.0 → 3.429.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.
@@ -66,7 +66,7 @@ export interface Container {
66
66
  * is creating the container, the status is <code>CREATING</code>. When the endpoint is
67
67
  * available, the status changes to <code>ACTIVE</code>.</p>
68
68
  */
69
- Status?: ContainerStatus | string;
69
+ Status?: ContainerStatus;
70
70
  /**
71
71
  * @public
72
72
  * <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>
@@ -135,7 +135,7 @@ export interface CorsRule {
135
135
  * <p>Each CORS rule must contain at least one <code>AllowedMethods</code> and one
136
136
  * <code>AllowedOrigins</code> element.</p>
137
137
  */
138
- AllowedMethods?: (MethodName | string)[];
138
+ AllowedMethods?: MethodName[];
139
139
  /**
140
140
  * @public
141
141
  * <p>Specifies which headers are allowed in a preflight <code>OPTIONS</code> request
@@ -466,7 +466,7 @@ export interface MetricPolicy {
466
466
  * @public
467
467
  * <p>A setting to enable or disable metrics at the container level.</p>
468
468
  */
469
- ContainerLevelMetrics: ContainerLevelMetrics | string | undefined;
469
+ ContainerLevelMetrics: ContainerLevelMetrics | undefined;
470
470
  /**
471
471
  * @public
472
472
  * <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>
@@ -19,7 +19,7 @@ export interface Container {
19
19
  CreationTime?: Date;
20
20
  ARN?: string;
21
21
  Name?: string;
22
- Status?: ContainerStatus | string;
22
+ Status?: ContainerStatus;
23
23
  AccessLoggingEnabled?: boolean;
24
24
  }
25
25
  export declare class ContainerInUseException extends __BaseException {
@@ -46,7 +46,7 @@ export declare class ContainerNotFoundException extends __BaseException {
46
46
  }
47
47
  export interface CorsRule {
48
48
  AllowedOrigins: string[] | undefined;
49
- AllowedMethods?: (MethodName | string)[];
49
+ AllowedMethods?: MethodName[];
50
50
  AllowedHeaders: string[] | undefined;
51
51
  MaxAgeSeconds?: number;
52
52
  ExposeHeaders?: string[];
@@ -146,7 +146,7 @@ export interface MetricPolicyRule {
146
146
  ObjectGroupName: string | undefined;
147
147
  }
148
148
  export interface MetricPolicy {
149
- ContainerLevelMetrics: ContainerLevelMetrics | string | undefined;
149
+ ContainerLevelMetrics: ContainerLevelMetrics | undefined;
150
150
  MetricPolicyRules?: MetricPolicyRule[];
151
151
  }
152
152
  export interface GetMetricPolicyOutput {
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.427.0",
4
+ "version": "3.429.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,39 +21,39 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },