@aws-sdk/client-polly 3.335.0 → 3.338.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.
Files changed (49) hide show
  1. package/dist-cjs/PollyClient.js +2 -1
  2. package/dist-cjs/commands/DeleteLexiconCommand.js +2 -1
  3. package/dist-cjs/commands/DescribeVoicesCommand.js +2 -1
  4. package/dist-cjs/commands/GetLexiconCommand.js +2 -1
  5. package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js +2 -1
  6. package/dist-cjs/commands/ListLexiconsCommand.js +2 -1
  7. package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js +2 -1
  8. package/dist-cjs/commands/PutLexiconCommand.js +2 -1
  9. package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js +2 -1
  10. package/dist-cjs/commands/SynthesizeSpeechCommand.js +2 -1
  11. package/dist-cjs/index.js +2 -2
  12. package/dist-cjs/models/PollyServiceException.js +2 -1
  13. package/dist-es/PollyClient.js +1 -0
  14. package/dist-es/commands/DeleteLexiconCommand.js +1 -0
  15. package/dist-es/commands/DescribeVoicesCommand.js +1 -0
  16. package/dist-es/commands/GetLexiconCommand.js +1 -0
  17. package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +1 -0
  18. package/dist-es/commands/ListLexiconsCommand.js +1 -0
  19. package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +1 -0
  20. package/dist-es/commands/PutLexiconCommand.js +1 -0
  21. package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +1 -0
  22. package/dist-es/commands/SynthesizeSpeechCommand.js +1 -0
  23. package/dist-es/index.js +2 -2
  24. package/dist-es/models/PollyServiceException.js +1 -0
  25. package/dist-types/PollyClient.d.ts +3 -3
  26. package/dist-types/commands/DeleteLexiconCommand.d.ts +4 -0
  27. package/dist-types/commands/DescribeVoicesCommand.d.ts +4 -0
  28. package/dist-types/commands/GetLexiconCommand.d.ts +4 -0
  29. package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +4 -0
  30. package/dist-types/commands/ListLexiconsCommand.d.ts +4 -0
  31. package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +4 -0
  32. package/dist-types/commands/PutLexiconCommand.d.ts +4 -0
  33. package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +4 -0
  34. package/dist-types/commands/SynthesizeSpeechCommand.d.ts +4 -0
  35. package/dist-types/index.d.ts +12 -2
  36. package/dist-types/models/PollyServiceException.d.ts +1 -0
  37. package/dist-types/ts3.4/PollyClient.d.ts +3 -3
  38. package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +1 -0
  39. package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +1 -0
  40. package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +1 -0
  41. package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +1 -0
  42. package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +1 -0
  43. package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +1 -0
  44. package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +1 -0
  45. package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +1 -0
  46. package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +1 -0
  47. package/dist-types/ts3.4/index.d.ts +2 -2
  48. package/dist-types/ts3.4/models/PollyServiceException.d.ts +1 -0
  49. package/package.json +30 -30
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PollyClient = void 0;
3
+ exports.PollyClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class PollyClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteLexiconCommand = void 0;
3
+ exports.DeleteLexiconCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteLexiconCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeVoicesCommand = void 0;
3
+ exports.DescribeVoicesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeVoicesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetLexiconCommand = void 0;
3
+ exports.GetLexiconCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class GetLexiconCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSpeechSynthesisTaskCommand = void 0;
3
+ exports.GetSpeechSynthesisTaskCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class GetSpeechSynthesisTaskCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListLexiconsCommand = void 0;
3
+ exports.ListLexiconsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListLexiconsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListSpeechSynthesisTasksCommand = void 0;
3
+ exports.ListSpeechSynthesisTasksCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListSpeechSynthesisTasksCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutLexiconCommand = void 0;
3
+ exports.PutLexiconCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class PutLexiconCommand extends smithy_client_1.Command {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartSpeechSynthesisTaskCommand = void 0;
3
+ exports.StartSpeechSynthesisTaskCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class StartSpeechSynthesisTaskCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SynthesizeSpeechCommand = void 0;
3
+ exports.SynthesizeSpeechCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const models_0_1 = require("../models/models_0");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class SynthesizeSpeechCommand extends smithy_client_1.Command {
package/dist-cjs/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PollyServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./Polly"), exports);
6
5
  tslib_1.__exportStar(require("./PollyClient"), exports);
6
+ tslib_1.__exportStar(require("./Polly"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
10
  var PollyServiceException_1 = require("./models/PollyServiceException");
11
11
  Object.defineProperty(exports, "PollyServiceException", { enumerable: true, get: function () { return PollyServiceException_1.PollyServiceException; } });
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PollyServiceException = void 0;
3
+ exports.PollyServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class PollyServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class PollyClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteLexiconCommand, se_DeleteLexiconCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteLexiconCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeVoicesCommand, se_DescribeVoicesCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeVoicesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetLexiconOutputFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_GetLexiconCommand, se_GetLexiconCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
6
7
  export class GetLexiconCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_GetSpeechSynthesisTaskCommand, se_GetSpeechSynthesisTaskCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class GetSpeechSynthesisTaskCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListLexiconsCommand, se_ListLexiconsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListLexiconsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListSpeechSynthesisTasksCommand, se_ListSpeechSynthesisTasksCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListSpeechSynthesisTasksCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PutLexiconInputFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_PutLexiconCommand, se_PutLexiconCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
6
7
  export class PutLexiconCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_StartSpeechSynthesisTaskCommand, se_StartSpeechSynthesisTaskCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class StartSpeechSynthesisTaskCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { SynthesizeSpeechOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_SynthesizeSpeechCommand, se_SynthesizeSpeechCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
6
7
  export class SynthesizeSpeechCommand extends $Command {
7
8
  static getEndpointParameterInstructions() {
8
9
  return {
package/dist-es/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./Polly";
2
1
  export * from "./PollyClient";
2
+ export * from "./Polly";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { PollyServiceException } from "./models/PollyServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class PollyServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -18,6 +18,7 @@ import { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutL
18
18
  import { StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput } from "./commands/StartSpeechSynthesisTaskCommand";
19
19
  import { SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput } from "./commands/SynthesizeSpeechCommand";
20
20
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
21
+ export { __Client };
21
22
  /**
22
23
  * @public
23
24
  */
@@ -137,7 +138,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
137
138
  /**
138
139
  * @public
139
140
  */
140
- type PollyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
141
+ export type PollyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
141
142
  /**
142
143
  * @public
143
144
  *
@@ -148,7 +149,7 @@ export interface PollyClientConfig extends PollyClientConfigType {
148
149
  /**
149
150
  * @public
150
151
  */
151
- type PollyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
152
+ export type PollyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
152
153
  /**
153
154
  * @public
154
155
  *
@@ -178,4 +179,3 @@ export declare class PollyClient extends __Client<__HttpHandlerOptions, ServiceI
178
179
  */
179
180
  destroy(): void;
180
181
  }
181
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
5
5
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
5
5
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GetLexiconInput, GetLexiconOutput } from "../models/models_0";
5
5
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GetSpeechSynthesisTaskInput, GetSpeechSynthesisTaskOutput } from "../models/models_0";
5
5
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
5
5
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListSpeechSynthesisTasksInput, ListSpeechSynthesisTasksOutput } from "../models/models_0";
5
5
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
5
5
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { StartSpeechSynthesisTaskInput, StartSpeechSynthesisTaskOutput } from "../models/models_0";
5
5
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, WithSdkStreamMixin as __WithSdkStreamMixin } from "@aws-sdk/types";
4
4
  import { SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
5
5
  import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,6 +1,16 @@
1
- export * from "./Polly";
1
+ /**
2
+ * <p>Amazon Polly is a web service that makes it easy to synthesize speech from
3
+ * text.</p>
4
+ * <p>The Amazon Polly service provides API operations for synthesizing
5
+ * high-quality speech from plain text and Speech Synthesis Markup Language
6
+ * (SSML), along with managing pronunciations lexicons that enable you to get
7
+ * the best results for your application domain.</p>
8
+ *
9
+ * @packageDocumentation
10
+ */
2
11
  export * from "./PollyClient";
12
+ export * from "./Polly";
3
13
  export * from "./commands";
4
- export * from "./models";
5
14
  export * from "./pagination";
15
+ export * from "./models";
6
16
  export { PollyServiceException } from "./models/PollyServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -88,6 +88,7 @@ import {
88
88
  ClientResolvedEndpointParameters,
89
89
  EndpointParameters,
90
90
  } from "./endpoint/EndpointParameters";
91
+ export { __Client };
91
92
  export type ServiceInputTypes =
92
93
  | DeleteLexiconCommandInput
93
94
  | DescribeVoicesCommandInput
@@ -133,7 +134,7 @@ export interface ClientDefaults
133
134
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
134
135
  sdkStreamMixin?: __SdkStreamMixinInjector;
135
136
  }
136
- type PollyClientConfigType = Partial<
137
+ export type PollyClientConfigType = Partial<
137
138
  __SmithyConfiguration<__HttpHandlerOptions>
138
139
  > &
139
140
  ClientDefaults &
@@ -145,7 +146,7 @@ type PollyClientConfigType = Partial<
145
146
  UserAgentInputConfig &
146
147
  ClientInputEndpointParameters;
147
148
  export interface PollyClientConfig extends PollyClientConfigType {}
148
- type PollyClientResolvedConfigType =
149
+ export type PollyClientResolvedConfigType =
149
150
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
150
151
  Required<ClientDefaults> &
151
152
  RegionResolvedConfig &
@@ -167,4 +168,3 @@ export declare class PollyClient extends __Client<
167
168
  constructor(configuration: PollyClientConfig);
168
169
  destroy(): void;
169
170
  }
170
- export {};
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../PollyClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface DeleteLexiconCommandInput extends DeleteLexiconInput {}
16
17
  export interface DeleteLexiconCommandOutput
17
18
  extends DeleteLexiconOutput,
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../PollyClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface DescribeVoicesCommandInput extends DescribeVoicesInput {}
16
17
  export interface DescribeVoicesCommandOutput
17
18
  extends DescribeVoicesOutput,
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../PollyClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface GetLexiconCommandInput extends GetLexiconInput {}
16
17
  export interface GetLexiconCommandOutput
17
18
  extends GetLexiconOutput,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PollyClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetSpeechSynthesisTaskCommandInput
19
20
  extends GetSpeechSynthesisTaskInput {}
20
21
  export interface GetSpeechSynthesisTaskCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../PollyClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface ListLexiconsCommandInput extends ListLexiconsInput {}
16
17
  export interface ListLexiconsCommandOutput
17
18
  extends ListLexiconsOutput,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PollyClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListSpeechSynthesisTasksCommandInput
19
20
  extends ListSpeechSynthesisTasksInput {}
20
21
  export interface ListSpeechSynthesisTasksCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceInputTypes,
13
13
  ServiceOutputTypes,
14
14
  } from "../PollyClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface PutLexiconCommandInput extends PutLexiconInput {}
16
17
  export interface PutLexiconCommandOutput
17
18
  extends PutLexiconOutput,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../PollyClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface StartSpeechSynthesisTaskCommandInput
19
20
  extends StartSpeechSynthesisTaskInput {}
20
21
  export interface StartSpeechSynthesisTaskCommandOutput
@@ -16,6 +16,7 @@ import {
16
16
  ServiceInputTypes,
17
17
  ServiceOutputTypes,
18
18
  } from "../PollyClient";
19
+ export { __MetadataBearer, $Command };
19
20
  export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {}
20
21
  export interface SynthesizeSpeechCommandOutput
21
22
  extends __WithSdkStreamMixin<SynthesizeSpeechOutput, "AudioStream">,
@@ -1,6 +1,6 @@
1
- export * from "./Polly";
2
1
  export * from "./PollyClient";
2
+ export * from "./Polly";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { PollyServiceException } from "./models/PollyServiceException";
@@ -2,6 +2,7 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
5
6
  export declare class PollyServiceException extends __ServiceException {
6
7
  constructor(options: __ServiceExceptionOptions);
7
8
  }
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.335.0",
4
+ "version": "3.338.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,38 +21,38 @@
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.335.0",
25
- "@aws-sdk/config-resolver": "3.329.0",
26
- "@aws-sdk/credential-provider-node": "3.335.0",
27
- "@aws-sdk/fetch-http-handler": "3.329.0",
28
- "@aws-sdk/hash-node": "3.329.0",
29
- "@aws-sdk/invalid-dependency": "3.329.0",
30
- "@aws-sdk/middleware-content-length": "3.329.0",
31
- "@aws-sdk/middleware-endpoint": "3.329.0",
32
- "@aws-sdk/middleware-host-header": "3.329.0",
33
- "@aws-sdk/middleware-logger": "3.329.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.329.0",
35
- "@aws-sdk/middleware-retry": "3.329.0",
36
- "@aws-sdk/middleware-serde": "3.329.0",
37
- "@aws-sdk/middleware-signing": "3.329.0",
38
- "@aws-sdk/middleware-stack": "3.329.0",
39
- "@aws-sdk/middleware-user-agent": "3.332.0",
40
- "@aws-sdk/node-config-provider": "3.329.0",
41
- "@aws-sdk/node-http-handler": "3.329.0",
42
- "@aws-sdk/smithy-client": "3.329.0",
43
- "@aws-sdk/types": "3.329.0",
44
- "@aws-sdk/url-parser": "3.329.0",
24
+ "@aws-sdk/client-sts": "3.338.0",
25
+ "@aws-sdk/config-resolver": "3.338.0",
26
+ "@aws-sdk/credential-provider-node": "3.338.0",
27
+ "@aws-sdk/fetch-http-handler": "3.338.0",
28
+ "@aws-sdk/hash-node": "3.338.0",
29
+ "@aws-sdk/invalid-dependency": "3.338.0",
30
+ "@aws-sdk/middleware-content-length": "3.338.0",
31
+ "@aws-sdk/middleware-endpoint": "3.338.0",
32
+ "@aws-sdk/middleware-host-header": "3.338.0",
33
+ "@aws-sdk/middleware-logger": "3.338.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.338.0",
35
+ "@aws-sdk/middleware-retry": "3.338.0",
36
+ "@aws-sdk/middleware-serde": "3.338.0",
37
+ "@aws-sdk/middleware-signing": "3.338.0",
38
+ "@aws-sdk/middleware-stack": "3.338.0",
39
+ "@aws-sdk/middleware-user-agent": "3.338.0",
40
+ "@aws-sdk/node-config-provider": "3.338.0",
41
+ "@aws-sdk/node-http-handler": "3.338.0",
42
+ "@aws-sdk/smithy-client": "3.338.0",
43
+ "@aws-sdk/types": "3.338.0",
44
+ "@aws-sdk/url-parser": "3.338.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.329.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.329.0",
50
- "@aws-sdk/util-endpoints": "3.332.0",
51
- "@aws-sdk/util-retry": "3.329.0",
52
- "@aws-sdk/util-stream-browser": "3.329.0",
53
- "@aws-sdk/util-stream-node": "3.331.0",
54
- "@aws-sdk/util-user-agent-browser": "3.329.0",
55
- "@aws-sdk/util-user-agent-node": "3.329.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.338.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.338.0",
50
+ "@aws-sdk/util-endpoints": "3.338.0",
51
+ "@aws-sdk/util-retry": "3.338.0",
52
+ "@aws-sdk/util-stream-browser": "3.338.0",
53
+ "@aws-sdk/util-stream-node": "3.338.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.338.0",
55
+ "@aws-sdk/util-user-agent-node": "3.338.0",
56
56
  "@aws-sdk/util-utf8": "3.310.0",
57
57
  "@smithy/protocol-http": "^1.0.1",
58
58
  "@smithy/types": "^1.0.0",