@aws-sdk/client-polly 3.266.1 → 3.269.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "fn", r = "argv", s = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://polly.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://polly.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -124,6 +124,7 @@ var VoiceId;
124
124
  VoiceId["Justin"] = "Justin";
125
125
  VoiceId["Kajal"] = "Kajal";
126
126
  VoiceId["Karl"] = "Karl";
127
+ VoiceId["Kazuha"] = "Kazuha";
127
128
  VoiceId["Kendra"] = "Kendra";
128
129
  VoiceId["Kevin"] = "Kevin";
129
130
  VoiceId["Kimberly"] = "Kimberly";
@@ -163,6 +164,7 @@ var VoiceId;
163
164
  VoiceId["Takumi"] = "Takumi";
164
165
  VoiceId["Tatyana"] = "Tatyana";
165
166
  VoiceId["Thiago"] = "Thiago";
167
+ VoiceId["Tomoko"] = "Tomoko";
166
168
  VoiceId["Vicki"] = "Vicki";
167
169
  VoiceId["Vitoria"] = "Vitoria";
168
170
  VoiceId["Zeina"] = "Zeina";
@@ -1,4 +1,4 @@
1
- const q = "fn", r = "argv", s = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://polly.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://polly-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://polly.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -118,6 +118,7 @@ export var VoiceId;
118
118
  VoiceId["Justin"] = "Justin";
119
119
  VoiceId["Kajal"] = "Kajal";
120
120
  VoiceId["Karl"] = "Karl";
121
+ VoiceId["Kazuha"] = "Kazuha";
121
122
  VoiceId["Kendra"] = "Kendra";
122
123
  VoiceId["Kevin"] = "Kevin";
123
124
  VoiceId["Kimberly"] = "Kimberly";
@@ -157,6 +158,7 @@ export var VoiceId;
157
158
  VoiceId["Takumi"] = "Takumi";
158
159
  VoiceId["Tatyana"] = "Tatyana";
159
160
  VoiceId["Thiago"] = "Thiago";
161
+ VoiceId["Tomoko"] = "Tomoko";
160
162
  VoiceId["Vicki"] = "Vicki";
161
163
  VoiceId["Vitoria"] = "Vitoria";
162
164
  VoiceId["Zeina"] = "Zeina";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -156,6 +156,7 @@ export declare enum VoiceId {
156
156
  Justin = "Justin",
157
157
  Kajal = "Kajal",
158
158
  Karl = "Karl",
159
+ Kazuha = "Kazuha",
159
160
  Kendra = "Kendra",
160
161
  Kevin = "Kevin",
161
162
  Kimberly = "Kimberly",
@@ -195,6 +196,7 @@ export declare enum VoiceId {
195
196
  Takumi = "Takumi",
196
197
  Tatyana = "Tatyana",
197
198
  Thiago = "Thiago",
199
+ Tomoko = "Tomoko",
198
200
  Vicki = "Vicki",
199
201
  Vitoria = "Vitoria",
200
202
  Zeina = "Zeina",
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -115,6 +115,7 @@ export declare enum VoiceId {
115
115
  Justin = "Justin",
116
116
  Kajal = "Kajal",
117
117
  Karl = "Karl",
118
+ Kazuha = "Kazuha",
118
119
  Kendra = "Kendra",
119
120
  Kevin = "Kevin",
120
121
  Kimberly = "Kimberly",
@@ -154,6 +155,7 @@ export declare enum VoiceId {
154
155
  Takumi = "Takumi",
155
156
  Tatyana = "Tatyana",
156
157
  Thiago = "Thiago",
158
+ Tomoko = "Tomoko",
157
159
  Vicki = "Vicki",
158
160
  Vitoria = "Vitoria",
159
161
  Zeina = "Zeina",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-polly",
3
3
  "description": "AWS SDK for JavaScript Polly Client for Node.js, Browser and React Native",
4
- "version": "3.266.1",
4
+ "version": "3.269.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",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.266.1",
24
- "@aws-sdk/config-resolver": "3.266.1",
25
- "@aws-sdk/credential-provider-node": "3.266.1",
26
- "@aws-sdk/fetch-http-handler": "3.266.1",
27
- "@aws-sdk/hash-node": "3.266.1",
28
- "@aws-sdk/invalid-dependency": "3.266.1",
29
- "@aws-sdk/middleware-content-length": "3.266.1",
30
- "@aws-sdk/middleware-endpoint": "3.266.1",
31
- "@aws-sdk/middleware-host-header": "3.266.1",
32
- "@aws-sdk/middleware-logger": "3.266.1",
33
- "@aws-sdk/middleware-recursion-detection": "3.266.1",
34
- "@aws-sdk/middleware-retry": "3.266.1",
35
- "@aws-sdk/middleware-serde": "3.266.1",
36
- "@aws-sdk/middleware-signing": "3.266.1",
37
- "@aws-sdk/middleware-stack": "3.266.1",
38
- "@aws-sdk/middleware-user-agent": "3.266.1",
39
- "@aws-sdk/node-config-provider": "3.266.1",
40
- "@aws-sdk/node-http-handler": "3.266.1",
41
- "@aws-sdk/protocol-http": "3.266.1",
42
- "@aws-sdk/smithy-client": "3.266.1",
43
- "@aws-sdk/types": "3.266.1",
44
- "@aws-sdk/url-parser": "3.266.1",
23
+ "@aws-sdk/client-sts": "3.267.0",
24
+ "@aws-sdk/config-resolver": "3.267.0",
25
+ "@aws-sdk/credential-provider-node": "3.267.0",
26
+ "@aws-sdk/fetch-http-handler": "3.267.0",
27
+ "@aws-sdk/hash-node": "3.267.0",
28
+ "@aws-sdk/invalid-dependency": "3.267.0",
29
+ "@aws-sdk/middleware-content-length": "3.267.0",
30
+ "@aws-sdk/middleware-endpoint": "3.267.0",
31
+ "@aws-sdk/middleware-host-header": "3.267.0",
32
+ "@aws-sdk/middleware-logger": "3.267.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.267.0",
34
+ "@aws-sdk/middleware-retry": "3.267.0",
35
+ "@aws-sdk/middleware-serde": "3.267.0",
36
+ "@aws-sdk/middleware-signing": "3.267.0",
37
+ "@aws-sdk/middleware-stack": "3.267.0",
38
+ "@aws-sdk/middleware-user-agent": "3.267.0",
39
+ "@aws-sdk/node-config-provider": "3.267.0",
40
+ "@aws-sdk/node-http-handler": "3.267.0",
41
+ "@aws-sdk/protocol-http": "3.267.0",
42
+ "@aws-sdk/smithy-client": "3.267.0",
43
+ "@aws-sdk/types": "3.267.0",
44
+ "@aws-sdk/url-parser": "3.267.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.266.1",
49
- "@aws-sdk/util-defaults-mode-node": "3.266.1",
50
- "@aws-sdk/util-endpoints": "3.266.1",
51
- "@aws-sdk/util-retry": "3.266.1",
52
- "@aws-sdk/util-stream-browser": "3.266.1",
53
- "@aws-sdk/util-stream-node": "3.266.1",
54
- "@aws-sdk/util-user-agent-browser": "3.266.1",
55
- "@aws-sdk/util-user-agent-node": "3.266.1",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.267.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.267.0",
50
+ "@aws-sdk/util-endpoints": "3.267.0",
51
+ "@aws-sdk/util-retry": "3.267.0",
52
+ "@aws-sdk/util-stream-browser": "3.267.0",
53
+ "@aws-sdk/util-stream-node": "3.267.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.267.0",
55
+ "@aws-sdk/util-user-agent-node": "3.267.0",
56
56
  "@aws-sdk/util-utf8": "3.254.0",
57
57
  "tslib": "^2.3.1"
58
58
  },