@aws-sdk/types 3.168.0 → 3.171.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,22 @@
1
- export * from "./abort";
2
- export * from "./client";
3
- export * from "./command";
4
- export * from "./credentials";
5
- export * from "./crypto";
6
- export * from "./endpoint";
7
- export * from "./eventStream";
8
- export * from "./http";
9
- export * from "./logger";
10
- export * from "./middleware";
11
- export * from "./pagination";
12
- export * from "./profile";
13
- export * from "./response";
14
- export * from "./serde";
15
- export * from "./shapes";
16
- export * from "./signature";
17
- export * from "./stream";
18
- export * from "./token";
19
- export * from "./transfer";
20
- export * from "./util";
21
- export * from "./waiter";
1
+ export * from "./abort";
2
+ export * from "./auth";
3
+ export * from "./client";
4
+ export * from "./command";
5
+ export * from "./credentials";
6
+ export * from "./crypto";
7
+ export * from "./endpoint";
8
+ export * from "./eventStream";
9
+ export * from "./http";
10
+ export * from "./logger";
11
+ export * from "./middleware";
12
+ export * from "./pagination";
13
+ export * from "./profile";
14
+ export * from "./response";
15
+ export * from "./serde";
16
+ export * from "./shapes";
17
+ export * from "./signature";
18
+ export * from "./stream";
19
+ export * from "./token";
20
+ export * from "./transfer";
21
+ export * from "./util";
22
+ export * from "./waiter";
@@ -1,14 +1,17 @@
1
-
2
- export declare type LogLevel = "all" | "log" | "info" | "warn" | "error" | "off";
3
-
4
- export interface LoggerOptions {
5
- logger?: Logger;
6
- logLevel?: LogLevel;
7
- }
8
-
9
- export interface Logger {
10
- debug(...content: any[]): void;
11
- info(...content: any[]): void;
12
- warn(...content: any[]): void;
13
- error(...content: any[]): void;
14
- }
1
+ export declare type LogLevel =
2
+ | "all"
3
+ | "log"
4
+ | "info"
5
+ | "warn"
6
+ | "error"
7
+ | "off";
8
+ export interface LoggerOptions {
9
+ logger?: Logger;
10
+ logLevel?: LogLevel;
11
+ }
12
+ export interface Logger {
13
+ debug(...content: any[]): void;
14
+ info(...content: any[]): void;
15
+ warn(...content: any[]): void;
16
+ error(...content: any[]): void;
17
+ }
@@ -1,155 +1,204 @@
1
- import { Logger } from "./logger";
2
- import { UserAgent } from "./util";
3
- export interface InitializeHandlerArguments<Input extends object> {
4
-
5
- input: Input;
6
- }
7
- export interface InitializeHandlerOutput<Output extends object> extends DeserializeHandlerOutput<Output> {
8
- output: Output;
9
- }
10
- export interface SerializeHandlerArguments<Input extends object> extends InitializeHandlerArguments<Input> {
11
-
12
- request?: unknown;
13
- }
14
- export interface SerializeHandlerOutput<Output extends object> extends InitializeHandlerOutput<Output> {
15
- }
16
- export interface BuildHandlerArguments<Input extends object> extends FinalizeHandlerArguments<Input> {
17
- }
18
- export interface BuildHandlerOutput<Output extends object> extends InitializeHandlerOutput<Output> {
19
- }
20
- export interface FinalizeHandlerArguments<Input extends object> extends SerializeHandlerArguments<Input> {
21
-
22
- request: unknown;
23
- }
24
- export interface FinalizeHandlerOutput<Output extends object> extends InitializeHandlerOutput<Output> {
25
- }
26
- export interface DeserializeHandlerArguments<Input extends object> extends FinalizeHandlerArguments<Input> {
27
- }
28
- export interface DeserializeHandlerOutput<Output extends object> {
29
-
30
- response: unknown;
31
- output?: Output;
32
- }
33
- export interface InitializeHandler<Input extends object, Output extends object> {
34
-
35
- (args: InitializeHandlerArguments<Input>): Promise<InitializeHandlerOutput<Output>>;
36
- }
37
- export declare type Handler<Input extends object, Output extends object> = InitializeHandler<Input, Output>;
38
- export interface SerializeHandler<Input extends object, Output extends object> {
39
-
40
- (args: SerializeHandlerArguments<Input>): Promise<SerializeHandlerOutput<Output>>;
41
- }
42
- export interface FinalizeHandler<Input extends object, Output extends object> {
43
-
44
- (args: FinalizeHandlerArguments<Input>): Promise<FinalizeHandlerOutput<Output>>;
45
- }
46
- export interface BuildHandler<Input extends object, Output extends object> {
47
- (args: BuildHandlerArguments<Input>): Promise<BuildHandlerOutput<Output>>;
48
- }
49
- export interface DeserializeHandler<Input extends object, Output extends object> {
50
- (args: DeserializeHandlerArguments<Input>): Promise<DeserializeHandlerOutput<Output>>;
51
- }
52
-
53
- export interface InitializeMiddleware<Input extends object, Output extends object> {
54
-
55
- (next: InitializeHandler<Input, Output>, context: HandlerExecutionContext): InitializeHandler<Input, Output>;
56
- }
57
-
58
- export interface SerializeMiddleware<Input extends object, Output extends object> {
59
-
60
- (next: SerializeHandler<Input, Output>, context: HandlerExecutionContext): SerializeHandler<Input, Output>;
61
- }
62
-
63
- export interface FinalizeRequestMiddleware<Input extends object, Output extends object> {
64
-
65
- (next: FinalizeHandler<Input, Output>, context: HandlerExecutionContext): FinalizeHandler<Input, Output>;
66
- }
67
- export interface BuildMiddleware<Input extends object, Output extends object> {
68
- (next: BuildHandler<Input, Output>, context: HandlerExecutionContext): BuildHandler<Input, Output>;
69
- }
70
- export interface DeserializeMiddleware<Input extends object, Output extends object> {
71
- (next: DeserializeHandler<Input, Output>, context: HandlerExecutionContext): DeserializeHandler<Input, Output>;
72
- }
73
- export declare type MiddlewareType<Input extends object, Output extends object> = InitializeMiddleware<Input, Output> | SerializeMiddleware<Input, Output> | BuildMiddleware<Input, Output> | FinalizeRequestMiddleware<Input, Output> | DeserializeMiddleware<Input, Output>;
74
-
75
- export interface Terminalware {
76
- <Input extends object, Output extends object>(context: HandlerExecutionContext): DeserializeHandler<Input, Output>;
77
- }
78
- export declare type Step = "initialize" | "serialize" | "build" | "finalizeRequest" | "deserialize";
79
- export declare type Priority = "high" | "normal" | "low";
80
- export interface HandlerOptions {
81
-
82
- step?: Step;
83
-
84
- tags?: Array<string>;
85
-
86
- name?: string;
87
-
88
- override?: boolean;
89
- }
90
- export interface AbsoluteLocation {
91
-
92
- priority?: Priority;
93
- }
94
- export declare type Relation = "before" | "after";
95
- export interface RelativeLocation {
96
-
97
- relation: Relation;
98
-
99
- toMiddleware: string;
100
- }
101
- export declare type RelativeMiddlewareOptions = RelativeLocation & Pick<HandlerOptions, Exclude<keyof HandlerOptions, "step">>;
102
- export interface InitializeHandlerOptions extends HandlerOptions {
103
- step?: "initialize";
104
- }
105
- export interface SerializeHandlerOptions extends HandlerOptions {
106
- step: "serialize";
107
- }
108
- export interface BuildHandlerOptions extends HandlerOptions {
109
- step: "build";
110
- }
111
- export interface FinalizeRequestHandlerOptions extends HandlerOptions {
112
- step: "finalizeRequest";
113
- }
114
- export interface DeserializeHandlerOptions extends HandlerOptions {
115
- step: "deserialize";
116
- }
117
-
118
- export interface MiddlewareStack<Input extends object, Output extends object> extends Pluggable<Input, Output> {
119
-
120
- add(middleware: InitializeMiddleware<Input, Output>, options?: InitializeHandlerOptions & AbsoluteLocation): void;
121
-
122
- add(middleware: SerializeMiddleware<Input, Output>, options: SerializeHandlerOptions & AbsoluteLocation): void;
123
-
124
- add(middleware: BuildMiddleware<Input, Output>, options: BuildHandlerOptions & AbsoluteLocation): void;
125
-
126
- add(middleware: FinalizeRequestMiddleware<Input, Output>, options: FinalizeRequestHandlerOptions & AbsoluteLocation): void;
127
-
128
- add(middleware: DeserializeMiddleware<Input, Output>, options: DeserializeHandlerOptions & AbsoluteLocation): void;
129
-
130
- addRelativeTo(middleware: MiddlewareType<Input, Output>, options: RelativeMiddlewareOptions): void;
131
-
132
- use(pluggable: Pluggable<Input, Output>): void;
133
-
134
- clone(): MiddlewareStack<Input, Output>;
135
-
136
- remove(toRemove: MiddlewareType<Input, Output> | string): boolean;
137
-
138
- removeByTag(toRemove: string): boolean;
139
-
140
- concat<InputType extends Input, OutputType extends Output>(from: MiddlewareStack<InputType, OutputType>): MiddlewareStack<InputType, OutputType>;
141
-
142
- resolve<InputType extends Input, OutputType extends Output>(handler: DeserializeHandler<InputType, OutputType>, context: HandlerExecutionContext): InitializeHandler<InputType, OutputType>;
143
- }
144
-
145
- export interface HandlerExecutionContext {
146
-
147
- logger?: Logger;
148
-
149
- userAgent?: UserAgent;
150
- [key: string]: any;
151
- }
152
- export interface Pluggable<Input extends object, Output extends object> {
153
-
154
- applyToStack: (stack: MiddlewareStack<Input, Output>) => void;
155
- }
1
+ import { Logger } from "./logger";
2
+ import { UserAgent } from "./util";
3
+ export interface InitializeHandlerArguments<Input extends object> {
4
+ input: Input;
5
+ }
6
+ export interface InitializeHandlerOutput<Output extends object>
7
+ extends DeserializeHandlerOutput<Output> {
8
+ output: Output;
9
+ }
10
+ export interface SerializeHandlerArguments<Input extends object>
11
+ extends InitializeHandlerArguments<Input> {
12
+ request?: unknown;
13
+ }
14
+ export interface SerializeHandlerOutput<Output extends object>
15
+ extends InitializeHandlerOutput<Output> {}
16
+ export interface BuildHandlerArguments<Input extends object>
17
+ extends FinalizeHandlerArguments<Input> {}
18
+ export interface BuildHandlerOutput<Output extends object>
19
+ extends InitializeHandlerOutput<Output> {}
20
+ export interface FinalizeHandlerArguments<Input extends object>
21
+ extends SerializeHandlerArguments<Input> {
22
+ request: unknown;
23
+ }
24
+ export interface FinalizeHandlerOutput<Output extends object>
25
+ extends InitializeHandlerOutput<Output> {}
26
+ export interface DeserializeHandlerArguments<Input extends object>
27
+ extends FinalizeHandlerArguments<Input> {}
28
+ export interface DeserializeHandlerOutput<Output extends object> {
29
+ response: unknown;
30
+ output?: Output;
31
+ }
32
+ export interface InitializeHandler<
33
+ Input extends object,
34
+ Output extends object
35
+ > {
36
+ (args: InitializeHandlerArguments<Input>): Promise<
37
+ InitializeHandlerOutput<Output>
38
+ >;
39
+ }
40
+ export declare type Handler<
41
+ Input extends object,
42
+ Output extends object
43
+ > = InitializeHandler<Input, Output>;
44
+ export interface SerializeHandler<Input extends object, Output extends object> {
45
+ (args: SerializeHandlerArguments<Input>): Promise<
46
+ SerializeHandlerOutput<Output>
47
+ >;
48
+ }
49
+ export interface FinalizeHandler<Input extends object, Output extends object> {
50
+ (args: FinalizeHandlerArguments<Input>): Promise<
51
+ FinalizeHandlerOutput<Output>
52
+ >;
53
+ }
54
+ export interface BuildHandler<Input extends object, Output extends object> {
55
+ (args: BuildHandlerArguments<Input>): Promise<BuildHandlerOutput<Output>>;
56
+ }
57
+ export interface DeserializeHandler<
58
+ Input extends object,
59
+ Output extends object
60
+ > {
61
+ (args: DeserializeHandlerArguments<Input>): Promise<
62
+ DeserializeHandlerOutput<Output>
63
+ >;
64
+ }
65
+ export interface InitializeMiddleware<
66
+ Input extends object,
67
+ Output extends object
68
+ > {
69
+ (
70
+ next: InitializeHandler<Input, Output>,
71
+ context: HandlerExecutionContext
72
+ ): InitializeHandler<Input, Output>;
73
+ }
74
+ export interface SerializeMiddleware<
75
+ Input extends object,
76
+ Output extends object
77
+ > {
78
+ (
79
+ next: SerializeHandler<Input, Output>,
80
+ context: HandlerExecutionContext
81
+ ): SerializeHandler<Input, Output>;
82
+ }
83
+ export interface FinalizeRequestMiddleware<
84
+ Input extends object,
85
+ Output extends object
86
+ > {
87
+ (
88
+ next: FinalizeHandler<Input, Output>,
89
+ context: HandlerExecutionContext
90
+ ): FinalizeHandler<Input, Output>;
91
+ }
92
+ export interface BuildMiddleware<Input extends object, Output extends object> {
93
+ (
94
+ next: BuildHandler<Input, Output>,
95
+ context: HandlerExecutionContext
96
+ ): BuildHandler<Input, Output>;
97
+ }
98
+ export interface DeserializeMiddleware<
99
+ Input extends object,
100
+ Output extends object
101
+ > {
102
+ (
103
+ next: DeserializeHandler<Input, Output>,
104
+ context: HandlerExecutionContext
105
+ ): DeserializeHandler<Input, Output>;
106
+ }
107
+ export declare type MiddlewareType<
108
+ Input extends object,
109
+ Output extends object
110
+ > =
111
+ | InitializeMiddleware<Input, Output>
112
+ | SerializeMiddleware<Input, Output>
113
+ | BuildMiddleware<Input, Output>
114
+ | FinalizeRequestMiddleware<Input, Output>
115
+ | DeserializeMiddleware<Input, Output>;
116
+ export interface Terminalware {
117
+ <Input extends object, Output extends object>(
118
+ context: HandlerExecutionContext
119
+ ): DeserializeHandler<Input, Output>;
120
+ }
121
+ export declare type Step =
122
+ | "initialize"
123
+ | "serialize"
124
+ | "build"
125
+ | "finalizeRequest"
126
+ | "deserialize";
127
+ export declare type Priority = "high" | "normal" | "low";
128
+ export interface HandlerOptions {
129
+ step?: Step;
130
+ tags?: Array<string>;
131
+ name?: string;
132
+ override?: boolean;
133
+ }
134
+ export interface AbsoluteLocation {
135
+ priority?: Priority;
136
+ }
137
+ export declare type Relation = "before" | "after";
138
+ export interface RelativeLocation {
139
+ relation: Relation;
140
+ toMiddleware: string;
141
+ }
142
+ export declare type RelativeMiddlewareOptions = RelativeLocation &
143
+ Pick<HandlerOptions, Exclude<keyof HandlerOptions, "step">>;
144
+ export interface InitializeHandlerOptions extends HandlerOptions {
145
+ step?: "initialize";
146
+ }
147
+ export interface SerializeHandlerOptions extends HandlerOptions {
148
+ step: "serialize";
149
+ }
150
+ export interface BuildHandlerOptions extends HandlerOptions {
151
+ step: "build";
152
+ }
153
+ export interface FinalizeRequestHandlerOptions extends HandlerOptions {
154
+ step: "finalizeRequest";
155
+ }
156
+ export interface DeserializeHandlerOptions extends HandlerOptions {
157
+ step: "deserialize";
158
+ }
159
+ export interface MiddlewareStack<Input extends object, Output extends object>
160
+ extends Pluggable<Input, Output> {
161
+ add(
162
+ middleware: InitializeMiddleware<Input, Output>,
163
+ options?: InitializeHandlerOptions & AbsoluteLocation
164
+ ): void;
165
+ add(
166
+ middleware: SerializeMiddleware<Input, Output>,
167
+ options: SerializeHandlerOptions & AbsoluteLocation
168
+ ): void;
169
+ add(
170
+ middleware: BuildMiddleware<Input, Output>,
171
+ options: BuildHandlerOptions & AbsoluteLocation
172
+ ): void;
173
+ add(
174
+ middleware: FinalizeRequestMiddleware<Input, Output>,
175
+ options: FinalizeRequestHandlerOptions & AbsoluteLocation
176
+ ): void;
177
+ add(
178
+ middleware: DeserializeMiddleware<Input, Output>,
179
+ options: DeserializeHandlerOptions & AbsoluteLocation
180
+ ): void;
181
+ addRelativeTo(
182
+ middleware: MiddlewareType<Input, Output>,
183
+ options: RelativeMiddlewareOptions
184
+ ): void;
185
+ use(pluggable: Pluggable<Input, Output>): void;
186
+ clone(): MiddlewareStack<Input, Output>;
187
+ remove(toRemove: MiddlewareType<Input, Output> | string): boolean;
188
+ removeByTag(toRemove: string): boolean;
189
+ concat<InputType extends Input, OutputType extends Output>(
190
+ from: MiddlewareStack<InputType, OutputType>
191
+ ): MiddlewareStack<InputType, OutputType>;
192
+ resolve<InputType extends Input, OutputType extends Output>(
193
+ handler: DeserializeHandler<InputType, OutputType>,
194
+ context: HandlerExecutionContext
195
+ ): InitializeHandler<InputType, OutputType>;
196
+ }
197
+ export interface HandlerExecutionContext {
198
+ logger?: Logger;
199
+ userAgent?: UserAgent;
200
+ [key: string]: any;
201
+ }
202
+ export interface Pluggable<Input extends object, Output extends object> {
203
+ applyToStack: (stack: MiddlewareStack<Input, Output>) => void;
204
+ }
@@ -1,11 +1,8 @@
1
- import { Client } from "./client";
2
-
3
- export declare type Paginator<T> = AsyncGenerator<T, T, unknown>;
4
-
5
- export interface PaginationConfiguration {
6
- client: Client<any, any, any>;
7
- pageSize?: number;
8
- startingToken?: any;
9
-
10
- stopOnSameToken?: boolean;
11
- }
1
+ import { Client } from "./client";
2
+ export declare type Paginator<T> = AsyncGenerator<T, T, unknown>;
3
+ export interface PaginationConfiguration {
4
+ client: Client<any, any, any>;
5
+ pageSize?: number;
6
+ startingToken?: any;
7
+ stopOnSameToken?: boolean;
8
+ }
@@ -1,9 +1,7 @@
1
- export declare type IniSection = Record<string, string | undefined>;
2
-
3
- export interface Profile extends IniSection {
4
- }
5
- export declare type ParsedIniData = Record<string, IniSection>;
6
- export interface SharedConfigFiles {
7
- credentialsFile: ParsedIniData;
8
- configFile: ParsedIniData;
9
- }
1
+ export declare type IniSection = Record<string, string | undefined>;
2
+ export interface Profile extends IniSection {}
3
+ export declare type ParsedIniData = Record<string, IniSection>;
4
+ export interface SharedConfigFiles {
5
+ credentialsFile: ParsedIniData;
6
+ configFile: ParsedIniData;
7
+ }
@@ -1,18 +1,11 @@
1
- export interface ResponseMetadata {
2
-
3
- httpStatusCode?: number;
4
-
5
- requestId?: string;
6
-
7
- extendedRequestId?: string;
8
-
9
- cfId?: string;
10
-
11
- attempts?: number;
12
-
13
- totalRetryDelay?: number;
14
- }
15
- export interface MetadataBearer {
16
-
17
- $metadata: ResponseMetadata;
18
- }
1
+ export interface ResponseMetadata {
2
+ httpStatusCode?: number;
3
+ requestId?: string;
4
+ extendedRequestId?: string;
5
+ cfId?: string;
6
+ attempts?: number;
7
+ totalRetryDelay?: number;
8
+ }
9
+ export interface MetadataBearer {
10
+ $metadata: ResponseMetadata;
11
+ }
@@ -1,42 +1,40 @@
1
- import { Endpoint } from "./http";
2
- import { RequestHandler } from "./transfer";
3
- import { Decoder, Encoder, Provider } from "./util";
4
-
5
- export interface EndpointBearer {
6
- endpoint: Provider<Endpoint>;
7
- }
8
- export interface StreamCollector {
9
-
10
- (stream: any): Promise<Uint8Array>;
11
- }
12
-
13
- export interface SerdeContext extends EndpointBearer {
14
- base64Encoder: Encoder;
15
- base64Decoder: Decoder;
16
- utf8Encoder: Encoder;
17
- utf8Decoder: Decoder;
18
- streamCollector: StreamCollector;
19
- requestHandler: RequestHandler<any, any>;
20
- disableHostPrefix: boolean;
21
- }
22
- export interface RequestSerializer<Request, Context extends EndpointBearer = any> {
23
-
24
- (input: any, context: Context): Promise<Request>;
25
- }
26
- export interface ResponseDeserializer<OutputType, ResponseType = any, Context = any> {
27
-
28
- (output: ResponseType, context: Context): Promise<OutputType>;
29
- }
30
-
31
- declare global {
32
- export interface ReadableStream {
33
- }
34
- }
35
-
36
- export interface SdkStreamMixin {
37
- transformToByteArray: () => Promise<Uint8Array>;
38
- transformToString: (encoding?: string) => Promise<string>;
39
- transformToWebStream: () => ReadableStream;
40
- }
41
-
42
- export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
1
+ import { Endpoint } from "./http";
2
+ import { RequestHandler } from "./transfer";
3
+ import { Decoder, Encoder, Provider } from "./util";
4
+ export interface EndpointBearer {
5
+ endpoint: Provider<Endpoint>;
6
+ }
7
+ export interface StreamCollector {
8
+ (stream: any): Promise<Uint8Array>;
9
+ }
10
+ export interface SerdeContext extends EndpointBearer {
11
+ base64Encoder: Encoder;
12
+ base64Decoder: Decoder;
13
+ utf8Encoder: Encoder;
14
+ utf8Decoder: Decoder;
15
+ streamCollector: StreamCollector;
16
+ requestHandler: RequestHandler<any, any>;
17
+ disableHostPrefix: boolean;
18
+ }
19
+ export interface RequestSerializer<
20
+ Request,
21
+ Context extends EndpointBearer = any
22
+ > {
23
+ (input: any, context: Context): Promise<Request>;
24
+ }
25
+ export interface ResponseDeserializer<
26
+ OutputType,
27
+ ResponseType = any,
28
+ Context = any
29
+ > {
30
+ (output: ResponseType, context: Context): Promise<OutputType>;
31
+ }
32
+ declare global {
33
+ export interface ReadableStream {}
34
+ }
35
+ export interface SdkStreamMixin {
36
+ transformToByteArray: () => Promise<Uint8Array>;
37
+ transformToString: (encoding?: string) => Promise<string>;
38
+ transformToWebStream: () => ReadableStream;
39
+ }
40
+ export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
@@ -1,26 +1,24 @@
1
- import { HttpResponse } from "./http";
2
- import { MetadataBearer } from "./response";
3
-
4
- export declare type DocumentType = null | boolean | number | string | DocumentType[] | {
5
- [prop: string]: DocumentType;
6
- };
7
-
8
- export interface RetryableTrait {
9
-
10
- readonly throttling?: boolean;
11
- }
12
-
13
- export interface SmithyException {
14
-
15
- readonly name: string;
16
-
17
- readonly $fault: "client" | "server";
18
-
19
- readonly $service?: string;
20
-
21
- readonly $retryable?: RetryableTrait;
22
-
23
- readonly $response?: HttpResponse;
24
- }
25
-
26
- export declare type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>;
1
+ import { HttpResponse } from "./http";
2
+ import { MetadataBearer } from "./response";
3
+ export declare type DocumentType =
4
+ | null
5
+ | boolean
6
+ | number
7
+ | string
8
+ | DocumentType[]
9
+ | {
10
+ [prop: string]: DocumentType;
11
+ };
12
+ export interface RetryableTrait {
13
+ readonly throttling?: boolean;
14
+ }
15
+ export interface SmithyException {
16
+ readonly name: string;
17
+ readonly $fault: "client" | "server";
18
+ readonly $service?: string;
19
+ readonly $retryable?: RetryableTrait;
20
+ readonly $response?: HttpResponse;
21
+ }
22
+ export declare type SdkError = Error &
23
+ Partial<SmithyException> &
24
+ Partial<MetadataBearer>;