31 lines
943 B
TypeScript
31 lines
943 B
TypeScript
import type { DataRequest } from './types';
|
|
/**
|
|
* 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;
|
|
}
|
|
/**
|
|
* Get an MFA token for an MFA device.
|
|
*/
|
|
export interface MfaTokenRequest extends DataRequest {
|
|
/**
|
|
* The ARN of the MFA device a token is required for.
|
|
*/
|
|
readonly deviceArn: string;
|
|
}
|
|
//# sourceMappingURL=sdk.d.ts.map
|