@aws-sdk/client-cloudtrail 3.170.0 → 3.174.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 (90) 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/ts3.4/CloudTrail.d.ts +85 -31
  42. package/dist-types/ts3.4/CloudTrailClient.d.ts +30 -25
  43. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +0 -2
  44. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +0 -2
  45. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +0 -2
  46. package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +0 -2
  47. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +0 -2
  48. package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +0 -2
  49. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +0 -2
  50. package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +0 -2
  51. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +0 -2
  52. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +0 -2
  53. package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +0 -2
  54. package/dist-types/ts3.4/commands/GetImportCommand.d.ts +32 -0
  55. package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +0 -2
  56. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +0 -2
  57. package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +0 -2
  58. package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +0 -2
  59. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +0 -2
  60. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +0 -2
  61. package/dist-types/ts3.4/commands/ListImportFailuresCommand.d.ts +36 -0
  62. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +32 -0
  63. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +0 -2
  64. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +0 -2
  65. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +0 -2
  66. package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +0 -2
  67. package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +0 -2
  68. package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +0 -2
  69. package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +0 -2
  70. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +0 -2
  71. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +0 -2
  72. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +32 -0
  73. package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +0 -2
  74. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +0 -2
  75. package/dist-types/ts3.4/commands/StopImportCommand.d.ts +32 -0
  76. package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +0 -2
  77. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +0 -2
  78. package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +0 -2
  79. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  80. package/dist-types/ts3.4/models/CloudTrailServiceException.d.ts +0 -1
  81. package/dist-types/ts3.4/models/models_0.d.ts +197 -531
  82. package/dist-types/ts3.4/pagination/ListImportFailuresPaginator.d.ts +11 -0
  83. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
  84. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  85. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  86. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
  87. package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
  88. package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
  89. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  90. 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>;
@@ -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,
@@ -124,7 +144,6 @@ import {
124
144
  UpdateTrailCommandInput,
125
145
  UpdateTrailCommandOutput,
126
146
  } from "./commands/UpdateTrailCommand";
127
-
128
147
  export declare class CloudTrail extends CloudTrailClient {
129
148
  addTags(
130
149
  args: AddTagsCommandInput,
@@ -139,7 +158,6 @@ export declare class CloudTrail extends CloudTrailClient {
139
158
  options: __HttpHandlerOptions,
140
159
  cb: (err: any, data?: AddTagsCommandOutput) => void
141
160
  ): void;
142
-
143
161
  cancelQuery(
144
162
  args: CancelQueryCommandInput,
145
163
  options?: __HttpHandlerOptions
@@ -153,7 +171,6 @@ export declare class CloudTrail extends CloudTrailClient {
153
171
  options: __HttpHandlerOptions,
154
172
  cb: (err: any, data?: CancelQueryCommandOutput) => void
155
173
  ): void;
156
-
157
174
  createEventDataStore(
158
175
  args: CreateEventDataStoreCommandInput,
159
176
  options?: __HttpHandlerOptions
@@ -167,7 +184,6 @@ export declare class CloudTrail extends CloudTrailClient {
167
184
  options: __HttpHandlerOptions,
168
185
  cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void
169
186
  ): void;
170
-
171
187
  createTrail(
172
188
  args: CreateTrailCommandInput,
173
189
  options?: __HttpHandlerOptions
@@ -181,7 +197,6 @@ export declare class CloudTrail extends CloudTrailClient {
181
197
  options: __HttpHandlerOptions,
182
198
  cb: (err: any, data?: CreateTrailCommandOutput) => void
183
199
  ): void;
184
-
185
200
  deleteEventDataStore(
186
201
  args: DeleteEventDataStoreCommandInput,
187
202
  options?: __HttpHandlerOptions
@@ -195,7 +210,6 @@ export declare class CloudTrail extends CloudTrailClient {
195
210
  options: __HttpHandlerOptions,
196
211
  cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void
197
212
  ): void;
198
-
199
213
  deleteTrail(
200
214
  args: DeleteTrailCommandInput,
201
215
  options?: __HttpHandlerOptions
@@ -209,7 +223,6 @@ export declare class CloudTrail extends CloudTrailClient {
209
223
  options: __HttpHandlerOptions,
210
224
  cb: (err: any, data?: DeleteTrailCommandOutput) => void
211
225
  ): void;
212
-
213
226
  describeQuery(
214
227
  args: DescribeQueryCommandInput,
215
228
  options?: __HttpHandlerOptions
@@ -223,7 +236,6 @@ export declare class CloudTrail extends CloudTrailClient {
223
236
  options: __HttpHandlerOptions,
224
237
  cb: (err: any, data?: DescribeQueryCommandOutput) => void
225
238
  ): void;
226
-
227
239
  describeTrails(
228
240
  args: DescribeTrailsCommandInput,
229
241
  options?: __HttpHandlerOptions
@@ -237,7 +249,6 @@ export declare class CloudTrail extends CloudTrailClient {
237
249
  options: __HttpHandlerOptions,
238
250
  cb: (err: any, data?: DescribeTrailsCommandOutput) => void
239
251
  ): void;
240
-
241
252
  getChannel(
242
253
  args: GetChannelCommandInput,
243
254
  options?: __HttpHandlerOptions
@@ -251,7 +262,6 @@ export declare class CloudTrail extends CloudTrailClient {
251
262
  options: __HttpHandlerOptions,
252
263
  cb: (err: any, data?: GetChannelCommandOutput) => void
253
264
  ): void;
254
-
255
265
  getEventDataStore(
256
266
  args: GetEventDataStoreCommandInput,
257
267
  options?: __HttpHandlerOptions
@@ -265,7 +275,6 @@ export declare class CloudTrail extends CloudTrailClient {
265
275
  options: __HttpHandlerOptions,
266
276
  cb: (err: any, data?: GetEventDataStoreCommandOutput) => void
267
277
  ): void;
268
-
269
278
  getEventSelectors(
270
279
  args: GetEventSelectorsCommandInput,
271
280
  options?: __HttpHandlerOptions
@@ -279,7 +288,19 @@ export declare class CloudTrail extends CloudTrailClient {
279
288
  options: __HttpHandlerOptions,
280
289
  cb: (err: any, data?: GetEventSelectorsCommandOutput) => void
281
290
  ): void;
282
-
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;
283
304
  getInsightSelectors(
284
305
  args: GetInsightSelectorsCommandInput,
285
306
  options?: __HttpHandlerOptions
@@ -293,7 +314,6 @@ export declare class CloudTrail extends CloudTrailClient {
293
314
  options: __HttpHandlerOptions,
294
315
  cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void
295
316
  ): void;
296
-
297
317
  getQueryResults(
298
318
  args: GetQueryResultsCommandInput,
299
319
  options?: __HttpHandlerOptions
@@ -307,7 +327,6 @@ export declare class CloudTrail extends CloudTrailClient {
307
327
  options: __HttpHandlerOptions,
308
328
  cb: (err: any, data?: GetQueryResultsCommandOutput) => void
309
329
  ): void;
310
-
311
330
  getTrail(
312
331
  args: GetTrailCommandInput,
313
332
  options?: __HttpHandlerOptions
@@ -321,7 +340,6 @@ export declare class CloudTrail extends CloudTrailClient {
321
340
  options: __HttpHandlerOptions,
322
341
  cb: (err: any, data?: GetTrailCommandOutput) => void
323
342
  ): void;
324
-
325
343
  getTrailStatus(
326
344
  args: GetTrailStatusCommandInput,
327
345
  options?: __HttpHandlerOptions
@@ -335,7 +353,6 @@ export declare class CloudTrail extends CloudTrailClient {
335
353
  options: __HttpHandlerOptions,
336
354
  cb: (err: any, data?: GetTrailStatusCommandOutput) => void
337
355
  ): void;
338
-
339
356
  listChannels(
340
357
  args: ListChannelsCommandInput,
341
358
  options?: __HttpHandlerOptions
@@ -349,7 +366,6 @@ export declare class CloudTrail extends CloudTrailClient {
349
366
  options: __HttpHandlerOptions,
350
367
  cb: (err: any, data?: ListChannelsCommandOutput) => void
351
368
  ): void;
352
-
353
369
  listEventDataStores(
354
370
  args: ListEventDataStoresCommandInput,
355
371
  options?: __HttpHandlerOptions
@@ -363,7 +379,32 @@ export declare class CloudTrail extends CloudTrailClient {
363
379
  options: __HttpHandlerOptions,
364
380
  cb: (err: any, data?: ListEventDataStoresCommandOutput) => void
365
381
  ): void;
366
-
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;
367
408
  listPublicKeys(
368
409
  args: ListPublicKeysCommandInput,
369
410
  options?: __HttpHandlerOptions
@@ -377,7 +418,6 @@ export declare class CloudTrail extends CloudTrailClient {
377
418
  options: __HttpHandlerOptions,
378
419
  cb: (err: any, data?: ListPublicKeysCommandOutput) => void
379
420
  ): void;
380
-
381
421
  listQueries(
382
422
  args: ListQueriesCommandInput,
383
423
  options?: __HttpHandlerOptions
@@ -391,7 +431,6 @@ export declare class CloudTrail extends CloudTrailClient {
391
431
  options: __HttpHandlerOptions,
392
432
  cb: (err: any, data?: ListQueriesCommandOutput) => void
393
433
  ): void;
394
-
395
434
  listTags(
396
435
  args: ListTagsCommandInput,
397
436
  options?: __HttpHandlerOptions
@@ -405,7 +444,6 @@ export declare class CloudTrail extends CloudTrailClient {
405
444
  options: __HttpHandlerOptions,
406
445
  cb: (err: any, data?: ListTagsCommandOutput) => void
407
446
  ): void;
408
-
409
447
  listTrails(
410
448
  args: ListTrailsCommandInput,
411
449
  options?: __HttpHandlerOptions
@@ -419,7 +457,6 @@ export declare class CloudTrail extends CloudTrailClient {
419
457
  options: __HttpHandlerOptions,
420
458
  cb: (err: any, data?: ListTrailsCommandOutput) => void
421
459
  ): void;
422
-
423
460
  lookupEvents(
424
461
  args: LookupEventsCommandInput,
425
462
  options?: __HttpHandlerOptions
@@ -433,7 +470,6 @@ export declare class CloudTrail extends CloudTrailClient {
433
470
  options: __HttpHandlerOptions,
434
471
  cb: (err: any, data?: LookupEventsCommandOutput) => void
435
472
  ): void;
436
-
437
473
  putEventSelectors(
438
474
  args: PutEventSelectorsCommandInput,
439
475
  options?: __HttpHandlerOptions
@@ -447,7 +483,6 @@ export declare class CloudTrail extends CloudTrailClient {
447
483
  options: __HttpHandlerOptions,
448
484
  cb: (err: any, data?: PutEventSelectorsCommandOutput) => void
449
485
  ): void;
450
-
451
486
  putInsightSelectors(
452
487
  args: PutInsightSelectorsCommandInput,
453
488
  options?: __HttpHandlerOptions
@@ -461,7 +496,6 @@ export declare class CloudTrail extends CloudTrailClient {
461
496
  options: __HttpHandlerOptions,
462
497
  cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void
463
498
  ): void;
464
-
465
499
  removeTags(
466
500
  args: RemoveTagsCommandInput,
467
501
  options?: __HttpHandlerOptions
@@ -475,7 +509,6 @@ export declare class CloudTrail extends CloudTrailClient {
475
509
  options: __HttpHandlerOptions,
476
510
  cb: (err: any, data?: RemoveTagsCommandOutput) => void
477
511
  ): void;
478
-
479
512
  restoreEventDataStore(
480
513
  args: RestoreEventDataStoreCommandInput,
481
514
  options?: __HttpHandlerOptions
@@ -489,7 +522,19 @@ export declare class CloudTrail extends CloudTrailClient {
489
522
  options: __HttpHandlerOptions,
490
523
  cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void
491
524
  ): void;
492
-
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;
493
538
  startLogging(
494
539
  args: StartLoggingCommandInput,
495
540
  options?: __HttpHandlerOptions
@@ -503,7 +548,6 @@ export declare class CloudTrail extends CloudTrailClient {
503
548
  options: __HttpHandlerOptions,
504
549
  cb: (err: any, data?: StartLoggingCommandOutput) => void
505
550
  ): void;
506
-
507
551
  startQuery(
508
552
  args: StartQueryCommandInput,
509
553
  options?: __HttpHandlerOptions
@@ -517,7 +561,19 @@ export declare class CloudTrail extends CloudTrailClient {
517
561
  options: __HttpHandlerOptions,
518
562
  cb: (err: any, data?: StartQueryCommandOutput) => void
519
563
  ): void;
520
-
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;
521
577
  stopLogging(
522
578
  args: StopLoggingCommandInput,
523
579
  options?: __HttpHandlerOptions
@@ -531,7 +587,6 @@ export declare class CloudTrail extends CloudTrailClient {
531
587
  options: __HttpHandlerOptions,
532
588
  cb: (err: any, data?: StopLoggingCommandOutput) => void
533
589
  ): void;
534
-
535
590
  updateEventDataStore(
536
591
  args: UpdateEventDataStoreCommandInput,
537
592
  options?: __HttpHandlerOptions
@@ -545,7 +600,6 @@ export declare class CloudTrail extends CloudTrailClient {
545
600
  options: __HttpHandlerOptions,
546
601
  cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void
547
602
  ): void;
548
-
549
603
  updateTrail(
550
604
  args: UpdateTrailCommandInput,
551
605
  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,55 +253,36 @@ 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;
233
263
  export interface ClientDefaults
234
264
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
235
265
  requestHandler?: __HttpHandler;
236
-
237
266
  sha256?: __HashConstructor;
238
-
239
267
  urlParser?: __UrlParser;
240
-
241
268
  bodyLengthChecker?: __BodyLengthCalculator;
242
-
243
269
  streamCollector?: __StreamCollector;
244
-
245
270
  base64Decoder?: __Decoder;
246
-
247
271
  base64Encoder?: __Encoder;
248
-
249
272
  utf8Decoder?: __Decoder;
250
-
251
273
  utf8Encoder?: __Encoder;
252
-
253
274
  runtime?: string;
254
-
255
275
  disableHostPrefix?: boolean;
256
-
257
276
  maxAttempts?: number | __Provider<number>;
258
-
259
277
  retryMode?: string | __Provider<string>;
260
-
261
278
  logger?: __Logger;
262
-
263
279
  useDualstackEndpoint?: boolean | __Provider<boolean>;
264
-
265
280
  useFipsEndpoint?: boolean | __Provider<boolean>;
266
-
267
281
  serviceId?: string;
268
-
269
282
  region?: string | __Provider<string>;
270
-
271
283
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
272
-
273
284
  regionInfoProvider?: RegionInfoProvider;
274
-
275
285
  defaultUserAgentProvider?: Provider<__UserAgent>;
276
-
277
286
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
278
287
  }
279
288
  declare type CloudTrailClientConfigType = Partial<
@@ -286,7 +295,6 @@ declare type CloudTrailClientConfigType = Partial<
286
295
  HostHeaderInputConfig &
287
296
  AwsAuthInputConfig &
288
297
  UserAgentInputConfig;
289
-
290
298
  export interface CloudTrailClientConfig extends CloudTrailClientConfigType {}
291
299
  declare type CloudTrailClientResolvedConfigType =
292
300
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
@@ -297,10 +305,8 @@ declare type CloudTrailClientResolvedConfigType =
297
305
  HostHeaderResolvedConfig &
298
306
  AwsAuthResolvedConfig &
299
307
  UserAgentResolvedConfig;
300
-
301
308
  export interface CloudTrailClientResolvedConfig
302
309
  extends CloudTrailClientResolvedConfigType {}
303
-
304
310
  export declare class CloudTrailClient extends __Client<
305
311
  __HttpHandlerOptions,
306
312
  ServiceInputTypes,
@@ -309,7 +315,6 @@ export declare class CloudTrailClient extends __Client<
309
315
  > {
310
316
  readonly config: CloudTrailClientResolvedConfig;
311
317
  constructor(configuration: CloudTrailClientConfig);
312
-
313
318
  destroy(): void;
314
319
  }
315
320
  export {};
@@ -15,7 +15,6 @@ export interface AddTagsCommandInput extends AddTagsRequest {}
15
15
  export interface AddTagsCommandOutput
16
16
  extends AddTagsResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class AddTagsCommand extends $Command<
20
19
  AddTagsCommandInput,
21
20
  AddTagsCommandOutput,
@@ -23,7 +22,6 @@ export declare class AddTagsCommand extends $Command<
23
22
  > {
24
23
  readonly input: AddTagsCommandInput;
25
24
  constructor(input: AddTagsCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: CloudTrailClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface CancelQueryCommandInput extends CancelQueryRequest {}
15
15
  export interface CancelQueryCommandOutput
16
16
  extends CancelQueryResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class CancelQueryCommand extends $Command<
20
19
  CancelQueryCommandInput,
21
20
  CancelQueryCommandOutput,
@@ -23,7 +22,6 @@ export declare class CancelQueryCommand extends $Command<
23
22
  > {
24
23
  readonly input: CancelQueryCommandInput;
25
24
  constructor(input: CancelQueryCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: CloudTrailClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface CreateEventDataStoreCommandInput
19
19
  export interface CreateEventDataStoreCommandOutput
20
20
  extends CreateEventDataStoreResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class CreateEventDataStoreCommand extends $Command<
24
23
  CreateEventDataStoreCommandInput,
25
24
  CreateEventDataStoreCommandOutput,
@@ -27,7 +26,6 @@ export declare class CreateEventDataStoreCommand extends $Command<
27
26
  > {
28
27
  readonly input: CreateEventDataStoreCommandInput;
29
28
  constructor(input: CreateEventDataStoreCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: CloudTrailClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface CreateTrailCommandInput extends CreateTrailRequest {}
15
15
  export interface CreateTrailCommandOutput
16
16
  extends CreateTrailResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class CreateTrailCommand extends $Command<
20
19
  CreateTrailCommandInput,
21
20
  CreateTrailCommandOutput,
@@ -23,7 +22,6 @@ export declare class CreateTrailCommand extends $Command<
23
22
  > {
24
23
  readonly input: CreateTrailCommandInput;
25
24
  constructor(input: CreateTrailCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: CloudTrailClientResolvedConfig,