@@ -21,7 +21,7 @@ import type { FileWatchEvent, WatchSettings } from '../payloads/watch';
21
21
* - X900-X999 are reserved for results
22
22
*/
23
23
export const IO = {
24
- // Defaults
24
+ // Defaults (0000)
25
25
DEFAULT_TOOLKIT_INFO : make . info ( {
26
26
code : 'CDK_TOOLKIT_I0000' ,
27
27
description : 'Default info messages emitted from the Toolkit' ,
@@ -35,7 +35,7 @@ export const IO = {
35
35
description : 'Default warning messages emitted from the Toolkit' ,
36
36
} ) ,
37
37
38
- // 1: Synth
38
+ // 1: Synth (1xxx)
39
39
CDK_TOOLKIT_I1000 : make . info < Duration > ( {
40
40
code : 'CDK_TOOLKIT_I1000' ,
41
41
description : 'Provides synthesis times.' ,
@@ -57,7 +57,7 @@ export const IO = {
57
57
interface : 'AssemblyData' ,
58
58
} ) ,
59
59
60
- // 2: List
60
+ // 2: List (2xxx)
61
61
CDK_TOOLKIT_I2901 : make . result < StackDetailsPayload > ( {
62
62
code : 'CDK_TOOLKIT_I2901' ,
63
63
description : 'Provides details on the selected stacks and their dependencies' ,
@@ -70,9 +70,9 @@ export const IO = {
70
70
description : 'Resource import failed' ,
71
71
} ) ,
72
72
73
- // 4: Diff
73
+ // 4: Diff (4xxx)
74
74
75
- // 5: Deploy & Watch
75
+ // 5: Deploy & Watch (5xxx)
76
76
CDK_TOOLKIT_I5000 : make . info < Duration > ( {
77
77
code : 'CDK_TOOLKIT_I5000' ,
78
78
description : 'Provides deployment times' ,
@@ -129,14 +129,13 @@ export const IO = {
129
129
description : 'Confirm deploy security sensitive changes' ,
130
130
interface : 'DeployConfirmationRequest' ,
131
131
} ) ,
132
-
133
132
CDK_TOOLKIT_I5100 : make . info < StackDeployProgress > ( {
134
133
code : 'CDK_TOOLKIT_I5100' ,
135
134
description : 'Stack deploy progress' ,
136
135
interface : 'StackDeployProgress' ,
137
136
} ) ,
138
137
139
- // Assets
138
+ // Assets (52xx)
140
139
CDK_TOOLKIT_I5210 : make . trace < BuildAsset > ( {
141
140
code : 'CDK_TOOLKIT_I5210' ,
142
141
description : 'Started building a specific asset' ,
@@ -147,7 +146,6 @@ export const IO = {
147
146
description : 'Building the asset has completed' ,
148
147
interface : 'Duration' ,
149
148
} ) ,
150
-
151
149
CDK_TOOLKIT_I5220 : make . trace < PublishAsset > ( {
152
150
code : 'CDK_TOOLKIT_I5220' ,
153
151
description : 'Started publishing a specific asset' ,
@@ -159,7 +157,7 @@ export const IO = {
159
157
interface : 'Duration' ,
160
158
} ) ,
161
159
162
- // Watch
160
+ // Watch (53xx)
163
161
CDK_TOOLKIT_I5310 : make . debug < WatchSettings > ( {
164
162
code : 'CDK_TOOLKIT_I5310' ,
165
163
description : 'The computed settings used for file watching' ,
@@ -189,7 +187,9 @@ export const IO = {
189
187
description : 'Queued watch deployment started' ,
190
188
} ) ,
191
189
192
- // Stack Monitor
190
+ // Hotswap (54xx)
191
+
192
+ // Stack Monitor (55xx)
193
193
CDK_TOOLKIT_I5501 : make . info < StackMonitoringControlEvent > ( {
194
194
code : 'CDK_TOOLKIT_I5501' ,
195
195
description : 'Stack Monitoring: Start monitoring of a single stack' ,
@@ -206,7 +206,7 @@ export const IO = {
206
206
interface : 'StackMonitoringControlEvent' ,
207
207
} ) ,
208
208
209
- // Success
209
+ // Success (59xx)
210
210
CDK_TOOLKIT_I5900 : make . result < SuccessfulDeployStackResult > ( {
211
211
code : 'CDK_TOOLKIT_I5900' ,
212
212
description : 'Deployment results on success' ,
@@ -232,7 +232,7 @@ export const IO = {
232
232
interface : 'ErrorPayload' ,
233
233
} ) ,
234
234
235
- // 6: Rollback
235
+ // 6: Rollback (6xxx)
236
236
CDK_TOOLKIT_I6000 : make . info < Duration > ( {
237
237
code : 'CDK_TOOLKIT_I6000' ,
238
238
description : 'Provides rollback times' ,
@@ -254,7 +254,7 @@ export const IO = {
254
254
interface : 'ErrorPayload' ,
255
255
} ) ,
256
256
257
- // 7: Destroy
257
+ // 7: Destroy (7xxx)
258
258
CDK_TOOLKIT_I7000 : make . info < Duration > ( {
259
259
code : 'CDK_TOOLKIT_I7000' ,
260
260
description : 'Provides destroy times' ,
@@ -297,7 +297,7 @@ export const IO = {
297
297
interface : 'ErrorPayload' ,
298
298
} ) ,
299
299
300
- // 9: Bootstrap
300
+ // 9: Bootstrap (9xxx)
301
301
CDK_TOOLKIT_I9000 : make . info < Duration > ( {
302
302
code : 'CDK_TOOLKIT_I9000' ,
303
303
description : 'Provides bootstrap times' ,
0 commit comments