generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathindex.ts
More file actions
23 lines (21 loc) · 736 Bytes
/
index.ts
File metadata and controls
23 lines (21 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export type { IoMessageLevel, IoMessageCode, IIoHost, IoMessage, IoRequest } from '../shared-public';
/**
* An SDK logging trace.
*
* Only info, warn and error level messages are emitted.
* SDK traces are emitted as traces to the IoHost, but contain the original SDK logging level.
*/
export interface SdkTrace {
/**
* The level the SDK has emitted the original message with
*/
readonly sdkLevel: 'info' | 'warn' | 'error';
/**
* The content of the SDK trace
*
* This will include the request and response data for API calls, including potentially sensitive information.
*
* @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/logging-sdk-calls.html
*/
readonly content: any;
}