aws-sdk-cloudtrail 1.32.0 → 1.33.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49fc047dc2d8263fa56384ecec867cdb0bd7cceeb492efe32ee6c58c445c4a65
|
4
|
+
data.tar.gz: febf25452d46c58817c0f230e6f5fa3e731a3b07f5f740d2c3f7cb027c51d783
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a5e88c72243fb91648a48072f719476ee8371df75b8dbd2aea77cdcf670e0c2845dac49e0816d90efb2dd9b806ca3c94e3eb834aed94b9517515ccac214cb2a
|
7
|
+
data.tar.gz: 23283771167743f47d5c7ec05ede848b057dc74c3d3e0c06102320a0b879bcb41d1696fdc5bdd7cbd9b1283da3298893054181167d9e8a4c01cbe88e8ca7db10
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
@@ -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.33.0'
|
1674
1674
|
Seahorse::Client::Request.new(handlers, context)
|
1675
1675
|
end
|
1676
1676
|
|
@@ -25,6 +25,7 @@ module Aws::CloudTrail
|
|
25
25
|
CloudTrailAccessNotEnabledException = Shapes::StructureShape.new(name: 'CloudTrailAccessNotEnabledException')
|
26
26
|
CloudTrailInvalidClientTokenIdException = Shapes::StructureShape.new(name: 'CloudTrailInvalidClientTokenIdException')
|
27
27
|
CloudWatchLogsDeliveryUnavailableException = Shapes::StructureShape.new(name: 'CloudWatchLogsDeliveryUnavailableException')
|
28
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
28
29
|
CreateTrailRequest = Shapes::StructureShape.new(name: 'CreateTrailRequest')
|
29
30
|
CreateTrailResponse = Shapes::StructureShape.new(name: 'CreateTrailResponse')
|
30
31
|
DataResource = Shapes::StructureShape.new(name: 'DataResource')
|
@@ -168,6 +169,8 @@ module Aws::CloudTrail
|
|
168
169
|
|
169
170
|
CloudWatchLogsDeliveryUnavailableException.struct_class = Types::CloudWatchLogsDeliveryUnavailableException
|
170
171
|
|
172
|
+
ConflictException.struct_class = Types::ConflictException
|
173
|
+
|
171
174
|
CreateTrailRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
172
175
|
CreateTrailRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketName"))
|
173
176
|
CreateTrailRequest.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
|
@@ -614,6 +617,7 @@ module Aws::CloudTrail
|
|
614
617
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
615
618
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
616
619
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
617
621
|
end)
|
618
622
|
|
619
623
|
api.add_operation(:describe_trails, Seahorse::Model::Operation.new.tap do |o|
|
@@ -777,6 +781,8 @@ module Aws::CloudTrail
|
|
777
781
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInsightSelectorsException)
|
778
782
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyException)
|
779
783
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientEncryptionPolicyException)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: S3BucketDoesNotExistException)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsException)
|
780
786
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
781
787
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
782
788
|
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
|
@@ -31,6 +31,7 @@ module Aws::CloudTrail
|
|
31
31
|
# * {CloudTrailAccessNotEnabledException}
|
32
32
|
# * {CloudTrailInvalidClientTokenIdException}
|
33
33
|
# * {CloudWatchLogsDeliveryUnavailableException}
|
34
|
+
# * {ConflictException}
|
34
35
|
# * {InsightNotEnabledException}
|
35
36
|
# * {InsufficientDependencyServiceAccessPermissionException}
|
36
37
|
# * {InsufficientEncryptionPolicyException}
|
@@ -117,6 +118,16 @@ module Aws::CloudTrail
|
|
117
118
|
end
|
118
119
|
end
|
119
120
|
|
121
|
+
class ConflictException < ServiceError
|
122
|
+
|
123
|
+
# @param [Seahorse::Client::RequestContext] context
|
124
|
+
# @param [String] message
|
125
|
+
# @param [Aws::CloudTrail::Types::ConflictException] data
|
126
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
127
|
+
super(context, message, data)
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
120
131
|
class InsightNotEnabledException < ServiceError
|
121
132
|
|
122
133
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -152,10 +152,10 @@ 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::Lambda::Function`. You can
|
157
|
-
# field per selector. To log data
|
158
|
-
# type, add another selector.
|
155
|
+
# can be one of the following: `AWS::S3::Object`,
|
156
|
+
# `AWS::Lambda::Function`, or `AWS::S3Outposts::Object`. You can
|
157
|
+
# have only one `resources.type` field per selector. To log data
|
158
|
+
# events on more than one resource type, add another selector.
|
159
159
|
#
|
160
160
|
# * <b> <code>resources.ARN</code> </b> - You can use any operator
|
161
161
|
# with resources.ARN, but if you use `Equals` or `NotEquals`, the
|
@@ -176,6 +176,14 @@ module Aws::CloudTrail
|
|
176
176
|
# * `arn:partition:lambda:region:account_ID:function:function_name`
|
177
177
|
#
|
178
178
|
# ^
|
179
|
+
#
|
180
|
+
# When `resources.type` equals `AWS::S3Outposts::Object`, and the
|
181
|
+
# operator is set to `Equals` or `NotEquals`, the ARN must be in the
|
182
|
+
# following format:
|
183
|
+
#
|
184
|
+
# * `arn:partition:s3-outposts:region:>account_ID:object_path`
|
185
|
+
#
|
186
|
+
# ^
|
179
187
|
# @return [String]
|
180
188
|
#
|
181
189
|
# @!attribute [rw] equals
|
@@ -262,6 +270,16 @@ module Aws::CloudTrail
|
|
262
270
|
#
|
263
271
|
class CloudWatchLogsDeliveryUnavailableException < Aws::EmptyStructure; end
|
264
272
|
|
273
|
+
# This exception is thrown when the specified resource is not ready for
|
274
|
+
# an operation. This can occur when you try to run an operation on a
|
275
|
+
# trail before CloudTrail has time to fully load the trail. If this
|
276
|
+
# exception occurs, wait a few minutes, and then try the operation
|
277
|
+
# again.
|
278
|
+
#
|
279
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ConflictException AWS API Documentation
|
280
|
+
#
|
281
|
+
class ConflictException < Aws::EmptyStructure; end
|
282
|
+
|
265
283
|
# Specifies the settings for each trail.
|
266
284
|
#
|
267
285
|
# @note When making an API call, you may pass CreateTrailRequest
|
@@ -581,6 +599,10 @@ module Aws::CloudTrail
|
|
581
599
|
# @!attribute [rw] type
|
582
600
|
# The resource type in which you want to log data events. You can
|
583
601
|
# specify `AWS::S3::Object` or `AWS::Lambda::Function` resources.
|
602
|
+
#
|
603
|
+
# The `AWS::S3Outposts::Object` resource type is not valid in basic
|
604
|
+
# event selectors. To log data events on this resource type, use
|
605
|
+
# advanced event selectors.
|
584
606
|
# @return [String]
|
585
607
|
#
|
586
608
|
# @!attribute [rw] values
|
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.33.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-02-
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|