@aws-sdk/client-cloudtrail 3.344.0 → 3.347.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 (51) hide show
  1. package/README.md +293 -0
  2. package/dist-cjs/CloudTrail.js +4 -0
  3. package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +46 -0
  4. package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +3 -0
  7. package/dist-cjs/protocols/Aws_json1_1.js +136 -2
  8. package/dist-es/CloudTrail.js +4 -0
  9. package/dist-es/commands/StartEventDataStoreIngestionCommand.js +42 -0
  10. package/dist-es/commands/StopEventDataStoreIngestionCommand.js +42 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +3 -0
  13. package/dist-es/protocols/Aws_json1_1.js +130 -0
  14. package/dist-types/CloudTrail.d.ts +292 -1
  15. package/dist-types/CloudTrailClient.d.ts +282 -3
  16. package/dist-types/commands/AddTagsCommand.d.ts +2 -2
  17. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +4 -3
  18. package/dist-types/commands/CreateTrailCommand.d.ts +3 -3
  19. package/dist-types/commands/DeleteTrailCommand.d.ts +5 -5
  20. package/dist-types/commands/DescribeTrailsCommand.d.ts +1 -1
  21. package/dist-types/commands/GetEventDataStoreCommand.d.ts +1 -1
  22. package/dist-types/commands/GetEventSelectorsCommand.d.ts +1 -1
  23. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +1 -1
  24. package/dist-types/commands/GetTrailCommand.d.ts +1 -1
  25. package/dist-types/commands/GetTrailStatusCommand.d.ts +3 -3
  26. package/dist-types/commands/ListEventDataStoresCommand.d.ts +2 -2
  27. package/dist-types/commands/ListPublicKeysCommand.d.ts +3 -3
  28. package/dist-types/commands/ListTagsCommand.d.ts +2 -2
  29. package/dist-types/commands/LookupEventsCommand.d.ts +2 -2
  30. package/dist-types/commands/PutEventSelectorsCommand.d.ts +4 -4
  31. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +3 -3
  32. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
  33. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +1 -1
  34. package/dist-types/commands/StartEventDataStoreIngestionCommand.d.ts +109 -0
  35. package/dist-types/commands/StartLoggingCommand.d.ts +5 -5
  36. package/dist-types/commands/StopEventDataStoreIngestionCommand.d.ts +109 -0
  37. package/dist-types/commands/StopLoggingCommand.d.ts +6 -6
  38. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +3 -3
  39. package/dist-types/commands/UpdateTrailCommand.d.ts +7 -7
  40. package/dist-types/commands/index.d.ts +2 -0
  41. package/dist-types/index.d.ts +278 -1
  42. package/dist-types/models/models_0.d.ts +98 -57
  43. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  44. package/dist-types/ts3.4/CloudTrail.d.ts +34 -0
  45. package/dist-types/ts3.4/CloudTrailClient.d.ts +12 -0
  46. package/dist-types/ts3.4/commands/StartEventDataStoreIngestionCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/StopEventDataStoreIngestionCommand.d.ts +42 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +12 -0
  50. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  51. package/package.json +28 -28
@@ -44,9 +44,11 @@ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from ".
44
44
  import { RegisterOrganizationDelegatedAdminCommandInput, RegisterOrganizationDelegatedAdminCommandOutput } from "./commands/RegisterOrganizationDelegatedAdminCommand";
45
45
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
46
46
  import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "./commands/RestoreEventDataStoreCommand";
47
+ import { StartEventDataStoreIngestionCommandInput, StartEventDataStoreIngestionCommandOutput } from "./commands/StartEventDataStoreIngestionCommand";
47
48
  import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
48
49
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
49
50
  import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
51
+ import { StopEventDataStoreIngestionCommandInput, StopEventDataStoreIngestionCommandOutput } from "./commands/StopEventDataStoreIngestionCommand";
50
52
  import { StopImportCommandInput, StopImportCommandOutput } from "./commands/StopImportCommand";
51
53
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
52
54
  import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
@@ -57,11 +59,11 @@ export { __Client };
57
59
  /**
58
60
  * @public
59
61
  */
60
- 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;
62
+ 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 | StartEventDataStoreIngestionCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopEventDataStoreIngestionCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
61
63
  /**
62
64
  * @public
63
65
  */
64
- 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;
66
+ 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 | StartEventDataStoreIngestionCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopEventDataStoreIngestionCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
65
67
  /**
66
68
  * @public
67
69
  */
@@ -204,7 +206,284 @@ export interface CloudTrailClientResolvedConfig extends CloudTrailClientResolved
204
206
  * Amazon Web Services SDKs, including how to download and install them, see <a href="http://aws.amazon.com/tools/">Tools to Build on Amazon Web Services</a>.</p>
205
207
  * </note>
206
208
  * <p>See the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html">CloudTrail
207
- * User Guide</a> for information about the data that is included with each Amazon Web Services API call listed in the log files.</p>
209
+ * User Guide</a> for information about the data that is included with each Amazon Web Services API call listed in the log files.</p>
210
+ * <p>
211
+ * <b>Actions available for CloudTrail trails</b>
212
+ * </p>
213
+ * <p>The following actions are available for CloudTrail trails.</p>
214
+ * <ul>
215
+ * <li>
216
+ * <p>
217
+ * <a>AddTags</a>
218
+ * </p>
219
+ * </li>
220
+ * <li>
221
+ * <p>
222
+ * <a>CreateTrail</a>
223
+ * </p>
224
+ * </li>
225
+ * <li>
226
+ * <p>
227
+ * <a>DeleteTrail</a>
228
+ * </p>
229
+ * </li>
230
+ * <li>
231
+ * <p>
232
+ * <a>DescribeTrails</a>
233
+ * </p>
234
+ * </li>
235
+ * <li>
236
+ * <p>
237
+ * <a>GetEventSelectors</a>
238
+ * </p>
239
+ * </li>
240
+ * <li>
241
+ * <p>
242
+ * <a>GetInsightSelectors</a>
243
+ * </p>
244
+ * </li>
245
+ * <li>
246
+ * <p>
247
+ * <a>GetTrail</a>
248
+ * </p>
249
+ * </li>
250
+ * <li>
251
+ * <p>
252
+ * <a>GetTrailStatus</a>
253
+ * </p>
254
+ * </li>
255
+ * <li>
256
+ * <p>
257
+ * <a>ListTags</a>
258
+ * </p>
259
+ * </li>
260
+ * <li>
261
+ * <p>
262
+ * <a>ListTrails</a>
263
+ * </p>
264
+ * </li>
265
+ * <li>
266
+ * <p>
267
+ * <a>PutEventSelectors</a>
268
+ * </p>
269
+ * </li>
270
+ * <li>
271
+ * <p>
272
+ * <a>PutInsightSelectors</a>
273
+ * </p>
274
+ * </li>
275
+ * <li>
276
+ * <p>
277
+ * <a>RemoveTags</a>
278
+ * </p>
279
+ * </li>
280
+ * <li>
281
+ * <p>
282
+ * <a>StartLogging</a>
283
+ * </p>
284
+ * </li>
285
+ * <li>
286
+ * <p>
287
+ * <a>StopLogging</a>
288
+ * </p>
289
+ * </li>
290
+ * <li>
291
+ * <p>
292
+ * <a>UpdateTrail</a>
293
+ * </p>
294
+ * </li>
295
+ * </ul>
296
+ * <p>
297
+ * <b>Actions available for CloudTrail event data stores</b>
298
+ * </p>
299
+ * <p>The following actions are available for CloudTrail event data stores.</p>
300
+ * <ul>
301
+ * <li>
302
+ * <p>
303
+ * <a>AddTags</a>
304
+ * </p>
305
+ * </li>
306
+ * <li>
307
+ * <p>
308
+ * <a>CancelQuery</a>
309
+ * </p>
310
+ * </li>
311
+ * <li>
312
+ * <p>
313
+ * <a>CreateEventDataStore</a>
314
+ * </p>
315
+ * </li>
316
+ * <li>
317
+ * <p>
318
+ * <a>DeleteEventDataStore</a>
319
+ * </p>
320
+ * </li>
321
+ * <li>
322
+ * <p>
323
+ * <a>DescribeQuery</a>
324
+ * </p>
325
+ * </li>
326
+ * <li>
327
+ * <p>
328
+ * <a>GetEventDataStore</a>
329
+ * </p>
330
+ * </li>
331
+ * <li>
332
+ * <p>
333
+ * <a>GetQueryResults</a>
334
+ * </p>
335
+ * </li>
336
+ * <li>
337
+ * <p>
338
+ * <a>ListEventDataStores</a>
339
+ * </p>
340
+ * </li>
341
+ * <li>
342
+ * <p>
343
+ * <a>ListTags</a>
344
+ * </p>
345
+ * </li>
346
+ * <li>
347
+ * <p>
348
+ * <a>ListQueries</a>
349
+ * </p>
350
+ * </li>
351
+ * <li>
352
+ * <p>
353
+ * <a>RemoveTags</a>
354
+ * </p>
355
+ * </li>
356
+ * <li>
357
+ * <p>
358
+ * <a>RestoreEventDataStore</a>
359
+ * </p>
360
+ * </li>
361
+ * <li>
362
+ * <p>
363
+ * <a>StartEventDataStoreIngestion</a>
364
+ * </p>
365
+ * </li>
366
+ * <li>
367
+ * <p>
368
+ * <a>StartImport</a>
369
+ * </p>
370
+ * <p>The following additional actions are available for imports.</p>
371
+ * <ul>
372
+ * <li>
373
+ * <p>
374
+ * <a>GetImport</a>
375
+ * </p>
376
+ * </li>
377
+ * <li>
378
+ * <p>
379
+ * <a>ListImportFailures</a>
380
+ * </p>
381
+ * </li>
382
+ * <li>
383
+ * <p>
384
+ * <a>ListImports</a>
385
+ * </p>
386
+ * </li>
387
+ * <li>
388
+ * <p>
389
+ * <a>StopImport</a>
390
+ * </p>
391
+ * </li>
392
+ * </ul>
393
+ * </li>
394
+ * <li>
395
+ * <p>
396
+ * <a>StartQuery</a>
397
+ * </p>
398
+ * </li>
399
+ * <li>
400
+ * <p>
401
+ * <a>StartEventDataStoreIngestion</a>
402
+ * </p>
403
+ * </li>
404
+ * <li>
405
+ * <p>
406
+ * <a>UpdateEventDataStore</a>
407
+ * </p>
408
+ * </li>
409
+ * </ul>
410
+ * <p>
411
+ * <b>Actions available for CloudTrail channels</b>
412
+ * </p>
413
+ * <p>The following actions are available for CloudTrail channels.</p>
414
+ * <ul>
415
+ * <li>
416
+ * <p>
417
+ * <a>AddTags</a>
418
+ * </p>
419
+ * </li>
420
+ * <li>
421
+ * <p>
422
+ * <a>CreateChannel</a>
423
+ * </p>
424
+ * </li>
425
+ * <li>
426
+ * <p>
427
+ * <a>DeleteChannel</a>
428
+ * </p>
429
+ * </li>
430
+ * <li>
431
+ * <p>
432
+ * <a>DeleteResourcePolicy</a>
433
+ * </p>
434
+ * </li>
435
+ * <li>
436
+ * <p>
437
+ * <a>GetChannel</a>
438
+ * </p>
439
+ * </li>
440
+ * <li>
441
+ * <p>
442
+ * <a>GetResourcePolicy</a>
443
+ * </p>
444
+ * </li>
445
+ * <li>
446
+ * <p>
447
+ * <a>ListChannels</a>
448
+ * </p>
449
+ * </li>
450
+ * <li>
451
+ * <p>
452
+ * <a>ListTags</a>
453
+ * </p>
454
+ * </li>
455
+ * <li>
456
+ * <p>
457
+ * <a>PutResourcePolicy</a>
458
+ * </p>
459
+ * </li>
460
+ * <li>
461
+ * <p>
462
+ * <a>RemoveTags</a>
463
+ * </p>
464
+ * </li>
465
+ * <li>
466
+ * <p>
467
+ * <a>UpdateChannel</a>
468
+ * </p>
469
+ * </li>
470
+ * </ul>
471
+ * <p>
472
+ * <b>Actions available for managing delegated administrators</b>
473
+ * </p>
474
+ * <p>The following actions are available for adding or a removing a delegated administrator to manage an Organizations organization’s CloudTrail resources.</p>
475
+ * <ul>
476
+ * <li>
477
+ * <p>
478
+ * <a>DeregisterOrganizationDelegatedAdmin</a>
479
+ * </p>
480
+ * </li>
481
+ * <li>
482
+ * <p>
483
+ * <a>RegisterOrganizationDelegatedAdmin</a>
484
+ * </p>
485
+ * </li>
486
+ * </ul>
208
487
  */
209
488
  export declare class CloudTrailClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudTrailClientResolvedConfig> {
210
489
  /**
@@ -29,7 +29,7 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
29
29
  * values. If you specify a key without a value, the tag will be created with the specified
30
30
  * key and a value of null. You can tag a trail or event data store that applies to all
31
31
  * Amazon Web Services Regions only from the Region in which the trail or event data store
32
- * was created (also known as its home region).</p>
32
+ * was created (also known as its home Region).</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -72,7 +72,7 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
72
72
  * </p>
73
73
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
74
74
  * <p>The following is the format of an event data store ARN:
75
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
75
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
76
76
  * </p>
77
77
  * <p>The following is the format of a channel ARN:
78
78
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -69,13 +69,14 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
69
69
  * },
70
70
  * ],
71
71
  * KmsKeyId: "STRING_VALUE",
72
+ * StartIngestion: true || false,
72
73
  * };
73
74
  * const command = new CreateEventDataStoreCommand(input);
74
75
  * const response = await client.send(command);
75
76
  * // { // CreateEventDataStoreResponse
76
77
  * // EventDataStoreArn: "STRING_VALUE",
77
78
  * // Name: "STRING_VALUE",
78
- * // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
79
+ * // Status: "CREATED" || "ENABLED" || "PENDING_DELETION" || "STARTING_INGESTION" || "STOPPING_INGESTION" || "STOPPED_INGESTION",
79
80
  * // AdvancedEventSelectors: [ // AdvancedEventSelectors
80
81
  * // { // AdvancedEventSelector
81
82
  * // Name: "STRING_VALUE",
@@ -195,8 +196,8 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
195
196
  *
196
197
  * @throws {@link KmsKeyNotFoundException} (client fault)
197
198
  * <p>This exception is thrown when the KMS key does not exist, when the S3
198
- * bucket and the KMS key are not in the same region, or when the KMS key associated with the Amazon SNS topic either does not exist or is
199
- * not in the same region.</p>
199
+ * bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is
200
+ * not in the same Region.</p>
200
201
  *
201
202
  * @throws {@link NoManagementAccountSLRExistsException} (client fault)
202
203
  * <p> This exception is thrown when the management account does not have a service-linked
@@ -85,7 +85,7 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
85
85
  * to an Amazon SNS topic that is in a suspended Amazon Web Services account.</p>
86
86
  *
87
87
  * @throws {@link CloudWatchLogsDeliveryUnavailableException} (client fault)
88
- * <p>Cannot set a CloudWatch Logs delivery for this region.</p>
88
+ * <p>Cannot set a CloudWatch Logs delivery for this Region.</p>
89
89
  *
90
90
  * @throws {@link ConflictException} (client fault)
91
91
  * <p>This exception is thrown when the specified resource is not ready for an operation. This
@@ -168,8 +168,8 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
168
168
  *
169
169
  * @throws {@link KmsKeyNotFoundException} (client fault)
170
170
  * <p>This exception is thrown when the KMS key does not exist, when the S3
171
- * bucket and the KMS key are not in the same region, or when the KMS key associated with the Amazon SNS topic either does not exist or is
172
- * not in the same region.</p>
171
+ * bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is
172
+ * not in the same Region.</p>
173
173
  *
174
174
  * @throws {@link MaximumNumberOfTrailsExceededException} (client fault)
175
175
  * <p>This exception is thrown when the maximum number of trails is reached.</p>
@@ -23,9 +23,9 @@ export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __Metadat
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes a trail. This operation must be called from the region in which the trail was
26
+ * <p>Deletes a trail. This operation must be called from the Region in which the trail was
27
27
  * created. <code>DeleteTrail</code> cannot be called on the shadow trails (replicated trails
28
- * in other regions) of a trail that is enabled in all regions.</p>
28
+ * in other Regions) of a trail that is enabled in all Regions.</p>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
31
31
  * ```javascript
@@ -55,7 +55,7 @@ export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __Metadat
55
55
  * </p>
56
56
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
57
57
  * <p>The following is the format of an event data store ARN:
58
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
58
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
59
59
  * </p>
60
60
  * <p>The following is the format of a channel ARN:
61
61
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -73,8 +73,8 @@ export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __Metadat
73
73
  * organization resource in a required service.</p>
74
74
  *
75
75
  * @throws {@link InvalidHomeRegionException} (client fault)
76
- * <p>This exception is thrown when an operation is called on a trail from a region other than
77
- * the region in which the trail was created.</p>
76
+ * <p>This exception is thrown when an operation is called on a trail from a Region other than
77
+ * the Region in which the trail was created.</p>
78
78
  *
79
79
  * @throws {@link InvalidTrailNameException} (client fault)
80
80
  * <p>This exception is thrown when the provided trail name is not valid. Trail names must
@@ -23,7 +23,7 @@ export interface DescribeTrailsCommandOutput extends DescribeTrailsResponse, __M
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Retrieves settings for one or more trails associated with the current region for your
26
+ * <p>Retrieves settings for one or more trails associated with the current Region for your
27
27
  * account.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
@@ -39,7 +39,7 @@ export interface GetEventDataStoreCommandOutput extends GetEventDataStoreRespons
39
39
  * // { // GetEventDataStoreResponse
40
40
  * // EventDataStoreArn: "STRING_VALUE",
41
41
  * // Name: "STRING_VALUE",
42
- * // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
42
+ * // Status: "CREATED" || "ENABLED" || "PENDING_DELETION" || "STARTING_INGESTION" || "STOPPING_INGESTION" || "STOPPED_INGESTION",
43
43
  * // AdvancedEventSelectors: [ // AdvancedEventSelectors
44
44
  * // { // AdvancedEventSelector
45
45
  * // Name: "STRING_VALUE",
@@ -126,7 +126,7 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
126
126
  * </p>
127
127
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
128
128
  * <p>The following is the format of an event data store ARN:
129
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
129
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
130
130
  * </p>
131
131
  * <p>The following is the format of a channel ARN:
132
132
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -66,7 +66,7 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
66
66
  * </p>
67
67
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
68
68
  * <p>The following is the format of an event data store ARN:
69
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
69
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
70
70
  * </p>
71
71
  * <p>The following is the format of a channel ARN:
72
72
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -72,7 +72,7 @@ export interface GetTrailCommandOutput extends GetTrailResponse, __MetadataBeare
72
72
  * </p>
73
73
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
74
74
  * <p>The following is the format of an event data store ARN:
75
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
75
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
76
76
  * </p>
77
77
  * <p>The following is the format of a channel ARN:
78
78
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -26,8 +26,8 @@ export interface GetTrailStatusCommandOutput extends GetTrailStatusResponse, __M
26
26
  * <p>Returns a JSON-formatted list of information about the specified trail. Fields include
27
27
  * information on delivery errors, Amazon SNS and Amazon S3 errors, and start
28
28
  * and stop logging times for each trail. This operation returns trail status from a single
29
- * region. To return trail status from all regions, you must call the operation on each
30
- * region.</p>
29
+ * Region. To return trail status from all Regions, you must call the operation on each
30
+ * Region.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -75,7 +75,7 @@ export interface GetTrailStatusCommandOutput extends GetTrailStatusResponse, __M
75
75
  * </p>
76
76
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
77
77
  * <p>The following is the format of an event data store ARN:
78
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
78
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
79
79
  * </p>
80
80
  * <p>The following is the format of a channel ARN:
81
81
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -24,7 +24,7 @@ export interface ListEventDataStoresCommandOutput extends ListEventDataStoresRes
24
24
  /**
25
25
  * @public
26
26
  * <p>Returns information about all event data stores in the account, in the current
27
- * region.</p>
27
+ * Region.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -43,7 +43,7 @@ export interface ListEventDataStoresCommandOutput extends ListEventDataStoresRes
43
43
  * // EventDataStoreArn: "STRING_VALUE",
44
44
  * // Name: "STRING_VALUE",
45
45
  * // TerminationProtectionEnabled: true || false,
46
- * // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
46
+ * // Status: "CREATED" || "ENABLED" || "PENDING_DELETION" || "STARTING_INGESTION" || "STOPPING_INGESTION" || "STOPPED_INGESTION",
47
47
  * // AdvancedEventSelectors: [ // AdvancedEventSelectors
48
48
  * // { // AdvancedEventSelector
49
49
  * // Name: "STRING_VALUE",
@@ -27,9 +27,9 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResponse, __M
27
27
  * specified time range. The public key is needed to validate digest files that were signed
28
28
  * with its corresponding private key.</p>
29
29
  * <note>
30
- * <p>CloudTrail uses different private and public key pairs per region. Each digest
31
- * file is signed with a private key unique to its region. When you validate a digest file
32
- * from a specific region, you must look in the same region for its corresponding public
30
+ * <p>CloudTrail uses different private and public key pairs per Region. Each digest
31
+ * file is signed with a private key unique to its Region. When you validate a digest file
32
+ * from a specific Region, you must look in the same Region for its corresponding public
33
33
  * key.</p>
34
34
  * </note>
35
35
  * @example
@@ -23,7 +23,7 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Lists the tags for the trail, event data store, or channel in the current region.</p>
26
+ * <p>Lists the tags for the specified trails, event data stores, or channels in the current Region.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -73,7 +73,7 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
73
73
  * </p>
74
74
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
75
75
  * <p>The following is the format of an event data store ARN:
76
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
76
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
77
77
  * </p>
78
78
  * <p>The following is the format of a channel ARN:
79
79
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -24,7 +24,7 @@ export interface LookupEventsCommandOutput extends LookupEventsResponse, __Metad
24
24
  /**
25
25
  * @public
26
26
  * <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.
27
- * You can look up events that occurred in a region within the last 90 days. Lookup supports
27
+ * You can look up events that occurred in a Region within the last 90 days. Lookup supports
28
28
  * the following attributes for management events:</p>
29
29
  * <ul>
30
30
  * <li>
@@ -68,7 +68,7 @@ export interface LookupEventsCommandOutput extends LookupEventsResponse, __Metad
68
68
  * maximum of 50 possible. The response includes a token that you can use to get the next page
69
69
  * of results.</p>
70
70
  * <important>
71
- * <p>The rate of lookup requests is limited to two per second, per account, per region. If
71
+ * <p>The rate of lookup requests is limited to two per second, per account, per Region. If
72
72
  * this limit is exceeded, a throttling error occurs.</p>
73
73
  * </important>
74
74
  * @example
@@ -55,7 +55,7 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
55
55
  * event selector. The trail doesn't log the event. </p>
56
56
  * </li>
57
57
  * </ol>
58
- * <p>The <code>PutEventSelectors</code> operation must be called from the region in which the
58
+ * <p>The <code>PutEventSelectors</code> operation must be called from the Region in which the
59
59
  * trail was created; otherwise, an <code>InvalidHomeRegionException</code> exception is
60
60
  * thrown.</p>
61
61
  * <p>You can configure up to five event selectors for each trail. For more information, see
@@ -185,7 +185,7 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
185
185
  * </p>
186
186
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
187
187
  * <p>The following is the format of an event data store ARN:
188
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
188
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
189
189
  * </p>
190
190
  * <p>The following is the format of a channel ARN:
191
191
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -233,8 +233,8 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
233
233
  * </ul>
234
234
  *
235
235
  * @throws {@link InvalidHomeRegionException} (client fault)
236
- * <p>This exception is thrown when an operation is called on a trail from a region other than
237
- * the region in which the trail was created.</p>
236
+ * <p>This exception is thrown when an operation is called on a trail from a Region other than
237
+ * the Region in which the trail was created.</p>
238
238
  *
239
239
  * @throws {@link InvalidTrailNameException} (client fault)
240
240
  * <p>This exception is thrown when the provided trail name is not valid. Trail names must
@@ -74,7 +74,7 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
74
74
  * </p>
75
75
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
76
76
  * <p>The following is the format of an event data store ARN:
77
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
77
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
78
78
  * </p>
79
79
  * <p>The following is the format of a channel ARN:
80
80
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -88,8 +88,8 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
88
88
  * <p>This exception is thrown when the policy on the S3 bucket is not sufficient.</p>
89
89
  *
90
90
  * @throws {@link InvalidHomeRegionException} (client fault)
91
- * <p>This exception is thrown when an operation is called on a trail from a region other than
92
- * the region in which the trail was created.</p>
91
+ * <p>This exception is thrown when an operation is called on a trail from a Region other than
92
+ * the Region in which the trail was created.</p>
93
93
  *
94
94
  * @throws {@link InvalidInsightSelectorsException} (client fault)
95
95
  * <p>The formatting or syntax of the <code>InsightSelectors</code> JSON statement in your
@@ -66,7 +66,7 @@ export interface RemoveTagsCommandOutput extends RemoveTagsResponse, __MetadataB
66
66
  * </p>
67
67
  * <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
68
68
  * <p>The following is the format of an event data store ARN:
69
- * <code>arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
69
+ * <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
70
70
  * </p>
71
71
  * <p>The following is the format of a channel ARN:
72
72
  * <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
@@ -41,7 +41,7 @@ export interface RestoreEventDataStoreCommandOutput extends RestoreEventDataStor
41
41
  * // { // RestoreEventDataStoreResponse
42
42
  * // EventDataStoreArn: "STRING_VALUE",
43
43
  * // Name: "STRING_VALUE",
44
- * // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
44
+ * // Status: "CREATED" || "ENABLED" || "PENDING_DELETION" || "STARTING_INGESTION" || "STOPPING_INGESTION" || "STOPPED_INGESTION",
45
45
  * // AdvancedEventSelectors: [ // AdvancedEventSelectors
46
46
  * // { // AdvancedEventSelector
47
47
  * // Name: "STRING_VALUE",