aws-sdk-cloudtrail 1.60.0 → 1.62.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 +161 -71
- data/lib/aws-sdk-cloudtrail/client_api.rb +62 -2
- data/lib/aws-sdk-cloudtrail/endpoints.rb +28 -0
- data/lib/aws-sdk-cloudtrail/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-cloudtrail/types.rb +153 -64
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- metadata +2 -2
@@ -48,7 +48,7 @@ module Aws::CloudTrail
|
|
48
48
|
# `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
|
49
49
|
#
|
50
50
|
# The format of an event data store ARN is:
|
51
|
-
# `arn:aws:cloudtrail:us-east-2:
|
51
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
|
52
52
|
#
|
53
53
|
# The format of a channel ARN is:
|
54
54
|
# `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
|
@@ -174,12 +174,16 @@ module Aws::CloudTrail
|
|
174
174
|
#
|
175
175
|
# * `AWS::CloudTrail::Channel`
|
176
176
|
#
|
177
|
+
# * `AWS::CodeWhisperer::Profile`
|
178
|
+
#
|
177
179
|
# * `AWS::Cognito::IdentityPool`
|
178
180
|
#
|
179
181
|
# * `AWS::DynamoDB::Stream`
|
180
182
|
#
|
181
183
|
# * `AWS::EC2::Snapshot`
|
182
184
|
#
|
185
|
+
# * `AWS::EMRWAL::Workspace`
|
186
|
+
#
|
183
187
|
# * `AWS::FinSpace::Environment`
|
184
188
|
#
|
185
189
|
# * `AWS::Glue::Table`
|
@@ -244,6 +248,14 @@ module Aws::CloudTrail
|
|
244
248
|
#
|
245
249
|
# ^
|
246
250
|
#
|
251
|
+
# When resources.type equals `AWS::CodeWhisperer::Profile`, and the
|
252
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
253
|
+
# following format:
|
254
|
+
#
|
255
|
+
# * `arn:<partition>:codewhisperer:<region>:<account_ID>:profile/<profile_ID>`
|
256
|
+
#
|
257
|
+
# ^
|
258
|
+
#
|
247
259
|
# When resources.type equals `AWS::Cognito::IdentityPool`, and the
|
248
260
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
249
261
|
# following format:
|
@@ -268,6 +280,14 @@ module Aws::CloudTrail
|
|
268
280
|
#
|
269
281
|
# ^
|
270
282
|
#
|
283
|
+
# When `resources.type` equals `AWS::EMRWAL::Workspace`, and the
|
284
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
285
|
+
# following format:
|
286
|
+
#
|
287
|
+
# * `arn:<partition>:emrwal:<region>::workspace/<workspace_name>`
|
288
|
+
#
|
289
|
+
# ^
|
290
|
+
#
|
271
291
|
# When `resources.type` equals `AWS::FinSpace::Environment`, and the
|
272
292
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
273
293
|
# following format:
|
@@ -510,7 +530,7 @@ module Aws::CloudTrail
|
|
510
530
|
# not valid.
|
511
531
|
#
|
512
532
|
# The following is the format of an event data store ARN:
|
513
|
-
# `arn:aws:cloudtrail:us-east-2:
|
533
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
|
514
534
|
#
|
515
535
|
# The following is the format of a channel ARN:
|
516
536
|
# `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
|
@@ -542,7 +562,7 @@ module Aws::CloudTrail
|
|
542
562
|
#
|
543
563
|
class CloudTrailInvalidClientTokenIdException < Aws::EmptyStructure; end
|
544
564
|
|
545
|
-
# Cannot set a CloudWatch Logs delivery for this
|
565
|
+
# Cannot set a CloudWatch Logs delivery for this Region.
|
546
566
|
#
|
547
567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CloudWatchLogsDeliveryUnavailableException AWS API Documentation
|
548
568
|
#
|
@@ -663,7 +683,7 @@ module Aws::CloudTrail
|
|
663
683
|
#
|
664
684
|
# @!attribute [rw] multi_region_enabled
|
665
685
|
# Specifies whether the event data store includes events from all
|
666
|
-
#
|
686
|
+
# Regions, or only from the Region in which the event data store is
|
667
687
|
# created.
|
668
688
|
# @return [Boolean]
|
669
689
|
#
|
@@ -721,6 +741,11 @@ module Aws::CloudTrail
|
|
721
741
|
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html
|
722
742
|
# @return [String]
|
723
743
|
#
|
744
|
+
# @!attribute [rw] start_ingestion
|
745
|
+
# Specifies whether the event data store should start ingesting live
|
746
|
+
# events. The default is true.
|
747
|
+
# @return [Boolean]
|
748
|
+
#
|
724
749
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateEventDataStoreRequest AWS API Documentation
|
725
750
|
#
|
726
751
|
class CreateEventDataStoreRequest < Struct.new(
|
@@ -731,7 +756,8 @@ module Aws::CloudTrail
|
|
731
756
|
:retention_period,
|
732
757
|
:termination_protection_enabled,
|
733
758
|
:tags_list,
|
734
|
-
:kms_key_id
|
759
|
+
:kms_key_id,
|
760
|
+
:start_ingestion)
|
735
761
|
SENSITIVE = []
|
736
762
|
include Aws::Structure
|
737
763
|
end
|
@@ -755,7 +781,7 @@ module Aws::CloudTrail
|
|
755
781
|
#
|
756
782
|
# @!attribute [rw] multi_region_enabled
|
757
783
|
# Indicates whether the event data store collects events from all
|
758
|
-
#
|
784
|
+
# Regions, or only from the Region in which it was created.
|
759
785
|
# @return [Boolean]
|
760
786
|
#
|
761
787
|
# @!attribute [rw] organization_enabled
|
@@ -863,10 +889,10 @@ module Aws::CloudTrail
|
|
863
889
|
# @return [Boolean]
|
864
890
|
#
|
865
891
|
# @!attribute [rw] is_multi_region_trail
|
866
|
-
# Specifies whether the trail is created in the current
|
867
|
-
# all
|
868
|
-
#
|
869
|
-
# creating trails that log events in all
|
892
|
+
# Specifies whether the trail is created in the current Region or in
|
893
|
+
# all Regions. The default is false, which creates a trail only in the
|
894
|
+
# Region where you are signed in. As a best practice, consider
|
895
|
+
# creating trails that log events in all Regions.
|
870
896
|
# @return [Boolean]
|
871
897
|
#
|
872
898
|
# @!attribute [rw] enable_log_file_validation
|
@@ -981,7 +1007,7 @@ module Aws::CloudTrail
|
|
981
1007
|
# @return [String]
|
982
1008
|
#
|
983
1009
|
# @!attribute [rw] sns_topic_name
|
984
|
-
# This field is no longer in use. Use SnsTopicARN
|
1010
|
+
# This field is no longer in use. Use `SnsTopicARN`.
|
985
1011
|
# @return [String]
|
986
1012
|
#
|
987
1013
|
# @!attribute [rw] sns_topic_arn
|
@@ -998,7 +1024,7 @@ module Aws::CloudTrail
|
|
998
1024
|
# @return [Boolean]
|
999
1025
|
#
|
1000
1026
|
# @!attribute [rw] is_multi_region_trail
|
1001
|
-
# Specifies whether the trail exists in one
|
1027
|
+
# Specifies whether the trail exists in one Region or in all Regions.
|
1002
1028
|
# @return [Boolean]
|
1003
1029
|
#
|
1004
1030
|
# @!attribute [rw] trail_arn
|
@@ -1125,16 +1151,20 @@ module Aws::CloudTrail
|
|
1125
1151
|
# event selectors. Basic event selector resource types are valid in
|
1126
1152
|
# advanced event selectors, but advanced event selector resource types
|
1127
1153
|
# are not valid in basic event selectors. For more information, see
|
1128
|
-
# AdvancedFieldSelector
|
1154
|
+
# [AdvancedFieldSelector][1].
|
1129
1155
|
#
|
1130
1156
|
# * `AWS::CloudTrail::Channel`
|
1131
1157
|
#
|
1158
|
+
# * `AWS::CodeWhisperer::Profile`
|
1159
|
+
#
|
1132
1160
|
# * `AWS::Cognito::IdentityPool`
|
1133
1161
|
#
|
1134
1162
|
# * `AWS::DynamoDB::Stream`
|
1135
1163
|
#
|
1136
1164
|
# * `AWS::EC2::Snapshot`
|
1137
1165
|
#
|
1166
|
+
# * `AWS::EMRWAL::Workspace`
|
1167
|
+
#
|
1138
1168
|
# * `AWS::FinSpace::Environment`
|
1139
1169
|
#
|
1140
1170
|
# * `AWS::Glue::Table`
|
@@ -1154,6 +1184,10 @@ module Aws::CloudTrail
|
|
1154
1184
|
# * `AWS::S3ObjectLambda::AccessPoint`
|
1155
1185
|
#
|
1156
1186
|
# * `AWS::S3Outposts::Object`
|
1187
|
+
#
|
1188
|
+
#
|
1189
|
+
#
|
1190
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html
|
1157
1191
|
# @return [String]
|
1158
1192
|
#
|
1159
1193
|
# @!attribute [rw] values
|
@@ -1332,11 +1366,16 @@ module Aws::CloudTrail
|
|
1332
1366
|
# The query ID.
|
1333
1367
|
# @return [String]
|
1334
1368
|
#
|
1369
|
+
# @!attribute [rw] query_alias
|
1370
|
+
# The alias that identifies a query template.
|
1371
|
+
# @return [String]
|
1372
|
+
#
|
1335
1373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQueryRequest AWS API Documentation
|
1336
1374
|
#
|
1337
1375
|
class DescribeQueryRequest < Struct.new(
|
1338
1376
|
:event_data_store,
|
1339
|
-
:query_id
|
1377
|
+
:query_id,
|
1378
|
+
:query_alias)
|
1340
1379
|
SENSITIVE = []
|
1341
1380
|
include Aws::Structure
|
1342
1381
|
end
|
@@ -1396,30 +1435,30 @@ module Aws::CloudTrail
|
|
1396
1435
|
# `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
|
1397
1436
|
#
|
1398
1437
|
# If an empty list is specified, information for the trail in the
|
1399
|
-
# current
|
1438
|
+
# current Region is returned.
|
1400
1439
|
#
|
1401
1440
|
# * If an empty list is specified and `IncludeShadowTrails` is false,
|
1402
|
-
# then information for all trails in the current
|
1441
|
+
# then information for all trails in the current Region is returned.
|
1403
1442
|
#
|
1404
1443
|
# * If an empty list is specified and IncludeShadowTrails is null or
|
1405
|
-
# true, then information for all trails in the current
|
1406
|
-
# any associated shadow trails in other
|
1444
|
+
# true, then information for all trails in the current Region and
|
1445
|
+
# any associated shadow trails in other Regions is returned.
|
1407
1446
|
#
|
1408
1447
|
# <note markdown="1"> If one or more trail names are specified, information is returned
|
1409
1448
|
# only if the names match the names of trails belonging only to the
|
1410
|
-
# current
|
1411
|
-
# trail in another
|
1449
|
+
# current Region and current account. To return information about a
|
1450
|
+
# trail in another Region, you must specify its trail ARN.
|
1412
1451
|
#
|
1413
1452
|
# </note>
|
1414
1453
|
# @return [Array<String>]
|
1415
1454
|
#
|
1416
1455
|
# @!attribute [rw] include_shadow_trails
|
1417
1456
|
# Specifies whether to include shadow trails in the response. A shadow
|
1418
|
-
# trail is the replication in a
|
1419
|
-
# a different
|
1457
|
+
# trail is the replication in a Region of a trail that was created in
|
1458
|
+
# a different Region, or in the case of an organization trail, the
|
1420
1459
|
# replication of an organization trail in member accounts. If you do
|
1421
1460
|
# not include shadow trails, organization trails in a member account
|
1422
|
-
# and
|
1461
|
+
# and Region replication trails will not be returned. The default is
|
1423
1462
|
# true.
|
1424
1463
|
# @return [Boolean]
|
1425
1464
|
#
|
@@ -1560,8 +1599,7 @@ module Aws::CloudTrail
|
|
1560
1599
|
# @return [Boolean]
|
1561
1600
|
#
|
1562
1601
|
# @!attribute [rw] status
|
1563
|
-
# The status of an event data store.
|
1564
|
-
# `PENDING_DELETION`.
|
1602
|
+
# The status of an event data store.
|
1565
1603
|
# @return [String]
|
1566
1604
|
#
|
1567
1605
|
# @!attribute [rw] advanced_event_selectors
|
@@ -1571,7 +1609,7 @@ module Aws::CloudTrail
|
|
1571
1609
|
#
|
1572
1610
|
# @!attribute [rw] multi_region_enabled
|
1573
1611
|
# Indicates whether the event data store includes events from all
|
1574
|
-
#
|
1612
|
+
# Regions, or only from the Region in which it was created.
|
1575
1613
|
# @return [Boolean]
|
1576
1614
|
#
|
1577
1615
|
# @!attribute [rw] organization_enabled
|
@@ -1683,7 +1721,7 @@ module Aws::CloudTrail
|
|
1683
1721
|
#
|
1684
1722
|
# The first copy of management events is free. You are charged for
|
1685
1723
|
# additional copies of management events that you are logging on any
|
1686
|
-
# subsequent trail in the same
|
1724
|
+
# subsequent trail in the same Region. For more information about
|
1687
1725
|
# CloudTrail pricing, see [CloudTrail Pricing][2].
|
1688
1726
|
#
|
1689
1727
|
#
|
@@ -1717,7 +1755,7 @@ module Aws::CloudTrail
|
|
1717
1755
|
# `kms.amazonaws.com` or `rdsdata.amazonaws.com`. By default,
|
1718
1756
|
# `ExcludeManagementEventSources` is empty, and KMS and Amazon RDS
|
1719
1757
|
# Data API events are logged to your trail. You can exclude management
|
1720
|
-
# event sources only in
|
1758
|
+
# event sources only in Regions that support the event source.
|
1721
1759
|
# @return [Array<String>]
|
1722
1760
|
#
|
1723
1761
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/EventSelector AWS API Documentation
|
@@ -1761,8 +1799,8 @@ module Aws::CloudTrail
|
|
1761
1799
|
#
|
1762
1800
|
# @!attribute [rw] source_config
|
1763
1801
|
# Provides information about the advanced event selectors configured
|
1764
|
-
# for the channel, and whether the channel applies to all
|
1765
|
-
# single
|
1802
|
+
# for the channel, and whether the channel applies to all Regions or a
|
1803
|
+
# single Region.
|
1766
1804
|
# @return [Types::SourceConfig]
|
1767
1805
|
#
|
1768
1806
|
# @!attribute [rw] destinations
|
@@ -1813,8 +1851,7 @@ module Aws::CloudTrail
|
|
1813
1851
|
# @return [String]
|
1814
1852
|
#
|
1815
1853
|
# @!attribute [rw] status
|
1816
|
-
# The status of an event data store.
|
1817
|
-
# `PENDING_DELETION`.
|
1854
|
+
# The status of an event data store.
|
1818
1855
|
# @return [String]
|
1819
1856
|
#
|
1820
1857
|
# @!attribute [rw] advanced_event_selectors
|
@@ -1824,7 +1861,7 @@ module Aws::CloudTrail
|
|
1824
1861
|
#
|
1825
1862
|
# @!attribute [rw] multi_region_enabled
|
1826
1863
|
# Indicates whether the event data store includes events from all
|
1827
|
-
#
|
1864
|
+
# Regions, or only from the Region in which it was created.
|
1828
1865
|
# @return [Boolean]
|
1829
1866
|
#
|
1830
1867
|
# @!attribute [rw] organization_enabled
|
@@ -2172,7 +2209,7 @@ module Aws::CloudTrail
|
|
2172
2209
|
# @!attribute [rw] name
|
2173
2210
|
# Specifies the name or the CloudTrail ARN of the trail for which you
|
2174
2211
|
# are requesting status. To get the status of a shadow trail (a
|
2175
|
-
# replication of the trail in another
|
2212
|
+
# replication of the trail in another Region), you must specify its
|
2176
2213
|
# ARN. The following is the format of a trail ARN.
|
2177
2214
|
#
|
2178
2215
|
# `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
|
@@ -2641,7 +2678,7 @@ module Aws::CloudTrail
|
|
2641
2678
|
class InvalidEventSelectorsException < Aws::EmptyStructure; end
|
2642
2679
|
|
2643
2680
|
# This exception is thrown when an operation is called on a trail from a
|
2644
|
-
#
|
2681
|
+
# Region other than the Region in which the trail was created.
|
2645
2682
|
#
|
2646
2683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidHomeRegionException AWS API Documentation
|
2647
2684
|
#
|
@@ -2802,9 +2839,9 @@ module Aws::CloudTrail
|
|
2802
2839
|
class KmsKeyDisabledException < Aws::EmptyStructure; end
|
2803
2840
|
|
2804
2841
|
# This exception is thrown when the KMS key does not exist, when the S3
|
2805
|
-
# bucket and the KMS key are not in the same
|
2842
|
+
# bucket and the KMS key are not in the same Region, or when the KMS key
|
2806
2843
|
# associated with the Amazon SNS topic either does not exist or is not
|
2807
|
-
# in the same
|
2844
|
+
# in the same Region.
|
2808
2845
|
#
|
2809
2846
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/KmsKeyNotFoundException AWS API Documentation
|
2810
2847
|
#
|
@@ -2871,7 +2908,7 @@ module Aws::CloudTrail
|
|
2871
2908
|
|
2872
2909
|
# @!attribute [rw] event_data_stores
|
2873
2910
|
# Contains information about event data stores in the account, in the
|
2874
|
-
# current
|
2911
|
+
# current Region.
|
2875
2912
|
# @return [Array<Types::EventDataStore>]
|
2876
2913
|
#
|
2877
2914
|
# @!attribute [rw] next_token
|
@@ -3087,6 +3124,15 @@ module Aws::CloudTrail
|
|
3087
3124
|
# @!attribute [rw] resource_id_list
|
3088
3125
|
# Specifies a list of trail, event data store, or channel ARNs whose
|
3089
3126
|
# tags will be listed. The list has a limit of 20 ARNs.
|
3127
|
+
#
|
3128
|
+
# Example trail ARN format:
|
3129
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
|
3130
|
+
#
|
3131
|
+
# Example event data store ARN format:
|
3132
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
|
3133
|
+
#
|
3134
|
+
# Example channel ARN format:
|
3135
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
|
3090
3136
|
# @return [Array<String>]
|
3091
3137
|
#
|
3092
3138
|
# @!attribute [rw] next_token
|
@@ -3140,7 +3186,7 @@ module Aws::CloudTrail
|
|
3140
3186
|
end
|
3141
3187
|
|
3142
3188
|
# @!attribute [rw] trails
|
3143
|
-
# Returns the name, ARN, and home
|
3189
|
+
# Returns the name, ARN, and home Region of trails in the current
|
3144
3190
|
# account.
|
3145
3191
|
# @return [Array<Types::TrailInfo>]
|
3146
3192
|
#
|
@@ -3663,7 +3709,7 @@ module Aws::CloudTrail
|
|
3663
3709
|
# `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
|
3664
3710
|
#
|
3665
3711
|
# Example event data store ARN format:
|
3666
|
-
# `arn:aws:cloudtrail:us-east-2:
|
3712
|
+
# `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`
|
3667
3713
|
#
|
3668
3714
|
# Example channel ARN format:
|
3669
3715
|
# `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890`
|
@@ -3817,7 +3863,7 @@ module Aws::CloudTrail
|
|
3817
3863
|
#
|
3818
3864
|
# @!attribute [rw] multi_region_enabled
|
3819
3865
|
# Indicates whether the event data store is collecting events from all
|
3820
|
-
#
|
3866
|
+
# Regions, or only from the Region in which the event data store was
|
3821
3867
|
# created.
|
3822
3868
|
# @return [Boolean]
|
3823
3869
|
#
|
@@ -3884,7 +3930,7 @@ module Aws::CloudTrail
|
|
3884
3930
|
# @return [String]
|
3885
3931
|
#
|
3886
3932
|
# @!attribute [rw] s3_bucket_region
|
3887
|
-
# The
|
3933
|
+
# The Region associated with the source S3 bucket.
|
3888
3934
|
# @return [String]
|
3889
3935
|
#
|
3890
3936
|
# @!attribute [rw] s3_bucket_access_role_arn
|
@@ -3904,8 +3950,8 @@ module Aws::CloudTrail
|
|
3904
3950
|
# Contains configuration information about the channel.
|
3905
3951
|
#
|
3906
3952
|
# @!attribute [rw] apply_to_all_regions
|
3907
|
-
# Specifies whether the channel applies to a single
|
3908
|
-
#
|
3953
|
+
# Specifies whether the channel applies to a single Region or to all
|
3954
|
+
# Regions.
|
3909
3955
|
# @return [Boolean]
|
3910
3956
|
#
|
3911
3957
|
# @!attribute [rw] advanced_event_selectors
|
@@ -3921,6 +3967,23 @@ module Aws::CloudTrail
|
|
3921
3967
|
include Aws::Structure
|
3922
3968
|
end
|
3923
3969
|
|
3970
|
+
# @!attribute [rw] event_data_store
|
3971
|
+
# The ARN (or ID suffix of the ARN) of the event data store for which
|
3972
|
+
# you want to start ingestion.
|
3973
|
+
# @return [String]
|
3974
|
+
#
|
3975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartEventDataStoreIngestionRequest AWS API Documentation
|
3976
|
+
#
|
3977
|
+
class StartEventDataStoreIngestionRequest < Struct.new(
|
3978
|
+
:event_data_store)
|
3979
|
+
SENSITIVE = []
|
3980
|
+
include Aws::Structure
|
3981
|
+
end
|
3982
|
+
|
3983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartEventDataStoreIngestionResponse AWS API Documentation
|
3984
|
+
#
|
3985
|
+
class StartEventDataStoreIngestionResponse < Aws::EmptyStructure; end
|
3986
|
+
|
3924
3987
|
# @!attribute [rw] destinations
|
3925
3988
|
# The ARN of the destination event data store. Use this parameter for
|
3926
3989
|
# a new import.
|
@@ -4054,11 +4117,21 @@ module Aws::CloudTrail
|
|
4054
4117
|
# results.
|
4055
4118
|
# @return [String]
|
4056
4119
|
#
|
4120
|
+
# @!attribute [rw] query_alias
|
4121
|
+
# The alias that identifies a query template.
|
4122
|
+
# @return [String]
|
4123
|
+
#
|
4124
|
+
# @!attribute [rw] query_parameters
|
4125
|
+
# The query parameters for the specified `QueryAlias`.
|
4126
|
+
# @return [Array<String>]
|
4127
|
+
#
|
4057
4128
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartQueryRequest AWS API Documentation
|
4058
4129
|
#
|
4059
4130
|
class StartQueryRequest < Struct.new(
|
4060
4131
|
:query_statement,
|
4061
|
-
:delivery_s3_uri
|
4132
|
+
:delivery_s3_uri,
|
4133
|
+
:query_alias,
|
4134
|
+
:query_parameters)
|
4062
4135
|
SENSITIVE = []
|
4063
4136
|
include Aws::Structure
|
4064
4137
|
end
|
@@ -4075,6 +4148,23 @@ module Aws::CloudTrail
|
|
4075
4148
|
include Aws::Structure
|
4076
4149
|
end
|
4077
4150
|
|
4151
|
+
# @!attribute [rw] event_data_store
|
4152
|
+
# The ARN (or ID suffix of the ARN) of the event data store for which
|
4153
|
+
# you want to stop ingestion.
|
4154
|
+
# @return [String]
|
4155
|
+
#
|
4156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopEventDataStoreIngestionRequest AWS API Documentation
|
4157
|
+
#
|
4158
|
+
class StopEventDataStoreIngestionRequest < Struct.new(
|
4159
|
+
:event_data_store)
|
4160
|
+
SENSITIVE = []
|
4161
|
+
include Aws::Structure
|
4162
|
+
end
|
4163
|
+
|
4164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopEventDataStoreIngestionResponse AWS API Documentation
|
4165
|
+
#
|
4166
|
+
class StopEventDataStoreIngestionResponse < Aws::EmptyStructure; end
|
4167
|
+
|
4078
4168
|
# @!attribute [rw] import_id
|
4079
4169
|
# The ID of the import.
|
4080
4170
|
# @return [String]
|
@@ -4227,7 +4317,7 @@ module Aws::CloudTrail
|
|
4227
4317
|
# @return [String]
|
4228
4318
|
#
|
4229
4319
|
# @!attribute [rw] sns_topic_name
|
4230
|
-
# This field is no longer in use. Use SnsTopicARN
|
4320
|
+
# This field is no longer in use. Use `SnsTopicARN`.
|
4231
4321
|
# @return [String]
|
4232
4322
|
#
|
4233
4323
|
# @!attribute [rw] sns_topic_arn
|
@@ -4244,12 +4334,12 @@ module Aws::CloudTrail
|
|
4244
4334
|
# @return [Boolean]
|
4245
4335
|
#
|
4246
4336
|
# @!attribute [rw] is_multi_region_trail
|
4247
|
-
# Specifies whether the trail exists only in one
|
4248
|
-
# all
|
4337
|
+
# Specifies whether the trail exists only in one Region or exists in
|
4338
|
+
# all Regions.
|
4249
4339
|
# @return [Boolean]
|
4250
4340
|
#
|
4251
4341
|
# @!attribute [rw] home_region
|
4252
|
-
# The
|
4342
|
+
# The Region in which the trail was created.
|
4253
4343
|
# @return [String]
|
4254
4344
|
#
|
4255
4345
|
# @!attribute [rw] trail_arn
|
@@ -4324,7 +4414,7 @@ module Aws::CloudTrail
|
|
4324
4414
|
class TrailAlreadyExistsException < Aws::EmptyStructure; end
|
4325
4415
|
|
4326
4416
|
# Information about a CloudTrail trail, including the trail's name,
|
4327
|
-
# home
|
4417
|
+
# home Region, and Amazon Resource Name (ARN).
|
4328
4418
|
#
|
4329
4419
|
# @!attribute [rw] trail_arn
|
4330
4420
|
# The ARN of a trail.
|
@@ -4436,7 +4526,7 @@ module Aws::CloudTrail
|
|
4436
4526
|
#
|
4437
4527
|
# @!attribute [rw] multi_region_enabled
|
4438
4528
|
# Specifies whether an event data store collects events from all
|
4439
|
-
#
|
4529
|
+
# Regions, or only from the Region in which it was created.
|
4440
4530
|
# @return [Boolean]
|
4441
4531
|
#
|
4442
4532
|
# @!attribute [rw] organization_enabled
|
@@ -4511,8 +4601,7 @@ module Aws::CloudTrail
|
|
4511
4601
|
# @return [String]
|
4512
4602
|
#
|
4513
4603
|
# @!attribute [rw] status
|
4514
|
-
# The status of an event data store.
|
4515
|
-
# `PENDING_DELETION`.
|
4604
|
+
# The status of an event data store.
|
4516
4605
|
# @return [String]
|
4517
4606
|
#
|
4518
4607
|
# @!attribute [rw] advanced_event_selectors
|
@@ -4522,7 +4611,7 @@ module Aws::CloudTrail
|
|
4522
4611
|
#
|
4523
4612
|
# @!attribute [rw] multi_region_enabled
|
4524
4613
|
# Indicates whether the event data store includes events from all
|
4525
|
-
#
|
4614
|
+
# Regions, or only from the Region in which it was created.
|
4526
4615
|
# @return [Boolean]
|
4527
4616
|
#
|
4528
4617
|
# @!attribute [rw] organization_enabled
|
@@ -4629,14 +4718,14 @@ module Aws::CloudTrail
|
|
4629
4718
|
# @return [Boolean]
|
4630
4719
|
#
|
4631
4720
|
# @!attribute [rw] is_multi_region_trail
|
4632
|
-
# Specifies whether the trail applies only to the current
|
4633
|
-
# all
|
4634
|
-
# current
|
4635
|
-
# (replications of the trail) will be created in the other
|
4636
|
-
# the trail exists in all
|
4637
|
-
# trail will remain in the
|
4638
|
-
# trails in other
|
4639
|
-
# consider using trails that log events in all
|
4721
|
+
# Specifies whether the trail applies only to the current Region or to
|
4722
|
+
# all Regions. The default is false. If the trail exists only in the
|
4723
|
+
# current Region and this value is set to true, shadow trails
|
4724
|
+
# (replications of the trail) will be created in the other Regions. If
|
4725
|
+
# the trail exists in all Regions and this value is set to false, the
|
4726
|
+
# trail will remain in the Region where it was created, and its shadow
|
4727
|
+
# trails in other Regions will be deleted. As a best practice,
|
4728
|
+
# consider using trails that log events in all Regions.
|
4640
4729
|
# @return [Boolean]
|
4641
4730
|
#
|
4642
4731
|
# @!attribute [rw] enable_log_file_validation
|
@@ -4751,7 +4840,7 @@ module Aws::CloudTrail
|
|
4751
4840
|
# @return [String]
|
4752
4841
|
#
|
4753
4842
|
# @!attribute [rw] sns_topic_name
|
4754
|
-
# This field is no longer in use. Use
|
4843
|
+
# This field is no longer in use. Use `SnsTopicARN`.
|
4755
4844
|
# @return [String]
|
4756
4845
|
#
|
4757
4846
|
# @!attribute [rw] sns_topic_arn
|
@@ -4768,7 +4857,7 @@ module Aws::CloudTrail
|
|
4768
4857
|
# @return [Boolean]
|
4769
4858
|
#
|
4770
4859
|
# @!attribute [rw] is_multi_region_trail
|
4771
|
-
# Specifies whether the trail exists in one
|
4860
|
+
# Specifies whether the trail exists in one Region or in all Regions.
|
4772
4861
|
# @return [Boolean]
|
4773
4862
|
#
|
4774
4863
|
# @!attribute [rw] trail_arn
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudtrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.62.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|