aws-sdk-cloudtrail 1.25.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 989cb5b5609319a460437334ddcd58854f02fa1c84c652fcda9616816ee6086c
4
- data.tar.gz: 199142d70c64ab36bfc48291aab80e7ef5b46c9aa2749f617fe1622695ea320a
3
+ metadata.gz: 60b8c1effd0a3fa2af94daaaec0d61839a32804e915af6558ce4ac9d3efe9421
4
+ data.tar.gz: edae4a6d5773ff73315edd7d935d50f964a5d39dc5f38baf0631c20b054f4942
5
5
  SHA512:
6
- metadata.gz: abfd16f253086dd53615f9a1064ea9642fe2ff7ef9e49fbc5f0cc625a5a008e0c822f5ff6741cb53e6a2d256bbe4833f322028ffb369bc29ec2e15de949a868d
7
- data.tar.gz: a92429c605daf4a49bb4e756cf00ddc25667e1fd18925e6c08800b0667133c176d21d5f58bc0ced8c50eaeec886f8b8a5344edf1f872d7373b1a8e0964c978a9
6
+ metadata.gz: 8c6b1f56809811b24c18ff283f48c4cb6a1cade669cb854883ba78abbb5c5797902e0715131acba2d480ec0eacbdeb96de2fd395eee417f702a4ab88fa4e8d83
7
+ data.tar.gz: 0e344c658117fc5edb0ac7419ac17f35419d40cb03cce07872ec8a73d3aed6d2e1051148d6b95f7f19dbd6c5a7bd74363bc9ed648168544424ee419f8e97aeb5
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-cloudtrail/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::CloudTrail
49
50
 
50
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.30.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::CloudTrail
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::CloudTrail
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -674,6 +689,7 @@ module Aws::CloudTrail
674
689
  #
675
690
  # * {Types::GetEventSelectorsResponse#trail_arn #trail_arn} => String
676
691
  # * {Types::GetEventSelectorsResponse#event_selectors #event_selectors} => Array<Types::EventSelector>
692
+ # * {Types::GetEventSelectorsResponse#advanced_event_selectors #advanced_event_selectors} => Array<Types::AdvancedEventSelector>
677
693
  #
678
694
  # @example Request syntax with placeholder values
679
695
  #
@@ -693,6 +709,22 @@ module Aws::CloudTrail
693
709
  # resp.event_selectors[0].data_resources[0].values[0] #=> String
694
710
  # resp.event_selectors[0].exclude_management_event_sources #=> Array
695
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
696
728
  #
697
729
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors AWS API Documentation
698
730
  #
@@ -1050,8 +1082,8 @@ module Aws::CloudTrail
1050
1082
  # 50, with a maximum of 50 possible. The response includes a token that
1051
1083
  # you can use to get the next page of results.
1052
1084
  #
1053
- # The rate of lookup requests is limited to two per second per account.
1054
- # 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.
1055
1087
  #
1056
1088
  #
1057
1089
  #
@@ -1198,20 +1230,23 @@ module Aws::CloudTrail
1198
1230
  #
1199
1231
  # `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
1200
1232
  #
1201
- # @option params [required, Array<Types::EventSelector>] :event_selectors
1233
+ # @option params [Array<Types::EventSelector>] :event_selectors
1202
1234
  # Specifies the settings for your event selectors. You can configure up
1203
1235
  # to five event selectors for a trail.
1204
1236
  #
1237
+ # @option params [Array<Types::AdvancedEventSelector>] :advanced_event_selectors
1238
+ #
1205
1239
  # @return [Types::PutEventSelectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1206
1240
  #
1207
1241
  # * {Types::PutEventSelectorsResponse#trail_arn #trail_arn} => String
1208
1242
  # * {Types::PutEventSelectorsResponse#event_selectors #event_selectors} => Array&lt;Types::EventSelector&gt;
1243
+ # * {Types::PutEventSelectorsResponse#advanced_event_selectors #advanced_event_selectors} => Array&lt;Types::AdvancedEventSelector&gt;
1209
1244
  #
1210
1245
  # @example Request syntax with placeholder values
1211
1246
  #
1212
1247
  # resp = client.put_event_selectors({
1213
1248
  # trail_name: "String", # required
1214
- # event_selectors: [ # required
1249
+ # event_selectors: [
1215
1250
  # {
1216
1251
  # read_write_type: "ReadOnly", # accepts ReadOnly, WriteOnly, All
1217
1252
  # include_management_events: false,
@@ -1224,6 +1259,22 @@ module Aws::CloudTrail
1224
1259
  # exclude_management_event_sources: ["String"],
1225
1260
  # },
1226
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
+ # ],
1227
1278
  # })
1228
1279
  #
1229
1280
  # @example Response structure
@@ -1238,6 +1289,22 @@ module Aws::CloudTrail
1238
1289
  # resp.event_selectors[0].data_resources[0].values[0] #=> String
1239
1290
  # resp.event_selectors[0].exclude_management_event_sources #=> Array
1240
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
1241
1308
  #
1242
1309
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors AWS API Documentation
1243
1310
  #
@@ -1578,7 +1645,7 @@ module Aws::CloudTrail
1578
1645
  params: params,
1579
1646
  config: config)
1580
1647
  context[:gem_name] = 'aws-sdk-cloudtrail'
1581
- context[:gem_version] = '1.25.0'
1648
+ context[:gem_version] = '1.30.0'
1582
1649
  Seahorse::Client::Request.new(handlers, context)
1583
1650
  end
1584
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, required: true, location_name: "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, or when the
1244
- # S3 bucket and the KMS key are not in the same region.
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: [ # required
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.25.0
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-06-23 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement