aws-sdk-cloudtrail 1.39.0 → 1.43.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: f5c656b7e96bf3ec90fbef8163d3eb493e201aba6d79e6aa8878421775e8724d
4
- data.tar.gz: 2ce299b6b65c8091b5a2e3eece9ac36c3a1b77b91c386566e2ed99ed52bc0f3b
3
+ metadata.gz: 51f6856208a845f826f248a6fc3f8df5512a34c509def5b3b3de630f3e3a6d18
4
+ data.tar.gz: 21ac5f013852a55b875c641c5f230ea11f1e4cceec4b97b00a20897cfdef6a24
5
5
  SHA512:
6
- metadata.gz: 32a4f46d96e16b4cf61545e68099868699be0b8722d027b63fae433b08ce6dab80aa5455f57e4d9cf0fe76e35ce55c4f7fedef6bfe86dfaa0b3609db462ae54a
7
- data.tar.gz: 4cf145c34f04bce877bed196594c1872709f9f734e46fbac6b318b046075de22994d8a7efc660abe7b420ef50a144610201896a709b7ba7e6b03f6c0f7a1e4dc
6
+ metadata.gz: f46b36de0fd6c4bb1c080a5885203f854ce1104ea3f96216a6bd01cb173847f74800b15f0aaf6f4d407fcd8988877fc078b4d7594be37abd925afc77bd9660e7
7
+ data.tar.gz: c767768bbb167ba821b2f0a4f8a699e59c02a0fd1b30af0ed3805717d067c57bfd785946326725c68aa5169cdbdbe49ba59d58bbddea4e0b51b307c8f6b06720
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.43.0 (2021-12-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.42.0 (2021-11-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.41.0 (2021-11-16)
15
+ ------------------
16
+
17
+ * 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.
18
+
19
+ 1.40.0 (2021-11-04)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.39.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.43.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::CloudTrail
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
80
 
@@ -119,7 +121,9 @@ module Aws::CloudTrail
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::CloudTrail
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -285,6 +293,15 @@ module Aws::CloudTrail
285
293
  # ** Please note ** When response stubbing is enabled, no HTTP
286
294
  # requests are made, and retries are disabled.
287
295
  #
296
+ # @option options [Boolean] :use_dualstack_endpoint
297
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
298
+ # will be used if available.
299
+ #
300
+ # @option options [Boolean] :use_fips_endpoint
301
+ # When set to `true`, fips compatible endpoints will be used if available.
302
+ # When a `fips` region is used, the region is normalized and this config
303
+ # is set to `true`.
304
+ #
288
305
  # @option options [Boolean] :validate_params (true)
289
306
  # When `true`, request parameters are validated before
290
307
  # sending the request.
@@ -296,7 +313,7 @@ module Aws::CloudTrail
296
313
  # seconds to wait when opening a HTTP session before raising a
297
314
  # `Timeout::Error`.
298
315
  #
299
- # @option options [Integer] :http_read_timeout (60) The default
316
+ # @option options [Float] :http_read_timeout (60) The default
300
317
  # number of seconds to wait for response data. This value can
301
318
  # safely be set per-request on the session.
302
319
  #
@@ -312,6 +329,9 @@ module Aws::CloudTrail
312
329
  # disables this behaviour. This value can safely be set per
313
330
  # request on the session.
314
331
  #
332
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
333
+ # in seconds.
334
+ #
315
335
  # @option options [Boolean] :http_wire_trace (false) When `true`,
316
336
  # HTTP debug output will be sent to the `:logger`.
317
337
  #
@@ -792,7 +812,7 @@ module Aws::CloudTrail
792
812
  #
793
813
  # resp.trail_arn #=> String
794
814
  # resp.insight_selectors #=> Array
795
- # resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight"
815
+ # resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight", "ApiErrorRateInsight"
796
816
  #
797
817
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetInsightSelectors AWS API Documentation
798
818
  #
@@ -1374,7 +1394,7 @@ module Aws::CloudTrail
1374
1394
  # trail_name: "String", # required
1375
1395
  # insight_selectors: [ # required
1376
1396
  # {
1377
- # insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight
1397
+ # insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight, ApiErrorRateInsight
1378
1398
  # },
1379
1399
  # ],
1380
1400
  # })
@@ -1383,7 +1403,7 @@ module Aws::CloudTrail
1383
1403
  #
1384
1404
  # resp.trail_arn #=> String
1385
1405
  # resp.insight_selectors #=> Array
1386
- # resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight"
1406
+ # resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight", "ApiErrorRateInsight"
1387
1407
  #
1388
1408
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutInsightSelectors AWS API Documentation
1389
1409
  #
@@ -1689,7 +1709,7 @@ module Aws::CloudTrail
1689
1709
  params: params,
1690
1710
  config: config)
1691
1711
  context[:gem_name] = 'aws-sdk-cloudtrail'
1692
- context[:gem_version] = '1.39.0'
1712
+ context[:gem_version] = '1.43.0'
1693
1713
  Seahorse::Client::Request.new(handlers, context)
1694
1714
  end
1695
1715
 
@@ -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.39.0'
51
+ GEM_VERSION = '1.43.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.39.0
4
+ version: 1.43.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-10-18 00:00:00.000000000 Z
11
+ date: 2021-12-21 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.121.2
22
+ version: 3.125.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.121.2
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement