@aws-sdk/types 3.168.0 → 3.170.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.
- package/CHANGELOG.md +8 -0
- package/dist-types/endpoint.d.ts +5 -0
- package/dist-types/ts3.4/abort.d.ts +15 -17
- package/dist-types/ts3.4/client.d.ts +54 -17
- package/dist-types/ts3.4/command.d.ts +17 -7
- package/dist-types/ts3.4/credentials.d.ts +12 -13
- package/dist-types/ts3.4/crypto.d.ts +19 -20
- package/dist-types/ts3.4/endpoint.d.ts +41 -36
- package/dist-types/ts3.4/eventStream.d.ts +104 -83
- package/dist-types/ts3.4/http.d.ts +42 -40
- package/dist-types/ts3.4/index.d.ts +21 -21
- package/dist-types/ts3.4/logger.d.ts +19 -14
- package/dist-types/ts3.4/middleware.d.ts +226 -155
- package/dist-types/ts3.4/pagination.d.ts +11 -11
- package/dist-types/ts3.4/profile.d.ts +8 -9
- package/dist-types/ts3.4/response.d.ts +16 -18
- package/dist-types/ts3.4/serde.d.ts +45 -42
- package/dist-types/ts3.4/shapes.d.ts +32 -26
- package/dist-types/ts3.4/signature.d.ts +46 -47
- package/dist-types/ts3.4/stream.d.ts +16 -13
- package/dist-types/ts3.4/token.d.ts +8 -9
- package/dist-types/ts3.4/transfer.d.ts +18 -12
- package/dist-types/ts3.4/util.d.ts +64 -62
- package/dist-types/ts3.4/waiter.d.ts +14 -15
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/types
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/types
|
package/dist-types/endpoint.d.ts
CHANGED
|
@@ -30,6 +30,11 @@ export interface EndpointURL {
|
|
|
30
30
|
* This value is as-is as provided by the user.
|
|
31
31
|
*/
|
|
32
32
|
path: string;
|
|
33
|
+
/**
|
|
34
|
+
* The parsed path segment of the URL.
|
|
35
|
+
* This value is guranteed to start and end with a "/".
|
|
36
|
+
*/
|
|
37
|
+
normalizedPath: string;
|
|
33
38
|
/**
|
|
34
39
|
* A boolean indicating whether the authority is an IP address.
|
|
35
40
|
*/
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
export interface AbortHandler {
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
export interface AbortSignal {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
abort(): void;
|
|
17
|
-
}
|
|
1
|
+
export interface AbortHandler {
|
|
2
|
+
(this: AbortSignal, ev: any): any;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export interface AbortSignal {
|
|
6
|
+
readonly aborted: boolean;
|
|
7
|
+
|
|
8
|
+
onabort: AbortHandler | null;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface AbortController {
|
|
12
|
+
readonly signal: AbortSignal;
|
|
13
|
+
|
|
14
|
+
abort(): void;
|
|
15
|
+
}
|
|
@@ -1,17 +1,54 @@
|
|
|
1
|
-
import { Command } from "./command";
|
|
2
|
-
import { MiddlewareStack } from "./middleware";
|
|
3
|
-
import { MetadataBearer } from "./response";
|
|
4
|
-
|
|
5
|
-
interface InvokeFunction<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { Command } from "./command";
|
|
2
|
+
import { MiddlewareStack } from "./middleware";
|
|
3
|
+
import { MetadataBearer } from "./response";
|
|
4
|
+
|
|
5
|
+
interface InvokeFunction<
|
|
6
|
+
InputTypes extends object,
|
|
7
|
+
OutputTypes extends MetadataBearer,
|
|
8
|
+
ResolvedClientConfiguration
|
|
9
|
+
> {
|
|
10
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(
|
|
11
|
+
command: Command<
|
|
12
|
+
InputTypes,
|
|
13
|
+
InputType,
|
|
14
|
+
OutputTypes,
|
|
15
|
+
OutputType,
|
|
16
|
+
ResolvedClientConfiguration
|
|
17
|
+
>,
|
|
18
|
+
options?: any
|
|
19
|
+
): Promise<OutputType>;
|
|
20
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(
|
|
21
|
+
command: Command<
|
|
22
|
+
InputTypes,
|
|
23
|
+
InputType,
|
|
24
|
+
OutputTypes,
|
|
25
|
+
OutputType,
|
|
26
|
+
ResolvedClientConfiguration
|
|
27
|
+
>,
|
|
28
|
+
options: any,
|
|
29
|
+
cb: (err: any, data?: OutputType) => void
|
|
30
|
+
): void;
|
|
31
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(
|
|
32
|
+
command: Command<
|
|
33
|
+
InputTypes,
|
|
34
|
+
InputType,
|
|
35
|
+
OutputTypes,
|
|
36
|
+
OutputType,
|
|
37
|
+
ResolvedClientConfiguration
|
|
38
|
+
>,
|
|
39
|
+
options?: any,
|
|
40
|
+
cb?: (err: any, data?: OutputType) => void
|
|
41
|
+
): Promise<OutputType> | void;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface Client<
|
|
45
|
+
Input extends object,
|
|
46
|
+
Output extends MetadataBearer,
|
|
47
|
+
ResolvedClientConfiguration
|
|
48
|
+
> {
|
|
49
|
+
readonly config: ResolvedClientConfiguration;
|
|
50
|
+
middlewareStack: MiddlewareStack<Input, Output>;
|
|
51
|
+
send: InvokeFunction<Input, Output, ResolvedClientConfiguration>;
|
|
52
|
+
destroy: () => void;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import { Handler, MiddlewareStack } from "./middleware";
|
|
2
|
-
import { MetadataBearer } from "./response";
|
|
3
|
-
export interface Command<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { Handler, MiddlewareStack } from "./middleware";
|
|
2
|
+
import { MetadataBearer } from "./response";
|
|
3
|
+
export interface Command<
|
|
4
|
+
ClientInput extends object,
|
|
5
|
+
InputType extends ClientInput,
|
|
6
|
+
ClientOutput extends MetadataBearer,
|
|
7
|
+
OutputType extends ClientOutput,
|
|
8
|
+
ResolvedConfiguration
|
|
9
|
+
> {
|
|
10
|
+
readonly input: InputType;
|
|
11
|
+
readonly middlewareStack: MiddlewareStack<InputType, OutputType>;
|
|
12
|
+
resolveMiddleware(
|
|
13
|
+
stack: MiddlewareStack<ClientInput, ClientOutput>,
|
|
14
|
+
configuration: ResolvedConfiguration,
|
|
15
|
+
options: any
|
|
16
|
+
): Handler<InputType, OutputType>;
|
|
17
|
+
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { Provider } from "./util";
|
|
2
|
-
|
|
3
|
-
export interface Credentials {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare type CredentialProvider = Provider<Credentials>;
|
|
1
|
+
import { Provider } from "./util";
|
|
2
|
+
|
|
3
|
+
export interface Credentials {
|
|
4
|
+
readonly accessKeyId: string;
|
|
5
|
+
|
|
6
|
+
readonly secretAccessKey: string;
|
|
7
|
+
|
|
8
|
+
readonly sessionToken?: string;
|
|
9
|
+
|
|
10
|
+
readonly expiration?: Date;
|
|
11
|
+
}
|
|
12
|
+
export declare type CredentialProvider = Provider<Credentials>;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
export declare type SourceData = string | ArrayBuffer | ArrayBufferView;
|
|
2
|
-
|
|
3
|
-
export interface Hash {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
1
|
+
export declare type SourceData = string | ArrayBuffer | ArrayBufferView;
|
|
2
|
+
|
|
3
|
+
export interface Hash {
|
|
4
|
+
update(toHash: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void;
|
|
5
|
+
|
|
6
|
+
digest(): Promise<Uint8Array>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface HashConstructor {
|
|
10
|
+
new (secret?: SourceData): Hash;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface StreamHasher<StreamType = any> {
|
|
14
|
+
(hashCtor: HashConstructor, stream: StreamType): Promise<Uint8Array>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface randomValues {
|
|
18
|
+
(byteLength: number): Promise<Uint8Array>;
|
|
19
|
+
}
|
|
@@ -1,36 +1,41 @@
|
|
|
1
|
-
export interface EndpointPartition {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export interface EndpointARN {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
export declare enum EndpointURLScheme {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
export interface EndpointURL {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
export interface EndpointPartition {
|
|
2
|
+
name: string;
|
|
3
|
+
dnsSuffix: string;
|
|
4
|
+
dualStackDnsSuffix: string;
|
|
5
|
+
supportsFIPS: boolean;
|
|
6
|
+
supportsDualStack: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface EndpointARN {
|
|
9
|
+
partition: string;
|
|
10
|
+
service: string;
|
|
11
|
+
region: string;
|
|
12
|
+
accountId: string;
|
|
13
|
+
resourceId: Array<string>;
|
|
14
|
+
}
|
|
15
|
+
export declare enum EndpointURLScheme {
|
|
16
|
+
HTTP = "http",
|
|
17
|
+
HTTPS = "https",
|
|
18
|
+
}
|
|
19
|
+
export interface EndpointURL {
|
|
20
|
+
scheme: EndpointURLScheme;
|
|
21
|
+
|
|
22
|
+
authority: string;
|
|
23
|
+
|
|
24
|
+
path: string;
|
|
25
|
+
|
|
26
|
+
normalizedPath: string;
|
|
27
|
+
|
|
28
|
+
isIp: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare type EndpointObjectProperty =
|
|
31
|
+
| string
|
|
32
|
+
| boolean
|
|
33
|
+
| {
|
|
34
|
+
[key: string]: EndpointObjectProperty;
|
|
35
|
+
}
|
|
36
|
+
| EndpointObjectProperty[];
|
|
37
|
+
export interface EndpointV2 {
|
|
38
|
+
url: URL;
|
|
39
|
+
properties?: Record<string, EndpointObjectProperty>;
|
|
40
|
+
headers?: Record<string, string[]>;
|
|
41
|
+
}
|
|
@@ -1,83 +1,104 @@
|
|
|
1
|
-
import { HttpRequest } from "./http";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export interface
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
export interface
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
export interface
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
1
|
+
import { HttpRequest } from "./http";
|
|
2
|
+
import {
|
|
3
|
+
FinalizeHandler,
|
|
4
|
+
FinalizeHandlerArguments,
|
|
5
|
+
FinalizeHandlerOutput,
|
|
6
|
+
HandlerExecutionContext,
|
|
7
|
+
} from "./middleware";
|
|
8
|
+
import { MetadataBearer } from "./response";
|
|
9
|
+
|
|
10
|
+
export interface Message {
|
|
11
|
+
headers: MessageHeaders;
|
|
12
|
+
body: Uint8Array;
|
|
13
|
+
}
|
|
14
|
+
export declare type MessageHeaders = Record<string, MessageHeaderValue>;
|
|
15
|
+
export interface BooleanHeaderValue {
|
|
16
|
+
type: "boolean";
|
|
17
|
+
value: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface ByteHeaderValue {
|
|
20
|
+
type: "byte";
|
|
21
|
+
value: number;
|
|
22
|
+
}
|
|
23
|
+
export interface ShortHeaderValue {
|
|
24
|
+
type: "short";
|
|
25
|
+
value: number;
|
|
26
|
+
}
|
|
27
|
+
export interface IntegerHeaderValue {
|
|
28
|
+
type: "integer";
|
|
29
|
+
value: number;
|
|
30
|
+
}
|
|
31
|
+
export interface LongHeaderValue {
|
|
32
|
+
type: "long";
|
|
33
|
+
value: Int64;
|
|
34
|
+
}
|
|
35
|
+
export interface BinaryHeaderValue {
|
|
36
|
+
type: "binary";
|
|
37
|
+
value: Uint8Array;
|
|
38
|
+
}
|
|
39
|
+
export interface StringHeaderValue {
|
|
40
|
+
type: "string";
|
|
41
|
+
value: string;
|
|
42
|
+
}
|
|
43
|
+
export interface TimestampHeaderValue {
|
|
44
|
+
type: "timestamp";
|
|
45
|
+
value: Date;
|
|
46
|
+
}
|
|
47
|
+
export interface UuidHeaderValue {
|
|
48
|
+
type: "uuid";
|
|
49
|
+
value: string;
|
|
50
|
+
}
|
|
51
|
+
export declare type MessageHeaderValue =
|
|
52
|
+
| BooleanHeaderValue
|
|
53
|
+
| ByteHeaderValue
|
|
54
|
+
| ShortHeaderValue
|
|
55
|
+
| IntegerHeaderValue
|
|
56
|
+
| LongHeaderValue
|
|
57
|
+
| BinaryHeaderValue
|
|
58
|
+
| StringHeaderValue
|
|
59
|
+
| TimestampHeaderValue
|
|
60
|
+
| UuidHeaderValue;
|
|
61
|
+
export interface Int64 {
|
|
62
|
+
readonly bytes: Uint8Array;
|
|
63
|
+
valueOf: () => number;
|
|
64
|
+
toString: () => string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface EventStreamSerdeContext {
|
|
68
|
+
eventStreamMarshaller: EventStreamMarshaller;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface EventStreamMarshallerDeserFn<StreamType> {
|
|
72
|
+
<T>(
|
|
73
|
+
body: StreamType,
|
|
74
|
+
deserializer: (input: Record<string, Message>) => Promise<T>
|
|
75
|
+
): AsyncIterable<T>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface EventStreamMarshallerSerFn<StreamType> {
|
|
79
|
+
<T>(input: AsyncIterable<T>, serializer: (event: T) => Message): StreamType;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export interface EventStreamMarshaller<StreamType = any> {
|
|
83
|
+
deserialize: EventStreamMarshallerDeserFn<StreamType>;
|
|
84
|
+
serialize: EventStreamMarshallerSerFn<StreamType>;
|
|
85
|
+
}
|
|
86
|
+
export interface EventStreamRequestSigner {
|
|
87
|
+
sign(request: HttpRequest): Promise<HttpRequest>;
|
|
88
|
+
}
|
|
89
|
+
export interface EventStreamPayloadHandler {
|
|
90
|
+
handle: <Input extends object, Output extends MetadataBearer>(
|
|
91
|
+
next: FinalizeHandler<Input, Output>,
|
|
92
|
+
args: FinalizeHandlerArguments<Input>,
|
|
93
|
+
context?: HandlerExecutionContext
|
|
94
|
+
) => Promise<FinalizeHandlerOutput<Output>>;
|
|
95
|
+
}
|
|
96
|
+
export interface EventStreamPayloadHandlerProvider {
|
|
97
|
+
(options: any): EventStreamPayloadHandler;
|
|
98
|
+
}
|
|
99
|
+
export interface EventStreamSerdeProvider {
|
|
100
|
+
(options: any): EventStreamMarshaller;
|
|
101
|
+
}
|
|
102
|
+
export interface EventStreamSignerProvider {
|
|
103
|
+
(options: any): EventStreamRequestSigner;
|
|
104
|
+
}
|
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
import { AbortSignal } from "./abort";
|
|
2
|
-
|
|
3
|
-
export interface Headers extends Map<string, string> {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
import { AbortSignal } from "./abort";
|
|
2
|
+
|
|
3
|
+
export interface Headers extends Map<string, string> {
|
|
4
|
+
withHeader(headerName: string, headerValue: string): Headers;
|
|
5
|
+
|
|
6
|
+
withoutHeader(headerName: string): Headers;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export declare type HeaderBag = Record<string, string>;
|
|
10
|
+
|
|
11
|
+
export interface HttpMessage {
|
|
12
|
+
headers: HeaderBag;
|
|
13
|
+
body?: any;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export declare type QueryParameterBag = Record<
|
|
17
|
+
string,
|
|
18
|
+
string | Array<string> | null
|
|
19
|
+
>;
|
|
20
|
+
export interface Endpoint {
|
|
21
|
+
protocol: string;
|
|
22
|
+
hostname: string;
|
|
23
|
+
port?: number;
|
|
24
|
+
path: string;
|
|
25
|
+
query?: QueryParameterBag;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface HttpRequest extends HttpMessage, Endpoint {
|
|
29
|
+
method: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface HttpResponse extends HttpMessage {
|
|
33
|
+
statusCode: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface ResolvedHttpResponse extends HttpResponse {
|
|
37
|
+
body: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface HttpHandlerOptions {
|
|
41
|
+
abortSignal?: AbortSignal;
|
|
42
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
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 "./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,14 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export interface
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
export declare type LogLevel =
|
|
2
|
+
| "all"
|
|
3
|
+
| "log"
|
|
4
|
+
| "info"
|
|
5
|
+
| "warn"
|
|
6
|
+
| "error"
|
|
7
|
+
| "off";
|
|
8
|
+
|
|
9
|
+
export interface LoggerOptions {
|
|
10
|
+
logger?: Logger;
|
|
11
|
+
logLevel?: LogLevel;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface Logger {
|
|
15
|
+
debug(...content: any[]): void;
|
|
16
|
+
info(...content: any[]): void;
|
|
17
|
+
warn(...content: any[]): void;
|
|
18
|
+
error(...content: any[]): void;
|
|
19
|
+
}
|