@aws-sdk/client-cloudtrail 3.295.0 → 3.297.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.
- package/dist-types/CloudTrail.d.ts +45 -0
- package/dist-types/CloudTrailClient.d.ts +24 -4
- package/dist-types/commands/AddTagsCommand.d.ts +16 -0
- package/dist-types/commands/CancelQueryCommand.d.ts +16 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +16 -0
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +16 -0
- package/dist-types/commands/CreateTrailCommand.d.ts +16 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +16 -0
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTrailCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +16 -0
- package/dist-types/commands/DescribeQueryCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTrailsCommand.d.ts +16 -0
- package/dist-types/commands/GetChannelCommand.d.ts +16 -0
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +16 -0
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +16 -0
- package/dist-types/commands/GetImportCommand.d.ts +16 -0
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +16 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +16 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetTrailCommand.d.ts +16 -0
- package/dist-types/commands/GetTrailStatusCommand.d.ts +16 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +16 -0
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +16 -0
- package/dist-types/commands/ListImportFailuresCommand.d.ts +16 -0
- package/dist-types/commands/ListImportsCommand.d.ts +16 -0
- package/dist-types/commands/ListPublicKeysCommand.d.ts +16 -0
- package/dist-types/commands/ListQueriesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsCommand.d.ts +16 -0
- package/dist-types/commands/ListTrailsCommand.d.ts +16 -0
- package/dist-types/commands/LookupEventsCommand.d.ts +16 -0
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +16 -0
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +16 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +16 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +16 -0
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +16 -0
- package/dist-types/commands/StartImportCommand.d.ts +16 -0
- package/dist-types/commands/StartLoggingCommand.d.ts +16 -0
- package/dist-types/commands/StartQueryCommand.d.ts +16 -0
- package/dist-types/commands/StopImportCommand.d.ts +16 -0
- package/dist-types/commands/StopLoggingCommand.d.ts +16 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +16 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +16 -0
- package/dist-types/commands/UpdateTrailCommand.d.ts +16 -0
- package/dist-types/models/CloudTrailServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +343 -0
- package/dist-types/pagination/GetQueryResultsPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListChannelsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListEventDataStoresPaginator.d.ts +3 -0
- package/dist-types/pagination/ListImportFailuresPaginator.d.ts +3 -0
- package/dist-types/pagination/ListImportsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPublicKeysPaginator.d.ts +3 -0
- package/dist-types/pagination/ListQueriesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTagsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTrailsPaginator.d.ts +3 -0
- package/dist-types/pagination/LookupEventsPaginator.d.ts +3 -0
- package/package.json +29 -29
|
@@ -45,6 +45,7 @@ import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./command
|
|
|
45
45
|
import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
|
|
46
46
|
import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
|
|
47
47
|
/**
|
|
48
|
+
* @public
|
|
48
49
|
* <fullname>CloudTrail</fullname>
|
|
49
50
|
* <p>This is the CloudTrail API Reference. It provides descriptions of actions, data
|
|
50
51
|
* types, common parameters, and common errors for CloudTrail.</p>
|
|
@@ -64,6 +65,7 @@ import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/Up
|
|
|
64
65
|
*/
|
|
65
66
|
export declare class CloudTrail extends CloudTrailClient {
|
|
66
67
|
/**
|
|
68
|
+
* @public
|
|
67
69
|
* <p>Adds one or more tags to a trail, event data store, or channel, up to a limit of 50. Overwrites an
|
|
68
70
|
* existing tag's value when a new value is specified for an existing tag key. Tag key names
|
|
69
71
|
* must be unique; you cannot have two keys with the same name but different
|
|
@@ -76,6 +78,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
76
78
|
addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
|
|
77
79
|
addTags(args: AddTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
|
|
78
80
|
/**
|
|
81
|
+
* @public
|
|
79
82
|
* <p>Cancels a query if the query is not in a terminated state, such as
|
|
80
83
|
* <code>CANCELLED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
|
|
81
84
|
* <code>FINISHED</code>. You must specify an ARN value for <code>EventDataStore</code>.
|
|
@@ -87,6 +90,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
87
90
|
cancelQuery(args: CancelQueryCommandInput, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
|
|
88
91
|
cancelQuery(args: CancelQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
|
|
89
92
|
/**
|
|
93
|
+
* @public
|
|
90
94
|
* <p>Creates a channel for CloudTrail to ingest events from a partner or external source.
|
|
91
95
|
* After you create a channel, a CloudTrail Lake event data store can log events
|
|
92
96
|
* from the partner or source that you specify.</p>
|
|
@@ -95,12 +99,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
95
99
|
createChannel(args: CreateChannelCommandInput, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
|
|
96
100
|
createChannel(args: CreateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
|
|
97
101
|
/**
|
|
102
|
+
* @public
|
|
98
103
|
* <p>Creates a new event data store.</p>
|
|
99
104
|
*/
|
|
100
105
|
createEventDataStore(args: CreateEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventDataStoreCommandOutput>;
|
|
101
106
|
createEventDataStore(args: CreateEventDataStoreCommandInput, cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void): void;
|
|
102
107
|
createEventDataStore(args: CreateEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void): void;
|
|
103
108
|
/**
|
|
109
|
+
* @public
|
|
104
110
|
* <p>Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
|
|
105
111
|
* </p>
|
|
106
112
|
*/
|
|
@@ -108,12 +114,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
108
114
|
createTrail(args: CreateTrailCommandInput, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
|
|
109
115
|
createTrail(args: CreateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
|
|
110
116
|
/**
|
|
117
|
+
* @public
|
|
111
118
|
* <p>Deletes a channel.</p>
|
|
112
119
|
*/
|
|
113
120
|
deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelCommandOutput>;
|
|
114
121
|
deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
115
122
|
deleteChannel(args: DeleteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
116
123
|
/**
|
|
124
|
+
* @public
|
|
117
125
|
* <p>Disables the event data store specified by <code>EventDataStore</code>, which accepts an
|
|
118
126
|
* event data store ARN. After you run <code>DeleteEventDataStore</code>, the event data store
|
|
119
127
|
* enters a <code>PENDING_DELETION</code> state, and is automatically deleted after a wait
|
|
@@ -129,6 +137,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
129
137
|
deleteEventDataStore(args: DeleteEventDataStoreCommandInput, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void;
|
|
130
138
|
deleteEventDataStore(args: DeleteEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void;
|
|
131
139
|
/**
|
|
140
|
+
* @public
|
|
132
141
|
* <p>
|
|
133
142
|
* Deletes the resource-based policy attached to the CloudTrail channel.
|
|
134
143
|
* </p>
|
|
@@ -137,6 +146,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
137
146
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
138
147
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
139
148
|
/**
|
|
149
|
+
* @public
|
|
140
150
|
* <p>Deletes a trail. This operation must be called from the region in which the trail was
|
|
141
151
|
* created. <code>DeleteTrail</code> cannot be called on the shadow trails (replicated trails
|
|
142
152
|
* in other regions) of a trail that is enabled in all regions.</p>
|
|
@@ -145,6 +155,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
145
155
|
deleteTrail(args: DeleteTrailCommandInput, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void;
|
|
146
156
|
deleteTrail(args: DeleteTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void;
|
|
147
157
|
/**
|
|
158
|
+
* @public
|
|
148
159
|
* <p>Removes CloudTrail delegated administrator permissions from a member account in
|
|
149
160
|
* an organization.</p>
|
|
150
161
|
*/
|
|
@@ -152,6 +163,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
152
163
|
deregisterOrganizationDelegatedAdmin(args: DeregisterOrganizationDelegatedAdminCommandInput, cb: (err: any, data?: DeregisterOrganizationDelegatedAdminCommandOutput) => void): void;
|
|
153
164
|
deregisterOrganizationDelegatedAdmin(args: DeregisterOrganizationDelegatedAdminCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterOrganizationDelegatedAdminCommandOutput) => void): void;
|
|
154
165
|
/**
|
|
166
|
+
* @public
|
|
155
167
|
* <p>Returns metadata about a query, including query run time in milliseconds, number of
|
|
156
168
|
* events scanned and matched, and query status. You must specify an ARN for
|
|
157
169
|
* <code>EventDataStore</code>, and a value for <code>QueryID</code>.</p>
|
|
@@ -160,6 +172,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
160
172
|
describeQuery(args: DescribeQueryCommandInput, cb: (err: any, data?: DescribeQueryCommandOutput) => void): void;
|
|
161
173
|
describeQuery(args: DescribeQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueryCommandOutput) => void): void;
|
|
162
174
|
/**
|
|
175
|
+
* @public
|
|
163
176
|
* <p>Retrieves settings for one or more trails associated with the current region for your
|
|
164
177
|
* account.</p>
|
|
165
178
|
*/
|
|
@@ -167,6 +180,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
167
180
|
describeTrails(args: DescribeTrailsCommandInput, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
168
181
|
describeTrails(args: DescribeTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
169
182
|
/**
|
|
183
|
+
* @public
|
|
170
184
|
* <p> Returns information about a specific channel.
|
|
171
185
|
* </p>
|
|
172
186
|
*/
|
|
@@ -174,6 +188,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
174
188
|
getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
|
|
175
189
|
getChannel(args: GetChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
|
|
176
190
|
/**
|
|
191
|
+
* @public
|
|
177
192
|
* <p>Returns information about an event data store specified as either an ARN or the ID
|
|
178
193
|
* portion of the ARN.</p>
|
|
179
194
|
*/
|
|
@@ -181,6 +196,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
181
196
|
getEventDataStore(args: GetEventDataStoreCommandInput, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void;
|
|
182
197
|
getEventDataStore(args: GetEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void;
|
|
183
198
|
/**
|
|
199
|
+
* @public
|
|
184
200
|
* <p>Describes the settings for the event selectors that you configured for your trail. The
|
|
185
201
|
* information returned for your event selectors includes the following:</p>
|
|
186
202
|
* <ul>
|
|
@@ -215,12 +231,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
215
231
|
getEventSelectors(args: GetEventSelectorsCommandInput, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void;
|
|
216
232
|
getEventSelectors(args: GetEventSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void;
|
|
217
233
|
/**
|
|
234
|
+
* @public
|
|
218
235
|
* <p> Returns information about a specific import. </p>
|
|
219
236
|
*/
|
|
220
237
|
getImport(args: GetImportCommandInput, options?: __HttpHandlerOptions): Promise<GetImportCommandOutput>;
|
|
221
238
|
getImport(args: GetImportCommandInput, cb: (err: any, data?: GetImportCommandOutput) => void): void;
|
|
222
239
|
getImport(args: GetImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImportCommandOutput) => void): void;
|
|
223
240
|
/**
|
|
241
|
+
* @public
|
|
224
242
|
* <p>Describes the settings for the Insights event selectors that you configured for your
|
|
225
243
|
* trail. <code>GetInsightSelectors</code> shows if CloudTrail Insights event logging
|
|
226
244
|
* is enabled on the trail, and if it is, which insight types are enabled. If you run
|
|
@@ -233,6 +251,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
233
251
|
getInsightSelectors(args: GetInsightSelectorsCommandInput, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void;
|
|
234
252
|
getInsightSelectors(args: GetInsightSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void;
|
|
235
253
|
/**
|
|
254
|
+
* @public
|
|
236
255
|
* <p>Gets event data results of a query. You must specify the <code>QueryID</code> value
|
|
237
256
|
* returned by the <code>StartQuery</code> operation, and an ARN for
|
|
238
257
|
* <code>EventDataStore</code>.</p>
|
|
@@ -241,6 +260,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
241
260
|
getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
242
261
|
getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
|
|
243
262
|
/**
|
|
263
|
+
* @public
|
|
244
264
|
* <p>
|
|
245
265
|
* Retrieves the JSON text of the resource-based policy document attached to the CloudTrail channel.
|
|
246
266
|
* </p>
|
|
@@ -249,12 +269,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
249
269
|
getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
250
270
|
getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
251
271
|
/**
|
|
272
|
+
* @public
|
|
252
273
|
* <p>Returns settings information for a specified trail.</p>
|
|
253
274
|
*/
|
|
254
275
|
getTrail(args: GetTrailCommandInput, options?: __HttpHandlerOptions): Promise<GetTrailCommandOutput>;
|
|
255
276
|
getTrail(args: GetTrailCommandInput, cb: (err: any, data?: GetTrailCommandOutput) => void): void;
|
|
256
277
|
getTrail(args: GetTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailCommandOutput) => void): void;
|
|
257
278
|
/**
|
|
279
|
+
* @public
|
|
258
280
|
* <p>Returns a JSON-formatted list of information about the specified trail. Fields include
|
|
259
281
|
* information on delivery errors, Amazon SNS and Amazon S3 errors, and start
|
|
260
282
|
* and stop logging times for each trail. This operation returns trail status from a single
|
|
@@ -265,6 +287,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
265
287
|
getTrailStatus(args: GetTrailStatusCommandInput, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
|
|
266
288
|
getTrailStatus(args: GetTrailStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
|
|
267
289
|
/**
|
|
290
|
+
* @public
|
|
268
291
|
* <p> Lists the channels in the current account, and their source names.
|
|
269
292
|
* </p>
|
|
270
293
|
*/
|
|
@@ -272,6 +295,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
272
295
|
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
273
296
|
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
274
297
|
/**
|
|
298
|
+
* @public
|
|
275
299
|
* <p>Returns information about all event data stores in the account, in the current
|
|
276
300
|
* region.</p>
|
|
277
301
|
*/
|
|
@@ -279,12 +303,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
279
303
|
listEventDataStores(args: ListEventDataStoresCommandInput, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void;
|
|
280
304
|
listEventDataStores(args: ListEventDataStoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void;
|
|
281
305
|
/**
|
|
306
|
+
* @public
|
|
282
307
|
* <p> Returns a list of failures for the specified import. </p>
|
|
283
308
|
*/
|
|
284
309
|
listImportFailures(args: ListImportFailuresCommandInput, options?: __HttpHandlerOptions): Promise<ListImportFailuresCommandOutput>;
|
|
285
310
|
listImportFailures(args: ListImportFailuresCommandInput, cb: (err: any, data?: ListImportFailuresCommandOutput) => void): void;
|
|
286
311
|
listImportFailures(args: ListImportFailuresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportFailuresCommandOutput) => void): void;
|
|
287
312
|
/**
|
|
313
|
+
* @public
|
|
288
314
|
* <p> Returns information on all imports, or a select set of imports by
|
|
289
315
|
* <code>ImportStatus</code> or <code>Destination</code>. </p>
|
|
290
316
|
*/
|
|
@@ -292,6 +318,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
292
318
|
listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
|
|
293
319
|
listImports(args: ListImportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
|
|
294
320
|
/**
|
|
321
|
+
* @public
|
|
295
322
|
* <p>Returns all public keys whose private keys were used to sign the digest files within the
|
|
296
323
|
* specified time range. The public key is needed to validate digest files that were signed
|
|
297
324
|
* with its corresponding private key.</p>
|
|
@@ -306,6 +333,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
306
333
|
listPublicKeys(args: ListPublicKeysCommandInput, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
|
|
307
334
|
listPublicKeys(args: ListPublicKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
|
|
308
335
|
/**
|
|
336
|
+
* @public
|
|
309
337
|
* <p>Returns a list of queries and query statuses for the past seven days. You must specify
|
|
310
338
|
* an ARN value for <code>EventDataStore</code>. Optionally, to shorten the list of results,
|
|
311
339
|
* you can specify a time range, formatted as timestamps, by adding <code>StartTime</code> and
|
|
@@ -318,18 +346,21 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
318
346
|
listQueries(args: ListQueriesCommandInput, cb: (err: any, data?: ListQueriesCommandOutput) => void): void;
|
|
319
347
|
listQueries(args: ListQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueriesCommandOutput) => void): void;
|
|
320
348
|
/**
|
|
349
|
+
* @public
|
|
321
350
|
* <p>Lists the tags for the trail, event data store, or channel in the current region.</p>
|
|
322
351
|
*/
|
|
323
352
|
listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
|
|
324
353
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
325
354
|
listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
326
355
|
/**
|
|
356
|
+
* @public
|
|
327
357
|
* <p>Lists trails that are in the current account.</p>
|
|
328
358
|
*/
|
|
329
359
|
listTrails(args: ListTrailsCommandInput, options?: __HttpHandlerOptions): Promise<ListTrailsCommandOutput>;
|
|
330
360
|
listTrails(args: ListTrailsCommandInput, cb: (err: any, data?: ListTrailsCommandOutput) => void): void;
|
|
331
361
|
listTrails(args: ListTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrailsCommandOutput) => void): void;
|
|
332
362
|
/**
|
|
363
|
+
* @public
|
|
333
364
|
* <p>Looks up <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-management-events">management events</a> or <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-insights-events">CloudTrail Insights events</a> that are captured by CloudTrail.
|
|
334
365
|
* You can look up events that occurred in a region within the last 90 days. Lookup supports
|
|
335
366
|
* the following attributes for management events:</p>
|
|
@@ -383,6 +414,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
383
414
|
lookupEvents(args: LookupEventsCommandInput, cb: (err: any, data?: LookupEventsCommandOutput) => void): void;
|
|
384
415
|
lookupEvents(args: LookupEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LookupEventsCommandOutput) => void): void;
|
|
385
416
|
/**
|
|
417
|
+
* @public
|
|
386
418
|
* <p>Configures an event selector or advanced event selectors for your trail. Use event
|
|
387
419
|
* selectors or advanced event selectors to specify management and data event settings for
|
|
388
420
|
* your trail. By default, trails created without specific event selectors are configured to
|
|
@@ -431,6 +463,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
431
463
|
putEventSelectors(args: PutEventSelectorsCommandInput, cb: (err: any, data?: PutEventSelectorsCommandOutput) => void): void;
|
|
432
464
|
putEventSelectors(args: PutEventSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventSelectorsCommandOutput) => void): void;
|
|
433
465
|
/**
|
|
466
|
+
* @public
|
|
434
467
|
* <p>Lets you enable Insights event logging by specifying the Insights selectors that you
|
|
435
468
|
* want to enable on an existing trail. You also use <code>PutInsightSelectors</code> to turn
|
|
436
469
|
* off Insights event logging, by passing an empty list of insight types. The valid Insights
|
|
@@ -441,6 +474,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
441
474
|
putInsightSelectors(args: PutInsightSelectorsCommandInput, cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void): void;
|
|
442
475
|
putInsightSelectors(args: PutInsightSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void): void;
|
|
443
476
|
/**
|
|
477
|
+
* @public
|
|
444
478
|
* <p>
|
|
445
479
|
* Attaches a resource-based permission policy to a CloudTrail channel that is used for an integration with an event source outside of Amazon Web Services. For more information about resource-based policies, see
|
|
446
480
|
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/security_iam_resource-based-policy-examples.html">CloudTrail resource-based policy examples</a>
|
|
@@ -451,6 +485,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
451
485
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
452
486
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
453
487
|
/**
|
|
488
|
+
* @public
|
|
454
489
|
* <p>Registers an organization’s member account as the CloudTrail delegated
|
|
455
490
|
* administrator.</p>
|
|
456
491
|
*/
|
|
@@ -458,12 +493,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
458
493
|
registerOrganizationDelegatedAdmin(args: RegisterOrganizationDelegatedAdminCommandInput, cb: (err: any, data?: RegisterOrganizationDelegatedAdminCommandOutput) => void): void;
|
|
459
494
|
registerOrganizationDelegatedAdmin(args: RegisterOrganizationDelegatedAdminCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterOrganizationDelegatedAdminCommandOutput) => void): void;
|
|
460
495
|
/**
|
|
496
|
+
* @public
|
|
461
497
|
* <p>Removes the specified tags from a trail, event data store, or channel.</p>
|
|
462
498
|
*/
|
|
463
499
|
removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsCommandOutput>;
|
|
464
500
|
removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
|
|
465
501
|
removeTags(args: RemoveTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
|
|
466
502
|
/**
|
|
503
|
+
* @public
|
|
467
504
|
* <p>Restores a deleted event data store specified by <code>EventDataStore</code>, which
|
|
468
505
|
* accepts an event data store ARN. You can only restore a deleted event data store within the
|
|
469
506
|
* seven-day wait period after deletion. Restoring an event data store can take several
|
|
@@ -473,6 +510,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
473
510
|
restoreEventDataStore(args: RestoreEventDataStoreCommandInput, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void;
|
|
474
511
|
restoreEventDataStore(args: RestoreEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void;
|
|
475
512
|
/**
|
|
513
|
+
* @public
|
|
476
514
|
* <p> Starts an import of logged trail events from a source S3 bucket to a destination event
|
|
477
515
|
* data store. By default, CloudTrail only imports events contained in the S3 bucket's
|
|
478
516
|
* <code>CloudTrail</code> prefix and the prefixes inside the <code>CloudTrail</code> prefix, and does not check prefixes for other Amazon Web Services
|
|
@@ -495,6 +533,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
495
533
|
startImport(args: StartImportCommandInput, cb: (err: any, data?: StartImportCommandOutput) => void): void;
|
|
496
534
|
startImport(args: StartImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImportCommandOutput) => void): void;
|
|
497
535
|
/**
|
|
536
|
+
* @public
|
|
498
537
|
* <p>Starts the recording of Amazon Web Services API calls and log file delivery for a trail.
|
|
499
538
|
* For a trail that is enabled in all regions, this operation must be called from the region
|
|
500
539
|
* in which the trail was created. This operation cannot be called on the shadow trails
|
|
@@ -504,6 +543,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
504
543
|
startLogging(args: StartLoggingCommandInput, cb: (err: any, data?: StartLoggingCommandOutput) => void): void;
|
|
505
544
|
startLogging(args: StartLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartLoggingCommandOutput) => void): void;
|
|
506
545
|
/**
|
|
546
|
+
* @public
|
|
507
547
|
* <p>Starts a CloudTrail Lake query. The required <code>QueryStatement</code>
|
|
508
548
|
* parameter provides your SQL query, enclosed in single quotation marks. Use the optional
|
|
509
549
|
* <code>DeliveryS3Uri</code> parameter to deliver the query results to an S3
|
|
@@ -513,12 +553,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
513
553
|
startQuery(args: StartQueryCommandInput, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
|
|
514
554
|
startQuery(args: StartQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
|
|
515
555
|
/**
|
|
556
|
+
* @public
|
|
516
557
|
* <p> Stops a specified import. </p>
|
|
517
558
|
*/
|
|
518
559
|
stopImport(args: StopImportCommandInput, options?: __HttpHandlerOptions): Promise<StopImportCommandOutput>;
|
|
519
560
|
stopImport(args: StopImportCommandInput, cb: (err: any, data?: StopImportCommandOutput) => void): void;
|
|
520
561
|
stopImport(args: StopImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopImportCommandOutput) => void): void;
|
|
521
562
|
/**
|
|
563
|
+
* @public
|
|
522
564
|
* <p>Suspends the recording of Amazon Web Services API calls and log file delivery for the
|
|
523
565
|
* specified trail. Under most circumstances, there is no need to use this action. You can
|
|
524
566
|
* update a trail without stopping it first. This action is the only way to stop recording.
|
|
@@ -531,12 +573,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
531
573
|
stopLogging(args: StopLoggingCommandInput, cb: (err: any, data?: StopLoggingCommandOutput) => void): void;
|
|
532
574
|
stopLogging(args: StopLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopLoggingCommandOutput) => void): void;
|
|
533
575
|
/**
|
|
576
|
+
* @public
|
|
534
577
|
* <p>Updates a channel specified by a required channel ARN or UUID.</p>
|
|
535
578
|
*/
|
|
536
579
|
updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChannelCommandOutput>;
|
|
537
580
|
updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
538
581
|
updateChannel(args: UpdateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
|
|
539
582
|
/**
|
|
583
|
+
* @public
|
|
540
584
|
* <p>Updates an event data store. The required <code>EventDataStore</code> value is an ARN or
|
|
541
585
|
* the ID portion of the ARN. Other parameters are optional, but at least one optional
|
|
542
586
|
* parameter must be specified, or CloudTrail throws an error.
|
|
@@ -553,6 +597,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
553
597
|
updateEventDataStore(args: UpdateEventDataStoreCommandInput, cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void): void;
|
|
554
598
|
updateEventDataStore(args: UpdateEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void): void;
|
|
555
599
|
/**
|
|
600
|
+
* @public
|
|
556
601
|
* <p>Updates trail settings that control what events you are logging, and how to handle log
|
|
557
602
|
* files. Changes to a trail do not require stopping the CloudTrail service. Use this
|
|
558
603
|
* action to designate an existing bucket for log delivery. If the existing bucket has
|
|
@@ -52,15 +52,24 @@ import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./command
|
|
|
52
52
|
import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
|
|
53
53
|
import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
|
|
54
54
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
55
58
|
export type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
56
62
|
export type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
57
66
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
58
67
|
/**
|
|
59
68
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
60
69
|
*/
|
|
61
70
|
requestHandler?: __HttpHandler;
|
|
62
71
|
/**
|
|
63
|
-
* A constructor for a class implementing the {@link
|
|
72
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
64
73
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
65
74
|
* @internal
|
|
66
75
|
*/
|
|
@@ -150,23 +159,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
150
159
|
*/
|
|
151
160
|
logger?: __Logger;
|
|
152
161
|
/**
|
|
153
|
-
* The {@link
|
|
162
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
154
163
|
*/
|
|
155
164
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
156
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
157
169
|
type CloudTrailClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
158
170
|
/**
|
|
159
|
-
*
|
|
171
|
+
* @public
|
|
172
|
+
*
|
|
173
|
+
* The configuration interface of CloudTrailClient class constructor that set the region, credentials and other options.
|
|
160
174
|
*/
|
|
161
175
|
export interface CloudTrailClientConfig extends CloudTrailClientConfigType {
|
|
162
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
163
180
|
type CloudTrailClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
164
181
|
/**
|
|
165
|
-
*
|
|
182
|
+
* @public
|
|
183
|
+
*
|
|
184
|
+
* The resolved configuration interface of CloudTrailClient class. This is resolved and normalized from the {@link CloudTrailClientConfig | constructor configuration interface}.
|
|
166
185
|
*/
|
|
167
186
|
export interface CloudTrailClientResolvedConfig extends CloudTrailClientResolvedConfigType {
|
|
168
187
|
}
|
|
169
188
|
/**
|
|
189
|
+
* @public
|
|
170
190
|
* <fullname>CloudTrail</fullname>
|
|
171
191
|
* <p>This is the CloudTrail API Reference. It provides descriptions of actions, data
|
|
172
192
|
* types, common parameters, and common errors for CloudTrail.</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
5
|
import { AddTagsRequest, AddTagsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AddTagsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AddTagsCommandInput extends AddTagsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AddTagsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds one or more tags to a trail, event data store, or channel, up to a limit of 50. Overwrites an
|
|
18
23
|
* existing tag's value when a new value is specified for an existing tag key. Tag key names
|
|
19
24
|
* must be unique; you cannot have two keys with the same name but different
|
|
@@ -31,6 +36,8 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
|
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
39
|
+
* @param AddTagsCommandInput - {@link AddTagsCommandInput}
|
|
40
|
+
* @returns {@link AddTagsCommandOutput}
|
|
34
41
|
* @see {@link AddTagsCommandInput} for command's `input` shape.
|
|
35
42
|
* @see {@link AddTagsCommandOutput} for command's `response` shape.
|
|
36
43
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
@@ -121,11 +128,20 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
|
|
|
121
128
|
export declare class AddTagsCommand extends $Command<AddTagsCommandInput, AddTagsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
122
129
|
readonly input: AddTagsCommandInput;
|
|
123
130
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
124
134
|
constructor(input: AddTagsCommandInput);
|
|
125
135
|
/**
|
|
126
136
|
* @internal
|
|
127
137
|
*/
|
|
128
138
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsCommandInput, AddTagsCommandOutput>;
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
129
142
|
private serialize;
|
|
143
|
+
/**
|
|
144
|
+
* @internal
|
|
145
|
+
*/
|
|
130
146
|
private deserialize;
|
|
131
147
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
5
|
import { CancelQueryRequest, CancelQueryResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CancelQueryCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CancelQueryCommandInput extends CancelQueryRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CancelQueryCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CancelQueryCommandOutput extends CancelQueryResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Cancels a query if the query is not in a terminated state, such as
|
|
18
23
|
* <code>CANCELLED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
|
|
19
24
|
* <code>FINISHED</code>. You must specify an ARN value for <code>EventDataStore</code>.
|
|
@@ -30,6 +35,8 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param CancelQueryCommandInput - {@link CancelQueryCommandInput}
|
|
39
|
+
* @returns {@link CancelQueryCommandOutput}
|
|
33
40
|
* @see {@link CancelQueryCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link CancelQueryCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
@@ -75,11 +82,20 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
|
|
|
75
82
|
export declare class CancelQueryCommand extends $Command<CancelQueryCommandInput, CancelQueryCommandOutput, CloudTrailClientResolvedConfig> {
|
|
76
83
|
readonly input: CancelQueryCommandInput;
|
|
77
84
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
78
88
|
constructor(input: CancelQueryCommandInput);
|
|
79
89
|
/**
|
|
80
90
|
* @internal
|
|
81
91
|
*/
|
|
82
92
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelQueryCommandInput, CancelQueryCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
83
96
|
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
84
100
|
private deserialize;
|
|
85
101
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
5
|
import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateChannelCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateChannelCommandInput extends CreateChannelRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateChannelCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a channel for CloudTrail to ingest events from a partner or external source.
|
|
18
23
|
* After you create a channel, a CloudTrail Lake event data store can log events
|
|
19
24
|
* from the partner or source that you specify.</p>
|
|
@@ -27,6 +32,8 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param CreateChannelCommandInput - {@link CreateChannelCommandInput}
|
|
36
|
+
* @returns {@link CreateChannelCommandOutput}
|
|
30
37
|
* @see {@link CreateChannelCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link CreateChannelCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
@@ -80,11 +87,20 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
80
87
|
export declare class CreateChannelCommand extends $Command<CreateChannelCommandInput, CreateChannelCommandOutput, CloudTrailClientResolvedConfig> {
|
|
81
88
|
readonly input: CreateChannelCommandInput;
|
|
82
89
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
83
93
|
constructor(input: CreateChannelCommandInput);
|
|
84
94
|
/**
|
|
85
95
|
* @internal
|
|
86
96
|
*/
|
|
87
97
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChannelCommandInput, CreateChannelCommandOutput>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
88
101
|
private serialize;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
89
105
|
private deserialize;
|
|
90
106
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
5
|
import { CreateEventDataStoreRequest, CreateEventDataStoreResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateEventDataStoreCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateEventDataStoreCommandInput extends CreateEventDataStoreRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateEventDataStoreCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a new event data store.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CreateEventDataStoreCommandInput - {@link CreateEventDataStoreCommandInput}
|
|
34
|
+
* @returns {@link CreateEventDataStoreCommandOutput}
|
|
28
35
|
* @see {@link CreateEventDataStoreCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CreateEventDataStoreCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
@@ -132,11 +139,20 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
132
139
|
export declare class CreateEventDataStoreCommand extends $Command<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
|
|
133
140
|
readonly input: CreateEventDataStoreCommandInput;
|
|
134
141
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
135
145
|
constructor(input: CreateEventDataStoreCommandInput);
|
|
136
146
|
/**
|
|
137
147
|
* @internal
|
|
138
148
|
*/
|
|
139
149
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput>;
|
|
150
|
+
/**
|
|
151
|
+
* @internal
|
|
152
|
+
*/
|
|
140
153
|
private serialize;
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
141
157
|
private deserialize;
|
|
142
158
|
}
|