aws-sdk-cloudtrail 1.40.0 → 1.41.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +4 -4
- data/lib/aws-sdk-cloudtrail/types.rb +58 -17
- 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: 4b92a07ba9edecc0f52afbd727f08d54ef9a7fa9b454c4cc9ffc869a55591302
|
4
|
+
data.tar.gz: f46b705efdd6fc51f9a19b3c88029f438749e0a24302c1bec024e0b706536d77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a035d3ed2d768d321bce056e729bb568d30deb1144505650c3f549679a2a445e43047cf3ad1fa8053231ed3c374853c94a6357e6909b3dcd2e222047fb0a4ec
|
7
|
+
data.tar.gz: f1e2e103fd8439529afd282a707144cbb7e0be545ff61f8e790a9c6a0f3dbb9b78e8e21f8467b9eb82b29b30839f9f1bd3ff826f9e11573395a4c939e4030724
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2021-11-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.40.0 (2021-11-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -801,7 +801,7 @@ module Aws::CloudTrail
|
|
801
801
|
#
|
802
802
|
# resp.trail_arn #=> String
|
803
803
|
# resp.insight_selectors #=> Array
|
804
|
-
# resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight"
|
804
|
+
# resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight", "ApiErrorRateInsight"
|
805
805
|
#
|
806
806
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetInsightSelectors AWS API Documentation
|
807
807
|
#
|
@@ -1383,7 +1383,7 @@ module Aws::CloudTrail
|
|
1383
1383
|
# trail_name: "String", # required
|
1384
1384
|
# insight_selectors: [ # required
|
1385
1385
|
# {
|
1386
|
-
# insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight
|
1386
|
+
# insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight, ApiErrorRateInsight
|
1387
1387
|
# },
|
1388
1388
|
# ],
|
1389
1389
|
# })
|
@@ -1392,7 +1392,7 @@ module Aws::CloudTrail
|
|
1392
1392
|
#
|
1393
1393
|
# resp.trail_arn #=> String
|
1394
1394
|
# resp.insight_selectors #=> Array
|
1395
|
-
# resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight"
|
1395
|
+
# resp.insight_selectors[0].insight_type #=> String, one of "ApiCallRateInsight", "ApiErrorRateInsight"
|
1396
1396
|
#
|
1397
1397
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutInsightSelectors AWS API Documentation
|
1398
1398
|
#
|
@@ -1698,7 +1698,7 @@ module Aws::CloudTrail
|
|
1698
1698
|
params: params,
|
1699
1699
|
config: config)
|
1700
1700
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
1701
|
-
context[:gem_version] = '1.
|
1701
|
+
context[:gem_version] = '1.41.0'
|
1702
1702
|
Seahorse::Client::Request.new(handlers, context)
|
1703
1703
|
end
|
1704
1704
|
|
@@ -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:
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
# `AWS::
|
160
|
-
#
|
161
|
-
#
|
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
|
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
|
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
|
662
|
-
#
|
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
|
-
#
|
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
|
# }
|
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.41.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-11-
|
11
|
+
date: 2021-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|