|
1 | 1 | import type * as cxapi from '@aws-cdk/cx-api';
|
2 |
| -import type { SdkTrace } from '../'; |
3 |
| -import type { BootstrapEnvironmentProgress } from '../../../actions/bootstrap'; |
4 |
| -import type { DeployConfirmationRequest, StackDeployProgress } from '../../../actions/deploy'; |
5 |
| -import type { StackDestroyProgress } from '../../../actions/destroy'; |
6 |
| -import type { StackDetailsPayload } from '../../../actions/list'; |
7 |
| -import type { StackRollbackProgress } from '../../../actions/rollback'; |
8 |
| -import type { FileWatchEvent, WatchSettings } from '../../../actions/watch'; |
9 |
| -import type { AssemblyData, ConfirmationRequest, Duration, ErrorPayload, StackAndAssemblyData, SuccessfulDeployStackResult } from '../../../toolkit/types'; |
10 |
| -import type { StackActivity, StackMonitoringControlEvent } from '../../aws-cdk'; |
11 |
| -import type { MissingContext, UpdatedContext } from '../../cloud-assembly/context'; |
12 |
| -import * as make from '../../shared-private'; |
| 2 | +import type { BootstrapEnvironmentProgress } from './payloads/bootstrap-environment-progress'; |
| 3 | +import type { MissingContext, UpdatedContext } from './payloads/context'; |
| 4 | +import type { DeployConfirmationRequest, StackDeployProgress, SuccessfulDeployStackResult } from './payloads/deploy'; |
| 5 | +import type { StackDestroyProgress } from './payloads/destroy'; |
| 6 | +import type { StackDetailsPayload } from './payloads/list'; |
| 7 | +import type { StackRollbackProgress } from './payloads/rollback'; |
| 8 | +import type { SdkTrace } from './payloads/sdk-trace'; |
| 9 | +import type { StackActivity, StackMonitoringControlEvent } from './payloads/stack-activity'; |
| 10 | +import type { AssemblyData, ConfirmationRequest, Duration, ErrorPayload, StackAndAssemblyData } from './payloads/types'; |
| 11 | +import type { FileWatchEvent, WatchSettings } from './payloads/watch'; |
| 12 | +import * as make from './private'; |
13 | 13 |
|
14 | 14 | /**
|
15 | 15 | * We have a rough system by which we assign message codes:
|
@@ -328,6 +328,10 @@ export const IO = {
|
328 | 328 | }),
|
329 | 329 |
|
330 | 330 | // SDK codes
|
| 331 | + CDK_SDK_I0000: make.trace({ |
| 332 | + code: 'CDK_SDK_I0000', |
| 333 | + description: 'An SDK message.', |
| 334 | + }), |
331 | 335 | CDK_SDK_I0100: make.trace<SdkTrace>({
|
332 | 336 | code: 'CDK_SDK_I0100',
|
333 | 337 | description: 'An SDK trace. SDK traces are emitted as traces to the IoHost, but contain the original SDK logging level.',
|
|
0 commit comments