@aws-sdk/client-polly 3.1087.0 → 3.1088.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 (28) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/Polly.d.ts +33 -39
  3. package/dist-types/ts3.4/PollyClient.d.ts +20 -39
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +9 -19
  7. package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +3 -5
  8. package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +2 -4
  9. package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +3 -5
  10. package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +5 -10
  11. package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +2 -4
  12. package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +4 -9
  13. package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +3 -5
  14. package/dist-types/ts3.4/commands/StartSpeechSynthesisStreamCommand.d.ts +4 -6
  15. package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +5 -10
  16. package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +6 -14
  17. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  18. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  19. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  20. package/dist-types/ts3.4/models/enums.d.ts +1 -2
  21. package/dist-types/ts3.4/models/errors.d.ts +24 -88
  22. package/dist-types/ts3.4/models/models_0.d.ts +2 -6
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  27. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  28. package/package.json +41 -41
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- StartSpeechSynthesisTaskInput,
4
- StartSpeechSynthesisTaskOutput,
5
- } from "../models/models_0";
2
+ import { StartSpeechSynthesisTaskInput, StartSpeechSynthesisTaskOutput } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface StartSpeechSynthesisTaskCommandInput
8
- extends StartSpeechSynthesisTaskInput {}
4
+ export interface StartSpeechSynthesisTaskCommandInput extends StartSpeechSynthesisTaskInput {}
9
5
  export interface StartSpeechSynthesisTaskCommandOutput
10
- extends StartSpeechSynthesisTaskOutput,
11
- __MetadataBearer {}
6
+ extends StartSpeechSynthesisTaskOutput, __MetadataBearer {}
12
7
  declare const StartSpeechSynthesisTaskCommand_base: {
13
8
  new (
14
- input: StartSpeechSynthesisTaskCommandInput
9
+ input: StartSpeechSynthesisTaskCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  StartSpeechSynthesisTaskCommandInput,
17
12
  StartSpeechSynthesisTaskCommandOutput,
@@ -20,7 +15,7 @@ declare const StartSpeechSynthesisTaskCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: StartSpeechSynthesisTaskCommandInput
18
+ input: StartSpeechSynthesisTaskCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  StartSpeechSynthesisTaskCommandInput,
26
21
  StartSpeechSynthesisTaskCommandOutput,
@@ -1,24 +1,16 @@
1
- import {
2
- MetadataBearer as __MetadataBearer,
3
- StreamingBlobPayloadOutputTypes,
4
- } from "@smithy/types";
5
- import {
6
- SynthesizeSpeechInput,
7
- SynthesizeSpeechOutput,
8
- } from "../models/models_0";
1
+ import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
2
+ import { SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
4
  export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {}
11
5
  export interface SynthesizeSpeechCommandOutput
12
- extends Pick<
13
- SynthesizeSpeechOutput,
14
- Exclude<keyof SynthesizeSpeechOutput, "AudioStream">
15
- >,
6
+ extends
7
+ Pick<SynthesizeSpeechOutput, Exclude<keyof SynthesizeSpeechOutput, "AudioStream">>,
16
8
  __MetadataBearer {
17
9
  AudioStream?: StreamingBlobPayloadOutputTypes;
18
10
  }
19
11
  declare const SynthesizeSpeechCommand_base: {
20
12
  new (
21
- input: SynthesizeSpeechCommandInput
13
+ input: SynthesizeSpeechCommandInput,
22
14
  ): import("@smithy/core/client").CommandImpl<
23
15
  SynthesizeSpeechCommandInput,
24
16
  SynthesizeSpeechCommandOutput,
@@ -27,7 +19,7 @@ declare const SynthesizeSpeechCommand_base: {
27
19
  import("..").ServiceOutputTypes
28
20
  >;
29
21
  new (
30
- input: SynthesizeSpeechCommandInput
22
+ input: SynthesizeSpeechCommandInput,
31
23
  ): import("@smithy/core/client").CommandImpl<
32
24
  SynthesizeSpeechCommandInput,
33
25
  SynthesizeSpeechCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface PollyExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -180,8 +180,7 @@ export declare const SpeechMarkType: {
180
180
  readonly VISEME: "viseme";
181
181
  readonly WORD: "word";
182
182
  };
183
- export type SpeechMarkType =
184
- (typeof SpeechMarkType)[keyof typeof SpeechMarkType];
183
+ export type SpeechMarkType = (typeof SpeechMarkType)[keyof typeof SpeechMarkType];
185
184
  export declare const TaskStatus: {
186
185
  readonly COMPLETED: "completed";
187
186
  readonly FAILED: "failed";
@@ -5,191 +5,127 @@ import { PollyServiceException as __BaseException } from "./PollyServiceExceptio
5
5
  export declare class LexiconNotFoundException extends __BaseException {
6
6
  readonly name: "LexiconNotFoundException";
7
7
  readonly $fault: "client";
8
- constructor(
9
- opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>
10
- );
8
+ constructor(opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>);
11
9
  }
12
10
  export declare class ServiceFailureException extends __BaseException {
13
11
  readonly name: "ServiceFailureException";
14
12
  readonly $fault: "server";
15
- constructor(
16
- opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
17
- );
13
+ constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
18
14
  }
19
15
  export declare class InvalidNextTokenException extends __BaseException {
20
16
  readonly name: "InvalidNextTokenException";
21
17
  readonly $fault: "client";
22
- constructor(
23
- opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
24
- );
18
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
25
19
  }
26
20
  export declare class EngineNotSupportedException extends __BaseException {
27
21
  readonly name: "EngineNotSupportedException";
28
22
  readonly $fault: "client";
29
- constructor(
30
- opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>
31
- );
23
+ constructor(opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>);
32
24
  }
33
25
  export declare class InvalidTaskIdException extends __BaseException {
34
26
  readonly name: "InvalidTaskIdException";
35
27
  readonly $fault: "client";
36
- constructor(
37
- opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>
38
- );
28
+ constructor(opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>);
39
29
  }
40
30
  export declare class SynthesisTaskNotFoundException extends __BaseException {
41
31
  readonly name: "SynthesisTaskNotFoundException";
42
32
  readonly $fault: "client";
43
- constructor(
44
- opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>
45
- );
33
+ constructor(opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>);
46
34
  }
47
35
  export declare class InvalidLexiconException extends __BaseException {
48
36
  readonly name: "InvalidLexiconException";
49
37
  readonly $fault: "client";
50
- constructor(
51
- opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>
52
- );
38
+ constructor(opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>);
53
39
  }
54
40
  export declare class InvalidS3BucketException extends __BaseException {
55
41
  readonly name: "InvalidS3BucketException";
56
42
  readonly $fault: "client";
57
- constructor(
58
- opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>
59
- );
43
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>);
60
44
  }
61
45
  export declare class InvalidS3KeyException extends __BaseException {
62
46
  readonly name: "InvalidS3KeyException";
63
47
  readonly $fault: "client";
64
- constructor(
65
- opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>
66
- );
48
+ constructor(opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>);
67
49
  }
68
50
  export declare class InvalidSampleRateException extends __BaseException {
69
51
  readonly name: "InvalidSampleRateException";
70
52
  readonly $fault: "client";
71
- constructor(
72
- opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>
73
- );
53
+ constructor(opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>);
74
54
  }
75
55
  export declare class InvalidSnsTopicArnException extends __BaseException {
76
56
  readonly name: "InvalidSnsTopicArnException";
77
57
  readonly $fault: "client";
78
- constructor(
79
- opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>
80
- );
58
+ constructor(opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>);
81
59
  }
82
60
  export declare class InvalidSsmlException extends __BaseException {
83
61
  readonly name: "InvalidSsmlException";
84
62
  readonly $fault: "client";
85
- constructor(
86
- opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>
87
- );
63
+ constructor(opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>);
88
64
  }
89
65
  export declare class LanguageNotSupportedException extends __BaseException {
90
66
  readonly name: "LanguageNotSupportedException";
91
67
  readonly $fault: "client";
92
- constructor(
93
- opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>
94
- );
68
+ constructor(opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>);
95
69
  }
96
70
  export declare class LexiconSizeExceededException extends __BaseException {
97
71
  readonly name: "LexiconSizeExceededException";
98
72
  readonly $fault: "client";
99
- constructor(
100
- opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>
101
- );
73
+ constructor(opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>);
102
74
  }
103
75
  export declare class MarksNotSupportedForFormatException extends __BaseException {
104
76
  readonly name: "MarksNotSupportedForFormatException";
105
77
  readonly $fault: "client";
106
- constructor(
107
- opts: __ExceptionOptionType<
108
- MarksNotSupportedForFormatException,
109
- __BaseException
110
- >
111
- );
78
+ constructor(opts: __ExceptionOptionType<MarksNotSupportedForFormatException, __BaseException>);
112
79
  }
113
80
  export declare class MaxLexemeLengthExceededException extends __BaseException {
114
81
  readonly name: "MaxLexemeLengthExceededException";
115
82
  readonly $fault: "client";
116
- constructor(
117
- opts: __ExceptionOptionType<
118
- MaxLexemeLengthExceededException,
119
- __BaseException
120
- >
121
- );
83
+ constructor(opts: __ExceptionOptionType<MaxLexemeLengthExceededException, __BaseException>);
122
84
  }
123
85
  export declare class MaxLexiconsNumberExceededException extends __BaseException {
124
86
  readonly name: "MaxLexiconsNumberExceededException";
125
87
  readonly $fault: "client";
126
- constructor(
127
- opts: __ExceptionOptionType<
128
- MaxLexiconsNumberExceededException,
129
- __BaseException
130
- >
131
- );
88
+ constructor(opts: __ExceptionOptionType<MaxLexiconsNumberExceededException, __BaseException>);
132
89
  }
133
90
  export declare class UnsupportedPlsAlphabetException extends __BaseException {
134
91
  readonly name: "UnsupportedPlsAlphabetException";
135
92
  readonly $fault: "client";
136
- constructor(
137
- opts: __ExceptionOptionType<
138
- UnsupportedPlsAlphabetException,
139
- __BaseException
140
- >
141
- );
93
+ constructor(opts: __ExceptionOptionType<UnsupportedPlsAlphabetException, __BaseException>);
142
94
  }
143
95
  export declare class UnsupportedPlsLanguageException extends __BaseException {
144
96
  readonly name: "UnsupportedPlsLanguageException";
145
97
  readonly $fault: "client";
146
- constructor(
147
- opts: __ExceptionOptionType<
148
- UnsupportedPlsLanguageException,
149
- __BaseException
150
- >
151
- );
98
+ constructor(opts: __ExceptionOptionType<UnsupportedPlsLanguageException, __BaseException>);
152
99
  }
153
100
  export declare class ServiceQuotaExceededException extends __BaseException {
154
101
  readonly name: "ServiceQuotaExceededException";
155
102
  readonly $fault: "client";
156
103
  quotaCode: QuotaCode | undefined;
157
104
  serviceCode: ServiceCode | undefined;
158
- constructor(
159
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
160
- );
105
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
161
106
  }
162
107
  export declare class ThrottlingException extends __BaseException {
163
108
  readonly name: "ThrottlingException";
164
109
  readonly $fault: "client";
165
110
  throttlingReasons?: ThrottlingReason[] | undefined;
166
- constructor(
167
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
168
- );
111
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
169
112
  }
170
113
  export declare class ValidationException extends __BaseException {
171
114
  readonly name: "ValidationException";
172
115
  readonly $fault: "client";
173
116
  reason: ValidationExceptionReason | undefined;
174
117
  fields?: ValidationExceptionField[] | undefined;
175
- constructor(
176
- opts: __ExceptionOptionType<ValidationException, __BaseException>
177
- );
118
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
178
119
  }
179
120
  export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
180
121
  readonly name: "SsmlMarksNotSupportedForTextTypeException";
181
122
  readonly $fault: "client";
182
123
  constructor(
183
- opts: __ExceptionOptionType<
184
- SsmlMarksNotSupportedForTextTypeException,
185
- __BaseException
186
- >
124
+ opts: __ExceptionOptionType<SsmlMarksNotSupportedForTextTypeException, __BaseException>,
187
125
  );
188
126
  }
189
127
  export declare class TextLengthExceededException extends __BaseException {
190
128
  readonly name: "TextLengthExceededException";
191
129
  readonly $fault: "client";
192
- constructor(
193
- opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>
194
- );
130
+ constructor(opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>);
195
131
  }
@@ -150,9 +150,7 @@ export interface StartSpeechSynthesisStreamInput {
150
150
  OutputFormat: OutputFormat | undefined;
151
151
  SampleRate?: string | undefined;
152
152
  VoiceId: VoiceId | undefined;
153
- ActionStream?:
154
- | AsyncIterable<StartSpeechSynthesisStreamActionStream>
155
- | undefined;
153
+ ActionStream?: AsyncIterable<StartSpeechSynthesisStreamActionStream> | undefined;
156
154
  }
157
155
  export interface StreamClosedEvent {
158
156
  RequestCharacters?: number | undefined;
@@ -248,9 +246,7 @@ export declare namespace StartSpeechSynthesisStreamEventStream {
248
246
  }
249
247
  }
250
248
  export interface StartSpeechSynthesisStreamOutput {
251
- EventStream?:
252
- | AsyncIterable<StartSpeechSynthesisStreamEventStream>
253
- | undefined;
249
+ EventStream?: AsyncIterable<StartSpeechSynthesisStreamEventStream> | undefined;
254
250
  }
255
251
  export interface StartSpeechSynthesisTaskInput {
256
252
  Engine?: Engine | undefined;
@@ -8,26 +8,18 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
18
16
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
19
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
18
  region: string | import("@smithy/types").Provider<any>;
21
- requestHandler:
22
- | import("@smithy/core/protocols").HttpHandler<any>
23
- | RequestHandler;
19
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
24
20
  retryMode: string | import("@smithy/types").Provider<string>;
25
21
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
22
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
23
  ) => Promise<Uint8Array>;
32
24
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
25
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -56,13 +48,8 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
56
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
49
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
58
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
59
- userAgentAppId?:
60
- | string
61
- | undefined
62
- | import("@smithy/types").Provider<string | undefined>;
63
- retryStrategy?:
64
- | import("@smithy/types").RetryStrategy
65
- | import("@smithy/types").RetryStrategyV2;
51
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
52
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
66
53
  endpoint?:
67
54
  | ((
68
55
  | string
@@ -84,7 +71,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
84
71
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
85
72
  context?: {
86
73
  logger?: import("@smithy/types").Logger;
87
- }
74
+ },
88
75
  ) => import("@smithy/types").EndpointV2;
89
76
  tls?: boolean;
90
77
  serviceConfiguredEndpoint?: never;
@@ -97,13 +84,13 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
97
84
  signer?:
98
85
  | import("@smithy/types").RequestSigner
99
86
  | ((
100
- authScheme?: import("@smithy/types").AuthScheme
87
+ authScheme?: import("@smithy/types").AuthScheme,
101
88
  ) => Promise<import("@smithy/types").RequestSigner>);
102
89
  signingEscapePath?: boolean;
103
90
  systemClockOffset?: number;
104
91
  signingRegion?: string;
105
92
  signerConstructor?: new (
106
93
  options: import("@smithy/signature-v4").SignatureV4Init &
107
- import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
108
95
  ) => import("@smithy/types").RequestSigner;
109
96
  };
@@ -10,25 +10,19 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
19
19
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
20
20
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
21
  region: string | import("@smithy/types").Provider<string>;
22
- requestHandler:
23
- | RequestHandler
24
- | import("@smithy/core/protocols").HttpHandler<any>;
22
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
25
23
  retryMode: string | import("@smithy/types").Provider<string>;
26
24
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
25
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
26
  ) => Promise<Uint8Array>;
33
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
34
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -56,9 +50,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
56
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
51
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
58
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
59
- retryStrategy?:
60
- | import("@smithy/types").RetryStrategy
61
- | import("@smithy/types").RetryStrategyV2;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
62
54
  endpoint?:
63
55
  | ((
64
56
  | string
@@ -80,7 +72,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
80
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
81
73
  context?: {
82
74
  logger?: import("@smithy/types").Logger;
83
- }
75
+ },
84
76
  ) => import("@smithy/types").EndpointV2;
85
77
  tls?: boolean;
86
78
  serviceConfiguredEndpoint?: never;
@@ -92,13 +84,13 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
92
84
  signer?:
93
85
  | import("@smithy/types").RequestSigner
94
86
  | ((
95
- authScheme?: import("@smithy/types").AuthScheme
87
+ authScheme?: import("@smithy/types").AuthScheme,
96
88
  ) => Promise<import("@smithy/types").RequestSigner>);
97
89
  signingEscapePath?: boolean;
98
90
  systemClockOffset?: number;
99
91
  signingRegion?: string;
100
92
  signerConstructor?: new (
101
93
  options: import("@smithy/signature-v4").SignatureV4Init &
102
- import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
103
95
  ) => import("@smithy/types").RequestSigner;
104
96
  };
@@ -22,11 +22,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
24
24
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
25
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
26
  ) => Promise<Uint8Array>;
31
27
  base64Decoder: import("@smithy/types").Decoder;
32
28
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -41,13 +37,11 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
41
37
  region: string | import("@smithy/types").Provider<any>;
42
38
  profile?: string;
43
39
  defaultUserAgentProvider: (
44
- config?: import("@aws-sdk/core/client").PreviouslyResolved
40
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
45
41
  ) => Promise<import("@smithy/types").UserAgent>;
46
42
  credentialDefaultProvider:
47
43
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
48
- | ((
49
- _: unknown
50
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
44
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
51
45
  maxAttempts: number | import("@smithy/types").Provider<number>;
52
46
  retryMode: string | import("@smithy/types").Provider<string>;
53
47
  logger: import("@smithy/types").Logger;
@@ -55,18 +49,11 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
55
49
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
56
50
  defaultsMode:
57
51
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
52
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
61
53
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
62
54
  customUserAgent?: string | import("@smithy/types").UserAgent;
63
- userAgentAppId?:
64
- | string
65
- | undefined
66
- | import("@smithy/types").Provider<string | undefined>;
67
- retryStrategy?:
68
- | import("@smithy/types").RetryStrategy
69
- | import("@smithy/types").RetryStrategyV2;
55
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
56
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
70
57
  endpoint?:
71
58
  | ((
72
59
  | string
@@ -88,7 +75,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
88
75
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
89
76
  context?: {
90
77
  logger?: import("@smithy/types").Logger;
91
- }
78
+ },
92
79
  ) => import("@smithy/types").EndpointV2;
93
80
  tls?: boolean;
94
81
  serviceConfiguredEndpoint?: never;
@@ -101,13 +88,13 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
101
88
  signer?:
102
89
  | import("@smithy/types").RequestSigner
103
90
  | ((
104
- authScheme?: import("@smithy/types").AuthScheme
91
+ authScheme?: import("@smithy/types").AuthScheme,
105
92
  ) => Promise<import("@smithy/types").RequestSigner>);
106
93
  signingEscapePath?: boolean;
107
94
  systemClockOffset?: number;
108
95
  signingRegion?: string;
109
96
  signerConstructor?: new (
110
97
  options: import("@smithy/signature-v4").SignatureV4Init &
111
- import("@smithy/signature-v4").SignatureV4CryptoInit
98
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
112
99
  ) => import("@smithy/types").RequestSigner;
113
100
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PollyHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;