@aws-sdk/client-cloudtrail 3.693.0 → 3.698.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.
Files changed (62) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +346 -44
  3. package/dist-es/CloudTrail.js +12 -0
  4. package/dist-es/commands/CreateDashboardCommand.js +22 -0
  5. package/dist-es/commands/DeleteDashboardCommand.js +22 -0
  6. package/dist-es/commands/GetDashboardCommand.js +22 -0
  7. package/dist-es/commands/ListDashboardsCommand.js +22 -0
  8. package/dist-es/commands/StartDashboardRefreshCommand.js +22 -0
  9. package/dist-es/commands/UpdateDashboardCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_0.js +58 -26
  12. package/dist-es/protocols/Aws_json1_1.js +160 -7
  13. package/dist-types/CloudTrail.d.ts +43 -0
  14. package/dist-types/CloudTrailClient.d.ts +8 -2
  15. package/dist-types/commands/AddTagsCommand.d.ts +4 -2
  16. package/dist-types/commands/CancelQueryCommand.d.ts +2 -0
  17. package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateDashboardCommand.d.ts +189 -0
  19. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +5 -1
  20. package/dist-types/commands/CreateTrailCommand.d.ts +6 -2
  21. package/dist-types/commands/DeleteDashboardCommand.d.ts +83 -0
  22. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -3
  23. package/dist-types/commands/DeleteTrailCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeQueryCommand.d.ts +7 -3
  25. package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -0
  26. package/dist-types/commands/GenerateQueryCommand.d.ts +1 -0
  27. package/dist-types/commands/GetDashboardCommand.d.ts +106 -0
  28. package/dist-types/commands/GetEventSelectorsCommand.d.ts +2 -0
  29. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +2 -0
  30. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -1
  31. package/dist-types/commands/GetResourcePolicyCommand.d.ts +11 -3
  32. package/dist-types/commands/GetTrailCommand.d.ts +2 -0
  33. package/dist-types/commands/GetTrailStatusCommand.d.ts +2 -0
  34. package/dist-types/commands/ListDashboardsCommand.d.ts +85 -0
  35. package/dist-types/commands/ListTagsCommand.d.ts +3 -1
  36. package/dist-types/commands/PutEventSelectorsCommand.d.ts +2 -0
  37. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +7 -1
  38. package/dist-types/commands/PutResourcePolicyCommand.d.ts +17 -21
  39. package/dist-types/commands/RemoveTagsCommand.d.ts +3 -1
  40. package/dist-types/commands/StartDashboardRefreshCommand.d.ts +98 -0
  41. package/dist-types/commands/StartImportCommand.d.ts +5 -1
  42. package/dist-types/commands/StartLoggingCommand.d.ts +2 -0
  43. package/dist-types/commands/StartQueryCommand.d.ts +7 -1
  44. package/dist-types/commands/StopLoggingCommand.d.ts +2 -0
  45. package/dist-types/commands/UpdateDashboardCommand.d.ts +164 -0
  46. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +5 -1
  47. package/dist-types/commands/UpdateTrailCommand.d.ts +7 -1
  48. package/dist-types/commands/index.d.ts +6 -0
  49. package/dist-types/models/models_0.d.ts +823 -116
  50. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  51. package/dist-types/ts3.4/CloudTrail.d.ts +103 -0
  52. package/dist-types/ts3.4/CloudTrailClient.d.ts +36 -0
  53. package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +50 -0
  55. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +47 -0
  56. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/StartDashboardRefreshCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +156 -19
  61. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  62. package/package.json +35 -35
@@ -3,9 +3,11 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
4
4
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "../commands/CancelQueryCommand";
5
5
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "../commands/CreateChannelCommand";
6
+ import { CreateDashboardCommandInput, CreateDashboardCommandOutput } from "../commands/CreateDashboardCommand";
6
7
  import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "../commands/CreateEventDataStoreCommand";
7
8
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "../commands/CreateTrailCommand";
8
9
  import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "../commands/DeleteChannelCommand";
10
+ import { DeleteDashboardCommandInput, DeleteDashboardCommandOutput } from "../commands/DeleteDashboardCommand";
9
11
  import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "../commands/DeleteEventDataStoreCommand";
10
12
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
11
13
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "../commands/DeleteTrailCommand";
@@ -16,6 +18,7 @@ import { DisableFederationCommandInput, DisableFederationCommandOutput } from ".
16
18
  import { EnableFederationCommandInput, EnableFederationCommandOutput } from "../commands/EnableFederationCommand";
17
19
  import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "../commands/GenerateQueryCommand";
18
20
  import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
21
+ import { GetDashboardCommandInput, GetDashboardCommandOutput } from "../commands/GetDashboardCommand";
19
22
  import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "../commands/GetEventDataStoreCommand";
20
23
  import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "../commands/GetEventSelectorsCommand";
21
24
  import { GetImportCommandInput, GetImportCommandOutput } from "../commands/GetImportCommand";
@@ -25,6 +28,7 @@ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from ".
25
28
  import { GetTrailCommandInput, GetTrailCommandOutput } from "../commands/GetTrailCommand";
26
29
  import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "../commands/GetTrailStatusCommand";
27
30
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
31
+ import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "../commands/ListDashboardsCommand";
28
32
  import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "../commands/ListEventDataStoresCommand";
29
33
  import { ListImportFailuresCommandInput, ListImportFailuresCommandOutput } from "../commands/ListImportFailuresCommand";
30
34
  import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
@@ -40,6 +44,7 @@ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from ".
40
44
  import { RegisterOrganizationDelegatedAdminCommandInput, RegisterOrganizationDelegatedAdminCommandOutput } from "../commands/RegisterOrganizationDelegatedAdminCommand";
41
45
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "../commands/RemoveTagsCommand";
42
46
  import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "../commands/RestoreEventDataStoreCommand";
47
+ import { StartDashboardRefreshCommandInput, StartDashboardRefreshCommandOutput } from "../commands/StartDashboardRefreshCommand";
43
48
  import { StartEventDataStoreIngestionCommandInput, StartEventDataStoreIngestionCommandOutput } from "../commands/StartEventDataStoreIngestionCommand";
44
49
  import { StartImportCommandInput, StartImportCommandOutput } from "../commands/StartImportCommand";
45
50
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "../commands/StartLoggingCommand";
@@ -48,6 +53,7 @@ import { StopEventDataStoreIngestionCommandInput, StopEventDataStoreIngestionCom
48
53
  import { StopImportCommandInput, StopImportCommandOutput } from "../commands/StopImportCommand";
49
54
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "../commands/StopLoggingCommand";
50
55
  import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "../commands/UpdateChannelCommand";
56
+ import { UpdateDashboardCommandInput, UpdateDashboardCommandOutput } from "../commands/UpdateDashboardCommand";
51
57
  import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "../commands/UpdateEventDataStoreCommand";
52
58
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "../commands/UpdateTrailCommand";
53
59
  /**
@@ -62,6 +68,10 @@ export declare const se_CancelQueryCommand: (input: CancelQueryCommandInput, con
62
68
  * serializeAws_json1_1CreateChannelCommand
63
69
  */
64
70
  export declare const se_CreateChannelCommand: (input: CreateChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ /**
72
+ * serializeAws_json1_1CreateDashboardCommand
73
+ */
74
+ export declare const se_CreateDashboardCommand: (input: CreateDashboardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
75
  /**
66
76
  * serializeAws_json1_1CreateEventDataStoreCommand
67
77
  */
@@ -74,6 +84,10 @@ export declare const se_CreateTrailCommand: (input: CreateTrailCommandInput, con
74
84
  * serializeAws_json1_1DeleteChannelCommand
75
85
  */
76
86
  export declare const se_DeleteChannelCommand: (input: DeleteChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
+ /**
88
+ * serializeAws_json1_1DeleteDashboardCommand
89
+ */
90
+ export declare const se_DeleteDashboardCommand: (input: DeleteDashboardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
91
  /**
78
92
  * serializeAws_json1_1DeleteEventDataStoreCommand
79
93
  */
@@ -114,6 +128,10 @@ export declare const se_GenerateQueryCommand: (input: GenerateQueryCommandInput,
114
128
  * serializeAws_json1_1GetChannelCommand
115
129
  */
116
130
  export declare const se_GetChannelCommand: (input: GetChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_json1_1GetDashboardCommand
133
+ */
134
+ export declare const se_GetDashboardCommand: (input: GetDashboardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
135
  /**
118
136
  * serializeAws_json1_1GetEventDataStoreCommand
119
137
  */
@@ -150,6 +168,10 @@ export declare const se_GetTrailStatusCommand: (input: GetTrailStatusCommandInpu
150
168
  * serializeAws_json1_1ListChannelsCommand
151
169
  */
152
170
  export declare const se_ListChannelsCommand: (input: ListChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
171
+ /**
172
+ * serializeAws_json1_1ListDashboardsCommand
173
+ */
174
+ export declare const se_ListDashboardsCommand: (input: ListDashboardsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
153
175
  /**
154
176
  * serializeAws_json1_1ListEventDataStoresCommand
155
177
  */
@@ -210,6 +232,10 @@ export declare const se_RemoveTagsCommand: (input: RemoveTagsCommandInput, conte
210
232
  * serializeAws_json1_1RestoreEventDataStoreCommand
211
233
  */
212
234
  export declare const se_RestoreEventDataStoreCommand: (input: RestoreEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
235
+ /**
236
+ * serializeAws_json1_1StartDashboardRefreshCommand
237
+ */
238
+ export declare const se_StartDashboardRefreshCommand: (input: StartDashboardRefreshCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
213
239
  /**
214
240
  * serializeAws_json1_1StartEventDataStoreIngestionCommand
215
241
  */
@@ -242,6 +268,10 @@ export declare const se_StopLoggingCommand: (input: StopLoggingCommandInput, con
242
268
  * serializeAws_json1_1UpdateChannelCommand
243
269
  */
244
270
  export declare const se_UpdateChannelCommand: (input: UpdateChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
271
+ /**
272
+ * serializeAws_json1_1UpdateDashboardCommand
273
+ */
274
+ export declare const se_UpdateDashboardCommand: (input: UpdateDashboardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
245
275
  /**
246
276
  * serializeAws_json1_1UpdateEventDataStoreCommand
247
277
  */
@@ -262,6 +292,10 @@ export declare const de_CancelQueryCommand: (output: __HttpResponse, context: __
262
292
  * deserializeAws_json1_1CreateChannelCommand
263
293
  */
264
294
  export declare const de_CreateChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateChannelCommandOutput>;
295
+ /**
296
+ * deserializeAws_json1_1CreateDashboardCommand
297
+ */
298
+ export declare const de_CreateDashboardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDashboardCommandOutput>;
265
299
  /**
266
300
  * deserializeAws_json1_1CreateEventDataStoreCommand
267
301
  */
@@ -274,6 +308,10 @@ export declare const de_CreateTrailCommand: (output: __HttpResponse, context: __
274
308
  * deserializeAws_json1_1DeleteChannelCommand
275
309
  */
276
310
  export declare const de_DeleteChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteChannelCommandOutput>;
311
+ /**
312
+ * deserializeAws_json1_1DeleteDashboardCommand
313
+ */
314
+ export declare const de_DeleteDashboardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDashboardCommandOutput>;
277
315
  /**
278
316
  * deserializeAws_json1_1DeleteEventDataStoreCommand
279
317
  */
@@ -314,6 +352,10 @@ export declare const de_GenerateQueryCommand: (output: __HttpResponse, context:
314
352
  * deserializeAws_json1_1GetChannelCommand
315
353
  */
316
354
  export declare const de_GetChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetChannelCommandOutput>;
355
+ /**
356
+ * deserializeAws_json1_1GetDashboardCommand
357
+ */
358
+ export declare const de_GetDashboardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDashboardCommandOutput>;
317
359
  /**
318
360
  * deserializeAws_json1_1GetEventDataStoreCommand
319
361
  */
@@ -350,6 +392,10 @@ export declare const de_GetTrailStatusCommand: (output: __HttpResponse, context:
350
392
  * deserializeAws_json1_1ListChannelsCommand
351
393
  */
352
394
  export declare const de_ListChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsCommandOutput>;
395
+ /**
396
+ * deserializeAws_json1_1ListDashboardsCommand
397
+ */
398
+ export declare const de_ListDashboardsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDashboardsCommandOutput>;
353
399
  /**
354
400
  * deserializeAws_json1_1ListEventDataStoresCommand
355
401
  */
@@ -410,6 +456,10 @@ export declare const de_RemoveTagsCommand: (output: __HttpResponse, context: __S
410
456
  * deserializeAws_json1_1RestoreEventDataStoreCommand
411
457
  */
412
458
  export declare const de_RestoreEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreEventDataStoreCommandOutput>;
459
+ /**
460
+ * deserializeAws_json1_1StartDashboardRefreshCommand
461
+ */
462
+ export declare const de_StartDashboardRefreshCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartDashboardRefreshCommandOutput>;
413
463
  /**
414
464
  * deserializeAws_json1_1StartEventDataStoreIngestionCommand
415
465
  */
@@ -442,6 +492,10 @@ export declare const de_StopLoggingCommand: (output: __HttpResponse, context: __
442
492
  * deserializeAws_json1_1UpdateChannelCommand
443
493
  */
444
494
  export declare const de_UpdateChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateChannelCommandOutput>;
495
+ /**
496
+ * deserializeAws_json1_1UpdateDashboardCommand
497
+ */
498
+ export declare const de_UpdateDashboardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDashboardCommandOutput>;
445
499
  /**
446
500
  * deserializeAws_json1_1UpdateEventDataStoreCommand
447
501
  */
@@ -12,6 +12,10 @@ import {
12
12
  CreateChannelCommandInput,
13
13
  CreateChannelCommandOutput,
14
14
  } from "./commands/CreateChannelCommand";
15
+ import {
16
+ CreateDashboardCommandInput,
17
+ CreateDashboardCommandOutput,
18
+ } from "./commands/CreateDashboardCommand";
15
19
  import {
16
20
  CreateEventDataStoreCommandInput,
17
21
  CreateEventDataStoreCommandOutput,
@@ -24,6 +28,10 @@ import {
24
28
  DeleteChannelCommandInput,
25
29
  DeleteChannelCommandOutput,
26
30
  } from "./commands/DeleteChannelCommand";
31
+ import {
32
+ DeleteDashboardCommandInput,
33
+ DeleteDashboardCommandOutput,
34
+ } from "./commands/DeleteDashboardCommand";
27
35
  import {
28
36
  DeleteEventDataStoreCommandInput,
29
37
  DeleteEventDataStoreCommandOutput,
@@ -64,6 +72,10 @@ import {
64
72
  GetChannelCommandInput,
65
73
  GetChannelCommandOutput,
66
74
  } from "./commands/GetChannelCommand";
75
+ import {
76
+ GetDashboardCommandInput,
77
+ GetDashboardCommandOutput,
78
+ } from "./commands/GetDashboardCommand";
67
79
  import {
68
80
  GetEventDataStoreCommandInput,
69
81
  GetEventDataStoreCommandOutput,
@@ -100,6 +112,10 @@ import {
100
112
  ListChannelsCommandInput,
101
113
  ListChannelsCommandOutput,
102
114
  } from "./commands/ListChannelsCommand";
115
+ import {
116
+ ListDashboardsCommandInput,
117
+ ListDashboardsCommandOutput,
118
+ } from "./commands/ListDashboardsCommand";
103
119
  import {
104
120
  ListEventDataStoresCommandInput,
105
121
  ListEventDataStoresCommandOutput,
@@ -160,6 +176,10 @@ import {
160
176
  RestoreEventDataStoreCommandInput,
161
177
  RestoreEventDataStoreCommandOutput,
162
178
  } from "./commands/RestoreEventDataStoreCommand";
179
+ import {
180
+ StartDashboardRefreshCommandInput,
181
+ StartDashboardRefreshCommandOutput,
182
+ } from "./commands/StartDashboardRefreshCommand";
163
183
  import {
164
184
  StartEventDataStoreIngestionCommandInput,
165
185
  StartEventDataStoreIngestionCommandOutput,
@@ -192,6 +212,10 @@ import {
192
212
  UpdateChannelCommandInput,
193
213
  UpdateChannelCommandOutput,
194
214
  } from "./commands/UpdateChannelCommand";
215
+ import {
216
+ UpdateDashboardCommandInput,
217
+ UpdateDashboardCommandOutput,
218
+ } from "./commands/UpdateDashboardCommand";
195
219
  import {
196
220
  UpdateEventDataStoreCommandInput,
197
221
  UpdateEventDataStoreCommandOutput,
@@ -240,6 +264,19 @@ export interface CloudTrail {
240
264
  options: __HttpHandlerOptions,
241
265
  cb: (err: any, data?: CreateChannelCommandOutput) => void
242
266
  ): void;
267
+ createDashboard(
268
+ args: CreateDashboardCommandInput,
269
+ options?: __HttpHandlerOptions
270
+ ): Promise<CreateDashboardCommandOutput>;
271
+ createDashboard(
272
+ args: CreateDashboardCommandInput,
273
+ cb: (err: any, data?: CreateDashboardCommandOutput) => void
274
+ ): void;
275
+ createDashboard(
276
+ args: CreateDashboardCommandInput,
277
+ options: __HttpHandlerOptions,
278
+ cb: (err: any, data?: CreateDashboardCommandOutput) => void
279
+ ): void;
243
280
  createEventDataStore(
244
281
  args: CreateEventDataStoreCommandInput,
245
282
  options?: __HttpHandlerOptions
@@ -279,6 +316,19 @@ export interface CloudTrail {
279
316
  options: __HttpHandlerOptions,
280
317
  cb: (err: any, data?: DeleteChannelCommandOutput) => void
281
318
  ): void;
319
+ deleteDashboard(
320
+ args: DeleteDashboardCommandInput,
321
+ options?: __HttpHandlerOptions
322
+ ): Promise<DeleteDashboardCommandOutput>;
323
+ deleteDashboard(
324
+ args: DeleteDashboardCommandInput,
325
+ cb: (err: any, data?: DeleteDashboardCommandOutput) => void
326
+ ): void;
327
+ deleteDashboard(
328
+ args: DeleteDashboardCommandInput,
329
+ options: __HttpHandlerOptions,
330
+ cb: (err: any, data?: DeleteDashboardCommandOutput) => void
331
+ ): void;
282
332
  deleteEventDataStore(
283
333
  args: DeleteEventDataStoreCommandInput,
284
334
  options?: __HttpHandlerOptions
@@ -417,6 +467,19 @@ export interface CloudTrail {
417
467
  options: __HttpHandlerOptions,
418
468
  cb: (err: any, data?: GetChannelCommandOutput) => void
419
469
  ): void;
470
+ getDashboard(
471
+ args: GetDashboardCommandInput,
472
+ options?: __HttpHandlerOptions
473
+ ): Promise<GetDashboardCommandOutput>;
474
+ getDashboard(
475
+ args: GetDashboardCommandInput,
476
+ cb: (err: any, data?: GetDashboardCommandOutput) => void
477
+ ): void;
478
+ getDashboard(
479
+ args: GetDashboardCommandInput,
480
+ options: __HttpHandlerOptions,
481
+ cb: (err: any, data?: GetDashboardCommandOutput) => void
482
+ ): void;
420
483
  getEventDataStore(
421
484
  args: GetEventDataStoreCommandInput,
422
485
  options?: __HttpHandlerOptions
@@ -536,6 +599,20 @@ export interface CloudTrail {
536
599
  options: __HttpHandlerOptions,
537
600
  cb: (err: any, data?: ListChannelsCommandOutput) => void
538
601
  ): void;
602
+ listDashboards(): Promise<ListDashboardsCommandOutput>;
603
+ listDashboards(
604
+ args: ListDashboardsCommandInput,
605
+ options?: __HttpHandlerOptions
606
+ ): Promise<ListDashboardsCommandOutput>;
607
+ listDashboards(
608
+ args: ListDashboardsCommandInput,
609
+ cb: (err: any, data?: ListDashboardsCommandOutput) => void
610
+ ): void;
611
+ listDashboards(
612
+ args: ListDashboardsCommandInput,
613
+ options: __HttpHandlerOptions,
614
+ cb: (err: any, data?: ListDashboardsCommandOutput) => void
615
+ ): void;
539
616
  listEventDataStores(): Promise<ListEventDataStoresCommandOutput>;
540
617
  listEventDataStores(
541
618
  args: ListEventDataStoresCommandInput,
@@ -742,6 +819,19 @@ export interface CloudTrail {
742
819
  options: __HttpHandlerOptions,
743
820
  cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void
744
821
  ): void;
822
+ startDashboardRefresh(
823
+ args: StartDashboardRefreshCommandInput,
824
+ options?: __HttpHandlerOptions
825
+ ): Promise<StartDashboardRefreshCommandOutput>;
826
+ startDashboardRefresh(
827
+ args: StartDashboardRefreshCommandInput,
828
+ cb: (err: any, data?: StartDashboardRefreshCommandOutput) => void
829
+ ): void;
830
+ startDashboardRefresh(
831
+ args: StartDashboardRefreshCommandInput,
832
+ options: __HttpHandlerOptions,
833
+ cb: (err: any, data?: StartDashboardRefreshCommandOutput) => void
834
+ ): void;
745
835
  startEventDataStoreIngestion(
746
836
  args: StartEventDataStoreIngestionCommandInput,
747
837
  options?: __HttpHandlerOptions
@@ -848,6 +938,19 @@ export interface CloudTrail {
848
938
  options: __HttpHandlerOptions,
849
939
  cb: (err: any, data?: UpdateChannelCommandOutput) => void
850
940
  ): void;
941
+ updateDashboard(
942
+ args: UpdateDashboardCommandInput,
943
+ options?: __HttpHandlerOptions
944
+ ): Promise<UpdateDashboardCommandOutput>;
945
+ updateDashboard(
946
+ args: UpdateDashboardCommandInput,
947
+ cb: (err: any, data?: UpdateDashboardCommandOutput) => void
948
+ ): void;
949
+ updateDashboard(
950
+ args: UpdateDashboardCommandInput,
951
+ options: __HttpHandlerOptions,
952
+ cb: (err: any, data?: UpdateDashboardCommandOutput) => void
953
+ ): void;
851
954
  updateEventDataStore(
852
955
  args: UpdateEventDataStoreCommandInput,
853
956
  options?: __HttpHandlerOptions
@@ -57,6 +57,10 @@ import {
57
57
  CreateChannelCommandInput,
58
58
  CreateChannelCommandOutput,
59
59
  } from "./commands/CreateChannelCommand";
60
+ import {
61
+ CreateDashboardCommandInput,
62
+ CreateDashboardCommandOutput,
63
+ } from "./commands/CreateDashboardCommand";
60
64
  import {
61
65
  CreateEventDataStoreCommandInput,
62
66
  CreateEventDataStoreCommandOutput,
@@ -69,6 +73,10 @@ import {
69
73
  DeleteChannelCommandInput,
70
74
  DeleteChannelCommandOutput,
71
75
  } from "./commands/DeleteChannelCommand";
76
+ import {
77
+ DeleteDashboardCommandInput,
78
+ DeleteDashboardCommandOutput,
79
+ } from "./commands/DeleteDashboardCommand";
72
80
  import {
73
81
  DeleteEventDataStoreCommandInput,
74
82
  DeleteEventDataStoreCommandOutput,
@@ -109,6 +117,10 @@ import {
109
117
  GetChannelCommandInput,
110
118
  GetChannelCommandOutput,
111
119
  } from "./commands/GetChannelCommand";
120
+ import {
121
+ GetDashboardCommandInput,
122
+ GetDashboardCommandOutput,
123
+ } from "./commands/GetDashboardCommand";
112
124
  import {
113
125
  GetEventDataStoreCommandInput,
114
126
  GetEventDataStoreCommandOutput,
@@ -145,6 +157,10 @@ import {
145
157
  ListChannelsCommandInput,
146
158
  ListChannelsCommandOutput,
147
159
  } from "./commands/ListChannelsCommand";
160
+ import {
161
+ ListDashboardsCommandInput,
162
+ ListDashboardsCommandOutput,
163
+ } from "./commands/ListDashboardsCommand";
148
164
  import {
149
165
  ListEventDataStoresCommandInput,
150
166
  ListEventDataStoresCommandOutput,
@@ -205,6 +221,10 @@ import {
205
221
  RestoreEventDataStoreCommandInput,
206
222
  RestoreEventDataStoreCommandOutput,
207
223
  } from "./commands/RestoreEventDataStoreCommand";
224
+ import {
225
+ StartDashboardRefreshCommandInput,
226
+ StartDashboardRefreshCommandOutput,
227
+ } from "./commands/StartDashboardRefreshCommand";
208
228
  import {
209
229
  StartEventDataStoreIngestionCommandInput,
210
230
  StartEventDataStoreIngestionCommandOutput,
@@ -237,6 +257,10 @@ import {
237
257
  UpdateChannelCommandInput,
238
258
  UpdateChannelCommandOutput,
239
259
  } from "./commands/UpdateChannelCommand";
260
+ import {
261
+ UpdateDashboardCommandInput,
262
+ UpdateDashboardCommandOutput,
263
+ } from "./commands/UpdateDashboardCommand";
240
264
  import {
241
265
  UpdateEventDataStoreCommandInput,
242
266
  UpdateEventDataStoreCommandOutput,
@@ -256,9 +280,11 @@ export type ServiceInputTypes =
256
280
  | AddTagsCommandInput
257
281
  | CancelQueryCommandInput
258
282
  | CreateChannelCommandInput
283
+ | CreateDashboardCommandInput
259
284
  | CreateEventDataStoreCommandInput
260
285
  | CreateTrailCommandInput
261
286
  | DeleteChannelCommandInput
287
+ | DeleteDashboardCommandInput
262
288
  | DeleteEventDataStoreCommandInput
263
289
  | DeleteResourcePolicyCommandInput
264
290
  | DeleteTrailCommandInput
@@ -269,6 +295,7 @@ export type ServiceInputTypes =
269
295
  | EnableFederationCommandInput
270
296
  | GenerateQueryCommandInput
271
297
  | GetChannelCommandInput
298
+ | GetDashboardCommandInput
272
299
  | GetEventDataStoreCommandInput
273
300
  | GetEventSelectorsCommandInput
274
301
  | GetImportCommandInput
@@ -278,6 +305,7 @@ export type ServiceInputTypes =
278
305
  | GetTrailCommandInput
279
306
  | GetTrailStatusCommandInput
280
307
  | ListChannelsCommandInput
308
+ | ListDashboardsCommandInput
281
309
  | ListEventDataStoresCommandInput
282
310
  | ListImportFailuresCommandInput
283
311
  | ListImportsCommandInput
@@ -293,6 +321,7 @@ export type ServiceInputTypes =
293
321
  | RegisterOrganizationDelegatedAdminCommandInput
294
322
  | RemoveTagsCommandInput
295
323
  | RestoreEventDataStoreCommandInput
324
+ | StartDashboardRefreshCommandInput
296
325
  | StartEventDataStoreIngestionCommandInput
297
326
  | StartImportCommandInput
298
327
  | StartLoggingCommandInput
@@ -301,15 +330,18 @@ export type ServiceInputTypes =
301
330
  | StopImportCommandInput
302
331
  | StopLoggingCommandInput
303
332
  | UpdateChannelCommandInput
333
+ | UpdateDashboardCommandInput
304
334
  | UpdateEventDataStoreCommandInput
305
335
  | UpdateTrailCommandInput;
306
336
  export type ServiceOutputTypes =
307
337
  | AddTagsCommandOutput
308
338
  | CancelQueryCommandOutput
309
339
  | CreateChannelCommandOutput
340
+ | CreateDashboardCommandOutput
310
341
  | CreateEventDataStoreCommandOutput
311
342
  | CreateTrailCommandOutput
312
343
  | DeleteChannelCommandOutput
344
+ | DeleteDashboardCommandOutput
313
345
  | DeleteEventDataStoreCommandOutput
314
346
  | DeleteResourcePolicyCommandOutput
315
347
  | DeleteTrailCommandOutput
@@ -320,6 +352,7 @@ export type ServiceOutputTypes =
320
352
  | EnableFederationCommandOutput
321
353
  | GenerateQueryCommandOutput
322
354
  | GetChannelCommandOutput
355
+ | GetDashboardCommandOutput
323
356
  | GetEventDataStoreCommandOutput
324
357
  | GetEventSelectorsCommandOutput
325
358
  | GetImportCommandOutput
@@ -329,6 +362,7 @@ export type ServiceOutputTypes =
329
362
  | GetTrailCommandOutput
330
363
  | GetTrailStatusCommandOutput
331
364
  | ListChannelsCommandOutput
365
+ | ListDashboardsCommandOutput
332
366
  | ListEventDataStoresCommandOutput
333
367
  | ListImportFailuresCommandOutput
334
368
  | ListImportsCommandOutput
@@ -344,6 +378,7 @@ export type ServiceOutputTypes =
344
378
  | RegisterOrganizationDelegatedAdminCommandOutput
345
379
  | RemoveTagsCommandOutput
346
380
  | RestoreEventDataStoreCommandOutput
381
+ | StartDashboardRefreshCommandOutput
347
382
  | StartEventDataStoreIngestionCommandOutput
348
383
  | StartImportCommandOutput
349
384
  | StartLoggingCommandOutput
@@ -352,6 +387,7 @@ export type ServiceOutputTypes =
352
387
  | StopImportCommandOutput
353
388
  | StopLoggingCommandOutput
354
389
  | UpdateChannelCommandOutput
390
+ | UpdateDashboardCommandOutput
355
391
  | UpdateEventDataStoreCommandOutput
356
392
  | UpdateTrailCommandOutput;
357
393
  export interface ClientDefaults
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudTrailClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudTrailClient";
8
+ import {
9
+ CreateDashboardRequest,
10
+ CreateDashboardResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateDashboardCommandInput extends CreateDashboardRequest {}
15
+ export interface CreateDashboardCommandOutput
16
+ extends CreateDashboardResponse,
17
+ __MetadataBearer {}
18
+ declare const CreateDashboardCommand_base: {
19
+ new (
20
+ input: CreateDashboardCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CreateDashboardCommandInput,
23
+ CreateDashboardCommandOutput,
24
+ CloudTrailClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: CreateDashboardCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ CreateDashboardCommandInput,
32
+ CreateDashboardCommandOutput,
33
+ CloudTrailClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class CreateDashboardCommand extends CreateDashboardCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: CreateDashboardRequest;
43
+ output: CreateDashboardResponse;
44
+ };
45
+ sdk: {
46
+ input: CreateDashboardCommandInput;
47
+ output: CreateDashboardCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudTrailClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudTrailClient";
8
+ import {
9
+ DeleteDashboardRequest,
10
+ DeleteDashboardResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteDashboardCommandInput extends DeleteDashboardRequest {}
15
+ export interface DeleteDashboardCommandOutput
16
+ extends DeleteDashboardResponse,
17
+ __MetadataBearer {}
18
+ declare const DeleteDashboardCommand_base: {
19
+ new (
20
+ input: DeleteDashboardCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DeleteDashboardCommandInput,
23
+ DeleteDashboardCommandOutput,
24
+ CloudTrailClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: DeleteDashboardCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DeleteDashboardCommandInput,
32
+ DeleteDashboardCommandOutput,
33
+ CloudTrailClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class DeleteDashboardCommand extends DeleteDashboardCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: DeleteDashboardRequest;
43
+ output: {};
44
+ };
45
+ sdk: {
46
+ input: DeleteDashboardCommandInput;
47
+ output: DeleteDashboardCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudTrailClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudTrailClient";
8
+ import { GetDashboardRequest, GetDashboardResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface GetDashboardCommandInput extends GetDashboardRequest {}
12
+ export interface GetDashboardCommandOutput
13
+ extends GetDashboardResponse,
14
+ __MetadataBearer {}
15
+ declare const GetDashboardCommand_base: {
16
+ new (
17
+ input: GetDashboardCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ GetDashboardCommandInput,
20
+ GetDashboardCommandOutput,
21
+ CloudTrailClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: GetDashboardCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ GetDashboardCommandInput,
29
+ GetDashboardCommandOutput,
30
+ CloudTrailClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class GetDashboardCommand extends GetDashboardCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: GetDashboardRequest;
40
+ output: GetDashboardResponse;
41
+ };
42
+ sdk: {
43
+ input: GetDashboardCommandInput;
44
+ output: GetDashboardCommandOutput;
45
+ };
46
+ };
47
+ }