aws-sdk-cloudtrail 1.54.0 → 1.56.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +2 -2
- data/lib/aws-sdk-cloudtrail/client_api.rb +16 -1
- data/lib/aws-sdk-cloudtrail/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-cloudtrail/endpoint_provider.rb +41 -104
- data/lib/aws-sdk-cloudtrail/types.rb +0 -526
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee9474aa9c5d42dae4e704edc202fc8bf703b0186c18eba525ec0a2813d92f8c
|
4
|
+
data.tar.gz: 875fc19ad2831ad5bd7b97ef2ccadb6971fcc60beaf2828ebf2356a2bb037915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d8b0fabe2eccb98367d6ee42d86d33ff877635d5cafd4b3a3139e827fac4323435829a46ec07038f104f472bec45b5be93d8cd5d77644cd5e262a452c786dea
|
7
|
+
data.tar.gz: 2dd5688fecc89087e417ee82b17e3a81631980d2e6816e7e49549b4e4aa109600e4d0591e8e16a9306ce844d3a897876379ad2f3a74502e134594193eac323a6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.56.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.55.0 (2022-12-13)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Merging mainline branch for service model into mainline release branch. There are no new APIs.
|
15
|
+
|
4
16
|
1.54.0 (2022-11-07)
|
5
17
|
------------------
|
6
18
|
|
@@ -348,4 +360,4 @@ Unreleased Changes
|
|
348
360
|
1.0.0.rc1 (2016-12-05)
|
349
361
|
------------------
|
350
362
|
|
351
|
-
* Feature - Initial preview release of the `aws-sdk-cloudtrail` gem.
|
363
|
+
* Feature - Initial preview release of the `aws-sdk-cloudtrail` gem.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.56.0
|
@@ -2006,7 +2006,7 @@ module Aws::CloudTrail
|
|
2006
2006
|
# lookup_attributes: [
|
2007
2007
|
# {
|
2008
2008
|
# attribute_key: "EventId", # required, accepts EventId, EventName, ReadOnly, Username, ResourceType, ResourceName, EventSource, AccessKeyId
|
2009
|
-
# attribute_value: "
|
2009
|
+
# attribute_value: "LookupAttributeValue", # required
|
2010
2010
|
# },
|
2011
2011
|
# ],
|
2012
2012
|
# start_time: Time.now,
|
@@ -2985,7 +2985,7 @@ module Aws::CloudTrail
|
|
2985
2985
|
params: params,
|
2986
2986
|
config: config)
|
2987
2987
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
2988
|
-
context[:gem_version] = '1.
|
2988
|
+
context[:gem_version] = '1.56.0'
|
2989
2989
|
Seahorse::Client::Request.new(handlers, context)
|
2990
2990
|
end
|
2991
2991
|
|
@@ -173,6 +173,7 @@ module Aws::CloudTrail
|
|
173
173
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
174
174
|
LookupAttribute = Shapes::StructureShape.new(name: 'LookupAttribute')
|
175
175
|
LookupAttributeKey = Shapes::StringShape.new(name: 'LookupAttributeKey')
|
176
|
+
LookupAttributeValue = Shapes::StringShape.new(name: 'LookupAttributeValue')
|
176
177
|
LookupAttributesList = Shapes::ListShape.new(name: 'LookupAttributesList')
|
177
178
|
LookupEventsRequest = Shapes::StructureShape.new(name: 'LookupEventsRequest')
|
178
179
|
LookupEventsResponse = Shapes::StructureShape.new(name: 'LookupEventsResponse')
|
@@ -750,7 +751,7 @@ module Aws::CloudTrail
|
|
750
751
|
ListTrailsResponse.struct_class = Types::ListTrailsResponse
|
751
752
|
|
752
753
|
LookupAttribute.add_member(:attribute_key, Shapes::ShapeRef.new(shape: LookupAttributeKey, required: true, location_name: "AttributeKey"))
|
753
|
-
LookupAttribute.add_member(:attribute_value, Shapes::ShapeRef.new(shape:
|
754
|
+
LookupAttribute.add_member(:attribute_value, Shapes::ShapeRef.new(shape: LookupAttributeValue, required: true, location_name: "AttributeValue"))
|
754
755
|
LookupAttribute.struct_class = Types::LookupAttribute
|
755
756
|
|
756
757
|
LookupAttributesList.member = Shapes::ShapeRef.new(shape: LookupAttribute)
|
@@ -1105,6 +1106,7 @@ module Aws::CloudTrail
|
|
1105
1106
|
o.output = Shapes::ShapeRef.new(shape: CreateEventDataStoreResponse)
|
1106
1107
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreAlreadyExistsException)
|
1107
1108
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreMaxLimitExceededException)
|
1109
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
|
1108
1110
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1109
1111
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
1110
1112
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
@@ -1140,6 +1142,7 @@ module Aws::CloudTrail
|
|
1140
1142
|
o.errors << Shapes::ShapeRef.new(shape: InvalidKmsKeyIdException)
|
1141
1143
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1142
1144
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotProvidedException)
|
1145
|
+
o.errors << Shapes::ShapeRef.new(shape: TagsLimitExceededException)
|
1143
1146
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1144
1147
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
|
1145
1148
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyDisabledException)
|
@@ -1170,6 +1173,7 @@ module Aws::CloudTrail
|
|
1170
1173
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1171
1174
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreTerminationProtectedException)
|
1172
1175
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreHasOngoingImportException)
|
1176
|
+
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1173
1177
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1174
1178
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1175
1179
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
@@ -1186,6 +1190,7 @@ module Aws::CloudTrail
|
|
1186
1190
|
o.output = Shapes::ShapeRef.new(shape: DeleteTrailResponse)
|
1187
1191
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1188
1192
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1193
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1189
1194
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1190
1195
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1191
1196
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
@@ -1275,6 +1280,7 @@ module Aws::CloudTrail
|
|
1275
1280
|
o.output = Shapes::ShapeRef.new(shape: GetEventSelectorsResponse)
|
1276
1281
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1277
1282
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1283
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1278
1284
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1279
1285
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1280
1286
|
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
|
@@ -1300,6 +1306,7 @@ module Aws::CloudTrail
|
|
1300
1306
|
o.output = Shapes::ShapeRef.new(shape: GetInsightSelectorsResponse)
|
1301
1307
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1302
1308
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1309
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1303
1310
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1304
1311
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1305
1312
|
o.errors << Shapes::ShapeRef.new(shape: InsightNotEnabledException)
|
@@ -1336,6 +1343,7 @@ module Aws::CloudTrail
|
|
1336
1343
|
o.http_request_uri = "/"
|
1337
1344
|
o.input = Shapes::ShapeRef.new(shape: GetTrailRequest)
|
1338
1345
|
o.output = Shapes::ShapeRef.new(shape: GetTrailResponse)
|
1346
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1339
1347
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1340
1348
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1341
1349
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
@@ -1348,6 +1356,7 @@ module Aws::CloudTrail
|
|
1348
1356
|
o.http_request_uri = "/"
|
1349
1357
|
o.input = Shapes::ShapeRef.new(shape: GetTrailStatusRequest)
|
1350
1358
|
o.output = Shapes::ShapeRef.new(shape: GetTrailStatusResponse)
|
1359
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1351
1360
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1352
1361
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1353
1362
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
@@ -1535,6 +1544,7 @@ module Aws::CloudTrail
|
|
1535
1544
|
o.output = Shapes::ShapeRef.new(shape: PutEventSelectorsResponse)
|
1536
1545
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1537
1546
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1547
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1538
1548
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1539
1549
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
|
1540
1550
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
@@ -1552,6 +1562,7 @@ module Aws::CloudTrail
|
|
1552
1562
|
o.output = Shapes::ShapeRef.new(shape: PutInsightSelectorsResponse)
|
1553
1563
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1554
1564
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1565
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1555
1566
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1556
1567
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInsightSelectorsException)
|
1557
1568
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyException)
|
@@ -1651,6 +1662,7 @@ module Aws::CloudTrail
|
|
1651
1662
|
o.http_request_uri = "/"
|
1652
1663
|
o.input = Shapes::ShapeRef.new(shape: StartLoggingRequest)
|
1653
1664
|
o.output = Shapes::ShapeRef.new(shape: StartLoggingResponse)
|
1665
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1654
1666
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1655
1667
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1656
1668
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
@@ -1703,6 +1715,7 @@ module Aws::CloudTrail
|
|
1703
1715
|
o.output = Shapes::ShapeRef.new(shape: StopLoggingResponse)
|
1704
1716
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
|
1705
1717
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1718
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1706
1719
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1707
1720
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1708
1721
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
@@ -1719,6 +1732,7 @@ module Aws::CloudTrail
|
|
1719
1732
|
o.output = Shapes::ShapeRef.new(shape: UpdateEventDataStoreResponse)
|
1720
1733
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
|
1721
1734
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
|
1735
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
|
1722
1736
|
o.errors << Shapes::ShapeRef.new(shape: EventDataStoreHasOngoingImportException)
|
1723
1737
|
o.errors << Shapes::ShapeRef.new(shape: InactiveEventDataStoreException)
|
1724
1738
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
@@ -1754,6 +1768,7 @@ module Aws::CloudTrail
|
|
1754
1768
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
|
1755
1769
|
o.errors << Shapes::ShapeRef.new(shape: TrailNotProvidedException)
|
1756
1770
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
|
1771
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
|
1757
1772
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1758
1773
|
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
|
1759
1774
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
|
@@ -50,6 +50,9 @@ module Aws::CloudTrail
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,112 +9,49 @@
|
|
9
9
|
|
10
10
|
module Aws::CloudTrail
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
44
|
+
end
|
45
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
46
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
47
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
48
|
+
end
|
49
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
50
|
+
end
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
52
|
end
|
22
|
-
|
23
|
-
end
|
53
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
54
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
55
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
|
42
|
-
dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
|
43
|
-
UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJ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biI6ImdldEF0dHIiLCJhcmd2
|
106
|
-
IjpbeyJyZWYiOiJQYXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3Rh
|
107
|
-
Y2siXX1dfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMi
|
108
|
-
OltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2Nsb3VkdHJhaWwue1Jl
|
109
|
-
Z2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9Iiwi
|
110
|
-
cHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50
|
111
|
-
In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBl
|
112
|
-
bmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1
|
113
|
-
YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwi
|
114
|
-
ZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9jbG91ZHRyYWlsLntSZWdpb259
|
115
|
-
LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9
|
116
|
-
LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
117
|
-
|
118
|
-
JSON
|
119
56
|
end
|
120
57
|
end
|
@@ -40,19 +40,6 @@ module Aws::CloudTrail
|
|
40
40
|
|
41
41
|
# Specifies the tags to add to a trail or event data store.
|
42
42
|
#
|
43
|
-
# @note When making an API call, you may pass AddTagsRequest
|
44
|
-
# data as a hash:
|
45
|
-
#
|
46
|
-
# {
|
47
|
-
# resource_id: "String", # required
|
48
|
-
# tags_list: [ # required
|
49
|
-
# {
|
50
|
-
# key: "TagKey", # required
|
51
|
-
# value: "TagValue",
|
52
|
-
# },
|
53
|
-
# ],
|
54
|
-
# }
|
55
|
-
#
|
56
43
|
# @!attribute [rw] resource_id
|
57
44
|
# Specifies the ARN of the trail or event data store to which one or
|
58
45
|
# more tags will be added. The format of a trail ARN is:
|
@@ -105,24 +92,6 @@ module Aws::CloudTrail
|
|
105
92
|
#
|
106
93
|
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html
|
107
94
|
#
|
108
|
-
# @note When making an API call, you may pass AdvancedEventSelector
|
109
|
-
# data as a hash:
|
110
|
-
#
|
111
|
-
# {
|
112
|
-
# name: "SelectorName",
|
113
|
-
# field_selectors: [ # required
|
114
|
-
# {
|
115
|
-
# field: "SelectorField", # required
|
116
|
-
# equals: ["OperatorValue"],
|
117
|
-
# starts_with: ["OperatorValue"],
|
118
|
-
# ends_with: ["OperatorValue"],
|
119
|
-
# not_equals: ["OperatorValue"],
|
120
|
-
# not_starts_with: ["OperatorValue"],
|
121
|
-
# not_ends_with: ["OperatorValue"],
|
122
|
-
# },
|
123
|
-
# ],
|
124
|
-
# }
|
125
|
-
#
|
126
95
|
# @!attribute [rw] name
|
127
96
|
# An optional, descriptive name for an advanced event selector, such
|
128
97
|
# as "Log data events for only two S3 buckets".
|
@@ -143,19 +112,6 @@ module Aws::CloudTrail
|
|
143
112
|
|
144
113
|
# A single selector statement in an advanced event selector.
|
145
114
|
#
|
146
|
-
# @note When making an API call, you may pass AdvancedFieldSelector
|
147
|
-
# data as a hash:
|
148
|
-
#
|
149
|
-
# {
|
150
|
-
# field: "SelectorField", # required
|
151
|
-
# equals: ["OperatorValue"],
|
152
|
-
# starts_with: ["OperatorValue"],
|
153
|
-
# ends_with: ["OperatorValue"],
|
154
|
-
# not_equals: ["OperatorValue"],
|
155
|
-
# not_starts_with: ["OperatorValue"],
|
156
|
-
# not_ends_with: ["OperatorValue"],
|
157
|
-
# }
|
158
|
-
#
|
159
115
|
# @!attribute [rw] field
|
160
116
|
# A field in an event record on which to filter events to be logged.
|
161
117
|
# Supported fields include `readOnly`, `eventCategory`, `eventSource`
|
@@ -346,14 +302,6 @@ module Aws::CloudTrail
|
|
346
302
|
include Aws::Structure
|
347
303
|
end
|
348
304
|
|
349
|
-
# @note When making an API call, you may pass CancelQueryRequest
|
350
|
-
# data as a hash:
|
351
|
-
#
|
352
|
-
# {
|
353
|
-
# event_data_store: "EventDataStoreArn",
|
354
|
-
# query_id: "UUID", # required
|
355
|
-
# }
|
356
|
-
#
|
357
305
|
# @!attribute [rw] event_data_store
|
358
306
|
# The ARN (or the ID suffix of the ARN) of an event data store on
|
359
307
|
# which the specified query is running.
|
@@ -482,40 +430,6 @@ module Aws::CloudTrail
|
|
482
430
|
#
|
483
431
|
class ConflictException < Aws::EmptyStructure; end
|
484
432
|
|
485
|
-
# @note When making an API call, you may pass CreateEventDataStoreRequest
|
486
|
-
# data as a hash:
|
487
|
-
#
|
488
|
-
# {
|
489
|
-
# name: "EventDataStoreName", # required
|
490
|
-
# advanced_event_selectors: [
|
491
|
-
# {
|
492
|
-
# name: "SelectorName",
|
493
|
-
# field_selectors: [ # required
|
494
|
-
# {
|
495
|
-
# field: "SelectorField", # required
|
496
|
-
# equals: ["OperatorValue"],
|
497
|
-
# starts_with: ["OperatorValue"],
|
498
|
-
# ends_with: ["OperatorValue"],
|
499
|
-
# not_equals: ["OperatorValue"],
|
500
|
-
# not_starts_with: ["OperatorValue"],
|
501
|
-
# not_ends_with: ["OperatorValue"],
|
502
|
-
# },
|
503
|
-
# ],
|
504
|
-
# },
|
505
|
-
# ],
|
506
|
-
# multi_region_enabled: false,
|
507
|
-
# organization_enabled: false,
|
508
|
-
# retention_period: 1,
|
509
|
-
# termination_protection_enabled: false,
|
510
|
-
# tags_list: [
|
511
|
-
# {
|
512
|
-
# key: "TagKey", # required
|
513
|
-
# value: "TagValue",
|
514
|
-
# },
|
515
|
-
# ],
|
516
|
-
# kms_key_id: "EventDataStoreKmsKeyId",
|
517
|
-
# }
|
518
|
-
#
|
519
433
|
# @!attribute [rw] name
|
520
434
|
# The name of the event data store.
|
521
435
|
# @return [String]
|
@@ -685,29 +599,6 @@ module Aws::CloudTrail
|
|
685
599
|
|
686
600
|
# Specifies the settings for each trail.
|
687
601
|
#
|
688
|
-
# @note When making an API call, you may pass CreateTrailRequest
|
689
|
-
# data as a hash:
|
690
|
-
#
|
691
|
-
# {
|
692
|
-
# name: "String", # required
|
693
|
-
# s3_bucket_name: "String", # required
|
694
|
-
# s3_key_prefix: "String",
|
695
|
-
# sns_topic_name: "String",
|
696
|
-
# include_global_service_events: false,
|
697
|
-
# is_multi_region_trail: false,
|
698
|
-
# enable_log_file_validation: false,
|
699
|
-
# cloud_watch_logs_log_group_arn: "String",
|
700
|
-
# cloud_watch_logs_role_arn: "String",
|
701
|
-
# kms_key_id: "String",
|
702
|
-
# is_organization_trail: false,
|
703
|
-
# tags_list: [
|
704
|
-
# {
|
705
|
-
# key: "TagKey", # required
|
706
|
-
# value: "TagValue",
|
707
|
-
# },
|
708
|
-
# ],
|
709
|
-
# }
|
710
|
-
#
|
711
602
|
# @!attribute [rw] name
|
712
603
|
# Specifies the name of the trail. The name must meet the following
|
713
604
|
# requirements:
|
@@ -1000,14 +891,6 @@ module Aws::CloudTrail
|
|
1000
891
|
# *MyOtherLambdaFunction* does not match the function specified for
|
1001
892
|
# the trail. The trail doesn’t log the event.
|
1002
893
|
#
|
1003
|
-
# @note When making an API call, you may pass DataResource
|
1004
|
-
# data as a hash:
|
1005
|
-
#
|
1006
|
-
# {
|
1007
|
-
# type: "String",
|
1008
|
-
# values: ["String"],
|
1009
|
-
# }
|
1010
|
-
#
|
1011
894
|
# @!attribute [rw] type
|
1012
895
|
# The resource type in which you want to log data events. You can
|
1013
896
|
# specify the following *basic* event selector resource types:
|
@@ -1106,13 +989,6 @@ module Aws::CloudTrail
|
|
1106
989
|
#
|
1107
990
|
class DelegatedAdminAccountLimitExceededException < Aws::EmptyStructure; end
|
1108
991
|
|
1109
|
-
# @note When making an API call, you may pass DeleteEventDataStoreRequest
|
1110
|
-
# data as a hash:
|
1111
|
-
#
|
1112
|
-
# {
|
1113
|
-
# event_data_store: "EventDataStoreArn", # required
|
1114
|
-
# }
|
1115
|
-
#
|
1116
992
|
# @!attribute [rw] event_data_store
|
1117
993
|
# The ARN (or the ID suffix of the ARN) of the event data store to
|
1118
994
|
# delete.
|
@@ -1132,13 +1008,6 @@ module Aws::CloudTrail
|
|
1132
1008
|
|
1133
1009
|
# The request that specifies the name of a trail to delete.
|
1134
1010
|
#
|
1135
|
-
# @note When making an API call, you may pass DeleteTrailRequest
|
1136
|
-
# data as a hash:
|
1137
|
-
#
|
1138
|
-
# {
|
1139
|
-
# name: "String", # required
|
1140
|
-
# }
|
1141
|
-
#
|
1142
1011
|
# @!attribute [rw] name
|
1143
1012
|
# Specifies the name or the CloudTrail ARN of the trail to be deleted.
|
1144
1013
|
# The following is the format of a trail ARN.
|
@@ -1164,13 +1033,6 @@ module Aws::CloudTrail
|
|
1164
1033
|
# specified member account in an organization that is currently
|
1165
1034
|
# designated as a delegated administrator.
|
1166
1035
|
#
|
1167
|
-
# @note When making an API call, you may pass DeregisterOrganizationDelegatedAdminRequest
|
1168
|
-
# data as a hash:
|
1169
|
-
#
|
1170
|
-
# {
|
1171
|
-
# delegated_admin_account_id: "AccountId", # required
|
1172
|
-
# }
|
1173
|
-
#
|
1174
1036
|
# @!attribute [rw] delegated_admin_account_id
|
1175
1037
|
# A delegated administrator account ID. This is a member account in an
|
1176
1038
|
# organization that is currently designated as a delegated
|
@@ -1192,14 +1054,6 @@ module Aws::CloudTrail
|
|
1192
1054
|
#
|
1193
1055
|
class DeregisterOrganizationDelegatedAdminResponse < Aws::EmptyStructure; end
|
1194
1056
|
|
1195
|
-
# @note When making an API call, you may pass DescribeQueryRequest
|
1196
|
-
# data as a hash:
|
1197
|
-
#
|
1198
|
-
# {
|
1199
|
-
# event_data_store: "EventDataStoreArn",
|
1200
|
-
# query_id: "UUID", # required
|
1201
|
-
# }
|
1202
|
-
#
|
1203
1057
|
# @!attribute [rw] event_data_store
|
1204
1058
|
# The ARN (or the ID suffix of the ARN) of an event data store on
|
1205
1059
|
# which the specified query was run.
|
@@ -1266,14 +1120,6 @@ module Aws::CloudTrail
|
|
1266
1120
|
|
1267
1121
|
# Returns information about the trail.
|
1268
1122
|
#
|
1269
|
-
# @note When making an API call, you may pass DescribeTrailsRequest
|
1270
|
-
# data as a hash:
|
1271
|
-
#
|
1272
|
-
# {
|
1273
|
-
# trail_name_list: ["String"],
|
1274
|
-
# include_shadow_trails: false,
|
1275
|
-
# }
|
1276
|
-
#
|
1277
1123
|
# @!attribute [rw] trail_name_list
|
1278
1124
|
# Specifies a list of trail names, trail ARNs, or both, of the trails
|
1279
1125
|
# to describe. The format of a trail ARN is:
|
@@ -1547,21 +1393,6 @@ module Aws::CloudTrail
|
|
1547
1393
|
# You cannot apply both event selectors and advanced event selectors to
|
1548
1394
|
# a trail.
|
1549
1395
|
#
|
1550
|
-
# @note When making an API call, you may pass EventSelector
|
1551
|
-
# data as a hash:
|
1552
|
-
#
|
1553
|
-
# {
|
1554
|
-
# read_write_type: "ReadOnly", # accepts ReadOnly, WriteOnly, All
|
1555
|
-
# include_management_events: false,
|
1556
|
-
# data_resources: [
|
1557
|
-
# {
|
1558
|
-
# type: "String",
|
1559
|
-
# values: ["String"],
|
1560
|
-
# },
|
1561
|
-
# ],
|
1562
|
-
# exclude_management_event_sources: ["String"],
|
1563
|
-
# }
|
1564
|
-
#
|
1565
1396
|
# @!attribute [rw] read_write_type
|
1566
1397
|
# Specify if you want your trail to log read-only events, write-only
|
1567
1398
|
# events, or all. For example, the EC2 `GetConsoleOutput` is a
|
@@ -1630,13 +1461,6 @@ module Aws::CloudTrail
|
|
1630
1461
|
include Aws::Structure
|
1631
1462
|
end
|
1632
1463
|
|
1633
|
-
# @note When making an API call, you may pass GetChannelRequest
|
1634
|
-
# data as a hash:
|
1635
|
-
#
|
1636
|
-
# {
|
1637
|
-
# channel: "ChannelArn", # required
|
1638
|
-
# }
|
1639
|
-
#
|
1640
1464
|
# @!attribute [rw] channel
|
1641
1465
|
# The ARN or `UUID` of a channel.
|
1642
1466
|
# @return [String]
|
@@ -1688,13 +1512,6 @@ module Aws::CloudTrail
|
|
1688
1512
|
include Aws::Structure
|
1689
1513
|
end
|
1690
1514
|
|
1691
|
-
# @note When making an API call, you may pass GetEventDataStoreRequest
|
1692
|
-
# data as a hash:
|
1693
|
-
#
|
1694
|
-
# {
|
1695
|
-
# event_data_store: "EventDataStoreArn", # required
|
1696
|
-
# }
|
1697
|
-
#
|
1698
1515
|
# @!attribute [rw] event_data_store
|
1699
1516
|
# The ARN (or ID suffix of the ARN) of the event data store about
|
1700
1517
|
# which you want information.
|
@@ -1780,13 +1597,6 @@ module Aws::CloudTrail
|
|
1780
1597
|
include Aws::Structure
|
1781
1598
|
end
|
1782
1599
|
|
1783
|
-
# @note When making an API call, you may pass GetEventSelectorsRequest
|
1784
|
-
# data as a hash:
|
1785
|
-
#
|
1786
|
-
# {
|
1787
|
-
# trail_name: "String", # required
|
1788
|
-
# }
|
1789
|
-
#
|
1790
1600
|
# @!attribute [rw] trail_name
|
1791
1601
|
# Specifies the name of the trail or trail ARN. If you specify a trail
|
1792
1602
|
# name, the string must meet the following requirements:
|
@@ -1838,13 +1648,6 @@ module Aws::CloudTrail
|
|
1838
1648
|
include Aws::Structure
|
1839
1649
|
end
|
1840
1650
|
|
1841
|
-
# @note When making an API call, you may pass GetImportRequest
|
1842
|
-
# data as a hash:
|
1843
|
-
#
|
1844
|
-
# {
|
1845
|
-
# import_id: "UUID", # required
|
1846
|
-
# }
|
1847
|
-
#
|
1848
1651
|
# @!attribute [rw] import_id
|
1849
1652
|
# The ID for the import.
|
1850
1653
|
# @return [String]
|
@@ -1917,13 +1720,6 @@ module Aws::CloudTrail
|
|
1917
1720
|
include Aws::Structure
|
1918
1721
|
end
|
1919
1722
|
|
1920
|
-
# @note When making an API call, you may pass GetInsightSelectorsRequest
|
1921
|
-
# data as a hash:
|
1922
|
-
#
|
1923
|
-
# {
|
1924
|
-
# trail_name: "String", # required
|
1925
|
-
# }
|
1926
|
-
#
|
1927
1723
|
# @!attribute [rw] trail_name
|
1928
1724
|
# Specifies the name of the trail or trail ARN. If you specify a trail
|
1929
1725
|
# name, the string must meet the following requirements:
|
@@ -1973,16 +1769,6 @@ module Aws::CloudTrail
|
|
1973
1769
|
include Aws::Structure
|
1974
1770
|
end
|
1975
1771
|
|
1976
|
-
# @note When making an API call, you may pass GetQueryResultsRequest
|
1977
|
-
# data as a hash:
|
1978
|
-
#
|
1979
|
-
# {
|
1980
|
-
# event_data_store: "EventDataStoreArn",
|
1981
|
-
# query_id: "UUID", # required
|
1982
|
-
# next_token: "PaginationToken",
|
1983
|
-
# max_query_results: 1,
|
1984
|
-
# }
|
1985
|
-
#
|
1986
1772
|
# @!attribute [rw] event_data_store
|
1987
1773
|
# The ARN (or ID suffix of the ARN) of the event data store against
|
1988
1774
|
# which the query was run.
|
@@ -2044,13 +1830,6 @@ module Aws::CloudTrail
|
|
2044
1830
|
include Aws::Structure
|
2045
1831
|
end
|
2046
1832
|
|
2047
|
-
# @note When making an API call, you may pass GetTrailRequest
|
2048
|
-
# data as a hash:
|
2049
|
-
#
|
2050
|
-
# {
|
2051
|
-
# name: "String", # required
|
2052
|
-
# }
|
2053
|
-
#
|
2054
1833
|
# @!attribute [rw] name
|
2055
1834
|
# The name or the Amazon Resource Name (ARN) of the trail for which
|
2056
1835
|
# you want to retrieve settings information.
|
@@ -2078,13 +1857,6 @@ module Aws::CloudTrail
|
|
2078
1857
|
|
2079
1858
|
# The name of a trail about which you want the current status.
|
2080
1859
|
#
|
2081
|
-
# @note When making an API call, you may pass GetTrailStatusRequest
|
2082
|
-
# data as a hash:
|
2083
|
-
#
|
2084
|
-
# {
|
2085
|
-
# name: "String", # required
|
2086
|
-
# }
|
2087
|
-
#
|
2088
1860
|
# @!attribute [rw] name
|
2089
1861
|
# Specifies the name or the CloudTrail ARN of the trail for which you
|
2090
1862
|
# are requesting status. To get the status of a shadow trail (a
|
@@ -2284,17 +2056,6 @@ module Aws::CloudTrail
|
|
2284
2056
|
|
2285
2057
|
# The import source.
|
2286
2058
|
#
|
2287
|
-
# @note When making an API call, you may pass ImportSource
|
2288
|
-
# data as a hash:
|
2289
|
-
#
|
2290
|
-
# {
|
2291
|
-
# s3: { # required
|
2292
|
-
# s3_location_uri: "String", # required
|
2293
|
-
# s3_bucket_region: "String", # required
|
2294
|
-
# s3_bucket_access_role_arn: "String", # required
|
2295
|
-
# },
|
2296
|
-
# }
|
2297
|
-
#
|
2298
2059
|
# @!attribute [rw] s3
|
2299
2060
|
# The source S3 bucket.
|
2300
2061
|
# @return [Types::S3ImportSource]
|
@@ -2404,13 +2165,6 @@ module Aws::CloudTrail
|
|
2404
2165
|
# A JSON string that contains a list of insight types that are logged on
|
2405
2166
|
# a trail.
|
2406
2167
|
#
|
2407
|
-
# @note When making an API call, you may pass InsightSelector
|
2408
|
-
# data as a hash:
|
2409
|
-
#
|
2410
|
-
# {
|
2411
|
-
# insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight, ApiErrorRateInsight
|
2412
|
-
# }
|
2413
|
-
#
|
2414
2168
|
# @!attribute [rw] insight_type
|
2415
2169
|
# The type of insights to log on a trail. `ApiCallRateInsight` and
|
2416
2170
|
# `ApiErrorRateInsight` are valid insight types.
|
@@ -2693,14 +2447,6 @@ module Aws::CloudTrail
|
|
2693
2447
|
#
|
2694
2448
|
class KmsKeyNotFoundException < Aws::EmptyStructure; end
|
2695
2449
|
|
2696
|
-
# @note When making an API call, you may pass ListChannelsRequest
|
2697
|
-
# data as a hash:
|
2698
|
-
#
|
2699
|
-
# {
|
2700
|
-
# max_results: 1,
|
2701
|
-
# next_token: "PaginationToken",
|
2702
|
-
# }
|
2703
|
-
#
|
2704
2450
|
# @!attribute [rw] max_results
|
2705
2451
|
# The maximum number of CloudTrail channels to display on a single
|
2706
2452
|
# page.
|
@@ -2742,14 +2488,6 @@ module Aws::CloudTrail
|
|
2742
2488
|
include Aws::Structure
|
2743
2489
|
end
|
2744
2490
|
|
2745
|
-
# @note When making an API call, you may pass ListEventDataStoresRequest
|
2746
|
-
# data as a hash:
|
2747
|
-
#
|
2748
|
-
# {
|
2749
|
-
# next_token: "PaginationToken",
|
2750
|
-
# max_results: 1,
|
2751
|
-
# }
|
2752
|
-
#
|
2753
2491
|
# @!attribute [rw] next_token
|
2754
2492
|
# A token you can use to get the next page of event data store
|
2755
2493
|
# results.
|
@@ -2786,15 +2524,6 @@ module Aws::CloudTrail
|
|
2786
2524
|
include Aws::Structure
|
2787
2525
|
end
|
2788
2526
|
|
2789
|
-
# @note When making an API call, you may pass ListImportFailuresRequest
|
2790
|
-
# data as a hash:
|
2791
|
-
#
|
2792
|
-
# {
|
2793
|
-
# import_id: "UUID", # required
|
2794
|
-
# max_results: 1,
|
2795
|
-
# next_token: "PaginationToken",
|
2796
|
-
# }
|
2797
|
-
#
|
2798
2527
|
# @!attribute [rw] import_id
|
2799
2528
|
# The ID of the import.
|
2800
2529
|
# @return [String]
|
@@ -2834,16 +2563,6 @@ module Aws::CloudTrail
|
|
2834
2563
|
include Aws::Structure
|
2835
2564
|
end
|
2836
2565
|
|
2837
|
-
# @note When making an API call, you may pass ListImportsRequest
|
2838
|
-
# data as a hash:
|
2839
|
-
#
|
2840
|
-
# {
|
2841
|
-
# max_results: 1,
|
2842
|
-
# destination: "EventDataStoreArn",
|
2843
|
-
# import_status: "INITIALIZING", # accepts INITIALIZING, IN_PROGRESS, FAILED, STOPPED, COMPLETED
|
2844
|
-
# next_token: "PaginationToken",
|
2845
|
-
# }
|
2846
|
-
#
|
2847
2566
|
# @!attribute [rw] max_results
|
2848
2567
|
# The maximum number of imports to display on a single page.
|
2849
2568
|
# @return [Integer]
|
@@ -2890,15 +2609,6 @@ module Aws::CloudTrail
|
|
2890
2609
|
|
2891
2610
|
# Requests the public keys for a specified time range.
|
2892
2611
|
#
|
2893
|
-
# @note When making an API call, you may pass ListPublicKeysRequest
|
2894
|
-
# data as a hash:
|
2895
|
-
#
|
2896
|
-
# {
|
2897
|
-
# start_time: Time.now,
|
2898
|
-
# end_time: Time.now,
|
2899
|
-
# next_token: "String",
|
2900
|
-
# }
|
2901
|
-
#
|
2902
2612
|
# @!attribute [rw] start_time
|
2903
2613
|
# Optionally specifies, in UTC, the start of the time range to look up
|
2904
2614
|
# public keys for CloudTrail digest files. If not specified, the
|
@@ -2949,18 +2659,6 @@ module Aws::CloudTrail
|
|
2949
2659
|
include Aws::Structure
|
2950
2660
|
end
|
2951
2661
|
|
2952
|
-
# @note When making an API call, you may pass ListQueriesRequest
|
2953
|
-
# data as a hash:
|
2954
|
-
#
|
2955
|
-
# {
|
2956
|
-
# event_data_store: "EventDataStoreArn", # required
|
2957
|
-
# next_token: "PaginationToken",
|
2958
|
-
# max_results: 1,
|
2959
|
-
# start_time: Time.now,
|
2960
|
-
# end_time: Time.now,
|
2961
|
-
# query_status: "QUEUED", # accepts QUEUED, RUNNING, FINISHED, FAILED, CANCELLED, TIMED_OUT
|
2962
|
-
# }
|
2963
|
-
#
|
2964
2662
|
# @!attribute [rw] event_data_store
|
2965
2663
|
# The ARN (or the ID suffix of the ARN) of an event data store on
|
2966
2664
|
# which queries were run.
|
@@ -3023,14 +2721,6 @@ module Aws::CloudTrail
|
|
3023
2721
|
|
3024
2722
|
# Specifies a list of tags to return.
|
3025
2723
|
#
|
3026
|
-
# @note When making an API call, you may pass ListTagsRequest
|
3027
|
-
# data as a hash:
|
3028
|
-
#
|
3029
|
-
# {
|
3030
|
-
# resource_id_list: ["String"], # required
|
3031
|
-
# next_token: "String",
|
3032
|
-
# }
|
3033
|
-
#
|
3034
2724
|
# @!attribute [rw] resource_id_list
|
3035
2725
|
# Specifies a list of trail and event data store ARNs whose tags will
|
3036
2726
|
# be listed. The list has a limit of 20 ARNs.
|
@@ -3069,13 +2759,6 @@ module Aws::CloudTrail
|
|
3069
2759
|
include Aws::Structure
|
3070
2760
|
end
|
3071
2761
|
|
3072
|
-
# @note When making an API call, you may pass ListTrailsRequest
|
3073
|
-
# data as a hash:
|
3074
|
-
#
|
3075
|
-
# {
|
3076
|
-
# next_token: "String",
|
3077
|
-
# }
|
3078
|
-
#
|
3079
2762
|
# @!attribute [rw] next_token
|
3080
2763
|
# The token to use to get the next page of results after a previous
|
3081
2764
|
# API call. This token must be passed in with the same parameters that
|
@@ -3118,14 +2801,6 @@ module Aws::CloudTrail
|
|
3118
2801
|
|
3119
2802
|
# Specifies an attribute and value that filter the events returned.
|
3120
2803
|
#
|
3121
|
-
# @note When making an API call, you may pass LookupAttribute
|
3122
|
-
# data as a hash:
|
3123
|
-
#
|
3124
|
-
# {
|
3125
|
-
# attribute_key: "EventId", # required, accepts EventId, EventName, ReadOnly, Username, ResourceType, ResourceName, EventSource, AccessKeyId
|
3126
|
-
# attribute_value: "String", # required
|
3127
|
-
# }
|
3128
|
-
#
|
3129
2804
|
# @!attribute [rw] attribute_key
|
3130
2805
|
# Specifies an attribute on which to filter the events returned.
|
3131
2806
|
# @return [String]
|
@@ -3145,23 +2820,6 @@ module Aws::CloudTrail
|
|
3145
2820
|
|
3146
2821
|
# Contains a request for LookupEvents.
|
3147
2822
|
#
|
3148
|
-
# @note When making an API call, you may pass LookupEventsRequest
|
3149
|
-
# data as a hash:
|
3150
|
-
#
|
3151
|
-
# {
|
3152
|
-
# lookup_attributes: [
|
3153
|
-
# {
|
3154
|
-
# attribute_key: "EventId", # required, accepts EventId, EventName, ReadOnly, Username, ResourceType, ResourceName, EventSource, AccessKeyId
|
3155
|
-
# attribute_value: "String", # required
|
3156
|
-
# },
|
3157
|
-
# ],
|
3158
|
-
# start_time: Time.now,
|
3159
|
-
# end_time: Time.now,
|
3160
|
-
# event_category: "insight", # accepts insight
|
3161
|
-
# max_results: 1,
|
3162
|
-
# next_token: "NextToken",
|
3163
|
-
# }
|
3164
|
-
#
|
3165
2823
|
# @!attribute [rw] lookup_attributes
|
3166
2824
|
# Contains a list of lookup attributes. Currently the list can contain
|
3167
2825
|
# only one item.
|
@@ -3334,42 +2992,6 @@ module Aws::CloudTrail
|
|
3334
2992
|
include Aws::Structure
|
3335
2993
|
end
|
3336
2994
|
|
3337
|
-
# @note When making an API call, you may pass PutEventSelectorsRequest
|
3338
|
-
# data as a hash:
|
3339
|
-
#
|
3340
|
-
# {
|
3341
|
-
# trail_name: "String", # required
|
3342
|
-
# event_selectors: [
|
3343
|
-
# {
|
3344
|
-
# read_write_type: "ReadOnly", # accepts ReadOnly, WriteOnly, All
|
3345
|
-
# include_management_events: false,
|
3346
|
-
# data_resources: [
|
3347
|
-
# {
|
3348
|
-
# type: "String",
|
3349
|
-
# values: ["String"],
|
3350
|
-
# },
|
3351
|
-
# ],
|
3352
|
-
# exclude_management_event_sources: ["String"],
|
3353
|
-
# },
|
3354
|
-
# ],
|
3355
|
-
# advanced_event_selectors: [
|
3356
|
-
# {
|
3357
|
-
# name: "SelectorName",
|
3358
|
-
# field_selectors: [ # required
|
3359
|
-
# {
|
3360
|
-
# field: "SelectorField", # required
|
3361
|
-
# equals: ["OperatorValue"],
|
3362
|
-
# starts_with: ["OperatorValue"],
|
3363
|
-
# ends_with: ["OperatorValue"],
|
3364
|
-
# not_equals: ["OperatorValue"],
|
3365
|
-
# not_starts_with: ["OperatorValue"],
|
3366
|
-
# not_ends_with: ["OperatorValue"],
|
3367
|
-
# },
|
3368
|
-
# ],
|
3369
|
-
# },
|
3370
|
-
# ],
|
3371
|
-
# }
|
3372
|
-
#
|
3373
2995
|
# @!attribute [rw] trail_name
|
3374
2996
|
# Specifies the name of the trail or trail ARN. If you specify a trail
|
3375
2997
|
# name, the string must meet the following requirements:
|
@@ -3451,18 +3073,6 @@ module Aws::CloudTrail
|
|
3451
3073
|
include Aws::Structure
|
3452
3074
|
end
|
3453
3075
|
|
3454
|
-
# @note When making an API call, you may pass PutInsightSelectorsRequest
|
3455
|
-
# data as a hash:
|
3456
|
-
#
|
3457
|
-
# {
|
3458
|
-
# trail_name: "String", # required
|
3459
|
-
# insight_selectors: [ # required
|
3460
|
-
# {
|
3461
|
-
# insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight, ApiErrorRateInsight
|
3462
|
-
# },
|
3463
|
-
# ],
|
3464
|
-
# }
|
3465
|
-
#
|
3466
3076
|
# @!attribute [rw] trail_name
|
3467
3077
|
# The name of the CloudTrail trail for which you want to change or add
|
3468
3078
|
# Insights selectors.
|
@@ -3602,13 +3212,6 @@ module Aws::CloudTrail
|
|
3602
3212
|
# Specifies an organization member account ID as a CloudTrail delegated
|
3603
3213
|
# administrator.
|
3604
3214
|
#
|
3605
|
-
# @note When making an API call, you may pass RegisterOrganizationDelegatedAdminRequest
|
3606
|
-
# data as a hash:
|
3607
|
-
#
|
3608
|
-
# {
|
3609
|
-
# member_account_id: "AccountId", # required
|
3610
|
-
# }
|
3611
|
-
#
|
3612
3215
|
# @!attribute [rw] member_account_id
|
3613
3216
|
# An organization member account ID that you want to designate as a
|
3614
3217
|
# delegated administrator.
|
@@ -3631,19 +3234,6 @@ module Aws::CloudTrail
|
|
3631
3234
|
|
3632
3235
|
# Specifies the tags to remove from a trail or event data store.
|
3633
3236
|
#
|
3634
|
-
# @note When making an API call, you may pass RemoveTagsRequest
|
3635
|
-
# data as a hash:
|
3636
|
-
#
|
3637
|
-
# {
|
3638
|
-
# resource_id: "String", # required
|
3639
|
-
# tags_list: [ # required
|
3640
|
-
# {
|
3641
|
-
# key: "TagKey", # required
|
3642
|
-
# value: "TagValue",
|
3643
|
-
# },
|
3644
|
-
# ],
|
3645
|
-
# }
|
3646
|
-
#
|
3647
3237
|
# @!attribute [rw] resource_id
|
3648
3238
|
# Specifies the ARN of the trail or event data store from which tags
|
3649
3239
|
# should be removed.
|
@@ -3739,13 +3329,6 @@ module Aws::CloudTrail
|
|
3739
3329
|
#
|
3740
3330
|
class ResourceTypeNotSupportedException < Aws::EmptyStructure; end
|
3741
3331
|
|
3742
|
-
# @note When making an API call, you may pass RestoreEventDataStoreRequest
|
3743
|
-
# data as a hash:
|
3744
|
-
#
|
3745
|
-
# {
|
3746
|
-
# event_data_store: "EventDataStoreArn", # required
|
3747
|
-
# }
|
3748
|
-
#
|
3749
3332
|
# @!attribute [rw] event_data_store
|
3750
3333
|
# The ARN (or the ID suffix of the ARN) of the event data store that
|
3751
3334
|
# you want to restore.
|
@@ -3839,15 +3422,6 @@ module Aws::CloudTrail
|
|
3839
3422
|
|
3840
3423
|
# The settings for the source S3 bucket.
|
3841
3424
|
#
|
3842
|
-
# @note When making an API call, you may pass S3ImportSource
|
3843
|
-
# data as a hash:
|
3844
|
-
#
|
3845
|
-
# {
|
3846
|
-
# s3_location_uri: "String", # required
|
3847
|
-
# s3_bucket_region: "String", # required
|
3848
|
-
# s3_bucket_access_role_arn: "String", # required
|
3849
|
-
# }
|
3850
|
-
#
|
3851
3425
|
# @!attribute [rw] s3_location_uri
|
3852
3426
|
# The URI for the source S3 bucket.
|
3853
3427
|
# @return [String]
|
@@ -3890,23 +3464,6 @@ module Aws::CloudTrail
|
|
3890
3464
|
include Aws::Structure
|
3891
3465
|
end
|
3892
3466
|
|
3893
|
-
# @note When making an API call, you may pass StartImportRequest
|
3894
|
-
# data as a hash:
|
3895
|
-
#
|
3896
|
-
# {
|
3897
|
-
# destinations: ["EventDataStoreArn"],
|
3898
|
-
# import_source: {
|
3899
|
-
# s3: { # required
|
3900
|
-
# s3_location_uri: "String", # required
|
3901
|
-
# s3_bucket_region: "String", # required
|
3902
|
-
# s3_bucket_access_role_arn: "String", # required
|
3903
|
-
# },
|
3904
|
-
# },
|
3905
|
-
# start_event_time: Time.now,
|
3906
|
-
# end_event_time: Time.now,
|
3907
|
-
# import_id: "UUID",
|
3908
|
-
# }
|
3909
|
-
#
|
3910
3467
|
# @!attribute [rw] destinations
|
3911
3468
|
# The ARN of the destination event data store. Use this parameter for
|
3912
3469
|
# a new import.
|
@@ -4008,13 +3565,6 @@ module Aws::CloudTrail
|
|
4008
3565
|
# The request to CloudTrail to start logging Amazon Web Services API
|
4009
3566
|
# calls for an account.
|
4010
3567
|
#
|
4011
|
-
# @note When making an API call, you may pass StartLoggingRequest
|
4012
|
-
# data as a hash:
|
4013
|
-
#
|
4014
|
-
# {
|
4015
|
-
# name: "String", # required
|
4016
|
-
# }
|
4017
|
-
#
|
4018
3568
|
# @!attribute [rw] name
|
4019
3569
|
# Specifies the name or the CloudTrail ARN of the trail for which
|
4020
3570
|
# CloudTrail logs Amazon Web Services API calls. The following is the
|
@@ -4038,14 +3588,6 @@ module Aws::CloudTrail
|
|
4038
3588
|
#
|
4039
3589
|
class StartLoggingResponse < Aws::EmptyStructure; end
|
4040
3590
|
|
4041
|
-
# @note When making an API call, you may pass StartQueryRequest
|
4042
|
-
# data as a hash:
|
4043
|
-
#
|
4044
|
-
# {
|
4045
|
-
# query_statement: "QueryStatement", # required
|
4046
|
-
# delivery_s3_uri: "DeliveryS3Uri",
|
4047
|
-
# }
|
4048
|
-
#
|
4049
3591
|
# @!attribute [rw] query_statement
|
4050
3592
|
# The SQL code of your query.
|
4051
3593
|
# @return [String]
|
@@ -4076,13 +3618,6 @@ module Aws::CloudTrail
|
|
4076
3618
|
include Aws::Structure
|
4077
3619
|
end
|
4078
3620
|
|
4079
|
-
# @note When making an API call, you may pass StopImportRequest
|
4080
|
-
# data as a hash:
|
4081
|
-
#
|
4082
|
-
# {
|
4083
|
-
# import_id: "UUID", # required
|
4084
|
-
# }
|
4085
|
-
#
|
4086
3621
|
# @!attribute [rw] import_id
|
4087
3622
|
# The ID of the import.
|
4088
3623
|
# @return [String]
|
@@ -4154,13 +3689,6 @@ module Aws::CloudTrail
|
|
4154
3689
|
# Passes the request to CloudTrail to stop logging Amazon Web Services
|
4155
3690
|
# API calls for the specified account.
|
4156
3691
|
#
|
4157
|
-
# @note When making an API call, you may pass StopLoggingRequest
|
4158
|
-
# data as a hash:
|
4159
|
-
#
|
4160
|
-
# {
|
4161
|
-
# name: "String", # required
|
4162
|
-
# }
|
4163
|
-
#
|
4164
3692
|
# @!attribute [rw] name
|
4165
3693
|
# Specifies the name or the CloudTrail ARN of the trail for which
|
4166
3694
|
# CloudTrail will stop logging Amazon Web Services API calls. The
|
@@ -4187,14 +3715,6 @@ module Aws::CloudTrail
|
|
4187
3715
|
# A custom key-value pair associated with a resource such as a
|
4188
3716
|
# CloudTrail trail.
|
4189
3717
|
#
|
4190
|
-
# @note When making an API call, you may pass Tag
|
4191
|
-
# data as a hash:
|
4192
|
-
#
|
4193
|
-
# {
|
4194
|
-
# key: "TagKey", # required
|
4195
|
-
# value: "TagValue",
|
4196
|
-
# }
|
4197
|
-
#
|
4198
3718
|
# @!attribute [rw] key
|
4199
3719
|
# The key in a key-value pair. The key must be must be no longer than
|
4200
3720
|
# 128 Unicode characters. The key must be unique for the resource to
|
@@ -4391,35 +3911,6 @@ module Aws::CloudTrail
|
|
4391
3911
|
#
|
4392
3912
|
class UnsupportedOperationException < Aws::EmptyStructure; end
|
4393
3913
|
|
4394
|
-
# @note When making an API call, you may pass UpdateEventDataStoreRequest
|
4395
|
-
# data as a hash:
|
4396
|
-
#
|
4397
|
-
# {
|
4398
|
-
# event_data_store: "EventDataStoreArn", # required
|
4399
|
-
# name: "EventDataStoreName",
|
4400
|
-
# advanced_event_selectors: [
|
4401
|
-
# {
|
4402
|
-
# name: "SelectorName",
|
4403
|
-
# field_selectors: [ # required
|
4404
|
-
# {
|
4405
|
-
# field: "SelectorField", # required
|
4406
|
-
# equals: ["OperatorValue"],
|
4407
|
-
# starts_with: ["OperatorValue"],
|
4408
|
-
# ends_with: ["OperatorValue"],
|
4409
|
-
# not_equals: ["OperatorValue"],
|
4410
|
-
# not_starts_with: ["OperatorValue"],
|
4411
|
-
# not_ends_with: ["OperatorValue"],
|
4412
|
-
# },
|
4413
|
-
# ],
|
4414
|
-
# },
|
4415
|
-
# ],
|
4416
|
-
# multi_region_enabled: false,
|
4417
|
-
# organization_enabled: false,
|
4418
|
-
# retention_period: 1,
|
4419
|
-
# termination_protection_enabled: false,
|
4420
|
-
# kms_key_id: "EventDataStoreKmsKeyId",
|
4421
|
-
# }
|
4422
|
-
#
|
4423
3914
|
# @!attribute [rw] event_data_store
|
4424
3915
|
# The ARN (or the ID suffix of the ARN) of the event data store that
|
4425
3916
|
# you want to update.
|
@@ -4578,23 +4069,6 @@ module Aws::CloudTrail
|
|
4578
4069
|
|
4579
4070
|
# Specifies settings to update for the trail.
|
4580
4071
|
#
|
4581
|
-
# @note When making an API call, you may pass UpdateTrailRequest
|
4582
|
-
# data as a hash:
|
4583
|
-
#
|
4584
|
-
# {
|
4585
|
-
# name: "String", # required
|
4586
|
-
# s3_bucket_name: "String",
|
4587
|
-
# s3_key_prefix: "String",
|
4588
|
-
# sns_topic_name: "String",
|
4589
|
-
# include_global_service_events: false,
|
4590
|
-
# is_multi_region_trail: false,
|
4591
|
-
# enable_log_file_validation: false,
|
4592
|
-
# cloud_watch_logs_log_group_arn: "String",
|
4593
|
-
# cloud_watch_logs_role_arn: "String",
|
4594
|
-
# kms_key_id: "String",
|
4595
|
-
# is_organization_trail: false,
|
4596
|
-
# }
|
4597
|
-
#
|
4598
4072
|
# @!attribute [rw] name
|
4599
4073
|
# Specifies the name of the trail or trail ARN. If `Name` is a trail
|
4600
4074
|
# name, the string must meet the following requirements:
|
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.56.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|