@aws-sdk/client-cloudtrail 3.169.0 → 3.170.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 (56) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/CloudTrail.d.ts +562 -160
  3. package/dist-types/ts3.4/CloudTrailClient.d.ts +315 -104
  4. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +34 -17
  6. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +41 -17
  7. package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +34 -17
  8. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +41 -17
  9. package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +34 -17
  10. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +37 -17
  11. package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +37 -17
  12. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +34 -17
  13. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +38 -17
  14. package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +38 -17
  15. package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +38 -17
  16. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +37 -17
  17. package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +34 -17
  18. package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +37 -17
  19. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +34 -17
  20. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +38 -17
  21. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +37 -17
  22. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +34 -17
  23. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +34 -17
  24. package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +34 -17
  25. package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +34 -17
  26. package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +38 -17
  27. package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +38 -17
  28. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +34 -17
  29. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +41 -17
  30. package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +34 -17
  31. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +34 -17
  32. package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +34 -17
  33. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +41 -17
  34. package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +34 -17
  35. package/dist-types/ts3.4/commands/index.d.ts +31 -31
  36. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  37. package/dist-types/ts3.4/index.d.ts +6 -6
  38. package/dist-types/ts3.4/models/CloudTrailServiceException.d.ts +8 -6
  39. package/dist-types/ts3.4/models/index.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_0.d.ts +1798 -1555
  41. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +11 -4
  42. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  43. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -4
  44. package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +11 -4
  45. package/dist-types/ts3.4/pagination/ListPublicKeysPaginator.d.ts +11 -4
  46. package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +11 -4
  47. package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +11 -4
  48. package/dist-types/ts3.4/pagination/ListTrailsPaginator.d.ts +11 -4
  49. package/dist-types/ts3.4/pagination/LookupEventsPaginator.d.ts +11 -4
  50. package/dist-types/ts3.4/pagination/index.d.ts +9 -9
  51. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +377 -95
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  56. package/package.json +34 -34
@@ -1,160 +1,562 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
- import { CloudTrailClient } from "./CloudTrailClient";
3
- import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
4
- import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
5
- import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand";
6
- import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
7
- import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "./commands/DeleteEventDataStoreCommand";
8
- import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
9
- import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
10
- import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
11
- import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
12
- import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
13
- import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
14
- import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
15
- import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
16
- import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
17
- import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
18
- import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
19
- import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
20
- import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
21
- import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
22
- import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
23
- import { ListTrailsCommandInput, ListTrailsCommandOutput } from "./commands/ListTrailsCommand";
24
- import { LookupEventsCommandInput, LookupEventsCommandOutput } from "./commands/LookupEventsCommand";
25
- import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "./commands/PutEventSelectorsCommand";
26
- import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "./commands/PutInsightSelectorsCommand";
27
- import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
28
- import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "./commands/RestoreEventDataStoreCommand";
29
- import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
30
- import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
31
- import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
32
- import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
33
- import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
34
-
35
- export declare class CloudTrail extends CloudTrailClient {
36
-
37
- addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsCommandOutput>;
38
- addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
39
- addTags(args: AddTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
40
-
41
- cancelQuery(args: CancelQueryCommandInput, options?: __HttpHandlerOptions): Promise<CancelQueryCommandOutput>;
42
- cancelQuery(args: CancelQueryCommandInput, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
43
- cancelQuery(args: CancelQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
44
-
45
- createEventDataStore(args: CreateEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventDataStoreCommandOutput>;
46
- createEventDataStore(args: CreateEventDataStoreCommandInput, cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void): void;
47
- createEventDataStore(args: CreateEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void): void;
48
-
49
- createTrail(args: CreateTrailCommandInput, options?: __HttpHandlerOptions): Promise<CreateTrailCommandOutput>;
50
- createTrail(args: CreateTrailCommandInput, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
51
- createTrail(args: CreateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
52
-
53
- deleteEventDataStore(args: DeleteEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventDataStoreCommandOutput>;
54
- deleteEventDataStore(args: DeleteEventDataStoreCommandInput, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void;
55
- deleteEventDataStore(args: DeleteEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void;
56
-
57
- deleteTrail(args: DeleteTrailCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTrailCommandOutput>;
58
- deleteTrail(args: DeleteTrailCommandInput, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void;
59
- deleteTrail(args: DeleteTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void;
60
-
61
- describeQuery(args: DescribeQueryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQueryCommandOutput>;
62
- describeQuery(args: DescribeQueryCommandInput, cb: (err: any, data?: DescribeQueryCommandOutput) => void): void;
63
- describeQuery(args: DescribeQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueryCommandOutput) => void): void;
64
-
65
- describeTrails(args: DescribeTrailsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrailsCommandOutput>;
66
- describeTrails(args: DescribeTrailsCommandInput, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
67
- describeTrails(args: DescribeTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
68
-
69
- getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelCommandOutput>;
70
- getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
71
- getChannel(args: GetChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
72
-
73
- getEventDataStore(args: GetEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<GetEventDataStoreCommandOutput>;
74
- getEventDataStore(args: GetEventDataStoreCommandInput, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void;
75
- getEventDataStore(args: GetEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void;
76
-
77
- getEventSelectors(args: GetEventSelectorsCommandInput, options?: __HttpHandlerOptions): Promise<GetEventSelectorsCommandOutput>;
78
- getEventSelectors(args: GetEventSelectorsCommandInput, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void;
79
- getEventSelectors(args: GetEventSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void;
80
-
81
- getInsightSelectors(args: GetInsightSelectorsCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightSelectorsCommandOutput>;
82
- getInsightSelectors(args: GetInsightSelectorsCommandInput, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void;
83
- getInsightSelectors(args: GetInsightSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void;
84
-
85
- getQueryResults(args: GetQueryResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryResultsCommandOutput>;
86
- getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
87
- getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
88
-
89
- getTrail(args: GetTrailCommandInput, options?: __HttpHandlerOptions): Promise<GetTrailCommandOutput>;
90
- getTrail(args: GetTrailCommandInput, cb: (err: any, data?: GetTrailCommandOutput) => void): void;
91
- getTrail(args: GetTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailCommandOutput) => void): void;
92
-
93
- getTrailStatus(args: GetTrailStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetTrailStatusCommandOutput>;
94
- getTrailStatus(args: GetTrailStatusCommandInput, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
95
- getTrailStatus(args: GetTrailStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
96
-
97
- listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
98
- listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
99
- listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
100
-
101
- listEventDataStores(args: ListEventDataStoresCommandInput, options?: __HttpHandlerOptions): Promise<ListEventDataStoresCommandOutput>;
102
- listEventDataStores(args: ListEventDataStoresCommandInput, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void;
103
- listEventDataStores(args: ListEventDataStoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void;
104
-
105
- listPublicKeys(args: ListPublicKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListPublicKeysCommandOutput>;
106
- listPublicKeys(args: ListPublicKeysCommandInput, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
107
- listPublicKeys(args: ListPublicKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
108
-
109
- listQueries(args: ListQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListQueriesCommandOutput>;
110
- listQueries(args: ListQueriesCommandInput, cb: (err: any, data?: ListQueriesCommandOutput) => void): void;
111
- listQueries(args: ListQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueriesCommandOutput) => void): void;
112
-
113
- listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
114
- listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
115
- listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
116
-
117
- listTrails(args: ListTrailsCommandInput, options?: __HttpHandlerOptions): Promise<ListTrailsCommandOutput>;
118
- listTrails(args: ListTrailsCommandInput, cb: (err: any, data?: ListTrailsCommandOutput) => void): void;
119
- listTrails(args: ListTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrailsCommandOutput) => void): void;
120
-
121
- lookupEvents(args: LookupEventsCommandInput, options?: __HttpHandlerOptions): Promise<LookupEventsCommandOutput>;
122
- lookupEvents(args: LookupEventsCommandInput, cb: (err: any, data?: LookupEventsCommandOutput) => void): void;
123
- lookupEvents(args: LookupEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LookupEventsCommandOutput) => void): void;
124
-
125
- putEventSelectors(args: PutEventSelectorsCommandInput, options?: __HttpHandlerOptions): Promise<PutEventSelectorsCommandOutput>;
126
- putEventSelectors(args: PutEventSelectorsCommandInput, cb: (err: any, data?: PutEventSelectorsCommandOutput) => void): void;
127
- putEventSelectors(args: PutEventSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventSelectorsCommandOutput) => void): void;
128
-
129
- putInsightSelectors(args: PutInsightSelectorsCommandInput, options?: __HttpHandlerOptions): Promise<PutInsightSelectorsCommandOutput>;
130
- putInsightSelectors(args: PutInsightSelectorsCommandInput, cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void): void;
131
- putInsightSelectors(args: PutInsightSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void): void;
132
-
133
- removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsCommandOutput>;
134
- removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
135
- removeTags(args: RemoveTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
136
-
137
- restoreEventDataStore(args: RestoreEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<RestoreEventDataStoreCommandOutput>;
138
- restoreEventDataStore(args: RestoreEventDataStoreCommandInput, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void;
139
- restoreEventDataStore(args: RestoreEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void;
140
-
141
- startLogging(args: StartLoggingCommandInput, options?: __HttpHandlerOptions): Promise<StartLoggingCommandOutput>;
142
- startLogging(args: StartLoggingCommandInput, cb: (err: any, data?: StartLoggingCommandOutput) => void): void;
143
- startLogging(args: StartLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartLoggingCommandOutput) => void): void;
144
-
145
- startQuery(args: StartQueryCommandInput, options?: __HttpHandlerOptions): Promise<StartQueryCommandOutput>;
146
- startQuery(args: StartQueryCommandInput, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
147
- startQuery(args: StartQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
148
-
149
- stopLogging(args: StopLoggingCommandInput, options?: __HttpHandlerOptions): Promise<StopLoggingCommandOutput>;
150
- stopLogging(args: StopLoggingCommandInput, cb: (err: any, data?: StopLoggingCommandOutput) => void): void;
151
- stopLogging(args: StopLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopLoggingCommandOutput) => void): void;
152
-
153
- updateEventDataStore(args: UpdateEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventDataStoreCommandOutput>;
154
- updateEventDataStore(args: UpdateEventDataStoreCommandInput, cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void): void;
155
- updateEventDataStore(args: UpdateEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void): void;
156
-
157
- updateTrail(args: UpdateTrailCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTrailCommandOutput>;
158
- updateTrail(args: UpdateTrailCommandInput, cb: (err: any, data?: UpdateTrailCommandOutput) => void): void;
159
- updateTrail(args: UpdateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTrailCommandOutput) => void): void;
160
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CloudTrailClient } from "./CloudTrailClient";
3
+ import {
4
+ AddTagsCommandInput,
5
+ AddTagsCommandOutput,
6
+ } from "./commands/AddTagsCommand";
7
+ import {
8
+ CancelQueryCommandInput,
9
+ CancelQueryCommandOutput,
10
+ } from "./commands/CancelQueryCommand";
11
+ import {
12
+ CreateEventDataStoreCommandInput,
13
+ CreateEventDataStoreCommandOutput,
14
+ } from "./commands/CreateEventDataStoreCommand";
15
+ import {
16
+ CreateTrailCommandInput,
17
+ CreateTrailCommandOutput,
18
+ } from "./commands/CreateTrailCommand";
19
+ import {
20
+ DeleteEventDataStoreCommandInput,
21
+ DeleteEventDataStoreCommandOutput,
22
+ } from "./commands/DeleteEventDataStoreCommand";
23
+ import {
24
+ DeleteTrailCommandInput,
25
+ DeleteTrailCommandOutput,
26
+ } from "./commands/DeleteTrailCommand";
27
+ import {
28
+ DescribeQueryCommandInput,
29
+ DescribeQueryCommandOutput,
30
+ } from "./commands/DescribeQueryCommand";
31
+ import {
32
+ DescribeTrailsCommandInput,
33
+ DescribeTrailsCommandOutput,
34
+ } from "./commands/DescribeTrailsCommand";
35
+ import {
36
+ GetChannelCommandInput,
37
+ GetChannelCommandOutput,
38
+ } from "./commands/GetChannelCommand";
39
+ import {
40
+ GetEventDataStoreCommandInput,
41
+ GetEventDataStoreCommandOutput,
42
+ } from "./commands/GetEventDataStoreCommand";
43
+ import {
44
+ GetEventSelectorsCommandInput,
45
+ GetEventSelectorsCommandOutput,
46
+ } from "./commands/GetEventSelectorsCommand";
47
+ import {
48
+ GetInsightSelectorsCommandInput,
49
+ GetInsightSelectorsCommandOutput,
50
+ } from "./commands/GetInsightSelectorsCommand";
51
+ import {
52
+ GetQueryResultsCommandInput,
53
+ GetQueryResultsCommandOutput,
54
+ } from "./commands/GetQueryResultsCommand";
55
+ import {
56
+ GetTrailCommandInput,
57
+ GetTrailCommandOutput,
58
+ } from "./commands/GetTrailCommand";
59
+ import {
60
+ GetTrailStatusCommandInput,
61
+ GetTrailStatusCommandOutput,
62
+ } from "./commands/GetTrailStatusCommand";
63
+ import {
64
+ ListChannelsCommandInput,
65
+ ListChannelsCommandOutput,
66
+ } from "./commands/ListChannelsCommand";
67
+ import {
68
+ ListEventDataStoresCommandInput,
69
+ ListEventDataStoresCommandOutput,
70
+ } from "./commands/ListEventDataStoresCommand";
71
+ import {
72
+ ListPublicKeysCommandInput,
73
+ ListPublicKeysCommandOutput,
74
+ } from "./commands/ListPublicKeysCommand";
75
+ import {
76
+ ListQueriesCommandInput,
77
+ ListQueriesCommandOutput,
78
+ } from "./commands/ListQueriesCommand";
79
+ import {
80
+ ListTagsCommandInput,
81
+ ListTagsCommandOutput,
82
+ } from "./commands/ListTagsCommand";
83
+ import {
84
+ ListTrailsCommandInput,
85
+ ListTrailsCommandOutput,
86
+ } from "./commands/ListTrailsCommand";
87
+ import {
88
+ LookupEventsCommandInput,
89
+ LookupEventsCommandOutput,
90
+ } from "./commands/LookupEventsCommand";
91
+ import {
92
+ PutEventSelectorsCommandInput,
93
+ PutEventSelectorsCommandOutput,
94
+ } from "./commands/PutEventSelectorsCommand";
95
+ import {
96
+ PutInsightSelectorsCommandInput,
97
+ PutInsightSelectorsCommandOutput,
98
+ } from "./commands/PutInsightSelectorsCommand";
99
+ import {
100
+ RemoveTagsCommandInput,
101
+ RemoveTagsCommandOutput,
102
+ } from "./commands/RemoveTagsCommand";
103
+ import {
104
+ RestoreEventDataStoreCommandInput,
105
+ RestoreEventDataStoreCommandOutput,
106
+ } from "./commands/RestoreEventDataStoreCommand";
107
+ import {
108
+ StartLoggingCommandInput,
109
+ StartLoggingCommandOutput,
110
+ } from "./commands/StartLoggingCommand";
111
+ import {
112
+ StartQueryCommandInput,
113
+ StartQueryCommandOutput,
114
+ } from "./commands/StartQueryCommand";
115
+ import {
116
+ StopLoggingCommandInput,
117
+ StopLoggingCommandOutput,
118
+ } from "./commands/StopLoggingCommand";
119
+ import {
120
+ UpdateEventDataStoreCommandInput,
121
+ UpdateEventDataStoreCommandOutput,
122
+ } from "./commands/UpdateEventDataStoreCommand";
123
+ import {
124
+ UpdateTrailCommandInput,
125
+ UpdateTrailCommandOutput,
126
+ } from "./commands/UpdateTrailCommand";
127
+
128
+ export declare class CloudTrail extends CloudTrailClient {
129
+ addTags(
130
+ args: AddTagsCommandInput,
131
+ options?: __HttpHandlerOptions
132
+ ): Promise<AddTagsCommandOutput>;
133
+ addTags(
134
+ args: AddTagsCommandInput,
135
+ cb: (err: any, data?: AddTagsCommandOutput) => void
136
+ ): void;
137
+ addTags(
138
+ args: AddTagsCommandInput,
139
+ options: __HttpHandlerOptions,
140
+ cb: (err: any, data?: AddTagsCommandOutput) => void
141
+ ): void;
142
+
143
+ cancelQuery(
144
+ args: CancelQueryCommandInput,
145
+ options?: __HttpHandlerOptions
146
+ ): Promise<CancelQueryCommandOutput>;
147
+ cancelQuery(
148
+ args: CancelQueryCommandInput,
149
+ cb: (err: any, data?: CancelQueryCommandOutput) => void
150
+ ): void;
151
+ cancelQuery(
152
+ args: CancelQueryCommandInput,
153
+ options: __HttpHandlerOptions,
154
+ cb: (err: any, data?: CancelQueryCommandOutput) => void
155
+ ): void;
156
+
157
+ createEventDataStore(
158
+ args: CreateEventDataStoreCommandInput,
159
+ options?: __HttpHandlerOptions
160
+ ): Promise<CreateEventDataStoreCommandOutput>;
161
+ createEventDataStore(
162
+ args: CreateEventDataStoreCommandInput,
163
+ cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void
164
+ ): void;
165
+ createEventDataStore(
166
+ args: CreateEventDataStoreCommandInput,
167
+ options: __HttpHandlerOptions,
168
+ cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void
169
+ ): void;
170
+
171
+ createTrail(
172
+ args: CreateTrailCommandInput,
173
+ options?: __HttpHandlerOptions
174
+ ): Promise<CreateTrailCommandOutput>;
175
+ createTrail(
176
+ args: CreateTrailCommandInput,
177
+ cb: (err: any, data?: CreateTrailCommandOutput) => void
178
+ ): void;
179
+ createTrail(
180
+ args: CreateTrailCommandInput,
181
+ options: __HttpHandlerOptions,
182
+ cb: (err: any, data?: CreateTrailCommandOutput) => void
183
+ ): void;
184
+
185
+ deleteEventDataStore(
186
+ args: DeleteEventDataStoreCommandInput,
187
+ options?: __HttpHandlerOptions
188
+ ): Promise<DeleteEventDataStoreCommandOutput>;
189
+ deleteEventDataStore(
190
+ args: DeleteEventDataStoreCommandInput,
191
+ cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void
192
+ ): void;
193
+ deleteEventDataStore(
194
+ args: DeleteEventDataStoreCommandInput,
195
+ options: __HttpHandlerOptions,
196
+ cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void
197
+ ): void;
198
+
199
+ deleteTrail(
200
+ args: DeleteTrailCommandInput,
201
+ options?: __HttpHandlerOptions
202
+ ): Promise<DeleteTrailCommandOutput>;
203
+ deleteTrail(
204
+ args: DeleteTrailCommandInput,
205
+ cb: (err: any, data?: DeleteTrailCommandOutput) => void
206
+ ): void;
207
+ deleteTrail(
208
+ args: DeleteTrailCommandInput,
209
+ options: __HttpHandlerOptions,
210
+ cb: (err: any, data?: DeleteTrailCommandOutput) => void
211
+ ): void;
212
+
213
+ describeQuery(
214
+ args: DescribeQueryCommandInput,
215
+ options?: __HttpHandlerOptions
216
+ ): Promise<DescribeQueryCommandOutput>;
217
+ describeQuery(
218
+ args: DescribeQueryCommandInput,
219
+ cb: (err: any, data?: DescribeQueryCommandOutput) => void
220
+ ): void;
221
+ describeQuery(
222
+ args: DescribeQueryCommandInput,
223
+ options: __HttpHandlerOptions,
224
+ cb: (err: any, data?: DescribeQueryCommandOutput) => void
225
+ ): void;
226
+
227
+ describeTrails(
228
+ args: DescribeTrailsCommandInput,
229
+ options?: __HttpHandlerOptions
230
+ ): Promise<DescribeTrailsCommandOutput>;
231
+ describeTrails(
232
+ args: DescribeTrailsCommandInput,
233
+ cb: (err: any, data?: DescribeTrailsCommandOutput) => void
234
+ ): void;
235
+ describeTrails(
236
+ args: DescribeTrailsCommandInput,
237
+ options: __HttpHandlerOptions,
238
+ cb: (err: any, data?: DescribeTrailsCommandOutput) => void
239
+ ): void;
240
+
241
+ getChannel(
242
+ args: GetChannelCommandInput,
243
+ options?: __HttpHandlerOptions
244
+ ): Promise<GetChannelCommandOutput>;
245
+ getChannel(
246
+ args: GetChannelCommandInput,
247
+ cb: (err: any, data?: GetChannelCommandOutput) => void
248
+ ): void;
249
+ getChannel(
250
+ args: GetChannelCommandInput,
251
+ options: __HttpHandlerOptions,
252
+ cb: (err: any, data?: GetChannelCommandOutput) => void
253
+ ): void;
254
+
255
+ getEventDataStore(
256
+ args: GetEventDataStoreCommandInput,
257
+ options?: __HttpHandlerOptions
258
+ ): Promise<GetEventDataStoreCommandOutput>;
259
+ getEventDataStore(
260
+ args: GetEventDataStoreCommandInput,
261
+ cb: (err: any, data?: GetEventDataStoreCommandOutput) => void
262
+ ): void;
263
+ getEventDataStore(
264
+ args: GetEventDataStoreCommandInput,
265
+ options: __HttpHandlerOptions,
266
+ cb: (err: any, data?: GetEventDataStoreCommandOutput) => void
267
+ ): void;
268
+
269
+ getEventSelectors(
270
+ args: GetEventSelectorsCommandInput,
271
+ options?: __HttpHandlerOptions
272
+ ): Promise<GetEventSelectorsCommandOutput>;
273
+ getEventSelectors(
274
+ args: GetEventSelectorsCommandInput,
275
+ cb: (err: any, data?: GetEventSelectorsCommandOutput) => void
276
+ ): void;
277
+ getEventSelectors(
278
+ args: GetEventSelectorsCommandInput,
279
+ options: __HttpHandlerOptions,
280
+ cb: (err: any, data?: GetEventSelectorsCommandOutput) => void
281
+ ): void;
282
+
283
+ getInsightSelectors(
284
+ args: GetInsightSelectorsCommandInput,
285
+ options?: __HttpHandlerOptions
286
+ ): Promise<GetInsightSelectorsCommandOutput>;
287
+ getInsightSelectors(
288
+ args: GetInsightSelectorsCommandInput,
289
+ cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void
290
+ ): void;
291
+ getInsightSelectors(
292
+ args: GetInsightSelectorsCommandInput,
293
+ options: __HttpHandlerOptions,
294
+ cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void
295
+ ): void;
296
+
297
+ getQueryResults(
298
+ args: GetQueryResultsCommandInput,
299
+ options?: __HttpHandlerOptions
300
+ ): Promise<GetQueryResultsCommandOutput>;
301
+ getQueryResults(
302
+ args: GetQueryResultsCommandInput,
303
+ cb: (err: any, data?: GetQueryResultsCommandOutput) => void
304
+ ): void;
305
+ getQueryResults(
306
+ args: GetQueryResultsCommandInput,
307
+ options: __HttpHandlerOptions,
308
+ cb: (err: any, data?: GetQueryResultsCommandOutput) => void
309
+ ): void;
310
+
311
+ getTrail(
312
+ args: GetTrailCommandInput,
313
+ options?: __HttpHandlerOptions
314
+ ): Promise<GetTrailCommandOutput>;
315
+ getTrail(
316
+ args: GetTrailCommandInput,
317
+ cb: (err: any, data?: GetTrailCommandOutput) => void
318
+ ): void;
319
+ getTrail(
320
+ args: GetTrailCommandInput,
321
+ options: __HttpHandlerOptions,
322
+ cb: (err: any, data?: GetTrailCommandOutput) => void
323
+ ): void;
324
+
325
+ getTrailStatus(
326
+ args: GetTrailStatusCommandInput,
327
+ options?: __HttpHandlerOptions
328
+ ): Promise<GetTrailStatusCommandOutput>;
329
+ getTrailStatus(
330
+ args: GetTrailStatusCommandInput,
331
+ cb: (err: any, data?: GetTrailStatusCommandOutput) => void
332
+ ): void;
333
+ getTrailStatus(
334
+ args: GetTrailStatusCommandInput,
335
+ options: __HttpHandlerOptions,
336
+ cb: (err: any, data?: GetTrailStatusCommandOutput) => void
337
+ ): void;
338
+
339
+ listChannels(
340
+ args: ListChannelsCommandInput,
341
+ options?: __HttpHandlerOptions
342
+ ): Promise<ListChannelsCommandOutput>;
343
+ listChannels(
344
+ args: ListChannelsCommandInput,
345
+ cb: (err: any, data?: ListChannelsCommandOutput) => void
346
+ ): void;
347
+ listChannels(
348
+ args: ListChannelsCommandInput,
349
+ options: __HttpHandlerOptions,
350
+ cb: (err: any, data?: ListChannelsCommandOutput) => void
351
+ ): void;
352
+
353
+ listEventDataStores(
354
+ args: ListEventDataStoresCommandInput,
355
+ options?: __HttpHandlerOptions
356
+ ): Promise<ListEventDataStoresCommandOutput>;
357
+ listEventDataStores(
358
+ args: ListEventDataStoresCommandInput,
359
+ cb: (err: any, data?: ListEventDataStoresCommandOutput) => void
360
+ ): void;
361
+ listEventDataStores(
362
+ args: ListEventDataStoresCommandInput,
363
+ options: __HttpHandlerOptions,
364
+ cb: (err: any, data?: ListEventDataStoresCommandOutput) => void
365
+ ): void;
366
+
367
+ listPublicKeys(
368
+ args: ListPublicKeysCommandInput,
369
+ options?: __HttpHandlerOptions
370
+ ): Promise<ListPublicKeysCommandOutput>;
371
+ listPublicKeys(
372
+ args: ListPublicKeysCommandInput,
373
+ cb: (err: any, data?: ListPublicKeysCommandOutput) => void
374
+ ): void;
375
+ listPublicKeys(
376
+ args: ListPublicKeysCommandInput,
377
+ options: __HttpHandlerOptions,
378
+ cb: (err: any, data?: ListPublicKeysCommandOutput) => void
379
+ ): void;
380
+
381
+ listQueries(
382
+ args: ListQueriesCommandInput,
383
+ options?: __HttpHandlerOptions
384
+ ): Promise<ListQueriesCommandOutput>;
385
+ listQueries(
386
+ args: ListQueriesCommandInput,
387
+ cb: (err: any, data?: ListQueriesCommandOutput) => void
388
+ ): void;
389
+ listQueries(
390
+ args: ListQueriesCommandInput,
391
+ options: __HttpHandlerOptions,
392
+ cb: (err: any, data?: ListQueriesCommandOutput) => void
393
+ ): void;
394
+
395
+ listTags(
396
+ args: ListTagsCommandInput,
397
+ options?: __HttpHandlerOptions
398
+ ): Promise<ListTagsCommandOutput>;
399
+ listTags(
400
+ args: ListTagsCommandInput,
401
+ cb: (err: any, data?: ListTagsCommandOutput) => void
402
+ ): void;
403
+ listTags(
404
+ args: ListTagsCommandInput,
405
+ options: __HttpHandlerOptions,
406
+ cb: (err: any, data?: ListTagsCommandOutput) => void
407
+ ): void;
408
+
409
+ listTrails(
410
+ args: ListTrailsCommandInput,
411
+ options?: __HttpHandlerOptions
412
+ ): Promise<ListTrailsCommandOutput>;
413
+ listTrails(
414
+ args: ListTrailsCommandInput,
415
+ cb: (err: any, data?: ListTrailsCommandOutput) => void
416
+ ): void;
417
+ listTrails(
418
+ args: ListTrailsCommandInput,
419
+ options: __HttpHandlerOptions,
420
+ cb: (err: any, data?: ListTrailsCommandOutput) => void
421
+ ): void;
422
+
423
+ lookupEvents(
424
+ args: LookupEventsCommandInput,
425
+ options?: __HttpHandlerOptions
426
+ ): Promise<LookupEventsCommandOutput>;
427
+ lookupEvents(
428
+ args: LookupEventsCommandInput,
429
+ cb: (err: any, data?: LookupEventsCommandOutput) => void
430
+ ): void;
431
+ lookupEvents(
432
+ args: LookupEventsCommandInput,
433
+ options: __HttpHandlerOptions,
434
+ cb: (err: any, data?: LookupEventsCommandOutput) => void
435
+ ): void;
436
+
437
+ putEventSelectors(
438
+ args: PutEventSelectorsCommandInput,
439
+ options?: __HttpHandlerOptions
440
+ ): Promise<PutEventSelectorsCommandOutput>;
441
+ putEventSelectors(
442
+ args: PutEventSelectorsCommandInput,
443
+ cb: (err: any, data?: PutEventSelectorsCommandOutput) => void
444
+ ): void;
445
+ putEventSelectors(
446
+ args: PutEventSelectorsCommandInput,
447
+ options: __HttpHandlerOptions,
448
+ cb: (err: any, data?: PutEventSelectorsCommandOutput) => void
449
+ ): void;
450
+
451
+ putInsightSelectors(
452
+ args: PutInsightSelectorsCommandInput,
453
+ options?: __HttpHandlerOptions
454
+ ): Promise<PutInsightSelectorsCommandOutput>;
455
+ putInsightSelectors(
456
+ args: PutInsightSelectorsCommandInput,
457
+ cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void
458
+ ): void;
459
+ putInsightSelectors(
460
+ args: PutInsightSelectorsCommandInput,
461
+ options: __HttpHandlerOptions,
462
+ cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void
463
+ ): void;
464
+
465
+ removeTags(
466
+ args: RemoveTagsCommandInput,
467
+ options?: __HttpHandlerOptions
468
+ ): Promise<RemoveTagsCommandOutput>;
469
+ removeTags(
470
+ args: RemoveTagsCommandInput,
471
+ cb: (err: any, data?: RemoveTagsCommandOutput) => void
472
+ ): void;
473
+ removeTags(
474
+ args: RemoveTagsCommandInput,
475
+ options: __HttpHandlerOptions,
476
+ cb: (err: any, data?: RemoveTagsCommandOutput) => void
477
+ ): void;
478
+
479
+ restoreEventDataStore(
480
+ args: RestoreEventDataStoreCommandInput,
481
+ options?: __HttpHandlerOptions
482
+ ): Promise<RestoreEventDataStoreCommandOutput>;
483
+ restoreEventDataStore(
484
+ args: RestoreEventDataStoreCommandInput,
485
+ cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void
486
+ ): void;
487
+ restoreEventDataStore(
488
+ args: RestoreEventDataStoreCommandInput,
489
+ options: __HttpHandlerOptions,
490
+ cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void
491
+ ): void;
492
+
493
+ startLogging(
494
+ args: StartLoggingCommandInput,
495
+ options?: __HttpHandlerOptions
496
+ ): Promise<StartLoggingCommandOutput>;
497
+ startLogging(
498
+ args: StartLoggingCommandInput,
499
+ cb: (err: any, data?: StartLoggingCommandOutput) => void
500
+ ): void;
501
+ startLogging(
502
+ args: StartLoggingCommandInput,
503
+ options: __HttpHandlerOptions,
504
+ cb: (err: any, data?: StartLoggingCommandOutput) => void
505
+ ): void;
506
+
507
+ startQuery(
508
+ args: StartQueryCommandInput,
509
+ options?: __HttpHandlerOptions
510
+ ): Promise<StartQueryCommandOutput>;
511
+ startQuery(
512
+ args: StartQueryCommandInput,
513
+ cb: (err: any, data?: StartQueryCommandOutput) => void
514
+ ): void;
515
+ startQuery(
516
+ args: StartQueryCommandInput,
517
+ options: __HttpHandlerOptions,
518
+ cb: (err: any, data?: StartQueryCommandOutput) => void
519
+ ): void;
520
+
521
+ stopLogging(
522
+ args: StopLoggingCommandInput,
523
+ options?: __HttpHandlerOptions
524
+ ): Promise<StopLoggingCommandOutput>;
525
+ stopLogging(
526
+ args: StopLoggingCommandInput,
527
+ cb: (err: any, data?: StopLoggingCommandOutput) => void
528
+ ): void;
529
+ stopLogging(
530
+ args: StopLoggingCommandInput,
531
+ options: __HttpHandlerOptions,
532
+ cb: (err: any, data?: StopLoggingCommandOutput) => void
533
+ ): void;
534
+
535
+ updateEventDataStore(
536
+ args: UpdateEventDataStoreCommandInput,
537
+ options?: __HttpHandlerOptions
538
+ ): Promise<UpdateEventDataStoreCommandOutput>;
539
+ updateEventDataStore(
540
+ args: UpdateEventDataStoreCommandInput,
541
+ cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void
542
+ ): void;
543
+ updateEventDataStore(
544
+ args: UpdateEventDataStoreCommandInput,
545
+ options: __HttpHandlerOptions,
546
+ cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void
547
+ ): void;
548
+
549
+ updateTrail(
550
+ args: UpdateTrailCommandInput,
551
+ options?: __HttpHandlerOptions
552
+ ): Promise<UpdateTrailCommandOutput>;
553
+ updateTrail(
554
+ args: UpdateTrailCommandInput,
555
+ cb: (err: any, data?: UpdateTrailCommandOutput) => void
556
+ ): void;
557
+ updateTrail(
558
+ args: UpdateTrailCommandInput,
559
+ options: __HttpHandlerOptions,
560
+ cb: (err: any, data?: UpdateTrailCommandOutput) => void
561
+ ): void;
562
+ }