@aws-sdk/client-cloudtrail 3.171.0 → 3.178.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 (60) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/CloudTrail.js +75 -0
  3. package/dist-cjs/commands/GetImportCommand.js +36 -0
  4. package/dist-cjs/commands/ListImportFailuresCommand.js +36 -0
  5. package/dist-cjs/commands/ListImportsCommand.js +36 -0
  6. package/dist-cjs/commands/StartImportCommand.js +36 -0
  7. package/dist-cjs/commands/StopImportCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +148 -3
  10. package/dist-cjs/pagination/ListImportFailuresPaginator.js +36 -0
  11. package/dist-cjs/pagination/ListImportsPaginator.js +36 -0
  12. package/dist-cjs/pagination/index.js +2 -0
  13. package/dist-cjs/protocols/Aws_json1_1.js +575 -2
  14. package/dist-es/CloudTrail.js +75 -0
  15. package/dist-es/commands/GetImportCommand.js +39 -0
  16. package/dist-es/commands/ListImportFailuresCommand.js +39 -0
  17. package/dist-es/commands/ListImportsCommand.js +39 -0
  18. package/dist-es/commands/StartImportCommand.js +39 -0
  19. package/dist-es/commands/StopImportCommand.js +39 -0
  20. package/dist-es/commands/index.js +5 -0
  21. package/dist-es/models/models_0.js +94 -0
  22. package/dist-es/pagination/ListImportFailuresPaginator.js +75 -0
  23. package/dist-es/pagination/ListImportsPaginator.js +75 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/protocols/Aws_json1_1.js +722 -60
  26. package/dist-types/CloudTrail.d.ts +71 -4
  27. package/dist-types/CloudTrailClient.d.ts +7 -2
  28. package/dist-types/commands/GetEventSelectorsCommand.d.ts +15 -2
  29. package/dist-types/commands/GetImportCommand.d.ts +37 -0
  30. package/dist-types/commands/ListImportFailuresCommand.d.ts +37 -0
  31. package/dist-types/commands/ListImportsCommand.d.ts +37 -0
  32. package/dist-types/commands/PutEventSelectorsCommand.d.ts +3 -2
  33. package/dist-types/commands/StartImportCommand.d.ts +45 -0
  34. package/dist-types/commands/StopImportCommand.d.ts +37 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +602 -4
  37. package/dist-types/pagination/ListImportFailuresPaginator.d.ts +4 -0
  38. package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
  39. package/dist-types/pagination/index.d.ts +2 -0
  40. package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
  41. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  42. package/dist-types/runtimeConfig.d.ts +1 -1
  43. package/dist-types/runtimeConfig.native.d.ts +1 -1
  44. package/dist-types/ts3.4/CloudTrail.d.ts +85 -0
  45. package/dist-types/ts3.4/CloudTrailClient.d.ts +30 -0
  46. package/dist-types/ts3.4/commands/GetImportCommand.d.ts +32 -0
  47. package/dist-types/ts3.4/commands/ListImportFailuresCommand.d.ts +36 -0
  48. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +32 -0
  49. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +32 -0
  50. package/dist-types/ts3.4/commands/StopImportCommand.d.ts +32 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +197 -0
  53. package/dist-types/ts3.4/pagination/ListImportFailuresPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  56. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  57. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
  58. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
  59. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
  60. package/package.json +26 -26
@@ -2,6 +2,8 @@ export * from "./GetQueryResultsPaginator";
2
2
  export * from "./Interfaces";
3
3
  export * from "./ListChannelsPaginator";
4
4
  export * from "./ListEventDataStoresPaginator";
5
+ export * from "./ListImportFailuresPaginator";
6
+ export * from "./ListImportsPaginator";
5
7
  export * from "./ListPublicKeysPaginator";
6
8
  export * from "./ListQueriesPaginator";
7
9
  export * from "./ListTagsPaginator";
@@ -11,12 +11,15 @@ import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "../comm
11
11
  import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
12
12
  import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "../commands/GetEventDataStoreCommand";
13
13
  import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "../commands/GetEventSelectorsCommand";
14
+ import { GetImportCommandInput, GetImportCommandOutput } from "../commands/GetImportCommand";
14
15
  import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "../commands/GetInsightSelectorsCommand";
15
16
  import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "../commands/GetQueryResultsCommand";
16
17
  import { GetTrailCommandInput, GetTrailCommandOutput } from "../commands/GetTrailCommand";
17
18
  import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "../commands/GetTrailStatusCommand";
18
19
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
19
20
  import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "../commands/ListEventDataStoresCommand";
21
+ import { ListImportFailuresCommandInput, ListImportFailuresCommandOutput } from "../commands/ListImportFailuresCommand";
22
+ import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
20
23
  import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "../commands/ListPublicKeysCommand";
21
24
  import { ListQueriesCommandInput, ListQueriesCommandOutput } from "../commands/ListQueriesCommand";
22
25
  import { ListTagsCommandInput, ListTagsCommandOutput } from "../commands/ListTagsCommand";
@@ -26,8 +29,10 @@ import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from ".
26
29
  import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "../commands/PutInsightSelectorsCommand";
27
30
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "../commands/RemoveTagsCommand";
28
31
  import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "../commands/RestoreEventDataStoreCommand";
32
+ import { StartImportCommandInput, StartImportCommandOutput } from "../commands/StartImportCommand";
29
33
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "../commands/StartLoggingCommand";
30
34
  import { StartQueryCommandInput, StartQueryCommandOutput } from "../commands/StartQueryCommand";
35
+ import { StopImportCommandInput, StopImportCommandOutput } from "../commands/StopImportCommand";
31
36
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "../commands/StopLoggingCommand";
32
37
  import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "../commands/UpdateEventDataStoreCommand";
33
38
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "../commands/UpdateTrailCommand";
@@ -42,12 +47,15 @@ export declare const serializeAws_json1_1DescribeTrailsCommand: (input: Describe
42
47
  export declare const serializeAws_json1_1GetChannelCommand: (input: GetChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
48
  export declare const serializeAws_json1_1GetEventDataStoreCommand: (input: GetEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
49
  export declare const serializeAws_json1_1GetEventSelectorsCommand: (input: GetEventSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
+ export declare const serializeAws_json1_1GetImportCommand: (input: GetImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
51
  export declare const serializeAws_json1_1GetInsightSelectorsCommand: (input: GetInsightSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
52
  export declare const serializeAws_json1_1GetQueryResultsCommand: (input: GetQueryResultsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
53
  export declare const serializeAws_json1_1GetTrailCommand: (input: GetTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
54
  export declare const serializeAws_json1_1GetTrailStatusCommand: (input: GetTrailStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
55
  export declare const serializeAws_json1_1ListChannelsCommand: (input: ListChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
56
  export declare const serializeAws_json1_1ListEventDataStoresCommand: (input: ListEventDataStoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ export declare const serializeAws_json1_1ListImportFailuresCommand: (input: ListImportFailuresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
+ export declare const serializeAws_json1_1ListImportsCommand: (input: ListImportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
59
  export declare const serializeAws_json1_1ListPublicKeysCommand: (input: ListPublicKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
60
  export declare const serializeAws_json1_1ListQueriesCommand: (input: ListQueriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
61
  export declare const serializeAws_json1_1ListTagsCommand: (input: ListTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -57,8 +65,10 @@ export declare const serializeAws_json1_1PutEventSelectorsCommand: (input: PutEv
57
65
  export declare const serializeAws_json1_1PutInsightSelectorsCommand: (input: PutInsightSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
66
  export declare const serializeAws_json1_1RemoveTagsCommand: (input: RemoveTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
67
  export declare const serializeAws_json1_1RestoreEventDataStoreCommand: (input: RestoreEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
+ export declare const serializeAws_json1_1StartImportCommand: (input: StartImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
69
  export declare const serializeAws_json1_1StartLoggingCommand: (input: StartLoggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
70
  export declare const serializeAws_json1_1StartQueryCommand: (input: StartQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ export declare const serializeAws_json1_1StopImportCommand: (input: StopImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
72
  export declare const serializeAws_json1_1StopLoggingCommand: (input: StopLoggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
73
  export declare const serializeAws_json1_1UpdateEventDataStoreCommand: (input: UpdateEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
74
  export declare const serializeAws_json1_1UpdateTrailCommand: (input: UpdateTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -73,12 +83,15 @@ export declare const deserializeAws_json1_1DescribeTrailsCommand: (output: __Htt
73
83
  export declare const deserializeAws_json1_1GetChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetChannelCommandOutput>;
74
84
  export declare const deserializeAws_json1_1GetEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEventDataStoreCommandOutput>;
75
85
  export declare const deserializeAws_json1_1GetEventSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEventSelectorsCommandOutput>;
86
+ export declare const deserializeAws_json1_1GetImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetImportCommandOutput>;
76
87
  export declare const deserializeAws_json1_1GetInsightSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInsightSelectorsCommandOutput>;
77
88
  export declare const deserializeAws_json1_1GetQueryResultsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetQueryResultsCommandOutput>;
78
89
  export declare const deserializeAws_json1_1GetTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrailCommandOutput>;
79
90
  export declare const deserializeAws_json1_1GetTrailStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrailStatusCommandOutput>;
80
91
  export declare const deserializeAws_json1_1ListChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsCommandOutput>;
81
92
  export declare const deserializeAws_json1_1ListEventDataStoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEventDataStoresCommandOutput>;
93
+ export declare const deserializeAws_json1_1ListImportFailuresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListImportFailuresCommandOutput>;
94
+ export declare const deserializeAws_json1_1ListImportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListImportsCommandOutput>;
82
95
  export declare const deserializeAws_json1_1ListPublicKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPublicKeysCommandOutput>;
83
96
  export declare const deserializeAws_json1_1ListQueriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListQueriesCommandOutput>;
84
97
  export declare const deserializeAws_json1_1ListTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsCommandOutput>;
@@ -88,8 +101,10 @@ export declare const deserializeAws_json1_1PutEventSelectorsCommand: (output: __
88
101
  export declare const deserializeAws_json1_1PutInsightSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutInsightSelectorsCommandOutput>;
89
102
  export declare const deserializeAws_json1_1RemoveTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveTagsCommandOutput>;
90
103
  export declare const deserializeAws_json1_1RestoreEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreEventDataStoreCommandOutput>;
104
+ export declare const deserializeAws_json1_1StartImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartImportCommandOutput>;
91
105
  export declare const deserializeAws_json1_1StartLoggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartLoggingCommandOutput>;
92
106
  export declare const deserializeAws_json1_1StartQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartQueryCommandOutput>;
107
+ export declare const deserializeAws_json1_1StopImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopImportCommandOutput>;
93
108
  export declare const deserializeAws_json1_1StopLoggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopLoggingCommandOutput>;
94
109
  export declare const deserializeAws_json1_1UpdateEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEventDataStoreCommandOutput>;
95
110
  export declare const deserializeAws_json1_1UpdateTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTrailCommandOutput>;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
32
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
33
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
34
34
  signingEscapePath?: boolean | undefined;
35
35
  systemClockOffset?: number | undefined;
36
36
  signingRegion?: string | undefined;
@@ -44,6 +44,10 @@ import {
44
44
  GetEventSelectorsCommandInput,
45
45
  GetEventSelectorsCommandOutput,
46
46
  } from "./commands/GetEventSelectorsCommand";
47
+ import {
48
+ GetImportCommandInput,
49
+ GetImportCommandOutput,
50
+ } from "./commands/GetImportCommand";
47
51
  import {
48
52
  GetInsightSelectorsCommandInput,
49
53
  GetInsightSelectorsCommandOutput,
@@ -68,6 +72,14 @@ import {
68
72
  ListEventDataStoresCommandInput,
69
73
  ListEventDataStoresCommandOutput,
70
74
  } from "./commands/ListEventDataStoresCommand";
75
+ import {
76
+ ListImportFailuresCommandInput,
77
+ ListImportFailuresCommandOutput,
78
+ } from "./commands/ListImportFailuresCommand";
79
+ import {
80
+ ListImportsCommandInput,
81
+ ListImportsCommandOutput,
82
+ } from "./commands/ListImportsCommand";
71
83
  import {
72
84
  ListPublicKeysCommandInput,
73
85
  ListPublicKeysCommandOutput,
@@ -104,6 +116,10 @@ import {
104
116
  RestoreEventDataStoreCommandInput,
105
117
  RestoreEventDataStoreCommandOutput,
106
118
  } from "./commands/RestoreEventDataStoreCommand";
119
+ import {
120
+ StartImportCommandInput,
121
+ StartImportCommandOutput,
122
+ } from "./commands/StartImportCommand";
107
123
  import {
108
124
  StartLoggingCommandInput,
109
125
  StartLoggingCommandOutput,
@@ -112,6 +128,10 @@ import {
112
128
  StartQueryCommandInput,
113
129
  StartQueryCommandOutput,
114
130
  } from "./commands/StartQueryCommand";
131
+ import {
132
+ StopImportCommandInput,
133
+ StopImportCommandOutput,
134
+ } from "./commands/StopImportCommand";
115
135
  import {
116
136
  StopLoggingCommandInput,
117
137
  StopLoggingCommandOutput,
@@ -268,6 +288,19 @@ export declare class CloudTrail extends CloudTrailClient {
268
288
  options: __HttpHandlerOptions,
269
289
  cb: (err: any, data?: GetEventSelectorsCommandOutput) => void
270
290
  ): void;
291
+ getImport(
292
+ args: GetImportCommandInput,
293
+ options?: __HttpHandlerOptions
294
+ ): Promise<GetImportCommandOutput>;
295
+ getImport(
296
+ args: GetImportCommandInput,
297
+ cb: (err: any, data?: GetImportCommandOutput) => void
298
+ ): void;
299
+ getImport(
300
+ args: GetImportCommandInput,
301
+ options: __HttpHandlerOptions,
302
+ cb: (err: any, data?: GetImportCommandOutput) => void
303
+ ): void;
271
304
  getInsightSelectors(
272
305
  args: GetInsightSelectorsCommandInput,
273
306
  options?: __HttpHandlerOptions
@@ -346,6 +379,32 @@ export declare class CloudTrail extends CloudTrailClient {
346
379
  options: __HttpHandlerOptions,
347
380
  cb: (err: any, data?: ListEventDataStoresCommandOutput) => void
348
381
  ): void;
382
+ listImportFailures(
383
+ args: ListImportFailuresCommandInput,
384
+ options?: __HttpHandlerOptions
385
+ ): Promise<ListImportFailuresCommandOutput>;
386
+ listImportFailures(
387
+ args: ListImportFailuresCommandInput,
388
+ cb: (err: any, data?: ListImportFailuresCommandOutput) => void
389
+ ): void;
390
+ listImportFailures(
391
+ args: ListImportFailuresCommandInput,
392
+ options: __HttpHandlerOptions,
393
+ cb: (err: any, data?: ListImportFailuresCommandOutput) => void
394
+ ): void;
395
+ listImports(
396
+ args: ListImportsCommandInput,
397
+ options?: __HttpHandlerOptions
398
+ ): Promise<ListImportsCommandOutput>;
399
+ listImports(
400
+ args: ListImportsCommandInput,
401
+ cb: (err: any, data?: ListImportsCommandOutput) => void
402
+ ): void;
403
+ listImports(
404
+ args: ListImportsCommandInput,
405
+ options: __HttpHandlerOptions,
406
+ cb: (err: any, data?: ListImportsCommandOutput) => void
407
+ ): void;
349
408
  listPublicKeys(
350
409
  args: ListPublicKeysCommandInput,
351
410
  options?: __HttpHandlerOptions
@@ -463,6 +522,19 @@ export declare class CloudTrail extends CloudTrailClient {
463
522
  options: __HttpHandlerOptions,
464
523
  cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void
465
524
  ): void;
525
+ startImport(
526
+ args: StartImportCommandInput,
527
+ options?: __HttpHandlerOptions
528
+ ): Promise<StartImportCommandOutput>;
529
+ startImport(
530
+ args: StartImportCommandInput,
531
+ cb: (err: any, data?: StartImportCommandOutput) => void
532
+ ): void;
533
+ startImport(
534
+ args: StartImportCommandInput,
535
+ options: __HttpHandlerOptions,
536
+ cb: (err: any, data?: StartImportCommandOutput) => void
537
+ ): void;
466
538
  startLogging(
467
539
  args: StartLoggingCommandInput,
468
540
  options?: __HttpHandlerOptions
@@ -489,6 +561,19 @@ export declare class CloudTrail extends CloudTrailClient {
489
561
  options: __HttpHandlerOptions,
490
562
  cb: (err: any, data?: StartQueryCommandOutput) => void
491
563
  ): void;
564
+ stopImport(
565
+ args: StopImportCommandInput,
566
+ options?: __HttpHandlerOptions
567
+ ): Promise<StopImportCommandOutput>;
568
+ stopImport(
569
+ args: StopImportCommandInput,
570
+ cb: (err: any, data?: StopImportCommandOutput) => void
571
+ ): void;
572
+ stopImport(
573
+ args: StopImportCommandInput,
574
+ options: __HttpHandlerOptions,
575
+ cb: (err: any, data?: StopImportCommandOutput) => void
576
+ ): void;
492
577
  stopLogging(
493
578
  args: StopLoggingCommandInput,
494
579
  options?: __HttpHandlerOptions
@@ -86,6 +86,10 @@ import {
86
86
  GetEventSelectorsCommandInput,
87
87
  GetEventSelectorsCommandOutput,
88
88
  } from "./commands/GetEventSelectorsCommand";
89
+ import {
90
+ GetImportCommandInput,
91
+ GetImportCommandOutput,
92
+ } from "./commands/GetImportCommand";
89
93
  import {
90
94
  GetInsightSelectorsCommandInput,
91
95
  GetInsightSelectorsCommandOutput,
@@ -110,6 +114,14 @@ import {
110
114
  ListEventDataStoresCommandInput,
111
115
  ListEventDataStoresCommandOutput,
112
116
  } from "./commands/ListEventDataStoresCommand";
117
+ import {
118
+ ListImportFailuresCommandInput,
119
+ ListImportFailuresCommandOutput,
120
+ } from "./commands/ListImportFailuresCommand";
121
+ import {
122
+ ListImportsCommandInput,
123
+ ListImportsCommandOutput,
124
+ } from "./commands/ListImportsCommand";
113
125
  import {
114
126
  ListPublicKeysCommandInput,
115
127
  ListPublicKeysCommandOutput,
@@ -146,6 +158,10 @@ import {
146
158
  RestoreEventDataStoreCommandInput,
147
159
  RestoreEventDataStoreCommandOutput,
148
160
  } from "./commands/RestoreEventDataStoreCommand";
161
+ import {
162
+ StartImportCommandInput,
163
+ StartImportCommandOutput,
164
+ } from "./commands/StartImportCommand";
149
165
  import {
150
166
  StartLoggingCommandInput,
151
167
  StartLoggingCommandOutput,
@@ -154,6 +170,10 @@ import {
154
170
  StartQueryCommandInput,
155
171
  StartQueryCommandOutput,
156
172
  } from "./commands/StartQueryCommand";
173
+ import {
174
+ StopImportCommandInput,
175
+ StopImportCommandOutput,
176
+ } from "./commands/StopImportCommand";
157
177
  import {
158
178
  StopLoggingCommandInput,
159
179
  StopLoggingCommandOutput,
@@ -178,12 +198,15 @@ export declare type ServiceInputTypes =
178
198
  | GetChannelCommandInput
179
199
  | GetEventDataStoreCommandInput
180
200
  | GetEventSelectorsCommandInput
201
+ | GetImportCommandInput
181
202
  | GetInsightSelectorsCommandInput
182
203
  | GetQueryResultsCommandInput
183
204
  | GetTrailCommandInput
184
205
  | GetTrailStatusCommandInput
185
206
  | ListChannelsCommandInput
186
207
  | ListEventDataStoresCommandInput
208
+ | ListImportFailuresCommandInput
209
+ | ListImportsCommandInput
187
210
  | ListPublicKeysCommandInput
188
211
  | ListQueriesCommandInput
189
212
  | ListTagsCommandInput
@@ -193,8 +216,10 @@ export declare type ServiceInputTypes =
193
216
  | PutInsightSelectorsCommandInput
194
217
  | RemoveTagsCommandInput
195
218
  | RestoreEventDataStoreCommandInput
219
+ | StartImportCommandInput
196
220
  | StartLoggingCommandInput
197
221
  | StartQueryCommandInput
222
+ | StopImportCommandInput
198
223
  | StopLoggingCommandInput
199
224
  | UpdateEventDataStoreCommandInput
200
225
  | UpdateTrailCommandInput;
@@ -210,12 +235,15 @@ export declare type ServiceOutputTypes =
210
235
  | GetChannelCommandOutput
211
236
  | GetEventDataStoreCommandOutput
212
237
  | GetEventSelectorsCommandOutput
238
+ | GetImportCommandOutput
213
239
  | GetInsightSelectorsCommandOutput
214
240
  | GetQueryResultsCommandOutput
215
241
  | GetTrailCommandOutput
216
242
  | GetTrailStatusCommandOutput
217
243
  | ListChannelsCommandOutput
218
244
  | ListEventDataStoresCommandOutput
245
+ | ListImportFailuresCommandOutput
246
+ | ListImportsCommandOutput
219
247
  | ListPublicKeysCommandOutput
220
248
  | ListQueriesCommandOutput
221
249
  | ListTagsCommandOutput
@@ -225,8 +253,10 @@ export declare type ServiceOutputTypes =
225
253
  | PutInsightSelectorsCommandOutput
226
254
  | RemoveTagsCommandOutput
227
255
  | RestoreEventDataStoreCommandOutput
256
+ | StartImportCommandOutput
228
257
  | StartLoggingCommandOutput
229
258
  | StartQueryCommandOutput
259
+ | StopImportCommandOutput
230
260
  | StopLoggingCommandOutput
231
261
  | UpdateEventDataStoreCommandOutput
232
262
  | UpdateTrailCommandOutput;
@@ -0,0 +1,32 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudTrailClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudTrailClient";
13
+ import { GetImportRequest, GetImportResponse } from "../models/models_0";
14
+ export interface GetImportCommandInput extends GetImportRequest {}
15
+ export interface GetImportCommandOutput
16
+ extends GetImportResponse,
17
+ __MetadataBearer {}
18
+ export declare class GetImportCommand extends $Command<
19
+ GetImportCommandInput,
20
+ GetImportCommandOutput,
21
+ CloudTrailClientResolvedConfig
22
+ > {
23
+ readonly input: GetImportCommandInput;
24
+ constructor(input: GetImportCommandInput);
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: CloudTrailClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<GetImportCommandInput, GetImportCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudTrailClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudTrailClient";
13
+ import {
14
+ ListImportFailuresRequest,
15
+ ListImportFailuresResponse,
16
+ } from "../models/models_0";
17
+ export interface ListImportFailuresCommandInput
18
+ extends ListImportFailuresRequest {}
19
+ export interface ListImportFailuresCommandOutput
20
+ extends ListImportFailuresResponse,
21
+ __MetadataBearer {}
22
+ export declare class ListImportFailuresCommand extends $Command<
23
+ ListImportFailuresCommandInput,
24
+ ListImportFailuresCommandOutput,
25
+ CloudTrailClientResolvedConfig
26
+ > {
27
+ readonly input: ListImportFailuresCommandInput;
28
+ constructor(input: ListImportFailuresCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: CloudTrailClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<ListImportFailuresCommandInput, ListImportFailuresCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,32 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudTrailClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudTrailClient";
13
+ import { ListImportsRequest, ListImportsResponse } from "../models/models_0";
14
+ export interface ListImportsCommandInput extends ListImportsRequest {}
15
+ export interface ListImportsCommandOutput
16
+ extends ListImportsResponse,
17
+ __MetadataBearer {}
18
+ export declare class ListImportsCommand extends $Command<
19
+ ListImportsCommandInput,
20
+ ListImportsCommandOutput,
21
+ CloudTrailClientResolvedConfig
22
+ > {
23
+ readonly input: ListImportsCommandInput;
24
+ constructor(input: ListImportsCommandInput);
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: CloudTrailClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<ListImportsCommandInput, ListImportsCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -0,0 +1,32 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudTrailClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudTrailClient";
13
+ import { StartImportRequest, StartImportResponse } from "../models/models_0";
14
+ export interface StartImportCommandInput extends StartImportRequest {}
15
+ export interface StartImportCommandOutput
16
+ extends StartImportResponse,
17
+ __MetadataBearer {}
18
+ export declare class StartImportCommand extends $Command<
19
+ StartImportCommandInput,
20
+ StartImportCommandOutput,
21
+ CloudTrailClientResolvedConfig
22
+ > {
23
+ readonly input: StartImportCommandInput;
24
+ constructor(input: StartImportCommandInput);
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: CloudTrailClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<StartImportCommandInput, StartImportCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -0,0 +1,32 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudTrailClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudTrailClient";
13
+ import { StopImportRequest, StopImportResponse } from "../models/models_0";
14
+ export interface StopImportCommandInput extends StopImportRequest {}
15
+ export interface StopImportCommandOutput
16
+ extends StopImportResponse,
17
+ __MetadataBearer {}
18
+ export declare class StopImportCommand extends $Command<
19
+ StopImportCommandInput,
20
+ StopImportCommandOutput,
21
+ CloudTrailClientResolvedConfig
22
+ > {
23
+ readonly input: StopImportCommandInput;
24
+ constructor(input: StopImportCommandInput);
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: CloudTrailClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<StopImportCommandInput, StopImportCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -9,12 +9,15 @@ export * from "./DescribeTrailsCommand";
9
9
  export * from "./GetChannelCommand";
10
10
  export * from "./GetEventDataStoreCommand";
11
11
  export * from "./GetEventSelectorsCommand";
12
+ export * from "./GetImportCommand";
12
13
  export * from "./GetInsightSelectorsCommand";
13
14
  export * from "./GetQueryResultsCommand";
14
15
  export * from "./GetTrailCommand";
15
16
  export * from "./GetTrailStatusCommand";
16
17
  export * from "./ListChannelsCommand";
17
18
  export * from "./ListEventDataStoresCommand";
19
+ export * from "./ListImportFailuresCommand";
20
+ export * from "./ListImportsCommand";
18
21
  export * from "./ListPublicKeysCommand";
19
22
  export * from "./ListQueriesCommand";
20
23
  export * from "./ListTagsCommand";
@@ -24,8 +27,10 @@ export * from "./PutEventSelectorsCommand";
24
27
  export * from "./PutInsightSelectorsCommand";
25
28
  export * from "./RemoveTagsCommand";
26
29
  export * from "./RestoreEventDataStoreCommand";
30
+ export * from "./StartImportCommand";
27
31
  export * from "./StartLoggingCommand";
28
32
  export * from "./StartQueryCommand";
33
+ export * from "./StopImportCommand";
29
34
  export * from "./StopLoggingCommand";
30
35
  export * from "./UpdateEventDataStoreCommand";
31
36
  export * from "./UpdateTrailCommand";