aws-sdk-cloudtrail 1.74.0 → 1.76.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +149 -29
- data/lib/aws-sdk-cloudtrail/client_api.rb +54 -0
- data/lib/aws-sdk-cloudtrail/endpoints.rb +14 -0
- data/lib/aws-sdk-cloudtrail/plugins/endpoints.rb +3 -0
- data/lib/aws-sdk-cloudtrail/types.rb +357 -87
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- data/sig/client.rbs +924 -0
- data/sig/errors.rbs +182 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1198 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
@@ -127,17 +127,20 @@ module Aws::CloudTrail
|
|
127
127
|
#
|
128
128
|
# @!attribute [rw] field
|
129
129
|
# A field in a CloudTrail event record on which to filter events to be
|
130
|
-
# logged. For event data stores for
|
131
|
-
# Manager evidence, or
|
132
|
-
# used only for selecting events as
|
130
|
+
# logged. For event data stores for CloudTrail Insights events, Config
|
131
|
+
# configuration items, Audit Manager evidence, or events outside of
|
132
|
+
# Amazon Web Services, the field is used only for selecting events as
|
133
|
+
# filtering is not supported.
|
133
134
|
#
|
134
|
-
# For CloudTrail
|
135
|
-
# `
|
136
|
-
# `resources.type`, and `resources.ARN`.
|
135
|
+
# For CloudTrail management events, supported fields include
|
136
|
+
# `readOnly`, `eventCategory`, and `eventSource`.
|
137
137
|
#
|
138
|
-
# For
|
139
|
-
#
|
140
|
-
#
|
138
|
+
# For CloudTrail data events, supported fields include `readOnly`,
|
139
|
+
# `eventCategory`, `eventName`, `resources.type`, and `resources.ARN`.
|
140
|
+
#
|
141
|
+
# For event data stores for CloudTrail Insights events, Config
|
142
|
+
# configuration items, Audit Manager evidence, or events outside of
|
143
|
+
# Amazon Web Services, the only supported field is `eventCategory`.
|
141
144
|
#
|
142
145
|
# * <b> <code>readOnly</code> </b> - Optional. Can be set to `Equals`
|
143
146
|
# a value of `true` or `false`. If you do not add this field,
|
@@ -157,11 +160,14 @@ module Aws::CloudTrail
|
|
157
160
|
# * <b> <code>eventCategory</code> </b> - This is required and must be
|
158
161
|
# set to `Equals`.
|
159
162
|
#
|
160
|
-
# * For CloudTrail
|
161
|
-
# `
|
163
|
+
# * For CloudTrail management events, the value must be
|
164
|
+
# `Management`.
|
165
|
+
#
|
166
|
+
# * For CloudTrail data events, the value must be `Data`.
|
162
167
|
#
|
163
|
-
#
|
164
|
-
#
|
168
|
+
# The following are used only for event data stores:
|
169
|
+
#
|
170
|
+
# * For CloudTrail Insights events, the value must be `Insight`.
|
165
171
|
#
|
166
172
|
# * For Config configuration items, the value must be
|
167
173
|
# `ConfigurationItem`.
|
@@ -181,6 +187,16 @@ module Aws::CloudTrail
|
|
181
187
|
#
|
182
188
|
# * `AWS::S3::Object`
|
183
189
|
#
|
190
|
+
# * `AWS::B2BI::Transformer`
|
191
|
+
#
|
192
|
+
# * `AWS::Bedrock::AgentAlias`
|
193
|
+
#
|
194
|
+
# * `AWS::Bedrock::KnowledgeBase`
|
195
|
+
#
|
196
|
+
# * `AWS::Cassandra::Table`
|
197
|
+
#
|
198
|
+
# * `AWS::CloudFront::KeyValueStore`
|
199
|
+
#
|
184
200
|
# * `AWS::CloudTrail::Channel`
|
185
201
|
#
|
186
202
|
# * `AWS::CodeWhisperer::Customization`
|
@@ -201,6 +217,10 @@ module Aws::CloudTrail
|
|
201
217
|
#
|
202
218
|
# * `AWS::GuardDuty::Detector`
|
203
219
|
#
|
220
|
+
# * `AWS::IoTTwinMaker::Entity`
|
221
|
+
#
|
222
|
+
# * `AWS::IoTTwinMaker::Workspace`
|
223
|
+
#
|
204
224
|
# * `AWS::KendraRanking::ExecutionPlan`
|
205
225
|
#
|
206
226
|
# * `AWS::KinesisVideo::Stream`
|
@@ -211,18 +231,38 @@ module Aws::CloudTrail
|
|
211
231
|
#
|
212
232
|
# * `AWS::MedicalImaging::Datastore`
|
213
233
|
#
|
234
|
+
# * `AWS::NeptuneGraph::Graph`
|
235
|
+
#
|
214
236
|
# * `AWS::PCAConnectorAD::Connector`
|
215
237
|
#
|
238
|
+
# * `AWS::QBusiness::Application`
|
239
|
+
#
|
240
|
+
# * `AWS::QBusiness::DataSource`
|
241
|
+
#
|
242
|
+
# * `AWS::QBusiness::Index`
|
243
|
+
#
|
244
|
+
# * `AWS::QBusiness::WebExperience`
|
245
|
+
#
|
246
|
+
# * `AWS::RDS::DBCluster`
|
247
|
+
#
|
216
248
|
# * `AWS::SageMaker::Endpoint`
|
217
249
|
#
|
218
250
|
# * `AWS::SageMaker::ExperimentTrialComponent`
|
219
251
|
#
|
220
252
|
# * `AWS::SageMaker::FeatureGroup`
|
221
253
|
#
|
254
|
+
# * `AWS::ServiceDiscovery::Namespace `
|
255
|
+
#
|
256
|
+
# * `AWS::ServiceDiscovery::Service`
|
257
|
+
#
|
258
|
+
# * `AWS::SCN::Instance`
|
259
|
+
#
|
222
260
|
# * `AWS::SNS::PlatformEndpoint`
|
223
261
|
#
|
224
262
|
# * `AWS::SNS::Topic`
|
225
263
|
#
|
264
|
+
# * `AWS::SQS::Queue`
|
265
|
+
#
|
226
266
|
# * `AWS::S3::AccessPoint`
|
227
267
|
#
|
228
268
|
# * `AWS::S3ObjectLambda::AccessPoint`
|
@@ -231,6 +271,10 @@ module Aws::CloudTrail
|
|
231
271
|
#
|
232
272
|
# * `AWS::SSMMessages::ControlChannel`
|
233
273
|
#
|
274
|
+
# * `AWS::ThinClient::Device`
|
275
|
+
#
|
276
|
+
# * `AWS::ThinClient::Environment`
|
277
|
+
#
|
234
278
|
# * `AWS::Timestream::Database`
|
235
279
|
#
|
236
280
|
# * `AWS::Timestream::Table`
|
@@ -273,6 +317,46 @@ module Aws::CloudTrail
|
|
273
317
|
#
|
274
318
|
# ^
|
275
319
|
#
|
320
|
+
# When resources.type equals `AWS::B2BI::Transformer`, and the
|
321
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
322
|
+
# following format:
|
323
|
+
#
|
324
|
+
# * `arn:<partition>:b2bi:<region>:<account_ID>:transformer/<transformer_ID>`
|
325
|
+
#
|
326
|
+
# ^
|
327
|
+
#
|
328
|
+
# When resources.type equals `AWS::Bedrock::AgentAlias`, and the
|
329
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
330
|
+
# following format:
|
331
|
+
#
|
332
|
+
# * `arn:<partition>:bedrock:<region>:<account_ID>:agent-alias/<agent_ID>/<alias_ID>`
|
333
|
+
#
|
334
|
+
# ^
|
335
|
+
#
|
336
|
+
# When resources.type equals `AWS::Bedrock::KnowledgeBase`, and the
|
337
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
338
|
+
# following format:
|
339
|
+
#
|
340
|
+
# * `arn:<partition>:bedrock:<region>:<account_ID>:knowledge-base/<knowledge_base_ID>`
|
341
|
+
#
|
342
|
+
# ^
|
343
|
+
#
|
344
|
+
# When resources.type equals `AWS::Cassandra::Table`, and the
|
345
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
346
|
+
# following format:
|
347
|
+
#
|
348
|
+
# * `arn:<partition>:cassandra:<region>:<account_ID>:/keyspace/<keyspace_name>/table/<table_name>`
|
349
|
+
#
|
350
|
+
# ^
|
351
|
+
#
|
352
|
+
# When resources.type equals `AWS::CloudFront::KeyValueStore`, and
|
353
|
+
# the operator is set to `Equals` or `NotEquals`, the ARN must be in
|
354
|
+
# the following format:
|
355
|
+
#
|
356
|
+
# * `arn:<partition>:cloudfront:<region>:<account_ID>:key-value-store/<KVS_name>`
|
357
|
+
#
|
358
|
+
# ^
|
359
|
+
#
|
276
360
|
# When resources.type equals `AWS::CloudTrail::Channel`, and the
|
277
361
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
278
362
|
# following format:
|
@@ -325,7 +409,7 @@ module Aws::CloudTrail
|
|
325
409
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
326
410
|
# following format:
|
327
411
|
#
|
328
|
-
# * `arn:<partition>:emrwal:<region
|
412
|
+
# * `arn:<partition>:emrwal:<region>:<account_ID>:workspace/<workspace_name>`
|
329
413
|
#
|
330
414
|
# ^
|
331
415
|
#
|
@@ -353,6 +437,22 @@ module Aws::CloudTrail
|
|
353
437
|
#
|
354
438
|
# ^
|
355
439
|
#
|
440
|
+
# When `resources.type` equals `AWS::IoTTwinMaker::Entity`, and the
|
441
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
442
|
+
# following format:
|
443
|
+
#
|
444
|
+
# * `arn:<partition>:iottwinmaker:<region>:<account_ID>:workspace/<workspace_ID>/entity/<entity_ID>`
|
445
|
+
#
|
446
|
+
# ^
|
447
|
+
#
|
448
|
+
# When `resources.type` equals `AWS::IoTTwinMaker::Workspace`, and
|
449
|
+
# the operator is set to `Equals` or `NotEquals`, the ARN must be in
|
450
|
+
# the following format:
|
451
|
+
#
|
452
|
+
# * `arn:<partition>:iottwinmaker:<region>:<account_ID>:workspace/<workspace_ID>`
|
453
|
+
#
|
454
|
+
# ^
|
455
|
+
#
|
356
456
|
# When `resources.type` equals `AWS::KendraRanking::ExecutionPlan`,
|
357
457
|
# and the operator is set to `Equals` or `NotEquals`, the ARN must
|
358
458
|
# be in the following format:
|
@@ -365,7 +465,7 @@ module Aws::CloudTrail
|
|
365
465
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
366
466
|
# following format:
|
367
467
|
#
|
368
|
-
# * `arn:<partition>:kinesisvideo:<region>:<account_ID>:stream/<stream_name
|
468
|
+
# * `arn:<partition>:kinesisvideo:<region>:<account_ID>:stream/<stream_name>/<creation_time>`
|
369
469
|
#
|
370
470
|
# ^
|
371
471
|
#
|
@@ -393,6 +493,14 @@ module Aws::CloudTrail
|
|
393
493
|
#
|
394
494
|
# ^
|
395
495
|
#
|
496
|
+
# When `resources.type` equals `AWS::NeptuneGraph::Graph`, and the
|
497
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
498
|
+
# following format:
|
499
|
+
#
|
500
|
+
# * `arn:<partition>:neptune-graph:<region>:<account_ID>:graph/<graph_ID>`
|
501
|
+
#
|
502
|
+
# ^
|
503
|
+
#
|
396
504
|
# When `resources.type` equals `AWS::PCAConnectorAD::Connector`, and
|
397
505
|
# the operator is set to `Equals` or `NotEquals`, the ARN must be in
|
398
506
|
# the following format:
|
@@ -401,6 +509,46 @@ module Aws::CloudTrail
|
|
401
509
|
#
|
402
510
|
# ^
|
403
511
|
#
|
512
|
+
# When `resources.type` equals `AWS::QBusiness::Application`, and
|
513
|
+
# the operator is set to `Equals` or `NotEquals`, the ARN must be in
|
514
|
+
# the following format:
|
515
|
+
#
|
516
|
+
# * `arn:<partition>:qbusiness:<region>:<account_ID>:application/<application_ID>`
|
517
|
+
#
|
518
|
+
# ^
|
519
|
+
#
|
520
|
+
# When `resources.type` equals `AWS::QBusiness::DataSource`, and the
|
521
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
522
|
+
# following format:
|
523
|
+
#
|
524
|
+
# * `arn:<partition>:qbusiness:<region>:<account_ID>:application/<application_ID>/index/<index_ID>/data-source/<datasource_ID>`
|
525
|
+
#
|
526
|
+
# ^
|
527
|
+
#
|
528
|
+
# When `resources.type` equals `AWS::QBusiness::Index`, and the
|
529
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
530
|
+
# following format:
|
531
|
+
#
|
532
|
+
# * `arn:<partition>:qbusiness:<region>:<account_ID>:application/<application_ID>/index/<index_ID>`
|
533
|
+
#
|
534
|
+
# ^
|
535
|
+
#
|
536
|
+
# When `resources.type` equals `AWS::QBusiness::WebExperience`, and
|
537
|
+
# the operator is set to `Equals` or `NotEquals`, the ARN must be in
|
538
|
+
# the following format:
|
539
|
+
#
|
540
|
+
# * `arn:<partition>:qbusiness:<region>:<account_ID>:application/<application_ID>/web-experience/<web_experience_ID>`
|
541
|
+
#
|
542
|
+
# ^
|
543
|
+
#
|
544
|
+
# When `resources.type` equals `AWS::RDS::DBCluster`, and the
|
545
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
546
|
+
# following format:
|
547
|
+
#
|
548
|
+
# * `arn:<partition>:rds:<region>:<account_ID>:cluster/<cluster_name>`
|
549
|
+
#
|
550
|
+
# ^
|
551
|
+
#
|
404
552
|
# When `resources.type` equals `AWS::SageMaker::Endpoint`, and the
|
405
553
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
406
554
|
# following format:
|
@@ -426,6 +574,30 @@ module Aws::CloudTrail
|
|
426
574
|
#
|
427
575
|
# ^
|
428
576
|
#
|
577
|
+
# When `resources.type` equals `AWS::SCN::Instance`, and the
|
578
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
579
|
+
# following format:
|
580
|
+
#
|
581
|
+
# * `arn:<partition>:scn:<region>:<account_ID>:instance/<instance_ID>`
|
582
|
+
#
|
583
|
+
# ^
|
584
|
+
#
|
585
|
+
# When `resources.type` equals `AWS::ServiceDiscovery::Namespace`,
|
586
|
+
# and the operator is set to `Equals` or `NotEquals`, the ARN must
|
587
|
+
# be in the following format:
|
588
|
+
#
|
589
|
+
# * `arn:<partition>:servicediscovery:<region>:<account_ID>:namespace/<namespace_ID>`
|
590
|
+
#
|
591
|
+
# ^
|
592
|
+
#
|
593
|
+
# When `resources.type` equals `AWS::ServiceDiscovery::Service`, and
|
594
|
+
# the operator is set to `Equals` or `NotEquals`, the ARN must be in
|
595
|
+
# the following format:
|
596
|
+
#
|
597
|
+
# * `arn:<partition>:servicediscovery:<region>:<account_ID>:service/<service_ID>`
|
598
|
+
#
|
599
|
+
# ^
|
600
|
+
#
|
429
601
|
# When `resources.type` equals `AWS::SNS::PlatformEndpoint`, and the
|
430
602
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
431
603
|
# following format:
|
@@ -442,6 +614,14 @@ module Aws::CloudTrail
|
|
442
614
|
#
|
443
615
|
# ^
|
444
616
|
#
|
617
|
+
# When `resources.type` equals `AWS::SQS::Queue`, and the operator
|
618
|
+
# is set to `Equals` or `NotEquals`, the ARN must be in the
|
619
|
+
# following format:
|
620
|
+
#
|
621
|
+
# * `arn:<partition>:sqs:<region>:<account_ID>:<queue_name>`
|
622
|
+
#
|
623
|
+
# ^
|
624
|
+
#
|
445
625
|
# When `resources.type` equals `AWS::S3::AccessPoint`, and the
|
446
626
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in one
|
447
627
|
# of the following formats. To log events on all objects in an S3
|
@@ -477,6 +657,22 @@ module Aws::CloudTrail
|
|
477
657
|
#
|
478
658
|
# ^
|
479
659
|
#
|
660
|
+
# When `resources.type` equals `AWS::ThinClient::Device`, and the
|
661
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
662
|
+
# following format:
|
663
|
+
#
|
664
|
+
# * `arn:<partition>:thinclient:<region>:<account_ID>:device/<device_ID>`
|
665
|
+
#
|
666
|
+
# ^
|
667
|
+
#
|
668
|
+
# When `resources.type` equals `AWS::ThinClient::Environment`, and
|
669
|
+
# the operator is set to `Equals` or `NotEquals`, the ARN must be in
|
670
|
+
# the following format:
|
671
|
+
#
|
672
|
+
# * `arn:<partition>:thinclient:<region>:<account_ID>:environment/<environment_ID>`
|
673
|
+
#
|
674
|
+
# ^
|
675
|
+
#
|
480
676
|
# When `resources.type` equals `AWS::Timestream::Database`, and the
|
481
677
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
482
678
|
# following format:
|
@@ -1106,11 +1302,6 @@ module Aws::CloudTrail
|
|
1106
1302
|
# account.
|
1107
1303
|
#
|
1108
1304
|
# Not required unless you specify `CloudWatchLogsRoleArn`.
|
1109
|
-
#
|
1110
|
-
# <note markdown="1"> Only the management account can configure a CloudWatch Logs log
|
1111
|
-
# group for an organization trail.
|
1112
|
-
#
|
1113
|
-
# </note>
|
1114
1305
|
# @return [String]
|
1115
1306
|
#
|
1116
1307
|
# @!attribute [rw] cloud_watch_logs_role_arn
|
@@ -1339,67 +1530,9 @@ module Aws::CloudTrail
|
|
1339
1530
|
#
|
1340
1531
|
# * `AWS::S3::Object`
|
1341
1532
|
#
|
1342
|
-
#
|
1343
|
-
#
|
1344
|
-
#
|
1345
|
-
# are not valid in basic event selectors. For more information, see
|
1346
|
-
# [AdvancedFieldSelector][1].
|
1347
|
-
#
|
1348
|
-
# * `AWS::CloudTrail::Channel`
|
1349
|
-
#
|
1350
|
-
# * `AWS::CodeWhisperer::Customization`
|
1351
|
-
#
|
1352
|
-
# * `AWS::CodeWhisperer::Profile`
|
1353
|
-
#
|
1354
|
-
# * `AWS::Cognito::IdentityPool`
|
1355
|
-
#
|
1356
|
-
# * `AWS::DynamoDB::Stream`
|
1357
|
-
#
|
1358
|
-
# * `AWS::EC2::Snapshot`
|
1359
|
-
#
|
1360
|
-
# * `AWS::EMRWAL::Workspace`
|
1361
|
-
#
|
1362
|
-
# * `AWS::FinSpace::Environment`
|
1363
|
-
#
|
1364
|
-
# * `AWS::Glue::Table`
|
1365
|
-
#
|
1366
|
-
# * `AWS::GuardDuty::Detector`
|
1367
|
-
#
|
1368
|
-
# * `AWS::KendraRanking::ExecutionPlan`
|
1369
|
-
#
|
1370
|
-
# * `AWS::KinesisVideo::Stream`
|
1371
|
-
#
|
1372
|
-
# * `AWS::ManagedBlockchain::Network`
|
1373
|
-
#
|
1374
|
-
# * `AWS::ManagedBlockchain::Node`
|
1375
|
-
#
|
1376
|
-
# * `AWS::MedicalImaging::Datastore`
|
1377
|
-
#
|
1378
|
-
# * `AWS::PCAConnectorAD::Connector`
|
1379
|
-
#
|
1380
|
-
# * `AWS::SageMaker::Endpoint`
|
1381
|
-
#
|
1382
|
-
# * `AWS::SageMaker::ExperimentTrialComponent`
|
1383
|
-
#
|
1384
|
-
# * `AWS::SageMaker::FeatureGroup`
|
1385
|
-
#
|
1386
|
-
# * `AWS::SNS::PlatformEndpoint`
|
1387
|
-
#
|
1388
|
-
# * `AWS::SNS::Topic`
|
1389
|
-
#
|
1390
|
-
# * `AWS::S3::AccessPoint`
|
1391
|
-
#
|
1392
|
-
# * `AWS::S3ObjectLambda::AccessPoint`
|
1393
|
-
#
|
1394
|
-
# * `AWS::S3Outposts::Object`
|
1395
|
-
#
|
1396
|
-
# * `AWS::SSMMessages::ControlChannel`
|
1397
|
-
#
|
1398
|
-
# * `AWS::Timestream::Database`
|
1399
|
-
#
|
1400
|
-
# * `AWS::Timestream::Table`
|
1401
|
-
#
|
1402
|
-
# * `AWS::VerifiedPermissions::PolicyStore`
|
1533
|
+
# Additional resource types are available through *advanced* event
|
1534
|
+
# selectors. For more information about these additional resource
|
1535
|
+
# types, see [AdvancedFieldSelector][1].
|
1403
1536
|
#
|
1404
1537
|
#
|
1405
1538
|
#
|
@@ -1712,7 +1845,7 @@ module Aws::CloudTrail
|
|
1712
1845
|
# @!attribute [rw] type
|
1713
1846
|
# The type of destination for events arriving from a channel. For
|
1714
1847
|
# channels used for a CloudTrail Lake integration, the value is
|
1715
|
-
# `
|
1848
|
+
# `EVENT_DATA_STORE`. For service-linked channels, the value is
|
1716
1849
|
# `AWS_SERVICE`.
|
1717
1850
|
# @return [String]
|
1718
1851
|
#
|
@@ -3371,6 +3504,148 @@ module Aws::CloudTrail
|
|
3371
3504
|
include Aws::Structure
|
3372
3505
|
end
|
3373
3506
|
|
3507
|
+
# @!attribute [rw] event_source
|
3508
|
+
# The Amazon Web Services service to which the request was made, such
|
3509
|
+
# as `iam.amazonaws.com` or `s3.amazonaws.com`.
|
3510
|
+
# @return [String]
|
3511
|
+
#
|
3512
|
+
# @!attribute [rw] event_name
|
3513
|
+
# The name of the event, typically the Amazon Web Services API on
|
3514
|
+
# which unusual levels of activity were recorded.
|
3515
|
+
# @return [String]
|
3516
|
+
#
|
3517
|
+
# @!attribute [rw] insight_type
|
3518
|
+
# The type of CloudTrail Insights event, which is either
|
3519
|
+
# `ApiCallRateInsight` or `ApiErrorRateInsight`. The
|
3520
|
+
# `ApiCallRateInsight` Insights type analyzes write-only management
|
3521
|
+
# API calls that are aggregated per minute against a baseline API call
|
3522
|
+
# volume. The `ApiErrorRateInsight` Insights type analyzes management
|
3523
|
+
# API calls that result in error codes.
|
3524
|
+
# @return [String]
|
3525
|
+
#
|
3526
|
+
# @!attribute [rw] error_code
|
3527
|
+
# Conditionally required if the `InsightType` parameter is set to
|
3528
|
+
# `ApiErrorRateInsight`.
|
3529
|
+
#
|
3530
|
+
# If returning metrics for the `ApiErrorRateInsight` Insights type,
|
3531
|
+
# this is the error to retrieve data for. For example, `AccessDenied`.
|
3532
|
+
# @return [String]
|
3533
|
+
#
|
3534
|
+
# @!attribute [rw] start_time
|
3535
|
+
# Specifies, in UTC, the start time for time-series data. The value
|
3536
|
+
# specified is inclusive; results include data points with the
|
3537
|
+
# specified time stamp.
|
3538
|
+
#
|
3539
|
+
# The default is 90 days before the time of request.
|
3540
|
+
# @return [Time]
|
3541
|
+
#
|
3542
|
+
# @!attribute [rw] end_time
|
3543
|
+
# Specifies, in UTC, the end time for time-series data. The value
|
3544
|
+
# specified is exclusive; results include data points up to the
|
3545
|
+
# specified time stamp.
|
3546
|
+
#
|
3547
|
+
# The default is the time of request.
|
3548
|
+
# @return [Time]
|
3549
|
+
#
|
3550
|
+
# @!attribute [rw] period
|
3551
|
+
# Granularity of data to retrieve, in seconds. Valid values are `60`,
|
3552
|
+
# `300`, and `3600`. If you specify any other value, you will get an
|
3553
|
+
# error. The default is 3600 seconds.
|
3554
|
+
# @return [Integer]
|
3555
|
+
#
|
3556
|
+
# @!attribute [rw] data_type
|
3557
|
+
# Type of datapoints to return. Valid values are `NonZeroData` and
|
3558
|
+
# `FillWithZeros`. The default is `NonZeroData`.
|
3559
|
+
# @return [String]
|
3560
|
+
#
|
3561
|
+
# @!attribute [rw] max_results
|
3562
|
+
# The maximum number of datapoints to return. Valid values are
|
3563
|
+
# integers from 1 to 21600. The default value is 21600.
|
3564
|
+
# @return [Integer]
|
3565
|
+
#
|
3566
|
+
# @!attribute [rw] next_token
|
3567
|
+
# Returned if all datapoints can't be returned in a single call. For
|
3568
|
+
# example, due to reaching `MaxResults`.
|
3569
|
+
#
|
3570
|
+
# Add this parameter to the request to continue retrieving results
|
3571
|
+
# starting from the last evaluated point.
|
3572
|
+
# @return [String]
|
3573
|
+
#
|
3574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListInsightsMetricDataRequest AWS API Documentation
|
3575
|
+
#
|
3576
|
+
class ListInsightsMetricDataRequest < Struct.new(
|
3577
|
+
:event_source,
|
3578
|
+
:event_name,
|
3579
|
+
:insight_type,
|
3580
|
+
:error_code,
|
3581
|
+
:start_time,
|
3582
|
+
:end_time,
|
3583
|
+
:period,
|
3584
|
+
:data_type,
|
3585
|
+
:max_results,
|
3586
|
+
:next_token)
|
3587
|
+
SENSITIVE = []
|
3588
|
+
include Aws::Structure
|
3589
|
+
end
|
3590
|
+
|
3591
|
+
# @!attribute [rw] event_source
|
3592
|
+
# The Amazon Web Services service to which the request was made, such
|
3593
|
+
# as `iam.amazonaws.com` or `s3.amazonaws.com`.
|
3594
|
+
# @return [String]
|
3595
|
+
#
|
3596
|
+
# @!attribute [rw] event_name
|
3597
|
+
# The name of the event, typically the Amazon Web Services API on
|
3598
|
+
# which unusual levels of activity were recorded.
|
3599
|
+
# @return [String]
|
3600
|
+
#
|
3601
|
+
# @!attribute [rw] insight_type
|
3602
|
+
# The type of CloudTrail Insights event, which is either
|
3603
|
+
# `ApiCallRateInsight` or `ApiErrorRateInsight`. The
|
3604
|
+
# `ApiCallRateInsight` Insights type analyzes write-only management
|
3605
|
+
# API calls that are aggregated per minute against a baseline API call
|
3606
|
+
# volume. The `ApiErrorRateInsight` Insights type analyzes management
|
3607
|
+
# API calls that result in error codes.
|
3608
|
+
# @return [String]
|
3609
|
+
#
|
3610
|
+
# @!attribute [rw] error_code
|
3611
|
+
# Only returned if `InsightType` parameter was set to
|
3612
|
+
# `ApiErrorRateInsight`.
|
3613
|
+
#
|
3614
|
+
# If returning metrics for the `ApiErrorRateInsight` Insights type,
|
3615
|
+
# this is the error to retrieve data for. For example, `AccessDenied`.
|
3616
|
+
# @return [String]
|
3617
|
+
#
|
3618
|
+
# @!attribute [rw] timestamps
|
3619
|
+
# List of timestamps at intervals corresponding to the specified time
|
3620
|
+
# period.
|
3621
|
+
# @return [Array<Time>]
|
3622
|
+
#
|
3623
|
+
# @!attribute [rw] values
|
3624
|
+
# List of values representing the API call rate or error rate at each
|
3625
|
+
# timestamp. The number of values is equal to the number of
|
3626
|
+
# timestamps.
|
3627
|
+
# @return [Array<Float>]
|
3628
|
+
#
|
3629
|
+
# @!attribute [rw] next_token
|
3630
|
+
# Only returned if the full results could not be returned in a single
|
3631
|
+
# query. You can set the `NextToken` parameter in the next request to
|
3632
|
+
# this value to continue retrieval.
|
3633
|
+
# @return [String]
|
3634
|
+
#
|
3635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListInsightsMetricDataResponse AWS API Documentation
|
3636
|
+
#
|
3637
|
+
class ListInsightsMetricDataResponse < Struct.new(
|
3638
|
+
:event_source,
|
3639
|
+
:event_name,
|
3640
|
+
:insight_type,
|
3641
|
+
:error_code,
|
3642
|
+
:timestamps,
|
3643
|
+
:values,
|
3644
|
+
:next_token)
|
3645
|
+
SENSITIVE = []
|
3646
|
+
include Aws::Structure
|
3647
|
+
end
|
3648
|
+
|
3374
3649
|
# Requests the public keys for a specified time range.
|
3375
3650
|
#
|
3376
3651
|
# @!attribute [rw] start_time
|
@@ -5248,11 +5523,6 @@ module Aws::CloudTrail
|
|
5248
5523
|
# account.
|
5249
5524
|
#
|
5250
5525
|
# Not required unless you specify `CloudWatchLogsRoleArn`.
|
5251
|
-
#
|
5252
|
-
# <note markdown="1"> Only the management account can configure a CloudWatch Logs log
|
5253
|
-
# group for an organization trail.
|
5254
|
-
#
|
5255
|
-
# </note>
|
5256
5526
|
# @return [String]
|
5257
5527
|
#
|
5258
5528
|
# @!attribute [rw] cloud_watch_logs_role_arn
|