aws-sdk-cloudtrail 1.29.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +57 -5
- data/lib/aws-sdk-cloudtrail/client_api.rb +31 -1
- data/lib/aws-sdk-cloudtrail/types.rb +123 -6
- 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: 60b8c1effd0a3fa2af94daaaec0d61839a32804e915af6558ce4ac9d3efe9421
|
4
|
+
data.tar.gz: edae4a6d5773ff73315edd7d935d50f964a5d39dc5f38baf0631c20b054f4942
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c6b1f56809811b24c18ff283f48c4cb6a1cade669cb854883ba78abbb5c5797902e0715131acba2d480ec0eacbdeb96de2fd395eee417f702a4ab88fa4e8d83
|
7
|
+
data.tar.gz: 0e344c658117fc5edb0ac7419ac17f35419d40cb03cce07872ec8a73d3aed6d2e1051148d6b95f7f19dbd6c5a7bd74363bc9ed648168544424ee419f8e97aeb5
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
@@ -689,6 +689,7 @@ module Aws::CloudTrail
|
|
689
689
|
#
|
690
690
|
# * {Types::GetEventSelectorsResponse#trail_arn #trail_arn} => String
|
691
691
|
# * {Types::GetEventSelectorsResponse#event_selectors #event_selectors} => Array<Types::EventSelector>
|
692
|
+
# * {Types::GetEventSelectorsResponse#advanced_event_selectors #advanced_event_selectors} => Array<Types::AdvancedEventSelector>
|
692
693
|
#
|
693
694
|
# @example Request syntax with placeholder values
|
694
695
|
#
|
@@ -708,6 +709,22 @@ module Aws::CloudTrail
|
|
708
709
|
# resp.event_selectors[0].data_resources[0].values[0] #=> String
|
709
710
|
# resp.event_selectors[0].exclude_management_event_sources #=> Array
|
710
711
|
# resp.event_selectors[0].exclude_management_event_sources[0] #=> String
|
712
|
+
# resp.advanced_event_selectors #=> Array
|
713
|
+
# resp.advanced_event_selectors[0].name #=> String
|
714
|
+
# resp.advanced_event_selectors[0].field_selectors #=> Array
|
715
|
+
# resp.advanced_event_selectors[0].field_selectors[0].field #=> String
|
716
|
+
# resp.advanced_event_selectors[0].field_selectors[0].equals #=> Array
|
717
|
+
# resp.advanced_event_selectors[0].field_selectors[0].equals[0] #=> String
|
718
|
+
# resp.advanced_event_selectors[0].field_selectors[0].starts_with #=> Array
|
719
|
+
# resp.advanced_event_selectors[0].field_selectors[0].starts_with[0] #=> String
|
720
|
+
# resp.advanced_event_selectors[0].field_selectors[0].ends_with #=> Array
|
721
|
+
# resp.advanced_event_selectors[0].field_selectors[0].ends_with[0] #=> String
|
722
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_equals #=> Array
|
723
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_equals[0] #=> String
|
724
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_starts_with #=> Array
|
725
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_starts_with[0] #=> String
|
726
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_ends_with #=> Array
|
727
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_ends_with[0] #=> String
|
711
728
|
#
|
712
729
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors AWS API Documentation
|
713
730
|
#
|
@@ -1065,8 +1082,8 @@ module Aws::CloudTrail
|
|
1065
1082
|
# 50, with a maximum of 50 possible. The response includes a token that
|
1066
1083
|
# you can use to get the next page of results.
|
1067
1084
|
#
|
1068
|
-
# The rate of lookup requests is limited to two per second per account
|
1069
|
-
# If this limit is exceeded, a throttling error occurs.
|
1085
|
+
# The rate of lookup requests is limited to two per second, per account,
|
1086
|
+
# per region. If this limit is exceeded, a throttling error occurs.
|
1070
1087
|
#
|
1071
1088
|
#
|
1072
1089
|
#
|
@@ -1213,20 +1230,23 @@ module Aws::CloudTrail
|
|
1213
1230
|
#
|
1214
1231
|
# `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
|
1215
1232
|
#
|
1216
|
-
# @option params [
|
1233
|
+
# @option params [Array<Types::EventSelector>] :event_selectors
|
1217
1234
|
# Specifies the settings for your event selectors. You can configure up
|
1218
1235
|
# to five event selectors for a trail.
|
1219
1236
|
#
|
1237
|
+
# @option params [Array<Types::AdvancedEventSelector>] :advanced_event_selectors
|
1238
|
+
#
|
1220
1239
|
# @return [Types::PutEventSelectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1221
1240
|
#
|
1222
1241
|
# * {Types::PutEventSelectorsResponse#trail_arn #trail_arn} => String
|
1223
1242
|
# * {Types::PutEventSelectorsResponse#event_selectors #event_selectors} => Array<Types::EventSelector>
|
1243
|
+
# * {Types::PutEventSelectorsResponse#advanced_event_selectors #advanced_event_selectors} => Array<Types::AdvancedEventSelector>
|
1224
1244
|
#
|
1225
1245
|
# @example Request syntax with placeholder values
|
1226
1246
|
#
|
1227
1247
|
# resp = client.put_event_selectors({
|
1228
1248
|
# trail_name: "String", # required
|
1229
|
-
# event_selectors: [
|
1249
|
+
# event_selectors: [
|
1230
1250
|
# {
|
1231
1251
|
# read_write_type: "ReadOnly", # accepts ReadOnly, WriteOnly, All
|
1232
1252
|
# include_management_events: false,
|
@@ -1239,6 +1259,22 @@ module Aws::CloudTrail
|
|
1239
1259
|
# exclude_management_event_sources: ["String"],
|
1240
1260
|
# },
|
1241
1261
|
# ],
|
1262
|
+
# advanced_event_selectors: [
|
1263
|
+
# {
|
1264
|
+
# name: "SelectorName", # required
|
1265
|
+
# field_selectors: [ # required
|
1266
|
+
# {
|
1267
|
+
# field: "SelectorField", # required
|
1268
|
+
# equals: ["OperatorValue"],
|
1269
|
+
# starts_with: ["OperatorValue"],
|
1270
|
+
# ends_with: ["OperatorValue"],
|
1271
|
+
# not_equals: ["OperatorValue"],
|
1272
|
+
# not_starts_with: ["OperatorValue"],
|
1273
|
+
# not_ends_with: ["OperatorValue"],
|
1274
|
+
# },
|
1275
|
+
# ],
|
1276
|
+
# },
|
1277
|
+
# ],
|
1242
1278
|
# })
|
1243
1279
|
#
|
1244
1280
|
# @example Response structure
|
@@ -1253,6 +1289,22 @@ module Aws::CloudTrail
|
|
1253
1289
|
# resp.event_selectors[0].data_resources[0].values[0] #=> String
|
1254
1290
|
# resp.event_selectors[0].exclude_management_event_sources #=> Array
|
1255
1291
|
# resp.event_selectors[0].exclude_management_event_sources[0] #=> String
|
1292
|
+
# resp.advanced_event_selectors #=> Array
|
1293
|
+
# resp.advanced_event_selectors[0].name #=> String
|
1294
|
+
# resp.advanced_event_selectors[0].field_selectors #=> Array
|
1295
|
+
# resp.advanced_event_selectors[0].field_selectors[0].field #=> String
|
1296
|
+
# resp.advanced_event_selectors[0].field_selectors[0].equals #=> Array
|
1297
|
+
# resp.advanced_event_selectors[0].field_selectors[0].equals[0] #=> String
|
1298
|
+
# resp.advanced_event_selectors[0].field_selectors[0].starts_with #=> Array
|
1299
|
+
# resp.advanced_event_selectors[0].field_selectors[0].starts_with[0] #=> String
|
1300
|
+
# resp.advanced_event_selectors[0].field_selectors[0].ends_with #=> Array
|
1301
|
+
# resp.advanced_event_selectors[0].field_selectors[0].ends_with[0] #=> String
|
1302
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_equals #=> Array
|
1303
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_equals[0] #=> String
|
1304
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_starts_with #=> Array
|
1305
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_starts_with[0] #=> String
|
1306
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_ends_with #=> Array
|
1307
|
+
# resp.advanced_event_selectors[0].field_selectors[0].not_ends_with[0] #=> String
|
1256
1308
|
#
|
1257
1309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors AWS API Documentation
|
1258
1310
|
#
|
@@ -1593,7 +1645,7 @@ module Aws::CloudTrail
|
|
1593
1645
|
params: params,
|
1594
1646
|
config: config)
|
1595
1647
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
1596
|
-
context[:gem_version] = '1.
|
1648
|
+
context[:gem_version] = '1.30.0'
|
1597
1649
|
Seahorse::Client::Request.new(handlers, context)
|
1598
1650
|
end
|
1599
1651
|
|
@@ -15,6 +15,10 @@ module Aws::CloudTrail
|
|
15
15
|
|
16
16
|
AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
|
17
17
|
AddTagsResponse = Shapes::StructureShape.new(name: 'AddTagsResponse')
|
18
|
+
AdvancedEventSelector = Shapes::StructureShape.new(name: 'AdvancedEventSelector')
|
19
|
+
AdvancedEventSelectors = Shapes::ListShape.new(name: 'AdvancedEventSelectors')
|
20
|
+
AdvancedFieldSelector = Shapes::StructureShape.new(name: 'AdvancedFieldSelector')
|
21
|
+
AdvancedFieldSelectors = Shapes::ListShape.new(name: 'AdvancedFieldSelectors')
|
18
22
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
19
23
|
ByteBuffer = Shapes::BlobShape.new(name: 'ByteBuffer')
|
20
24
|
CloudTrailARNInvalidException = Shapes::StructureShape.new(name: 'CloudTrailARNInvalidException')
|
@@ -89,6 +93,8 @@ module Aws::CloudTrail
|
|
89
93
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
90
94
|
NotOrganizationMasterAccountException = Shapes::StructureShape.new(name: 'NotOrganizationMasterAccountException')
|
91
95
|
OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
|
96
|
+
Operator = Shapes::ListShape.new(name: 'Operator')
|
97
|
+
OperatorValue = Shapes::StringShape.new(name: 'OperatorValue')
|
92
98
|
OrganizationNotInAllFeaturesModeException = Shapes::StructureShape.new(name: 'OrganizationNotInAllFeaturesModeException')
|
93
99
|
OrganizationsNotInUseException = Shapes::StructureShape.new(name: 'OrganizationsNotInUseException')
|
94
100
|
PublicKey = Shapes::StructureShape.new(name: 'PublicKey')
|
@@ -108,6 +114,8 @@ module Aws::CloudTrail
|
|
108
114
|
ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
|
109
115
|
ResourceTypeNotSupportedException = Shapes::StructureShape.new(name: 'ResourceTypeNotSupportedException')
|
110
116
|
S3BucketDoesNotExistException = Shapes::StructureShape.new(name: 'S3BucketDoesNotExistException')
|
117
|
+
SelectorField = Shapes::StringShape.new(name: 'SelectorField')
|
118
|
+
SelectorName = Shapes::StringShape.new(name: 'SelectorName')
|
111
119
|
StartLoggingRequest = Shapes::StructureShape.new(name: 'StartLoggingRequest')
|
112
120
|
StartLoggingResponse = Shapes::StructureShape.new(name: 'StartLoggingResponse')
|
113
121
|
StopLoggingRequest = Shapes::StructureShape.new(name: 'StopLoggingRequest')
|
@@ -134,6 +142,23 @@ module Aws::CloudTrail
|
|
134
142
|
|
135
143
|
AddTagsResponse.struct_class = Types::AddTagsResponse
|
136
144
|
|
145
|
+
AdvancedEventSelector.add_member(:name, Shapes::ShapeRef.new(shape: SelectorName, required: true, location_name: "Name"))
|
146
|
+
AdvancedEventSelector.add_member(:field_selectors, Shapes::ShapeRef.new(shape: AdvancedFieldSelectors, required: true, location_name: "FieldSelectors"))
|
147
|
+
AdvancedEventSelector.struct_class = Types::AdvancedEventSelector
|
148
|
+
|
149
|
+
AdvancedEventSelectors.member = Shapes::ShapeRef.new(shape: AdvancedEventSelector)
|
150
|
+
|
151
|
+
AdvancedFieldSelector.add_member(:field, Shapes::ShapeRef.new(shape: SelectorField, required: true, location_name: "Field"))
|
152
|
+
AdvancedFieldSelector.add_member(:equals, Shapes::ShapeRef.new(shape: Operator, location_name: "Equals"))
|
153
|
+
AdvancedFieldSelector.add_member(:starts_with, Shapes::ShapeRef.new(shape: Operator, location_name: "StartsWith"))
|
154
|
+
AdvancedFieldSelector.add_member(:ends_with, Shapes::ShapeRef.new(shape: Operator, location_name: "EndsWith"))
|
155
|
+
AdvancedFieldSelector.add_member(:not_equals, Shapes::ShapeRef.new(shape: Operator, location_name: "NotEquals"))
|
156
|
+
AdvancedFieldSelector.add_member(:not_starts_with, Shapes::ShapeRef.new(shape: Operator, location_name: "NotStartsWith"))
|
157
|
+
AdvancedFieldSelector.add_member(:not_ends_with, Shapes::ShapeRef.new(shape: Operator, location_name: "NotEndsWith"))
|
158
|
+
AdvancedFieldSelector.struct_class = Types::AdvancedFieldSelector
|
159
|
+
|
160
|
+
AdvancedFieldSelectors.member = Shapes::ShapeRef.new(shape: AdvancedFieldSelector)
|
161
|
+
|
137
162
|
CloudTrailARNInvalidException.struct_class = Types::CloudTrailARNInvalidException
|
138
163
|
|
139
164
|
CloudTrailAccessNotEnabledException.struct_class = Types::CloudTrailAccessNotEnabledException
|
@@ -217,6 +242,7 @@ module Aws::CloudTrail
|
|
217
242
|
|
218
243
|
GetEventSelectorsResponse.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
|
219
244
|
GetEventSelectorsResponse.add_member(:event_selectors, Shapes::ShapeRef.new(shape: EventSelectors, location_name: "EventSelectors"))
|
245
|
+
GetEventSelectorsResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
220
246
|
GetEventSelectorsResponse.struct_class = Types::GetEventSelectorsResponse
|
221
247
|
|
222
248
|
GetInsightSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
|
@@ -359,6 +385,8 @@ module Aws::CloudTrail
|
|
359
385
|
|
360
386
|
OperationNotPermittedException.struct_class = Types::OperationNotPermittedException
|
361
387
|
|
388
|
+
Operator.member = Shapes::ShapeRef.new(shape: OperatorValue)
|
389
|
+
|
362
390
|
OrganizationNotInAllFeaturesModeException.struct_class = Types::OrganizationNotInAllFeaturesModeException
|
363
391
|
|
364
392
|
OrganizationsNotInUseException.struct_class = Types::OrganizationsNotInUseException
|
@@ -372,11 +400,13 @@ module Aws::CloudTrail
|
|
372
400
|
PublicKeyList.member = Shapes::ShapeRef.new(shape: PublicKey)
|
373
401
|
|
374
402
|
PutEventSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
|
375
|
-
PutEventSelectorsRequest.add_member(:event_selectors, Shapes::ShapeRef.new(shape: EventSelectors,
|
403
|
+
PutEventSelectorsRequest.add_member(:event_selectors, Shapes::ShapeRef.new(shape: EventSelectors, location_name: "EventSelectors"))
|
404
|
+
PutEventSelectorsRequest.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
376
405
|
PutEventSelectorsRequest.struct_class = Types::PutEventSelectorsRequest
|
377
406
|
|
378
407
|
PutEventSelectorsResponse.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
|
379
408
|
PutEventSelectorsResponse.add_member(:event_selectors, Shapes::ShapeRef.new(shape: EventSelectors, location_name: "EventSelectors"))
|
409
|
+
PutEventSelectorsResponse.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
|
380
410
|
PutEventSelectorsResponse.struct_class = Types::PutEventSelectorsResponse
|
381
411
|
|
382
412
|
PutInsightSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
|
@@ -52,6 +52,87 @@ module Aws::CloudTrail
|
|
52
52
|
#
|
53
53
|
class AddTagsResponse < Aws::EmptyStructure; end
|
54
54
|
|
55
|
+
# @note When making an API call, you may pass AdvancedEventSelector
|
56
|
+
# data as a hash:
|
57
|
+
#
|
58
|
+
# {
|
59
|
+
# name: "SelectorName", # required
|
60
|
+
# field_selectors: [ # required
|
61
|
+
# {
|
62
|
+
# field: "SelectorField", # required
|
63
|
+
# equals: ["OperatorValue"],
|
64
|
+
# starts_with: ["OperatorValue"],
|
65
|
+
# ends_with: ["OperatorValue"],
|
66
|
+
# not_equals: ["OperatorValue"],
|
67
|
+
# not_starts_with: ["OperatorValue"],
|
68
|
+
# not_ends_with: ["OperatorValue"],
|
69
|
+
# },
|
70
|
+
# ],
|
71
|
+
# }
|
72
|
+
#
|
73
|
+
# @!attribute [rw] name
|
74
|
+
# @return [String]
|
75
|
+
#
|
76
|
+
# @!attribute [rw] field_selectors
|
77
|
+
# @return [Array<Types::AdvancedFieldSelector>]
|
78
|
+
#
|
79
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AdvancedEventSelector AWS API Documentation
|
80
|
+
#
|
81
|
+
class AdvancedEventSelector < Struct.new(
|
82
|
+
:name,
|
83
|
+
:field_selectors)
|
84
|
+
SENSITIVE = []
|
85
|
+
include Aws::Structure
|
86
|
+
end
|
87
|
+
|
88
|
+
# @note When making an API call, you may pass AdvancedFieldSelector
|
89
|
+
# data as a hash:
|
90
|
+
#
|
91
|
+
# {
|
92
|
+
# field: "SelectorField", # required
|
93
|
+
# equals: ["OperatorValue"],
|
94
|
+
# starts_with: ["OperatorValue"],
|
95
|
+
# ends_with: ["OperatorValue"],
|
96
|
+
# not_equals: ["OperatorValue"],
|
97
|
+
# not_starts_with: ["OperatorValue"],
|
98
|
+
# not_ends_with: ["OperatorValue"],
|
99
|
+
# }
|
100
|
+
#
|
101
|
+
# @!attribute [rw] field
|
102
|
+
# @return [String]
|
103
|
+
#
|
104
|
+
# @!attribute [rw] equals
|
105
|
+
# @return [Array<String>]
|
106
|
+
#
|
107
|
+
# @!attribute [rw] starts_with
|
108
|
+
# @return [Array<String>]
|
109
|
+
#
|
110
|
+
# @!attribute [rw] ends_with
|
111
|
+
# @return [Array<String>]
|
112
|
+
#
|
113
|
+
# @!attribute [rw] not_equals
|
114
|
+
# @return [Array<String>]
|
115
|
+
#
|
116
|
+
# @!attribute [rw] not_starts_with
|
117
|
+
# @return [Array<String>]
|
118
|
+
#
|
119
|
+
# @!attribute [rw] not_ends_with
|
120
|
+
# @return [Array<String>]
|
121
|
+
#
|
122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AdvancedFieldSelector AWS API Documentation
|
123
|
+
#
|
124
|
+
class AdvancedFieldSelector < Struct.new(
|
125
|
+
:field,
|
126
|
+
:equals,
|
127
|
+
:starts_with,
|
128
|
+
:ends_with,
|
129
|
+
:not_equals,
|
130
|
+
:not_starts_with,
|
131
|
+
:not_ends_with)
|
132
|
+
SENSITIVE = []
|
133
|
+
include Aws::Structure
|
134
|
+
end
|
135
|
+
|
55
136
|
# This exception is thrown when an operation is called with an invalid
|
56
137
|
# trail ARN. The format of a trail ARN is:
|
57
138
|
#
|
@@ -659,9 +740,15 @@ module Aws::CloudTrail
|
|
659
740
|
#
|
660
741
|
# By default, the value is `true`.
|
661
742
|
#
|
743
|
+
# The first copy of management events is free. You are charged for
|
744
|
+
# additional copies of management events that you are logging on any
|
745
|
+
# subsequent trail in the same region. For more information about
|
746
|
+
# CloudTrail pricing, see [AWS CloudTrail Pricing][2].
|
747
|
+
#
|
662
748
|
#
|
663
749
|
#
|
664
750
|
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html#logging-management-events
|
751
|
+
# [2]: http://aws.amazon.com/cloudtrail/pricing/
|
665
752
|
# @return [Boolean]
|
666
753
|
#
|
667
754
|
# @!attribute [rw] data_resources
|
@@ -745,11 +832,15 @@ module Aws::CloudTrail
|
|
745
832
|
# The event selectors that are configured for the trail.
|
746
833
|
# @return [Array<Types::EventSelector>]
|
747
834
|
#
|
835
|
+
# @!attribute [rw] advanced_event_selectors
|
836
|
+
# @return [Array<Types::AdvancedEventSelector>]
|
837
|
+
#
|
748
838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsResponse AWS API Documentation
|
749
839
|
#
|
750
840
|
class GetEventSelectorsResponse < Struct.new(
|
751
841
|
:trail_arn,
|
752
|
-
:event_selectors
|
842
|
+
:event_selectors,
|
843
|
+
:advanced_event_selectors)
|
753
844
|
SENSITIVE = []
|
754
845
|
include Aws::Structure
|
755
846
|
end
|
@@ -1240,8 +1331,10 @@ module Aws::CloudTrail
|
|
1240
1331
|
#
|
1241
1332
|
class KmsKeyDisabledException < Aws::EmptyStructure; end
|
1242
1333
|
|
1243
|
-
# This exception is thrown when the KMS key does not exist,
|
1244
|
-
#
|
1334
|
+
# This exception is thrown when the KMS key does not exist, when the S3
|
1335
|
+
# bucket and the KMS key are not in the same region, or when the KMS key
|
1336
|
+
# associated with the SNS topic either does not exist or is not in the
|
1337
|
+
# same region.
|
1245
1338
|
#
|
1246
1339
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/KmsKeyNotFoundException AWS API Documentation
|
1247
1340
|
#
|
@@ -1609,7 +1702,7 @@ module Aws::CloudTrail
|
|
1609
1702
|
#
|
1610
1703
|
# {
|
1611
1704
|
# trail_name: "String", # required
|
1612
|
-
# event_selectors: [
|
1705
|
+
# event_selectors: [
|
1613
1706
|
# {
|
1614
1707
|
# read_write_type: "ReadOnly", # accepts ReadOnly, WriteOnly, All
|
1615
1708
|
# include_management_events: false,
|
@@ -1622,6 +1715,22 @@ module Aws::CloudTrail
|
|
1622
1715
|
# exclude_management_event_sources: ["String"],
|
1623
1716
|
# },
|
1624
1717
|
# ],
|
1718
|
+
# advanced_event_selectors: [
|
1719
|
+
# {
|
1720
|
+
# name: "SelectorName", # required
|
1721
|
+
# field_selectors: [ # required
|
1722
|
+
# {
|
1723
|
+
# field: "SelectorField", # required
|
1724
|
+
# equals: ["OperatorValue"],
|
1725
|
+
# starts_with: ["OperatorValue"],
|
1726
|
+
# ends_with: ["OperatorValue"],
|
1727
|
+
# not_equals: ["OperatorValue"],
|
1728
|
+
# not_starts_with: ["OperatorValue"],
|
1729
|
+
# not_ends_with: ["OperatorValue"],
|
1730
|
+
# },
|
1731
|
+
# ],
|
1732
|
+
# },
|
1733
|
+
# ],
|
1625
1734
|
# }
|
1626
1735
|
#
|
1627
1736
|
# @!attribute [rw] trail_name
|
@@ -1650,11 +1759,15 @@ module Aws::CloudTrail
|
|
1650
1759
|
# up to five event selectors for a trail.
|
1651
1760
|
# @return [Array<Types::EventSelector>]
|
1652
1761
|
#
|
1762
|
+
# @!attribute [rw] advanced_event_selectors
|
1763
|
+
# @return [Array<Types::AdvancedEventSelector>]
|
1764
|
+
#
|
1653
1765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsRequest AWS API Documentation
|
1654
1766
|
#
|
1655
1767
|
class PutEventSelectorsRequest < Struct.new(
|
1656
1768
|
:trail_name,
|
1657
|
-
:event_selectors
|
1769
|
+
:event_selectors,
|
1770
|
+
:advanced_event_selectors)
|
1658
1771
|
SENSITIVE = []
|
1659
1772
|
include Aws::Structure
|
1660
1773
|
end
|
@@ -1670,11 +1783,15 @@ module Aws::CloudTrail
|
|
1670
1783
|
# Specifies the event selectors configured for your trail.
|
1671
1784
|
# @return [Array<Types::EventSelector>]
|
1672
1785
|
#
|
1786
|
+
# @!attribute [rw] advanced_event_selectors
|
1787
|
+
# @return [Array<Types::AdvancedEventSelector>]
|
1788
|
+
#
|
1673
1789
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsResponse AWS API Documentation
|
1674
1790
|
#
|
1675
1791
|
class PutEventSelectorsResponse < Struct.new(
|
1676
1792
|
:trail_arn,
|
1677
|
-
:event_selectors
|
1793
|
+
:event_selectors,
|
1794
|
+
:advanced_event_selectors)
|
1678
1795
|
SENSITIVE = []
|
1679
1796
|
include Aws::Structure
|
1680
1797
|
end
|
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.30.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: 2020-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|