aws-sdk-cloudtrail 1.67.0 → 1.68.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: 92d0966539a7c3c8f9cb36c75c19cba8db515c60d190c11d39a4798c9fb72f89
4
- data.tar.gz: 4434c848284136617701d6a21fe72a715bb2694af338aac089e2cea1fc9be842
3
+ metadata.gz: 353dff58e130c993b136eed3407d325ba41c8d4901cbd2b9f986b04e0e7235de
4
+ data.tar.gz: 9c03875edcecda6e5b2eb2b64ed109fa1134e4be19f7076ce26a24704a67563a
5
5
  SHA512:
6
- metadata.gz: 7685ce4d3350160b3537259c6ba1db2301780c21cdcd00b163f8e3878344381f73950bf5e699db91749ce62c420b9eacffe570c4b7f32b0d67dab6ce526fddda
7
- data.tar.gz: bb0b421f21419258023899bfba83579d53bd9ecad3e1c587b28b54f723e49eb73e3b4cd016607aab610359876cdbe1857e3d740fa53b79a37a0aadeff65a6fe2
6
+ metadata.gz: a60a3be562145d9413e64f37d723dd827a39eb02a18b4b7a817ec23aa6a395adf685fe292fe1e1964426cb2669f7a043ea841b5c73a97d9106b54c308dd4e662
7
+ data.tar.gz: 30acdfa490b067378393843665fe857e1adad01f63c2c9d142b5bfeb3820032e23418aad2908a86b00c7ab17e9d80efbc6890d9fe9a1beb0338fc04137f89162
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2023-08-25)
5
+ ------------------
6
+
7
+ * Feature - Add ThrottlingException with error code 429 to handle CloudTrail Delegated Admin request rate exceeded on organization resources.
8
+
4
9
  1.67.0 (2023-08-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.68.0
@@ -3437,7 +3437,7 @@ module Aws::CloudTrail
3437
3437
  params: params,
3438
3438
  config: config)
3439
3439
  context[:gem_name] = 'aws-sdk-cloudtrail'
3440
- context[:gem_version] = '1.67.0'
3440
+ context[:gem_version] = '1.68.0'
3441
3441
  Seahorse::Client::Request.new(handlers, context)
3442
3442
  end
3443
3443
 
@@ -274,6 +274,7 @@ module Aws::CloudTrail
274
274
  TagsLimitExceededException = Shapes::StructureShape.new(name: 'TagsLimitExceededException')
275
275
  TagsList = Shapes::ListShape.new(name: 'TagsList')
276
276
  TerminationProtectionEnabled = Shapes::BooleanShape.new(name: 'TerminationProtectionEnabled')
277
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
277
278
  Trail = Shapes::StructureShape.new(name: 'Trail')
278
279
  TrailAlreadyExistsException = Shapes::StructureShape.new(name: 'TrailAlreadyExistsException')
279
280
  TrailInfo = Shapes::StructureShape.new(name: 'TrailInfo')
@@ -1057,6 +1058,8 @@ module Aws::CloudTrail
1057
1058
 
1058
1059
  TagsList.member = Shapes::ShapeRef.new(shape: Tag)
1059
1060
 
1061
+ ThrottlingException.struct_class = Types::ThrottlingException
1062
+
1060
1063
  Trail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1061
1064
  Trail.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
1062
1065
  Trail.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
@@ -1300,6 +1303,7 @@ module Aws::CloudTrail
1300
1303
  o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1301
1304
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailInvalidClientTokenIdException)
1302
1305
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1306
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1303
1307
  end)
1304
1308
 
1305
1309
  api.add_operation(:delete_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -1358,6 +1362,7 @@ module Aws::CloudTrail
1358
1362
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1359
1363
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1360
1364
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1365
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1361
1366
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
1362
1367
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1363
1368
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
@@ -1478,6 +1483,7 @@ module Aws::CloudTrail
1478
1483
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1479
1484
  o.errors << Shapes::ShapeRef.new(shape: InsightNotEnabledException)
1480
1485
  o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1486
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1481
1487
  end)
1482
1488
 
1483
1489
  api.add_operation(:get_query_results, Seahorse::Model::Operation.new.tap do |o|
@@ -1731,6 +1737,7 @@ module Aws::CloudTrail
1731
1737
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
1732
1738
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
1733
1739
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1734
1741
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1735
1742
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1736
1743
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
@@ -1757,6 +1764,7 @@ module Aws::CloudTrail
1757
1764
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1758
1765
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1759
1766
  o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1767
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1760
1768
  end)
1761
1769
 
1762
1770
  api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1885,6 +1893,7 @@ module Aws::CloudTrail
1885
1893
  o.output = Shapes::ShapeRef.new(shape: StartLoggingResponse)
1886
1894
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1887
1895
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1896
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1888
1897
  o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
1889
1898
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1890
1899
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
@@ -1957,6 +1966,7 @@ module Aws::CloudTrail
1957
1966
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1958
1967
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1959
1968
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1969
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1960
1970
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
1961
1971
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1962
1972
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
@@ -2030,6 +2040,7 @@ module Aws::CloudTrail
2030
2040
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
2031
2041
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
2032
2042
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2043
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2033
2044
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2034
2045
  o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
2035
2046
  o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
@@ -102,6 +102,7 @@ module Aws::CloudTrail
102
102
  # * {ResourceTypeNotSupportedException}
103
103
  # * {S3BucketDoesNotExistException}
104
104
  # * {TagsLimitExceededException}
105
+ # * {ThrottlingException}
105
106
  # * {TrailAlreadyExistsException}
106
107
  # * {TrailNotFoundException}
107
108
  # * {TrailNotProvidedException}
@@ -863,6 +864,16 @@ module Aws::CloudTrail
863
864
  end
864
865
  end
865
866
 
867
+ class ThrottlingException < ServiceError
868
+
869
+ # @param [Seahorse::Client::RequestContext] context
870
+ # @param [String] message
871
+ # @param [Aws::CloudTrail::Types::ThrottlingException] data
872
+ def initialize(context, message, data = Aws::EmptyStructure.new)
873
+ super(context, message, data)
874
+ end
875
+ end
876
+
866
877
  class TrailAlreadyExistsException < ServiceError
867
878
 
868
879
  # @param [Seahorse::Client::RequestContext] context
@@ -4353,6 +4353,12 @@ module Aws::CloudTrail
4353
4353
  #
4354
4354
  class TagsLimitExceededException < Aws::EmptyStructure; end
4355
4355
 
4356
+ # This exception is thrown when the request rate exceeds the limit.
4357
+ #
4358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ThrottlingException AWS API Documentation
4359
+ #
4360
+ class ThrottlingException < Aws::EmptyStructure; end
4361
+
4356
4362
  # The settings for a trail.
4357
4363
  #
4358
4364
  # @!attribute [rw] name
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudtrail/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudTrail
54
54
 
55
- GEM_VERSION = '1.67.0'
55
+ GEM_VERSION = '1.68.0'
56
56
 
57
57
  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.67.0
4
+ version: 1.68.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: 2023-08-10 00:00:00.000000000 Z
11
+ date: 2023-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core