aws-sdk-cloudtrail 1.34.0 → 1.35.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +3 -3
- data/lib/aws-sdk-cloudtrail/customizations.rb +1 -1
- data/lib/aws-sdk-cloudtrail/types.rb +60 -25
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23ba65a9162518884fe4096ec24c92e1305afa7211720af773fde28f00ee490f
|
4
|
+
data.tar.gz: a05fbbdc5c02421f1d9fc324d5897b1587b8f1bc834407381ad9d3c20006d358
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a62b47f50bf25b8b1f994df2b7e561ef06dfe4013e8acba896cb56ce9ec250dea6f0c7201137aa94c8573b1fa98a4b14044db91b8d03b5b47e46a0a8789013b
|
7
|
+
data.tar.gz: 8c77c872ed2d10bea6f402b25f5638c74076ef87bba2b24390453e8e15bb1c4c9e2f0d54f1696a88efea0abe99d0f637a325c7fc5d800a86d77a535d2370ace3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.35.0 (2021-06-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS CloudTrail supports data events on new service resources, including Amazon DynamoDB tables and S3 Object Lambda access points.
|
8
|
+
|
4
9
|
1.34.0 (2021-03-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
@@ -655,8 +655,8 @@ module Aws::CloudTrail
|
|
655
655
|
#
|
656
656
|
# * If your event selector includes management events.
|
657
657
|
#
|
658
|
-
# * If your event selector includes data events, the
|
659
|
-
#
|
658
|
+
# * If your event selector includes data events, the resources on which
|
659
|
+
# you are logging data events.
|
660
660
|
#
|
661
661
|
# For more information, see [Logging Data and Management Events for
|
662
662
|
# Trails ][1] in the *AWS CloudTrail User Guide*.
|
@@ -1670,7 +1670,7 @@ module Aws::CloudTrail
|
|
1670
1670
|
params: params,
|
1671
1671
|
config: config)
|
1672
1672
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
1673
|
-
context[:gem_version] = '1.
|
1673
|
+
context[:gem_version] = '1.35.0'
|
1674
1674
|
Seahorse::Client::Request.new(handlers, context)
|
1675
1675
|
end
|
1676
1676
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# WARNING ABOUT GENERATED CODE
|
3
3
|
#
|
4
4
|
# This file is generated. See the contributing for info on making contributions:
|
5
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
5
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
6
6
|
#
|
7
7
|
# WARNING ABOUT GENERATED CODE
|
8
8
|
|
@@ -153,17 +153,22 @@ module Aws::CloudTrail
|
|
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
155
|
# can be one of the following: `AWS::S3::Object`,
|
156
|
-
# `AWS::Lambda::Function`,
|
157
|
-
#
|
158
|
-
#
|
156
|
+
# `AWS::Lambda::Function`, `AWS::DynamoDB::Table`,
|
157
|
+
# `AWS::S3Outposts::Object`, `AWS::ManagedBlockchain::Node`, or
|
158
|
+
# `AWS::S3ObjectLambda::AccessPoint`. You can have only one
|
159
|
+
# `resources.type` field per selector. To log data events on more
|
160
|
+
# than one resource type, add another selector.
|
159
161
|
#
|
160
162
|
# * <b> <code>resources.ARN</code> </b> - You can use any operator
|
161
163
|
# with resources.ARN, but if you use `Equals` or `NotEquals`, the
|
162
164
|
# value must exactly match the ARN of a valid resource of the type
|
163
165
|
# you've specified in the template as the value of resources.type.
|
164
166
|
# For example, if resources.type equals `AWS::S3::Object`, the ARN
|
165
|
-
# must be in one of the following formats.
|
166
|
-
#
|
167
|
+
# must be in one of the following formats. To log all data events
|
168
|
+
# for all objects in a specific S3 bucket, use the `StartsWith`
|
169
|
+
# operator, and include only the bucket ARN as the matching value.
|
170
|
+
#
|
171
|
+
# The trailing slash is intentional; do not exclude it.
|
167
172
|
#
|
168
173
|
# * `arn:partition:s3:::bucket_name/`
|
169
174
|
#
|
@@ -177,6 +182,14 @@ module Aws::CloudTrail
|
|
177
182
|
#
|
178
183
|
# ^
|
179
184
|
#
|
185
|
+
# When resources.type equals `AWS::DynamoDB::Table`, and the
|
186
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
187
|
+
# following format:
|
188
|
+
#
|
189
|
+
# * `arn:partition:dynamodb:region:account_ID:table:table_name`
|
190
|
+
#
|
191
|
+
# ^
|
192
|
+
#
|
180
193
|
# When `resources.type` equals `AWS::S3Outposts::Object`, and the
|
181
194
|
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
182
195
|
# following format:
|
@@ -184,6 +197,22 @@ module Aws::CloudTrail
|
|
184
197
|
# * `arn:partition:s3-outposts:region:>account_ID:object_path`
|
185
198
|
#
|
186
199
|
# ^
|
200
|
+
#
|
201
|
+
# When `resources.type` equals `AWS::ManagedBlockchain::Node`, and
|
202
|
+
# the operator is set to `Equals` or `NotEquals`, the ARN must be in
|
203
|
+
# the following format:
|
204
|
+
#
|
205
|
+
# * `arn:partition:managedblockchain:region:account_ID:nodes/node_ID`
|
206
|
+
#
|
207
|
+
# ^
|
208
|
+
#
|
209
|
+
# When `resources.type` equals `AWS::S3ObjectLambda::AccessPoint`,
|
210
|
+
# and the operator is set to `Equals` or `NotEquals`, the ARN must
|
211
|
+
# be in the following format:
|
212
|
+
#
|
213
|
+
# * `arn:partition:s3-object-lambda:region:account_ID:accesspoint/access_point_name`
|
214
|
+
#
|
215
|
+
# ^
|
187
216
|
# @return [String]
|
188
217
|
#
|
189
218
|
# @!attribute [rw] equals
|
@@ -532,11 +561,12 @@ module Aws::CloudTrail
|
|
532
561
|
include Aws::Structure
|
533
562
|
end
|
534
563
|
|
535
|
-
# The Amazon S3 buckets
|
536
|
-
# event selectors for your trail to log data
|
537
|
-
# information about the resource operations
|
538
|
-
# resource itself. These are also known as data
|
539
|
-
# can specify up to 250 data resources for a
|
564
|
+
# The Amazon S3 buckets, AWS Lambda functions, or Amazon DynamoDB tables
|
565
|
+
# that you specify in your event selectors for your trail to log data
|
566
|
+
# events. Data events provide information about the resource operations
|
567
|
+
# performed on or within a resource itself. These are also known as data
|
568
|
+
# plane operations. You can specify up to 250 data resources for a
|
569
|
+
# trail.
|
540
570
|
#
|
541
571
|
# <note markdown="1"> The total number of allowed data resources is 250. This number can be
|
542
572
|
# distributed between 1 and 5 event selectors, but the total cannot
|
@@ -598,11 +628,13 @@ module Aws::CloudTrail
|
|
598
628
|
#
|
599
629
|
# @!attribute [rw] type
|
600
630
|
# The resource type in which you want to log data events. You can
|
601
|
-
# specify `AWS::S3::Object
|
631
|
+
# specify `AWS::S3::Object`, `AWS::Lambda::Function`, or
|
632
|
+
# `AWS::DynamoDB::Table` resources.
|
602
633
|
#
|
603
|
-
# The `AWS::S3Outposts::Object`
|
604
|
-
#
|
605
|
-
#
|
634
|
+
# The `AWS::S3Outposts::Object`, `AWS::ManagedBlockchain::Node`, and
|
635
|
+
# `AWS::S3ObjectLambda::AccessPoint` resource types are not valid in
|
636
|
+
# basic event selectors. To log data events on these resource types,
|
637
|
+
# use advanced event selectors.
|
606
638
|
# @return [String]
|
607
639
|
#
|
608
640
|
# @!attribute [rw] values
|
@@ -628,8 +660,8 @@ module Aws::CloudTrail
|
|
628
660
|
# trail logs data events for objects in this S3 bucket that match
|
629
661
|
# the prefix.
|
630
662
|
#
|
631
|
-
# * To log data events for all functions in your AWS account,
|
632
|
-
# the prefix as `arn:aws:lambda`.
|
663
|
+
# * To log data events for all Lambda functions in your AWS account,
|
664
|
+
# specify the prefix as `arn:aws:lambda`.
|
633
665
|
#
|
634
666
|
# <note markdown="1"> This will also enable logging of `Invoke` activity performed by
|
635
667
|
# any user or role in your AWS account, even if that activity is
|
@@ -649,6 +681,9 @@ module Aws::CloudTrail
|
|
649
681
|
# *arn:aws:lambda:us-west-2:111111111111:function:helloworld2*.
|
650
682
|
#
|
651
683
|
# </note>
|
684
|
+
#
|
685
|
+
# * To log data events for all DynamoDB tables in your AWS account,
|
686
|
+
# specify the prefix as `arn:aws:dynamodb`.
|
652
687
|
# @return [Array<String>]
|
653
688
|
#
|
654
689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DataResource AWS API Documentation
|
@@ -882,11 +917,11 @@ module Aws::CloudTrail
|
|
882
917
|
#
|
883
918
|
# @!attribute [rw] data_resources
|
884
919
|
# CloudTrail supports data event logging for Amazon S3 objects and AWS
|
885
|
-
# Lambda functions. You can specify up to
|
886
|
-
# individual event selector, but the total number
|
887
|
-
# cannot exceed 250 across all event selectors in a
|
888
|
-
# does not apply if you configure resource logging
|
889
|
-
# events.
|
920
|
+
# Lambda functions with basic event selectors. You can specify up to
|
921
|
+
# 250 resources for an individual event selector, but the total number
|
922
|
+
# of data resources cannot exceed 250 across all event selectors in a
|
923
|
+
# trail. This limit does not apply if you configure resource logging
|
924
|
+
# for all data events.
|
890
925
|
#
|
891
926
|
# For more information, see [Data Events][1] and [Limits in AWS
|
892
927
|
# CloudTrail][2] in the *AWS CloudTrail User Guide*.
|
@@ -1467,10 +1502,10 @@ module Aws::CloudTrail
|
|
1467
1502
|
#
|
1468
1503
|
class KmsKeyDisabledException < Aws::EmptyStructure; end
|
1469
1504
|
|
1470
|
-
# This exception is thrown when the KMS key does not exist, when the
|
1471
|
-
# bucket and the KMS key are not in the same region, or when the
|
1472
|
-
# associated with the SNS topic either does not exist or is
|
1473
|
-
# same region.
|
1505
|
+
# This exception is thrown when the AWS KMS key does not exist, when the
|
1506
|
+
# S3 bucket and the AWS KMS key are not in the same region, or when the
|
1507
|
+
# AWS KMS key associated with the SNS topic either does not exist or is
|
1508
|
+
# not in the same region.
|
1474
1509
|
#
|
1475
1510
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/KmsKeyNotFoundException AWS API Documentation
|
1476
1511
|
#
|
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.35.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
|
+
date: 2021-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudtrail
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudtrail/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - CloudTrail
|