@aws-sdk/client-polly 3.928.0 → 3.930.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 (33) hide show
  1. package/dist-cjs/index.js +722 -811
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/PollyClient.js +2 -0
  4. package/dist-es/commands/DeleteLexiconCommand.js +3 -9
  5. package/dist-es/commands/DescribeVoicesCommand.js +3 -9
  6. package/dist-es/commands/GetLexiconCommand.js +3 -10
  7. package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +3 -9
  8. package/dist-es/commands/ListLexiconsCommand.js +3 -9
  9. package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +3 -9
  10. package/dist-es/commands/PutLexiconCommand.js +3 -10
  11. package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +3 -9
  12. package/dist-es/commands/SynthesizeSpeechCommand.js +3 -10
  13. package/dist-es/models/models_0.js +0 -16
  14. package/dist-es/runtimeConfig.shared.js +2 -0
  15. package/dist-es/schemas/schemas_0.js +649 -0
  16. package/dist-types/PollyClient.d.ts +10 -1
  17. package/dist-types/models/models_0.d.ts +0 -16
  18. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  19. package/dist-types/runtimeConfig.d.ts +1 -0
  20. package/dist-types/runtimeConfig.native.d.ts +1 -0
  21. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  22. package/dist-types/schemas/schemas_0.d.ts +65 -0
  23. package/dist-types/ts3.4/PollyClient.d.ts +4 -0
  24. package/dist-types/ts3.4/models/models_0.d.ts +0 -10
  25. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  26. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  27. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  29. package/dist-types/ts3.4/schemas/schemas_0.d.ts +71 -0
  30. package/package.json +34 -34
  31. package/dist-es/protocols/Aws_restJson1.js +0 -672
  32. package/dist-types/protocols/Aws_restJson1.d.ts +0 -83
  33. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -116
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PollyHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
18
19
  serviceId: string;
19
20
  urlParser: import("@smithy/types").UrlParser;
@@ -0,0 +1,65 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AudioStream: StaticSimpleSchema;
3
+ export declare var LexiconContent: StaticSimpleSchema;
4
+ export declare var DeleteLexiconInput: StaticStructureSchema;
5
+ export declare var DeleteLexiconOutput: StaticStructureSchema;
6
+ export declare var DescribeVoicesInput: StaticStructureSchema;
7
+ export declare var DescribeVoicesOutput: StaticStructureSchema;
8
+ export declare var EngineNotSupportedException: StaticErrorSchema;
9
+ export declare var GetLexiconInput: StaticStructureSchema;
10
+ export declare var GetLexiconOutput: StaticStructureSchema;
11
+ export declare var GetSpeechSynthesisTaskInput: StaticStructureSchema;
12
+ export declare var GetSpeechSynthesisTaskOutput: StaticStructureSchema;
13
+ export declare var InvalidLexiconException: StaticErrorSchema;
14
+ export declare var InvalidNextTokenException: StaticErrorSchema;
15
+ export declare var InvalidS3BucketException: StaticErrorSchema;
16
+ export declare var InvalidS3KeyException: StaticErrorSchema;
17
+ export declare var InvalidSampleRateException: StaticErrorSchema;
18
+ export declare var InvalidSnsTopicArnException: StaticErrorSchema;
19
+ export declare var InvalidSsmlException: StaticErrorSchema;
20
+ export declare var InvalidTaskIdException: StaticErrorSchema;
21
+ export declare var LanguageNotSupportedException: StaticErrorSchema;
22
+ export declare var Lexicon: StaticStructureSchema;
23
+ export declare var LexiconAttributes: StaticStructureSchema;
24
+ export declare var LexiconDescription: StaticStructureSchema;
25
+ export declare var LexiconNotFoundException: StaticErrorSchema;
26
+ export declare var LexiconSizeExceededException: StaticErrorSchema;
27
+ export declare var ListLexiconsInput: StaticStructureSchema;
28
+ export declare var ListLexiconsOutput: StaticStructureSchema;
29
+ export declare var ListSpeechSynthesisTasksInput: StaticStructureSchema;
30
+ export declare var ListSpeechSynthesisTasksOutput: StaticStructureSchema;
31
+ export declare var MarksNotSupportedForFormatException: StaticErrorSchema;
32
+ export declare var MaxLexemeLengthExceededException: StaticErrorSchema;
33
+ export declare var MaxLexiconsNumberExceededException: StaticErrorSchema;
34
+ export declare var PutLexiconInput: StaticStructureSchema;
35
+ export declare var PutLexiconOutput: StaticStructureSchema;
36
+ export declare var ServiceFailureException: StaticErrorSchema;
37
+ export declare var SsmlMarksNotSupportedForTextTypeException: StaticErrorSchema;
38
+ export declare var StartSpeechSynthesisTaskInput: StaticStructureSchema;
39
+ export declare var StartSpeechSynthesisTaskOutput: StaticStructureSchema;
40
+ export declare var SynthesisTask: StaticStructureSchema;
41
+ export declare var SynthesisTaskNotFoundException: StaticErrorSchema;
42
+ export declare var SynthesizeSpeechInput: StaticStructureSchema;
43
+ export declare var SynthesizeSpeechOutput: StaticStructureSchema;
44
+ export declare var TextLengthExceededException: StaticErrorSchema;
45
+ export declare var UnsupportedPlsAlphabetException: StaticErrorSchema;
46
+ export declare var UnsupportedPlsLanguageException: StaticErrorSchema;
47
+ export declare var Voice: StaticStructureSchema;
48
+ export declare var __Unit: "unit";
49
+ export declare var PollyServiceException: StaticErrorSchema;
50
+ export declare var EngineList: number;
51
+ export declare var LanguageCodeList: number;
52
+ export declare var LexiconDescriptionList: StaticListSchema;
53
+ export declare var LexiconNameList: number;
54
+ export declare var SpeechMarkTypeList: number;
55
+ export declare var SynthesisTasks: StaticListSchema;
56
+ export declare var VoiceList: StaticListSchema;
57
+ export declare var DeleteLexicon: StaticOperationSchema;
58
+ export declare var DescribeVoices: StaticOperationSchema;
59
+ export declare var GetLexicon: StaticOperationSchema;
60
+ export declare var GetSpeechSynthesisTask: StaticOperationSchema;
61
+ export declare var ListLexicons: StaticOperationSchema;
62
+ export declare var ListSpeechSynthesisTasks: StaticOperationSchema;
63
+ export declare var PutLexicon: StaticOperationSchema;
64
+ export declare var StartSpeechSynthesisTask: StaticOperationSchema;
65
+ export declare var SynthesizeSpeech: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -133,6 +136,7 @@ export interface ClientDefaults
133
136
  retryMode?: string | __Provider<string>;
134
137
  logger?: __Logger;
135
138
  extensions?: RuntimeExtension[];
139
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
136
140
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
137
141
  sdkStreamMixin?: __SdkStreamMixinInjector;
138
142
  }
@@ -477,13 +477,3 @@ export interface SynthesizeSpeechOutput {
477
477
  ContentType?: string | undefined;
478
478
  RequestCharacters?: number | undefined;
479
479
  }
480
- export declare const LexiconFilterSensitiveLog: (obj: Lexicon) => any;
481
- export declare const GetLexiconOutputFilterSensitiveLog: (
482
- obj: GetLexiconOutput
483
- ) => any;
484
- export declare const PutLexiconInputFilterSensitiveLog: (
485
- obj: PutLexiconInput
486
- ) => any;
487
- export declare const SynthesizeSpeechOutputFilterSensitiveLog: (
488
- obj: SynthesizeSpeechOutput
489
- ) => any;
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
42
46
  customUserAgent?: string | import("@smithy/types").UserAgent;
43
47
  userAgentAppId?:
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
42
46
  customUserAgent?: string | import("@smithy/types").UserAgent;
43
47
  retryStrategy?:
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
37
37
  retryMode: string | import("@smithy/types").Provider<string>;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  defaultsMode:
41
45
  | import("@smithy/smithy-client").DefaultsMode
42
46
  | import("@smithy/types").Provider<
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PollyHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<
18
+ import("@smithy/types").HttpRequest,
19
+ import("@smithy/types").HttpResponse
20
+ >;
17
21
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
18
22
  serviceId: string;
19
23
  urlParser: import("@smithy/types").UrlParser;
@@ -0,0 +1,71 @@
1
+ import {
2
+ StaticErrorSchema,
3
+ StaticListSchema,
4
+ StaticOperationSchema,
5
+ StaticSimpleSchema,
6
+ StaticStructureSchema,
7
+ } from "@smithy/types";
8
+ export declare var AudioStream: StaticSimpleSchema;
9
+ export declare var LexiconContent: StaticSimpleSchema;
10
+ export declare var DeleteLexiconInput: StaticStructureSchema;
11
+ export declare var DeleteLexiconOutput: StaticStructureSchema;
12
+ export declare var DescribeVoicesInput: StaticStructureSchema;
13
+ export declare var DescribeVoicesOutput: StaticStructureSchema;
14
+ export declare var EngineNotSupportedException: StaticErrorSchema;
15
+ export declare var GetLexiconInput: StaticStructureSchema;
16
+ export declare var GetLexiconOutput: StaticStructureSchema;
17
+ export declare var GetSpeechSynthesisTaskInput: StaticStructureSchema;
18
+ export declare var GetSpeechSynthesisTaskOutput: StaticStructureSchema;
19
+ export declare var InvalidLexiconException: StaticErrorSchema;
20
+ export declare var InvalidNextTokenException: StaticErrorSchema;
21
+ export declare var InvalidS3BucketException: StaticErrorSchema;
22
+ export declare var InvalidS3KeyException: StaticErrorSchema;
23
+ export declare var InvalidSampleRateException: StaticErrorSchema;
24
+ export declare var InvalidSnsTopicArnException: StaticErrorSchema;
25
+ export declare var InvalidSsmlException: StaticErrorSchema;
26
+ export declare var InvalidTaskIdException: StaticErrorSchema;
27
+ export declare var LanguageNotSupportedException: StaticErrorSchema;
28
+ export declare var Lexicon: StaticStructureSchema;
29
+ export declare var LexiconAttributes: StaticStructureSchema;
30
+ export declare var LexiconDescription: StaticStructureSchema;
31
+ export declare var LexiconNotFoundException: StaticErrorSchema;
32
+ export declare var LexiconSizeExceededException: StaticErrorSchema;
33
+ export declare var ListLexiconsInput: StaticStructureSchema;
34
+ export declare var ListLexiconsOutput: StaticStructureSchema;
35
+ export declare var ListSpeechSynthesisTasksInput: StaticStructureSchema;
36
+ export declare var ListSpeechSynthesisTasksOutput: StaticStructureSchema;
37
+ export declare var MarksNotSupportedForFormatException: StaticErrorSchema;
38
+ export declare var MaxLexemeLengthExceededException: StaticErrorSchema;
39
+ export declare var MaxLexiconsNumberExceededException: StaticErrorSchema;
40
+ export declare var PutLexiconInput: StaticStructureSchema;
41
+ export declare var PutLexiconOutput: StaticStructureSchema;
42
+ export declare var ServiceFailureException: StaticErrorSchema;
43
+ export declare var SsmlMarksNotSupportedForTextTypeException: StaticErrorSchema;
44
+ export declare var StartSpeechSynthesisTaskInput: StaticStructureSchema;
45
+ export declare var StartSpeechSynthesisTaskOutput: StaticStructureSchema;
46
+ export declare var SynthesisTask: StaticStructureSchema;
47
+ export declare var SynthesisTaskNotFoundException: StaticErrorSchema;
48
+ export declare var SynthesizeSpeechInput: StaticStructureSchema;
49
+ export declare var SynthesizeSpeechOutput: StaticStructureSchema;
50
+ export declare var TextLengthExceededException: StaticErrorSchema;
51
+ export declare var UnsupportedPlsAlphabetException: StaticErrorSchema;
52
+ export declare var UnsupportedPlsLanguageException: StaticErrorSchema;
53
+ export declare var Voice: StaticStructureSchema;
54
+ export declare var __Unit: "unit";
55
+ export declare var PollyServiceException: StaticErrorSchema;
56
+ export declare var EngineList: number;
57
+ export declare var LanguageCodeList: number;
58
+ export declare var LexiconDescriptionList: StaticListSchema;
59
+ export declare var LexiconNameList: number;
60
+ export declare var SpeechMarkTypeList: number;
61
+ export declare var SynthesisTasks: StaticListSchema;
62
+ export declare var VoiceList: StaticListSchema;
63
+ export declare var DeleteLexicon: StaticOperationSchema;
64
+ export declare var DescribeVoices: StaticOperationSchema;
65
+ export declare var GetLexicon: StaticOperationSchema;
66
+ export declare var GetSpeechSynthesisTask: StaticOperationSchema;
67
+ export declare var ListLexicons: StaticOperationSchema;
68
+ export declare var ListSpeechSynthesisTasks: StaticOperationSchema;
69
+ export declare var PutLexicon: StaticOperationSchema;
70
+ export declare var StartSpeechSynthesisTask: StaticOperationSchema;
71
+ export declare var SynthesizeSpeech: StaticOperationSchema;
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.928.0",
4
+ "version": "3.930.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-polly",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.928.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
58
- "@smithy/util-stream": "^4.5.5",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
+ "@smithy/util-stream": "^4.5.6",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },