@aws-sdk/client-polly 3.952.0 → 3.953.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.
@@ -27,7 +27,13 @@ const getRuntimeConfig = (config) => {
27
27
  },
28
28
  ],
29
29
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
30
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.polly" }),
30
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
31
+ protocolSettings: config?.protocolSettings ?? {
32
+ defaultNamespace: "com.amazonaws.polly",
33
+ xmlNamespace: "http://polly.amazonaws.com/doc/v1",
34
+ version: "2016-06-10",
35
+ serviceTarget: "Parrot_v1",
36
+ },
31
37
  sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
32
38
  serviceId: config?.serviceId ?? "Polly",
33
39
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteLexicon } from "../schemas/schemas_0";
4
+ import { DeleteLexicon$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteLexiconCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteLexiconCommand extends $Command
11
11
  })
12
12
  .s("Parrot_v1", "DeleteLexicon", {})
13
13
  .n("PollyClient", "DeleteLexiconCommand")
14
- .sc(DeleteLexicon)
14
+ .sc(DeleteLexicon$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeVoices } from "../schemas/schemas_0";
4
+ import { DescribeVoices$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeVoicesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeVoicesCommand extends $Command
11
11
  })
12
12
  .s("Parrot_v1", "DescribeVoices", {})
13
13
  .n("PollyClient", "DescribeVoicesCommand")
14
- .sc(DescribeVoices)
14
+ .sc(DescribeVoices$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetLexicon } from "../schemas/schemas_0";
4
+ import { GetLexicon$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetLexiconCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetLexiconCommand extends $Command
11
11
  })
12
12
  .s("Parrot_v1", "GetLexicon", {})
13
13
  .n("PollyClient", "GetLexiconCommand")
14
- .sc(GetLexicon)
14
+ .sc(GetLexicon$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSpeechSynthesisTask } from "../schemas/schemas_0";
4
+ import { GetSpeechSynthesisTask$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSpeechSynthesisTaskCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSpeechSynthesisTaskCommand extends $Command
11
11
  })
12
12
  .s("Parrot_v1", "GetSpeechSynthesisTask", {})
13
13
  .n("PollyClient", "GetSpeechSynthesisTaskCommand")
14
- .sc(GetSpeechSynthesisTask)
14
+ .sc(GetSpeechSynthesisTask$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListLexicons } from "../schemas/schemas_0";
4
+ import { ListLexicons$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListLexiconsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListLexiconsCommand extends $Command
11
11
  })
12
12
  .s("Parrot_v1", "ListLexicons", {})
13
13
  .n("PollyClient", "ListLexiconsCommand")
14
- .sc(ListLexicons)
14
+ .sc(ListLexicons$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSpeechSynthesisTasks } from "../schemas/schemas_0";
4
+ import { ListSpeechSynthesisTasks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSpeechSynthesisTasksCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSpeechSynthesisTasksCommand extends $Command
11
11
  })
12
12
  .s("Parrot_v1", "ListSpeechSynthesisTasks", {})
13
13
  .n("PollyClient", "ListSpeechSynthesisTasksCommand")
14
- .sc(ListSpeechSynthesisTasks)
14
+ .sc(ListSpeechSynthesisTasks$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutLexicon } from "../schemas/schemas_0";
4
+ import { PutLexicon$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutLexiconCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutLexiconCommand extends $Command
11
11
  })
12
12
  .s("Parrot_v1", "PutLexicon", {})
13
13
  .n("PollyClient", "PutLexiconCommand")
14
- .sc(PutLexicon)
14
+ .sc(PutLexicon$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartSpeechSynthesisTask } from "../schemas/schemas_0";
4
+ import { StartSpeechSynthesisTask$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSpeechSynthesisTaskCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSpeechSynthesisTaskCommand extends $Command
11
11
  })
12
12
  .s("Parrot_v1", "StartSpeechSynthesisTask", {})
13
13
  .n("PollyClient", "StartSpeechSynthesisTaskCommand")
14
- .sc(StartSpeechSynthesisTask)
14
+ .sc(StartSpeechSynthesisTask$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SynthesizeSpeech } from "../schemas/schemas_0";
4
+ import { SynthesizeSpeech$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SynthesizeSpeechCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SynthesizeSpeechCommand extends $Command
11
11
  })
12
12
  .s("Parrot_v1", "SynthesizeSpeech", {})
13
13
  .n("PollyClient", "SynthesizeSpeechCommand")
14
- .sc(SynthesizeSpeech)
14
+ .sc(SynthesizeSpeech$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./PollyClient";
2
2
  export * from "./Polly";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -24,7 +24,13 @@ export const getRuntimeConfig = (config) => {
24
24
  },
25
25
  ],
26
26
  logger: config?.logger ?? new NoOpLogger(),
27
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.polly" }),
27
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
28
+ protocolSettings: config?.protocolSettings ?? {
29
+ defaultNamespace: "com.amazonaws.polly",
30
+ xmlNamespace: "http://polly.amazonaws.com/doc/v1",
31
+ version: "2016-06-10",
32
+ serviceTarget: "Parrot_v1",
33
+ },
28
34
  sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
29
35
  serviceId: config?.serviceId ?? "Polly",
30
36
  urlParser: config?.urlParser ?? parseUrl,
@@ -108,13 +108,13 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.polly";
108
108
  const _xaR = "x-amzn-RequestCharacters";
109
109
  const n0 = "com.amazonaws.polly";
110
110
  import { TypeRegistry } from "@smithy/core/schema";
111
- import { EngineNotSupportedException as __EngineNotSupportedException, InvalidLexiconException as __InvalidLexiconException, InvalidNextTokenException as __InvalidNextTokenException, InvalidS3BucketException as __InvalidS3BucketException, InvalidS3KeyException as __InvalidS3KeyException, InvalidSampleRateException as __InvalidSampleRateException, InvalidSnsTopicArnException as __InvalidSnsTopicArnException, InvalidSsmlException as __InvalidSsmlException, InvalidTaskIdException as __InvalidTaskIdException, LanguageNotSupportedException as __LanguageNotSupportedException, LexiconNotFoundException as __LexiconNotFoundException, LexiconSizeExceededException as __LexiconSizeExceededException, MarksNotSupportedForFormatException as __MarksNotSupportedForFormatException, MaxLexemeLengthExceededException as __MaxLexemeLengthExceededException, MaxLexiconsNumberExceededException as __MaxLexiconsNumberExceededException, ServiceFailureException as __ServiceFailureException, SsmlMarksNotSupportedForTextTypeException as __SsmlMarksNotSupportedForTextTypeException, SynthesisTaskNotFoundException as __SynthesisTaskNotFoundException, TextLengthExceededException as __TextLengthExceededException, UnsupportedPlsAlphabetException as __UnsupportedPlsAlphabetException, UnsupportedPlsLanguageException as __UnsupportedPlsLanguageException, } from "../models/errors";
112
- import { PollyServiceException as __PollyServiceException } from "../models/PollyServiceException";
113
- export var AudioStream = [0, n0, _AS, { [_s]: 1 }, 42];
114
- export var LexiconContent = [0, n0, _LC, 8, 0];
115
- export var DeleteLexiconInput = [3, n0, _DLI, 0, [_N], [[0, 1]]];
116
- export var DeleteLexiconOutput = [3, n0, _DLO, 0, [], []];
117
- export var DescribeVoicesInput = [
111
+ import { EngineNotSupportedException, InvalidLexiconException, InvalidNextTokenException, InvalidS3BucketException, InvalidS3KeyException, InvalidSampleRateException, InvalidSnsTopicArnException, InvalidSsmlException, InvalidTaskIdException, LanguageNotSupportedException, LexiconNotFoundException, LexiconSizeExceededException, MarksNotSupportedForFormatException, MaxLexemeLengthExceededException, MaxLexiconsNumberExceededException, ServiceFailureException, SsmlMarksNotSupportedForTextTypeException, SynthesisTaskNotFoundException, TextLengthExceededException, UnsupportedPlsAlphabetException, UnsupportedPlsLanguageException, } from "../models/errors";
112
+ import { PollyServiceException } from "../models/PollyServiceException";
113
+ var AudioStream = [0, n0, _AS, { [_s]: 1 }, 42];
114
+ var LexiconContent = [0, n0, _LC, 8, 0];
115
+ export var DeleteLexiconInput$ = [3, n0, _DLI, 0, [_N], [[0, 1]]];
116
+ export var DeleteLexiconOutput$ = [3, n0, _DLO, 0, [], []];
117
+ export var DescribeVoicesInput$ = [
118
118
  3,
119
119
  n0,
120
120
  _DVI,
@@ -127,40 +127,40 @@ export var DescribeVoicesInput = [
127
127
  [0, { [_hQ]: _NT }],
128
128
  ],
129
129
  ];
130
- export var DescribeVoicesOutput = [3, n0, _DVO, 0, [_V, _NT], [() => VoiceList, 0]];
131
- export var EngineNotSupportedException = [-3, n0, _ENSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
132
- TypeRegistry.for(n0).registerError(EngineNotSupportedException, __EngineNotSupportedException);
133
- export var GetLexiconInput = [3, n0, _GLI, 0, [_N], [[0, 1]]];
134
- export var GetLexiconOutput = [
130
+ export var DescribeVoicesOutput$ = [3, n0, _DVO, 0, [_V, _NT], [() => VoiceList, 0]];
131
+ export var EngineNotSupportedException$ = [-3, n0, _ENSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
132
+ TypeRegistry.for(n0).registerError(EngineNotSupportedException$, EngineNotSupportedException);
133
+ export var GetLexiconInput$ = [3, n0, _GLI, 0, [_N], [[0, 1]]];
134
+ export var GetLexiconOutput$ = [
135
135
  3,
136
136
  n0,
137
137
  _GLO,
138
138
  0,
139
139
  [_L, _LA],
140
- [[() => Lexicon, 0], () => LexiconAttributes],
140
+ [[() => Lexicon$, 0], () => LexiconAttributes$],
141
141
  ];
142
- export var GetSpeechSynthesisTaskInput = [3, n0, _GSSTI, 0, [_TI], [[0, 1]]];
143
- export var GetSpeechSynthesisTaskOutput = [3, n0, _GSSTO, 0, [_ST], [() => SynthesisTask]];
144
- export var InvalidLexiconException = [-3, n0, _ILE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
145
- TypeRegistry.for(n0).registerError(InvalidLexiconException, __InvalidLexiconException);
146
- export var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
147
- TypeRegistry.for(n0).registerError(InvalidNextTokenException, __InvalidNextTokenException);
148
- export var InvalidS3BucketException = [-3, n0, _ISBE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
149
- TypeRegistry.for(n0).registerError(InvalidS3BucketException, __InvalidS3BucketException);
150
- export var InvalidS3KeyException = [-3, n0, _ISKE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
151
- TypeRegistry.for(n0).registerError(InvalidS3KeyException, __InvalidS3KeyException);
152
- export var InvalidSampleRateException = [-3, n0, _ISRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
153
- TypeRegistry.for(n0).registerError(InvalidSampleRateException, __InvalidSampleRateException);
154
- export var InvalidSnsTopicArnException = [-3, n0, _ISTAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
155
- TypeRegistry.for(n0).registerError(InvalidSnsTopicArnException, __InvalidSnsTopicArnException);
156
- export var InvalidSsmlException = [-3, n0, _ISE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
157
- TypeRegistry.for(n0).registerError(InvalidSsmlException, __InvalidSsmlException);
158
- export var InvalidTaskIdException = [-3, n0, _ITIE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
159
- TypeRegistry.for(n0).registerError(InvalidTaskIdException, __InvalidTaskIdException);
160
- export var LanguageNotSupportedException = [-3, n0, _LNSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
161
- TypeRegistry.for(n0).registerError(LanguageNotSupportedException, __LanguageNotSupportedException);
162
- export var Lexicon = [3, n0, _L, 0, [_C, _N], [[() => LexiconContent, 0], 0]];
163
- export var LexiconAttributes = [
142
+ export var GetSpeechSynthesisTaskInput$ = [3, n0, _GSSTI, 0, [_TI], [[0, 1]]];
143
+ export var GetSpeechSynthesisTaskOutput$ = [3, n0, _GSSTO, 0, [_ST], [() => SynthesisTask$]];
144
+ export var InvalidLexiconException$ = [-3, n0, _ILE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
145
+ TypeRegistry.for(n0).registerError(InvalidLexiconException$, InvalidLexiconException);
146
+ export var InvalidNextTokenException$ = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
147
+ TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
148
+ export var InvalidS3BucketException$ = [-3, n0, _ISBE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
149
+ TypeRegistry.for(n0).registerError(InvalidS3BucketException$, InvalidS3BucketException);
150
+ export var InvalidS3KeyException$ = [-3, n0, _ISKE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
151
+ TypeRegistry.for(n0).registerError(InvalidS3KeyException$, InvalidS3KeyException);
152
+ export var InvalidSampleRateException$ = [-3, n0, _ISRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
153
+ TypeRegistry.for(n0).registerError(InvalidSampleRateException$, InvalidSampleRateException);
154
+ export var InvalidSnsTopicArnException$ = [-3, n0, _ISTAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
155
+ TypeRegistry.for(n0).registerError(InvalidSnsTopicArnException$, InvalidSnsTopicArnException);
156
+ export var InvalidSsmlException$ = [-3, n0, _ISE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
157
+ TypeRegistry.for(n0).registerError(InvalidSsmlException$, InvalidSsmlException);
158
+ export var InvalidTaskIdException$ = [-3, n0, _ITIE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
159
+ TypeRegistry.for(n0).registerError(InvalidTaskIdException$, InvalidTaskIdException);
160
+ export var LanguageNotSupportedException$ = [-3, n0, _LNSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
161
+ TypeRegistry.for(n0).registerError(LanguageNotSupportedException$, LanguageNotSupportedException);
162
+ export var Lexicon$ = [3, n0, _L, 0, [_C, _N], [[() => LexiconContent, 0], 0]];
163
+ export var LexiconAttributes$ = [
164
164
  3,
165
165
  n0,
166
166
  _LA,
@@ -168,14 +168,14 @@ export var LexiconAttributes = [
168
168
  [_A, _LCa, _LM, _LAe, _LCe, _S],
169
169
  [0, 0, 4, 0, 1, 1],
170
170
  ];
171
- export var LexiconDescription = [3, n0, _LD, 0, [_N, _At], [0, () => LexiconAttributes]];
172
- export var LexiconNotFoundException = [-3, n0, _LNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
173
- TypeRegistry.for(n0).registerError(LexiconNotFoundException, __LexiconNotFoundException);
174
- export var LexiconSizeExceededException = [-3, n0, _LSEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
175
- TypeRegistry.for(n0).registerError(LexiconSizeExceededException, __LexiconSizeExceededException);
176
- export var ListLexiconsInput = [3, n0, _LLI, 0, [_NT], [[0, { [_hQ]: _NT }]]];
177
- export var ListLexiconsOutput = [3, n0, _LLO, 0, [_Le, _NT], [() => LexiconDescriptionList, 0]];
178
- export var ListSpeechSynthesisTasksInput = [
171
+ export var LexiconDescription$ = [3, n0, _LD, 0, [_N, _At], [0, () => LexiconAttributes$]];
172
+ export var LexiconNotFoundException$ = [-3, n0, _LNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
173
+ TypeRegistry.for(n0).registerError(LexiconNotFoundException$, LexiconNotFoundException);
174
+ export var LexiconSizeExceededException$ = [-3, n0, _LSEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
175
+ TypeRegistry.for(n0).registerError(LexiconSizeExceededException$, LexiconSizeExceededException);
176
+ export var ListLexiconsInput$ = [3, n0, _LLI, 0, [_NT], [[0, { [_hQ]: _NT }]]];
177
+ export var ListLexiconsOutput$ = [3, n0, _LLO, 0, [_Le, _NT], [() => LexiconDescriptionList, 0]];
178
+ export var ListSpeechSynthesisTasksInput$ = [
179
179
  3,
180
180
  n0,
181
181
  _LSSTI,
@@ -187,7 +187,7 @@ export var ListSpeechSynthesisTasksInput = [
187
187
  [0, { [_hQ]: _St }],
188
188
  ],
189
189
  ];
190
- export var ListSpeechSynthesisTasksOutput = [
190
+ export var ListSpeechSynthesisTasksOutput$ = [
191
191
  3,
192
192
  n0,
193
193
  _LSSTO,
@@ -195,7 +195,7 @@ export var ListSpeechSynthesisTasksOutput = [
195
195
  [_NT, _STy],
196
196
  [0, () => SynthesisTasks],
197
197
  ];
198
- export var MarksNotSupportedForFormatException = [
198
+ export var MarksNotSupportedForFormatException$ = [
199
199
  -3,
200
200
  n0,
201
201
  _MNSFFE,
@@ -203,10 +203,10 @@ export var MarksNotSupportedForFormatException = [
203
203
  [_m],
204
204
  [0],
205
205
  ];
206
- TypeRegistry.for(n0).registerError(MarksNotSupportedForFormatException, __MarksNotSupportedForFormatException);
207
- export var MaxLexemeLengthExceededException = [-3, n0, _MLLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
208
- TypeRegistry.for(n0).registerError(MaxLexemeLengthExceededException, __MaxLexemeLengthExceededException);
209
- export var MaxLexiconsNumberExceededException = [
206
+ TypeRegistry.for(n0).registerError(MarksNotSupportedForFormatException$, MarksNotSupportedForFormatException);
207
+ export var MaxLexemeLengthExceededException$ = [-3, n0, _MLLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
208
+ TypeRegistry.for(n0).registerError(MaxLexemeLengthExceededException$, MaxLexemeLengthExceededException);
209
+ export var MaxLexiconsNumberExceededException$ = [
210
210
  -3,
211
211
  n0,
212
212
  _MLNEE,
@@ -214,8 +214,8 @@ export var MaxLexiconsNumberExceededException = [
214
214
  [_m],
215
215
  [0],
216
216
  ];
217
- TypeRegistry.for(n0).registerError(MaxLexiconsNumberExceededException, __MaxLexiconsNumberExceededException);
218
- export var PutLexiconInput = [
217
+ TypeRegistry.for(n0).registerError(MaxLexiconsNumberExceededException$, MaxLexiconsNumberExceededException);
218
+ export var PutLexiconInput$ = [
219
219
  3,
220
220
  n0,
221
221
  _PLI,
@@ -226,10 +226,10 @@ export var PutLexiconInput = [
226
226
  [() => LexiconContent, 0],
227
227
  ],
228
228
  ];
229
- export var PutLexiconOutput = [3, n0, _PLO, 0, [], []];
230
- export var ServiceFailureException = [-3, n0, _SFE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
231
- TypeRegistry.for(n0).registerError(ServiceFailureException, __ServiceFailureException);
232
- export var SsmlMarksNotSupportedForTextTypeException = [
229
+ export var PutLexiconOutput$ = [3, n0, _PLO, 0, [], []];
230
+ export var ServiceFailureException$ = [-3, n0, _SFE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
231
+ TypeRegistry.for(n0).registerError(ServiceFailureException$, ServiceFailureException);
232
+ export var SsmlMarksNotSupportedForTextTypeException$ = [
233
233
  -3,
234
234
  n0,
235
235
  _SMNSFTTE,
@@ -237,8 +237,8 @@ export var SsmlMarksNotSupportedForTextTypeException = [
237
237
  [_m],
238
238
  [0],
239
239
  ];
240
- TypeRegistry.for(n0).registerError(SsmlMarksNotSupportedForTextTypeException, __SsmlMarksNotSupportedForTextTypeException);
241
- export var StartSpeechSynthesisTaskInput = [
240
+ TypeRegistry.for(n0).registerError(SsmlMarksNotSupportedForTextTypeException$, SsmlMarksNotSupportedForTextTypeException);
241
+ export var StartSpeechSynthesisTaskInput$ = [
242
242
  3,
243
243
  n0,
244
244
  _SSSTI,
@@ -246,8 +246,8 @@ export var StartSpeechSynthesisTaskInput = [
246
246
  [_E, _LCa, _LN, _OF, _OSBN, _OSKP, _SR, _STA, _SMT, _T, _TT, _VI],
247
247
  [0, 0, 64 | 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0],
248
248
  ];
249
- export var StartSpeechSynthesisTaskOutput = [3, n0, _SSSTO, 0, [_ST], [() => SynthesisTask]];
250
- export var SynthesisTask = [
249
+ export var StartSpeechSynthesisTaskOutput$ = [3, n0, _SSSTO, 0, [_ST], [() => SynthesisTask$]];
250
+ export var SynthesisTask$ = [
251
251
  3,
252
252
  n0,
253
253
  _ST,
@@ -255,9 +255,9 @@ export var SynthesisTask = [
255
255
  [_E, _TI, _TS, _TSR, _OU, _CT, _RC, _STA, _LN, _OF, _SR, _SMT, _TT, _VI, _LCa],
256
256
  [0, 0, 0, 0, 0, 4, 1, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0],
257
257
  ];
258
- export var SynthesisTaskNotFoundException = [-3, n0, _STNFE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
259
- TypeRegistry.for(n0).registerError(SynthesisTaskNotFoundException, __SynthesisTaskNotFoundException);
260
- export var SynthesizeSpeechInput = [
258
+ export var SynthesisTaskNotFoundException$ = [-3, n0, _STNFE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
259
+ TypeRegistry.for(n0).registerError(SynthesisTaskNotFoundException$, SynthesisTaskNotFoundException);
260
+ export var SynthesizeSpeechInput$ = [
261
261
  3,
262
262
  n0,
263
263
  _SSI,
@@ -265,7 +265,7 @@ export var SynthesizeSpeechInput = [
265
265
  [_E, _LCa, _LN, _OF, _SR, _SMT, _T, _TT, _VI],
266
266
  [0, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0],
267
267
  ];
268
- export var SynthesizeSpeechOutput = [
268
+ export var SynthesizeSpeechOutput$ = [
269
269
  3,
270
270
  n0,
271
271
  _SSO,
@@ -277,13 +277,13 @@ export var SynthesizeSpeechOutput = [
277
277
  [1, { [_hH]: _xaR }],
278
278
  ],
279
279
  ];
280
- export var TextLengthExceededException = [-3, n0, _TLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
281
- TypeRegistry.for(n0).registerError(TextLengthExceededException, __TextLengthExceededException);
282
- export var UnsupportedPlsAlphabetException = [-3, n0, _UPAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
283
- TypeRegistry.for(n0).registerError(UnsupportedPlsAlphabetException, __UnsupportedPlsAlphabetException);
284
- export var UnsupportedPlsLanguageException = [-3, n0, _UPLE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
285
- TypeRegistry.for(n0).registerError(UnsupportedPlsLanguageException, __UnsupportedPlsLanguageException);
286
- export var Voice = [
280
+ export var TextLengthExceededException$ = [-3, n0, _TLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
281
+ TypeRegistry.for(n0).registerError(TextLengthExceededException$, TextLengthExceededException);
282
+ export var UnsupportedPlsAlphabetException$ = [-3, n0, _UPAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
283
+ TypeRegistry.for(n0).registerError(UnsupportedPlsAlphabetException$, UnsupportedPlsAlphabetException);
284
+ export var UnsupportedPlsLanguageException$ = [-3, n0, _UPLE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
285
+ TypeRegistry.for(n0).registerError(UnsupportedPlsLanguageException$, UnsupportedPlsLanguageException);
286
+ export var Voice$ = [
287
287
  3,
288
288
  n0,
289
289
  _Vo,
@@ -291,84 +291,84 @@ export var Voice = [
291
291
  [_G, _I, _LCa, _LNa, _N, _ALC, _SE],
292
292
  [0, 0, 0, 0, 0, 64 | 0, 64 | 0],
293
293
  ];
294
- export var PollyServiceException = [-3, _sm, "PollyServiceException", 0, [], []];
295
- TypeRegistry.for(_sm).registerError(PollyServiceException, __PollyServiceException);
296
- export var EngineList = 64 | 0;
297
- export var LanguageCodeList = 64 | 0;
298
- export var LexiconDescriptionList = [1, n0, _LDL, 0, () => LexiconDescription];
299
- export var LexiconNameList = 64 | 0;
300
- export var SpeechMarkTypeList = 64 | 0;
301
- export var SynthesisTasks = [1, n0, _STy, 0, () => SynthesisTask];
302
- export var VoiceList = [1, n0, _VL, 0, () => Voice];
303
- export var DeleteLexicon = [
294
+ export var PollyServiceException$ = [-3, _sm, "PollyServiceException", 0, [], []];
295
+ TypeRegistry.for(_sm).registerError(PollyServiceException$, PollyServiceException);
296
+ var EngineList = 64 | 0;
297
+ var LanguageCodeList = 64 | 0;
298
+ var LexiconDescriptionList = [1, n0, _LDL, 0, () => LexiconDescription$];
299
+ var LexiconNameList = 64 | 0;
300
+ var SpeechMarkTypeList = 64 | 0;
301
+ var SynthesisTasks = [1, n0, _STy, 0, () => SynthesisTask$];
302
+ var VoiceList = [1, n0, _VL, 0, () => Voice$];
303
+ export var DeleteLexicon$ = [
304
304
  9,
305
305
  n0,
306
306
  _DL,
307
307
  { [_h]: ["DELETE", "/v1/lexicons/{Name}", 200] },
308
- () => DeleteLexiconInput,
309
- () => DeleteLexiconOutput,
308
+ () => DeleteLexiconInput$,
309
+ () => DeleteLexiconOutput$,
310
310
  ];
311
- export var DescribeVoices = [
311
+ export var DescribeVoices$ = [
312
312
  9,
313
313
  n0,
314
314
  _DV,
315
315
  { [_h]: ["GET", "/v1/voices", 200] },
316
- () => DescribeVoicesInput,
317
- () => DescribeVoicesOutput,
316
+ () => DescribeVoicesInput$,
317
+ () => DescribeVoicesOutput$,
318
318
  ];
319
- export var GetLexicon = [
319
+ export var GetLexicon$ = [
320
320
  9,
321
321
  n0,
322
322
  _GL,
323
323
  { [_h]: ["GET", "/v1/lexicons/{Name}", 200] },
324
- () => GetLexiconInput,
325
- () => GetLexiconOutput,
324
+ () => GetLexiconInput$,
325
+ () => GetLexiconOutput$,
326
326
  ];
327
- export var GetSpeechSynthesisTask = [
327
+ export var GetSpeechSynthesisTask$ = [
328
328
  9,
329
329
  n0,
330
330
  _GSST,
331
331
  { [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200] },
332
- () => GetSpeechSynthesisTaskInput,
333
- () => GetSpeechSynthesisTaskOutput,
332
+ () => GetSpeechSynthesisTaskInput$,
333
+ () => GetSpeechSynthesisTaskOutput$,
334
334
  ];
335
- export var ListLexicons = [
335
+ export var ListLexicons$ = [
336
336
  9,
337
337
  n0,
338
338
  _LL,
339
339
  { [_h]: ["GET", "/v1/lexicons", 200] },
340
- () => ListLexiconsInput,
341
- () => ListLexiconsOutput,
340
+ () => ListLexiconsInput$,
341
+ () => ListLexiconsOutput$,
342
342
  ];
343
- export var ListSpeechSynthesisTasks = [
343
+ export var ListSpeechSynthesisTasks$ = [
344
344
  9,
345
345
  n0,
346
346
  _LSST,
347
347
  { [_h]: ["GET", "/v1/synthesisTasks", 200] },
348
- () => ListSpeechSynthesisTasksInput,
349
- () => ListSpeechSynthesisTasksOutput,
348
+ () => ListSpeechSynthesisTasksInput$,
349
+ () => ListSpeechSynthesisTasksOutput$,
350
350
  ];
351
- export var PutLexicon = [
351
+ export var PutLexicon$ = [
352
352
  9,
353
353
  n0,
354
354
  _PL,
355
355
  { [_h]: ["PUT", "/v1/lexicons/{Name}", 200] },
356
- () => PutLexiconInput,
357
- () => PutLexiconOutput,
356
+ () => PutLexiconInput$,
357
+ () => PutLexiconOutput$,
358
358
  ];
359
- export var StartSpeechSynthesisTask = [
359
+ export var StartSpeechSynthesisTask$ = [
360
360
  9,
361
361
  n0,
362
362
  _SSST,
363
363
  { [_h]: ["POST", "/v1/synthesisTasks", 200] },
364
- () => StartSpeechSynthesisTaskInput,
365
- () => StartSpeechSynthesisTaskOutput,
364
+ () => StartSpeechSynthesisTaskInput$,
365
+ () => StartSpeechSynthesisTaskOutput$,
366
366
  ];
367
- export var SynthesizeSpeech = [
367
+ export var SynthesizeSpeech$ = [
368
368
  9,
369
369
  n0,
370
370
  _SS,
371
371
  { [_h]: ["POST", "/v1/speech", 200] },
372
- () => SynthesizeSpeechInput,
373
- () => SynthesizeSpeechOutput,
372
+ () => SynthesizeSpeechInput$,
373
+ () => SynthesizeSpeechOutput$,
374
374
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
11
11
  import { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
@@ -150,15 +150,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
150
150
  * Optional extensions
151
151
  */
152
152
  extensions?: RuntimeExtension[];
153
- /**
154
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
155
- * may be overridden. A default will always be set by the client.
156
- * Available options depend on the service's supported protocols and will not be validated by
157
- * the client.
158
- * @alpha
159
- *
160
- */
161
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
162
153
  /**
163
154
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
164
155
  */
@@ -14,6 +14,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
14
14
  export type { RuntimeExtension } from "./runtimeExtensions";
15
15
  export type { PollyExtensionConfiguration } from "./extensionConfiguration";
16
16
  export * from "./commands";
17
+ export * from "./schemas/schemas_0";
17
18
  export * from "./pagination";
18
19
  export * from "./models/enums";
19
20
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
34
38
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
39
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
36
40
  customUserAgent?: string | import("@smithy/types").UserAgent;
37
41
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;