aws-sdk-cloudtrail 1.38.0 → 1.42.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a7bee867497989e2495c469e8c8b443d5028c4f5335fbc49f7955a93c475106
4
- data.tar.gz: 77964918e38d9a5956cf335babf402f8bfc8bb70a9e41bcdd4f9bf4fd8c1aec4
3
+ metadata.gz: 3bde2a9eb8173d9e09bf557fef231751ba9270587d3295e4939a564c0273018b
4
+ data.tar.gz: 0a3e35dc8e331a704dc5306661278196acbd8d040fa3b4eb40a4252931d2340b
5
5
  SHA512:
6
- metadata.gz: c84587d519bd3622971bb590b7b04b302387b64193c911ccf52753926dc38de0515f7383afe9ac4aa331ac0cb78f388cc6a8e36da93856eb105178cf6b32e0db
7
- data.tar.gz: ba8a7e97a35a774d88e6e8417ca3bfe1bd00447497da8512b8a6be9b8e8db9b49992c3a42409a9c0697f4a2784e09d8757a57e7889283d7e07a339428c36ecbc
6
+ metadata.gz: 9e79c1008412ca15fef02164c6b8cecc1421cd04c09854d9fb1eb72d677c169dd321e5f43894e6f03aa8e1651b712be8bc40efd6f31f8bb87d56f2f4cb5c0ffc
7
+ data.tar.gz: 87d6c0940f97ff09543fc9e03b1a4f237d590eeb842a7aef71b32f1961a86ea3aa000fa6cbe390ccc315ba10c31788bc1005129f26f2d3e9ab31dff48acb2fd1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2021-11-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.41.0 (2021-11-16)
10
+ ------------------
11
+
12
+ * Feature - CloudTrail Insights now supports ApiErrorRateInsight, which enables customers to identify unusual activity in their AWS account based on API error codes and their rate.
13
+
14
+ 1.40.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.39.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.38.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.42.0
@@ -119,7 +119,9 @@ module Aws::CloudTrail
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -285,6 +287,15 @@ module Aws::CloudTrail
285
287
  # ** Please note ** When response stubbing is enabled, no HTTP
286
288
  # requests are made, and retries are disabled.
287
289
  #
290
+ # @option options [Boolean] :use_dualstack_endpoint
291
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
+ # will be used if available.
293
+ #
294
+ # @option options [Boolean] :use_fips_endpoint
295
+ # When set to `true`, fips compatible endpoints will be used if available.
296
+ # When a `fips` region is used, the region is normalized and this config
297
+ # is set to `true`.
298
+ #
288
299
  # @option options [Boolean] :validate_params (true)
289
300
  # When `true`, request parameters are validated before
290
301
  # sending the request.
@@ -792,7 +803,7 @@ module Aws::CloudTrail
792
803
  #
793
804
  # resp.trail_arn #=> String
794
805
  # resp.insight_selectors #=> Array
795
- # resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight"
806
+ # resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight", "ApiErrorRateInsight"
796
807
  #
797
808
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetInsightSelectors AWS API Documentation
798
809
  #
@@ -1374,7 +1385,7 @@ module Aws::CloudTrail
1374
1385
  # trail_name: "String", # required
1375
1386
  # insight_selectors: [ # required
1376
1387
  # {
1377
- # insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight
1388
+ # insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight, ApiErrorRateInsight
1378
1389
  # },
1379
1390
  # ],
1380
1391
  # })
@@ -1383,7 +1394,7 @@ module Aws::CloudTrail
1383
1394
  #
1384
1395
  # resp.trail_arn #=> String
1385
1396
  # resp.insight_selectors #=> Array
1386
- # resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight"
1397
+ # resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight", "ApiErrorRateInsight"
1387
1398
  #
1388
1399
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutInsightSelectors AWS API Documentation
1389
1400
  #
@@ -1689,7 +1700,7 @@ module Aws::CloudTrail
1689
1700
  params: params,
1690
1701
  config: config)
1691
1702
  context[:gem_name] = 'aws-sdk-cloudtrail'
1692
- context[:gem_version] = '1.38.0'
1703
+ context[:gem_version] = '1.42.0'
1693
1704
  Seahorse::Client::Request.new(handlers, context)
1694
1705
  end
1695
1706
 
@@ -152,16 +152,31 @@ module Aws::CloudTrail
152
152
  #
153
153
  # * <b> <code>resources.type</code> </b> - This field is required.
154
154
  # `resources.type` can only use the `Equals` operator, and the value
155
- # can be one of the following: `AWS::S3::Object`,
156
- # `AWS::S3::AccessPoint`, `AWS::Lambda::Function`,
157
- # `AWS::DynamoDB::Table`, `AWS::S3Outposts::Object`,
158
- # `AWS::ManagedBlockchain::Node`,
159
- # `AWS::S3ObjectLambda::AccessPoint`, or `AWS::EC2::Snapshot`. You
160
- # can have only one `resources.type` field per selector. To log data
161
- # events on more than one resource type, add another selector.
155
+ # can be one of the following:
156
+ #
157
+ # * `AWS::S3::Object`
158
+ #
159
+ # * `AWS::Lambda::Function`
160
+ #
161
+ # * `AWS::DynamoDB::Table`
162
+ #
163
+ # * `AWS::S3Outposts::Object`
164
+ #
165
+ # * `AWS::ManagedBlockchain::Node`
166
+ #
167
+ # * `AWS::S3ObjectLambda::AccessPoint`
168
+ #
169
+ # * `AWS::EC2::Snapshot`
170
+ #
171
+ # * `AWS::S3::AccessPoint`
172
+ #
173
+ # * `AWS::DynamoDB::Stream`
174
+ #
175
+ # You can have only one `resources.type` field per selector. To log
176
+ # data events on more than one resource type, add another selector.
162
177
  #
163
178
  # * <b> <code>resources.ARN</code> </b> - You can use any operator
164
- # with resources.ARN, but if you use `Equals` or `NotEquals`, the
179
+ # with `resources.ARN`, but if you use `Equals` or `NotEquals`, the
165
180
  # value must exactly match the ARN of a valid resource of the type
166
181
  # you've specified in the template as the value of resources.type.
167
182
  # For example, if resources.type equals `AWS::S3::Object`, the ARN
@@ -200,7 +215,7 @@ module Aws::CloudTrail
200
215
  # operator is set to `Equals` or `NotEquals`, the ARN must be in the
201
216
  # following format:
202
217
  #
203
- # * `arn:<partition>:dynamodb:<region>:<account_ID>:table:<table_name>`
218
+ # * `arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>`
204
219
  #
205
220
  # ^
206
221
  #
@@ -235,6 +250,14 @@ module Aws::CloudTrail
235
250
  # * `arn:<partition>:ec2:<region>::snapshot/<snapshot_ID>`
236
251
  #
237
252
  # ^
253
+ #
254
+ # When `resources.type` equals `AWS::DynamoDB::Stream`, and the
255
+ # operator is set to `Equals` or `NotEquals`, the ARN must be in the
256
+ # following format:
257
+ #
258
+ # * `arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time>`
259
+ #
260
+ # ^
238
261
  # @return [String]
239
262
  #
240
263
  # @!attribute [rw] equals
@@ -658,13 +681,31 @@ module Aws::CloudTrail
658
681
  #
659
682
  # @!attribute [rw] type
660
683
  # The resource type in which you want to log data events. You can
661
- # specify `AWS::S3::Object`, `AWS::Lambda::Function`, or
662
- # `AWS::DynamoDB::Table` resources.
684
+ # specify the following *basic* event selector resource types:
685
+ #
686
+ # * `AWS::S3::Object`
687
+ #
688
+ # * `AWS::Lambda::Function`
689
+ #
690
+ # * `AWS::DynamoDB::Table`
691
+ #
692
+ # The following resource types are also availble through *advanced*
693
+ # event selectors. Basic event selector resource types are valid in
694
+ # advanced event selectors, but advanced event selector resource types
695
+ # are not valid in basic event selectors. For more information, see
696
+ # AdvancedFieldSelector$Field.
697
+ #
698
+ # * `AWS::S3Outposts::Object`
699
+ #
700
+ # * `AWS::ManagedBlockchain::Node`
701
+ #
702
+ # * `AWS::S3ObjectLambda::AccessPoint`
703
+ #
704
+ # * `AWS::EC2::Snapshot`
705
+ #
706
+ # * `AWS::S3::AccessPoint`
663
707
  #
664
- # The `AWS::S3Outposts::Object`, `AWS::ManagedBlockchain::Node`,
665
- # `AWS::S3ObjectLambda::AccessPoint`, and `AWS::EC2::Snapshot`
666
- # resource types are not valid in basic event selectors. To log data
667
- # events on these resource types, use advanced event selectors.
708
+ # * `AWS::DynamoDB::Stream`
668
709
  # @return [String]
669
710
  #
670
711
  # @!attribute [rw] values
@@ -1313,7 +1354,7 @@ module Aws::CloudTrail
1313
1354
  # data as a hash:
1314
1355
  #
1315
1356
  # {
1316
- # insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight
1357
+ # insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight, ApiErrorRateInsight
1317
1358
  # }
1318
1359
  #
1319
1360
  # @!attribute [rw] insight_type
@@ -2029,7 +2070,7 @@ module Aws::CloudTrail
2029
2070
  # trail_name: "String", # required
2030
2071
  # insight_selectors: [ # required
2031
2072
  # {
2032
- # insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight
2073
+ # insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight, ApiErrorRateInsight
2033
2074
  # },
2034
2075
  # ],
2035
2076
  # }
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudtrail/customizations'
48
48
  # @!group service
49
49
  module Aws::CloudTrail
50
50
 
51
- GEM_VERSION = '1.38.0'
51
+ GEM_VERSION = '1.42.0'
52
52
 
53
53
  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.38.0
4
+ version: 1.42.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: 2021-09-01 00:00:00.000000000 Z
11
+ date: 2021-11-30 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.120.0
22
+ version: 3.122.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.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement