aws-sdk-dynamodb 1.149.0 → 1.150.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-dynamodb/client.rb +11 -1
- data/lib/aws-sdk-dynamodb/client_api.rb +36 -0
- data/lib/aws-sdk-dynamodb/errors.rb +31 -0
- data/lib/aws-sdk-dynamodb/types.rb +166 -17
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/errors.rbs +6 -0
- data/sig/types.rbs +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 389e107d8e77c70c218525a734f193b615cc8de6ec27d38d8adf26716e0c7031
|
4
|
+
data.tar.gz: b60017c380d224910ffb8ea5b92ec6c14eda8faf8233c4f651b52d4c67eb0154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a564f504a0778bca9f47e0fcf6dc16eab3864890289e6438ee08131521cffb2e571934744e1ba69ab26a607e2d4f7ec50f6af1b360e4797a1f82f53bea1545c
|
7
|
+
data.tar.gz: 968be7ffa061e2edba0a24fe19628fab7dcc2be1edf0e0744d520c08a28d12672bc2830a4afcf40645cc700da0a7c29ceeb34c47b49e19924d9b4382f8717379
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.150.0 (2025-08-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release 1/ Adds support for throttled keys mode for CloudWatch Contributor Insights, 2/ Adds throttling reasons to exceptions across dataplane APIs. 3/ Explicitly models ThrottlingException as a class in statically typed languages. Refer to the launch day blog post for more details.
|
8
|
+
|
4
9
|
1.149.0 (2025-08-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.150.0
|
@@ -2648,6 +2648,7 @@ module Aws::DynamoDB
|
|
2648
2648
|
# * {Types::DescribeContributorInsightsOutput#contributor_insights_status #contributor_insights_status} => String
|
2649
2649
|
# * {Types::DescribeContributorInsightsOutput#last_update_date_time #last_update_date_time} => Time
|
2650
2650
|
# * {Types::DescribeContributorInsightsOutput#failure_exception #failure_exception} => Types::FailureException
|
2651
|
+
# * {Types::DescribeContributorInsightsOutput#contributor_insights_mode #contributor_insights_mode} => String
|
2651
2652
|
#
|
2652
2653
|
# @example Request syntax with placeholder values
|
2653
2654
|
#
|
@@ -2666,6 +2667,7 @@ module Aws::DynamoDB
|
|
2666
2667
|
# resp.last_update_date_time #=> Time
|
2667
2668
|
# resp.failure_exception.exception_name #=> String
|
2668
2669
|
# resp.failure_exception.exception_description #=> String
|
2670
|
+
# resp.contributor_insights_mode #=> String, one of "ACCESSED_AND_THROTTLED_KEYS", "THROTTLED_KEYS"
|
2669
2671
|
#
|
2670
2672
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContributorInsights AWS API Documentation
|
2671
2673
|
#
|
@@ -4449,6 +4451,7 @@ module Aws::DynamoDB
|
|
4449
4451
|
# resp.contributor_insights_summaries[0].table_name #=> String
|
4450
4452
|
# resp.contributor_insights_summaries[0].index_name #=> String
|
4451
4453
|
# resp.contributor_insights_summaries[0].contributor_insights_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "FAILED"
|
4454
|
+
# resp.contributor_insights_summaries[0].contributor_insights_mode #=> String, one of "ACCESSED_AND_THROTTLED_KEYS", "THROTTLED_KEYS"
|
4452
4455
|
# resp.next_token #=> String
|
4453
4456
|
#
|
4454
4457
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListContributorInsights AWS API Documentation
|
@@ -7151,11 +7154,16 @@ module Aws::DynamoDB
|
|
7151
7154
|
# @option params [required, String] :contributor_insights_action
|
7152
7155
|
# Represents the contributor insights action.
|
7153
7156
|
#
|
7157
|
+
# @option params [String] :contributor_insights_mode
|
7158
|
+
# Specifies whether to track all access and throttled events or
|
7159
|
+
# throttled events only for the DynamoDB table or index.
|
7160
|
+
#
|
7154
7161
|
# @return [Types::UpdateContributorInsightsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7155
7162
|
#
|
7156
7163
|
# * {Types::UpdateContributorInsightsOutput#table_name #table_name} => String
|
7157
7164
|
# * {Types::UpdateContributorInsightsOutput#index_name #index_name} => String
|
7158
7165
|
# * {Types::UpdateContributorInsightsOutput#contributor_insights_status #contributor_insights_status} => String
|
7166
|
+
# * {Types::UpdateContributorInsightsOutput#contributor_insights_mode #contributor_insights_mode} => String
|
7159
7167
|
#
|
7160
7168
|
# @example Request syntax with placeholder values
|
7161
7169
|
#
|
@@ -7163,6 +7171,7 @@ module Aws::DynamoDB
|
|
7163
7171
|
# table_name: "TableArn", # required
|
7164
7172
|
# index_name: "IndexName",
|
7165
7173
|
# contributor_insights_action: "ENABLE", # required, accepts ENABLE, DISABLE
|
7174
|
+
# contributor_insights_mode: "ACCESSED_AND_THROTTLED_KEYS", # accepts ACCESSED_AND_THROTTLED_KEYS, THROTTLED_KEYS
|
7166
7175
|
# })
|
7167
7176
|
#
|
7168
7177
|
# @example Response structure
|
@@ -7170,6 +7179,7 @@ module Aws::DynamoDB
|
|
7170
7179
|
# resp.table_name #=> String
|
7171
7180
|
# resp.index_name #=> String
|
7172
7181
|
# resp.contributor_insights_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "FAILED"
|
7182
|
+
# resp.contributor_insights_mode #=> String, one of "ACCESSED_AND_THROTTLED_KEYS", "THROTTLED_KEYS"
|
7173
7183
|
#
|
7174
7184
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContributorInsights AWS API Documentation
|
7175
7185
|
#
|
@@ -8671,7 +8681,7 @@ module Aws::DynamoDB
|
|
8671
8681
|
tracer: tracer
|
8672
8682
|
)
|
8673
8683
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
8674
|
-
context[:gem_version] = '1.
|
8684
|
+
context[:gem_version] = '1.150.0'
|
8675
8685
|
Seahorse::Client::Request.new(handlers, context)
|
8676
8686
|
end
|
8677
8687
|
|
@@ -36,6 +36,7 @@ module Aws::DynamoDB
|
|
36
36
|
AutoScalingSettingsUpdate = Shapes::StructureShape.new(name: 'AutoScalingSettingsUpdate')
|
37
37
|
AutoScalingTargetTrackingScalingPolicyConfigurationDescription = Shapes::StructureShape.new(name: 'AutoScalingTargetTrackingScalingPolicyConfigurationDescription')
|
38
38
|
AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = Shapes::StructureShape.new(name: 'AutoScalingTargetTrackingScalingPolicyConfigurationUpdate')
|
39
|
+
AvailabilityErrorMessage = Shapes::StringShape.new(name: 'AvailabilityErrorMessage')
|
39
40
|
Backfilling = Shapes::BooleanShape.new(name: 'Backfilling')
|
40
41
|
BackupArn = Shapes::StringShape.new(name: 'BackupArn')
|
41
42
|
BackupCreationDateTime = Shapes::TimestampShape.new(name: 'BackupCreationDateTime')
|
@@ -93,6 +94,7 @@ module Aws::DynamoDB
|
|
93
94
|
ContinuousBackupsStatus = Shapes::StringShape.new(name: 'ContinuousBackupsStatus')
|
94
95
|
ContinuousBackupsUnavailableException = Shapes::StructureShape.new(name: 'ContinuousBackupsUnavailableException')
|
95
96
|
ContributorInsightsAction = Shapes::StringShape.new(name: 'ContributorInsightsAction')
|
97
|
+
ContributorInsightsMode = Shapes::StringShape.new(name: 'ContributorInsightsMode')
|
96
98
|
ContributorInsightsRule = Shapes::StringShape.new(name: 'ContributorInsightsRule')
|
97
99
|
ContributorInsightsRuleList = Shapes::ListShape.new(name: 'ContributorInsightsRuleList')
|
98
100
|
ContributorInsightsStatus = Shapes::StringShape.new(name: 'ContributorInsightsStatus')
|
@@ -350,6 +352,7 @@ module Aws::DynamoDB
|
|
350
352
|
PutResourcePolicyOutput = Shapes::StructureShape.new(name: 'PutResourcePolicyOutput')
|
351
353
|
QueryInput = Shapes::StructureShape.new(name: 'QueryInput')
|
352
354
|
QueryOutput = Shapes::StructureShape.new(name: 'QueryOutput')
|
355
|
+
Reason = Shapes::StringShape.new(name: 'Reason')
|
353
356
|
RecoveryPeriodInDays = Shapes::IntegerShape.new(name: 'RecoveryPeriodInDays')
|
354
357
|
RegionName = Shapes::StringShape.new(name: 'RegionName')
|
355
358
|
Replica = Shapes::StructureShape.new(name: 'Replica')
|
@@ -387,6 +390,7 @@ module Aws::DynamoDB
|
|
387
390
|
ReplicationGroupUpdate = Shapes::StructureShape.new(name: 'ReplicationGroupUpdate')
|
388
391
|
ReplicationGroupUpdateList = Shapes::ListShape.new(name: 'ReplicationGroupUpdateList')
|
389
392
|
RequestLimitExceeded = Shapes::StructureShape.new(name: 'RequestLimitExceeded')
|
393
|
+
Resource = Shapes::StringShape.new(name: 'Resource')
|
390
394
|
ResourceArnString = Shapes::StringShape.new(name: 'ResourceArnString')
|
391
395
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
392
396
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -449,6 +453,9 @@ module Aws::DynamoDB
|
|
449
453
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
450
454
|
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
451
455
|
TagValueString = Shapes::StringShape.new(name: 'TagValueString')
|
456
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
457
|
+
ThrottlingReason = Shapes::StructureShape.new(name: 'ThrottlingReason')
|
458
|
+
ThrottlingReasonList = Shapes::ListShape.new(name: 'ThrottlingReasonList')
|
452
459
|
TimeRangeLowerBound = Shapes::TimestampShape.new(name: 'TimeRangeLowerBound')
|
453
460
|
TimeRangeUpperBound = Shapes::TimestampShape.new(name: 'TimeRangeUpperBound')
|
454
461
|
TimeToLiveAttributeName = Shapes::StringShape.new(name: 'TimeToLiveAttributeName')
|
@@ -714,6 +721,7 @@ module Aws::DynamoDB
|
|
714
721
|
ContributorInsightsSummary.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
715
722
|
ContributorInsightsSummary.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
716
723
|
ContributorInsightsSummary.add_member(:contributor_insights_status, Shapes::ShapeRef.new(shape: ContributorInsightsStatus, location_name: "ContributorInsightsStatus"))
|
724
|
+
ContributorInsightsSummary.add_member(:contributor_insights_mode, Shapes::ShapeRef.new(shape: ContributorInsightsMode, location_name: "ContributorInsightsMode"))
|
717
725
|
ContributorInsightsSummary.struct_class = Types::ContributorInsightsSummary
|
718
726
|
|
719
727
|
CreateBackupInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam" => {"name" => "ResourceArn"}}))
|
@@ -860,6 +868,7 @@ module Aws::DynamoDB
|
|
860
868
|
DescribeContributorInsightsOutput.add_member(:contributor_insights_status, Shapes::ShapeRef.new(shape: ContributorInsightsStatus, location_name: "ContributorInsightsStatus"))
|
861
869
|
DescribeContributorInsightsOutput.add_member(:last_update_date_time, Shapes::ShapeRef.new(shape: LastUpdateDateTime, location_name: "LastUpdateDateTime"))
|
862
870
|
DescribeContributorInsightsOutput.add_member(:failure_exception, Shapes::ShapeRef.new(shape: FailureException, location_name: "FailureException"))
|
871
|
+
DescribeContributorInsightsOutput.add_member(:contributor_insights_mode, Shapes::ShapeRef.new(shape: ContributorInsightsMode, location_name: "ContributorInsightsMode"))
|
863
872
|
DescribeContributorInsightsOutput.struct_class = Types::DescribeContributorInsightsOutput
|
864
873
|
|
865
874
|
DescribeEndpointsRequest.struct_class = Types::DescribeEndpointsRequest
|
@@ -1440,6 +1449,7 @@ module Aws::DynamoDB
|
|
1440
1449
|
ProvisionedThroughputDescription.struct_class = Types::ProvisionedThroughputDescription
|
1441
1450
|
|
1442
1451
|
ProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1452
|
+
ProvisionedThroughputExceededException.add_member(:throttling_reasons, Shapes::ShapeRef.new(shape: ThrottlingReasonList, location_name: "ThrottlingReasons"))
|
1443
1453
|
ProvisionedThroughputExceededException.struct_class = Types::ProvisionedThroughputExceededException
|
1444
1454
|
|
1445
1455
|
ProvisionedThroughputOverride.add_member(:read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ReadCapacityUnits"))
|
@@ -1639,6 +1649,7 @@ module Aws::DynamoDB
|
|
1639
1649
|
ReplicationGroupUpdateList.member = Shapes::ShapeRef.new(shape: ReplicationGroupUpdate)
|
1640
1650
|
|
1641
1651
|
RequestLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1652
|
+
RequestLimitExceeded.add_member(:throttling_reasons, Shapes::ShapeRef.new(shape: ThrottlingReasonList, location_name: "ThrottlingReasons"))
|
1642
1653
|
RequestLimitExceeded.struct_class = Types::RequestLimitExceeded
|
1643
1654
|
|
1644
1655
|
ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -1827,6 +1838,16 @@ module Aws::DynamoDB
|
|
1827
1838
|
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
1828
1839
|
TagResourceInput.struct_class = Types::TagResourceInput
|
1829
1840
|
|
1841
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: AvailabilityErrorMessage, location_name: "message"))
|
1842
|
+
ThrottlingException.add_member(:throttling_reasons, Shapes::ShapeRef.new(shape: ThrottlingReasonList, location_name: "throttlingReasons"))
|
1843
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
1844
|
+
|
1845
|
+
ThrottlingReason.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
|
1846
|
+
ThrottlingReason.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "resource"))
|
1847
|
+
ThrottlingReason.struct_class = Types::ThrottlingReason
|
1848
|
+
|
1849
|
+
ThrottlingReasonList.member = Shapes::ShapeRef.new(shape: ThrottlingReason)
|
1850
|
+
|
1830
1851
|
TimeToLiveDescription.add_member(:time_to_live_status, Shapes::ShapeRef.new(shape: TimeToLiveStatus, location_name: "TimeToLiveStatus"))
|
1831
1852
|
TimeToLiveDescription.add_member(:attribute_name, Shapes::ShapeRef.new(shape: TimeToLiveAttributeName, location_name: "AttributeName"))
|
1832
1853
|
TimeToLiveDescription.struct_class = Types::TimeToLiveDescription
|
@@ -1899,11 +1920,13 @@ module Aws::DynamoDB
|
|
1899
1920
|
UpdateContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam" => {"name" => "ResourceArn"}}))
|
1900
1921
|
UpdateContributorInsightsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
1901
1922
|
UpdateContributorInsightsInput.add_member(:contributor_insights_action, Shapes::ShapeRef.new(shape: ContributorInsightsAction, required: true, location_name: "ContributorInsightsAction"))
|
1923
|
+
UpdateContributorInsightsInput.add_member(:contributor_insights_mode, Shapes::ShapeRef.new(shape: ContributorInsightsMode, location_name: "ContributorInsightsMode"))
|
1902
1924
|
UpdateContributorInsightsInput.struct_class = Types::UpdateContributorInsightsInput
|
1903
1925
|
|
1904
1926
|
UpdateContributorInsightsOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
1905
1927
|
UpdateContributorInsightsOutput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
1906
1928
|
UpdateContributorInsightsOutput.add_member(:contributor_insights_status, Shapes::ShapeRef.new(shape: ContributorInsightsStatus, location_name: "ContributorInsightsStatus"))
|
1929
|
+
UpdateContributorInsightsOutput.add_member(:contributor_insights_mode, Shapes::ShapeRef.new(shape: ContributorInsightsMode, location_name: "ContributorInsightsMode"))
|
1907
1930
|
UpdateContributorInsightsOutput.struct_class = Types::UpdateContributorInsightsOutput
|
1908
1931
|
|
1909
1932
|
UpdateGlobalSecondaryIndexAction.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
|
@@ -2048,6 +2071,7 @@ module Aws::DynamoDB
|
|
2048
2071
|
o.output = Shapes::ShapeRef.new(shape: BatchExecuteStatementOutput)
|
2049
2072
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2050
2073
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2074
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2051
2075
|
end)
|
2052
2076
|
|
2053
2077
|
api.add_operation(:batch_get_item, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2062,6 +2086,7 @@ module Aws::DynamoDB
|
|
2062
2086
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2063
2087
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2064
2088
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2089
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2065
2090
|
o[:pager] = Aws::Pager.new(
|
2066
2091
|
tokens: {
|
2067
2092
|
"unprocessed_keys" => "request_items"
|
@@ -2083,6 +2108,7 @@ module Aws::DynamoDB
|
|
2083
2108
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2084
2109
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2085
2110
|
o.errors << Shapes::ShapeRef.new(shape: ReplicatedWriteConflictException)
|
2111
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2086
2112
|
end)
|
2087
2113
|
|
2088
2114
|
api.add_operation(:create_backup, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2158,6 +2184,7 @@ module Aws::DynamoDB
|
|
2158
2184
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2159
2185
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2160
2186
|
o.errors << Shapes::ShapeRef.new(shape: ReplicatedWriteConflictException)
|
2187
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2161
2188
|
end)
|
2162
2189
|
|
2163
2190
|
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2375,6 +2402,7 @@ module Aws::DynamoDB
|
|
2375
2402
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2376
2403
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2377
2404
|
o.errors << Shapes::ShapeRef.new(shape: DuplicateItemException)
|
2405
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2378
2406
|
end)
|
2379
2407
|
|
2380
2408
|
api.add_operation(:execute_transaction, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2390,6 +2418,7 @@ module Aws::DynamoDB
|
|
2390
2418
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
2391
2419
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2392
2420
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2421
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2393
2422
|
end)
|
2394
2423
|
|
2395
2424
|
api.add_operation(:export_table_to_point_in_time, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2418,6 +2447,7 @@ module Aws::DynamoDB
|
|
2418
2447
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2419
2448
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2420
2449
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2450
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2421
2451
|
end)
|
2422
2452
|
|
2423
2453
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2558,6 +2588,7 @@ module Aws::DynamoDB
|
|
2558
2588
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2559
2589
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2560
2590
|
o.errors << Shapes::ShapeRef.new(shape: ReplicatedWriteConflictException)
|
2591
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2561
2592
|
end)
|
2562
2593
|
|
2563
2594
|
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2587,6 +2618,7 @@ module Aws::DynamoDB
|
|
2587
2618
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2588
2619
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2589
2620
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2621
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2590
2622
|
o[:pager] = Aws::Pager.new(
|
2591
2623
|
limit_key: "limit",
|
2592
2624
|
tokens: {
|
@@ -2640,6 +2672,7 @@ module Aws::DynamoDB
|
|
2640
2672
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2641
2673
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2642
2674
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2675
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2643
2676
|
o[:pager] = Aws::Pager.new(
|
2644
2677
|
limit_key: "limit",
|
2645
2678
|
tokens: {
|
@@ -2675,6 +2708,7 @@ module Aws::DynamoDB
|
|
2675
2708
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
2676
2709
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2677
2710
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2711
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2678
2712
|
end)
|
2679
2713
|
|
2680
2714
|
api.add_operation(:transact_write_items, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2692,6 +2726,7 @@ module Aws::DynamoDB
|
|
2692
2726
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
2693
2727
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2694
2728
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2729
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2695
2730
|
end)
|
2696
2731
|
|
2697
2732
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2778,6 +2813,7 @@ module Aws::DynamoDB
|
|
2778
2813
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2779
2814
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2780
2815
|
o.errors << Shapes::ShapeRef.new(shape: ReplicatedWriteConflictException)
|
2816
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2781
2817
|
end)
|
2782
2818
|
|
2783
2819
|
api.add_operation(:update_kinesis_streaming_destination, Seahorse::Model::Operation.new.tap do |o|
|
@@ -57,6 +57,7 @@ module Aws::DynamoDB
|
|
57
57
|
# * {TableAlreadyExistsException}
|
58
58
|
# * {TableInUseException}
|
59
59
|
# * {TableNotFoundException}
|
60
|
+
# * {ThrottlingException}
|
60
61
|
# * {TransactionCanceledException}
|
61
62
|
# * {TransactionConflictException}
|
62
63
|
# * {TransactionInProgressException}
|
@@ -385,6 +386,11 @@ module Aws::DynamoDB
|
|
385
386
|
def message
|
386
387
|
@message || @data[:message]
|
387
388
|
end
|
389
|
+
|
390
|
+
# @return [String]
|
391
|
+
def throttling_reasons
|
392
|
+
@data[:throttling_reasons]
|
393
|
+
end
|
388
394
|
end
|
389
395
|
|
390
396
|
class ReplicaAlreadyExistsException < ServiceError
|
@@ -449,6 +455,11 @@ module Aws::DynamoDB
|
|
449
455
|
def message
|
450
456
|
@message || @data[:message]
|
451
457
|
end
|
458
|
+
|
459
|
+
# @return [String]
|
460
|
+
def throttling_reasons
|
461
|
+
@data[:throttling_reasons]
|
462
|
+
end
|
452
463
|
end
|
453
464
|
|
454
465
|
class ResourceInUseException < ServiceError
|
@@ -526,6 +537,26 @@ module Aws::DynamoDB
|
|
526
537
|
end
|
527
538
|
end
|
528
539
|
|
540
|
+
class ThrottlingException < ServiceError
|
541
|
+
|
542
|
+
# @param [Seahorse::Client::RequestContext] context
|
543
|
+
# @param [String] message
|
544
|
+
# @param [Aws::DynamoDB::Types::ThrottlingException] data
|
545
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
546
|
+
super(context, message, data)
|
547
|
+
end
|
548
|
+
|
549
|
+
# @return [String]
|
550
|
+
def message
|
551
|
+
@message || @data[:message]
|
552
|
+
end
|
553
|
+
|
554
|
+
# @return [String]
|
555
|
+
def throttling_reasons
|
556
|
+
@data[:throttling_reasons]
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
529
560
|
class TransactionCanceledException < ServiceError
|
530
561
|
|
531
562
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1649,12 +1649,19 @@ module Aws::DynamoDB
|
|
1649
1649
|
# table and index, if applicable.
|
1650
1650
|
# @return [String]
|
1651
1651
|
#
|
1652
|
+
# @!attribute [rw] contributor_insights_mode
|
1653
|
+
# Indicates the current mode of CloudWatch Contributor Insights,
|
1654
|
+
# specifying whether it tracks all access and throttled events or
|
1655
|
+
# throttled events only for the DynamoDB table or index.
|
1656
|
+
# @return [String]
|
1657
|
+
#
|
1652
1658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ContributorInsightsSummary AWS API Documentation
|
1653
1659
|
#
|
1654
1660
|
class ContributorInsightsSummary < Struct.new(
|
1655
1661
|
:table_name,
|
1656
1662
|
:index_name,
|
1657
|
-
:contributor_insights_status
|
1663
|
+
:contributor_insights_status,
|
1664
|
+
:contributor_insights_mode)
|
1658
1665
|
SENSITIVE = []
|
1659
1666
|
include Aws::Structure
|
1660
1667
|
end
|
@@ -2799,6 +2806,12 @@ module Aws::DynamoDB
|
|
2799
2806
|
# Contributor Insights rules. Please retry request.
|
2800
2807
|
# @return [Types::FailureException]
|
2801
2808
|
#
|
2809
|
+
# @!attribute [rw] contributor_insights_mode
|
2810
|
+
# The mode of CloudWatch Contributor Insights for DynamoDB that
|
2811
|
+
# determines which events are emitted. Can be set to track all access
|
2812
|
+
# and throttled events or throttled events only.
|
2813
|
+
# @return [String]
|
2814
|
+
#
|
2802
2815
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContributorInsightsOutput AWS API Documentation
|
2803
2816
|
#
|
2804
2817
|
class DescribeContributorInsightsOutput < Struct.new(
|
@@ -2807,7 +2820,8 @@ module Aws::DynamoDB
|
|
2807
2820
|
:contributor_insights_rule_list,
|
2808
2821
|
:contributor_insights_status,
|
2809
2822
|
:last_update_date_time,
|
2810
|
-
:failure_exception
|
2823
|
+
:failure_exception,
|
2824
|
+
:contributor_insights_mode)
|
2811
2825
|
SENSITIVE = []
|
2812
2826
|
include Aws::Structure
|
2813
2827
|
end
|
@@ -6185,25 +6199,39 @@ module Aws::DynamoDB
|
|
6185
6199
|
include Aws::Structure
|
6186
6200
|
end
|
6187
6201
|
|
6188
|
-
#
|
6189
|
-
#
|
6190
|
-
#
|
6191
|
-
#
|
6192
|
-
#
|
6193
|
-
#
|
6202
|
+
# The request was denied due to request throttling. For detailed
|
6203
|
+
# information about why the request was throttled and the ARN of the
|
6204
|
+
# impacted resource, find the [ThrottlingReason][1] field in the
|
6205
|
+
# returned exception. The Amazon Web Services SDKs for DynamoDB
|
6206
|
+
# automatically retry requests that receive this exception. Your request
|
6207
|
+
# is eventually successful, unless your retry queue is too large to
|
6208
|
+
# finish. Reduce the frequency of requests and use exponential backoff.
|
6209
|
+
# For more information, go to [Error Retries and Exponential Backoff][2]
|
6210
|
+
# in the *Amazon DynamoDB Developer Guide*.
|
6194
6211
|
#
|
6195
6212
|
#
|
6196
6213
|
#
|
6197
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/
|
6214
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html
|
6215
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff
|
6198
6216
|
#
|
6199
6217
|
# @!attribute [rw] message
|
6200
6218
|
# You exceeded your maximum allowed provisioned throughput.
|
6201
6219
|
# @return [String]
|
6202
6220
|
#
|
6221
|
+
# @!attribute [rw] throttling_reasons
|
6222
|
+
# A list of [ThrottlingReason][1] that provide detailed diagnostic
|
6223
|
+
# information about why the request was throttled.
|
6224
|
+
#
|
6225
|
+
#
|
6226
|
+
#
|
6227
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html
|
6228
|
+
# @return [Array<Types::ThrottlingReason>]
|
6229
|
+
#
|
6203
6230
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughputExceededException AWS API Documentation
|
6204
6231
|
#
|
6205
6232
|
class ProvisionedThroughputExceededException < Struct.new(
|
6206
|
-
:message
|
6233
|
+
:message,
|
6234
|
+
:throttling_reasons)
|
6207
6235
|
SENSITIVE = []
|
6208
6236
|
include Aws::Structure
|
6209
6237
|
end
|
@@ -7775,21 +7803,34 @@ module Aws::DynamoDB
|
|
7775
7803
|
include Aws::Structure
|
7776
7804
|
end
|
7777
7805
|
|
7778
|
-
# Throughput exceeds the current throughput quota for your account.
|
7779
|
-
#
|
7780
|
-
#
|
7806
|
+
# Throughput exceeds the current throughput quota for your account. For
|
7807
|
+
# detailed information about why the request was throttled and the ARN
|
7808
|
+
# of the impacted resource, find the [ThrottlingReason][1] field in the
|
7809
|
+
# returned exception. Contact [Amazon Web ServicesSupport][2] to request
|
7810
|
+
# a quota increase.
|
7781
7811
|
#
|
7782
7812
|
#
|
7783
7813
|
#
|
7784
|
-
# [1]: https://aws.amazon.com/
|
7814
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html
|
7815
|
+
# [2]: https://aws.amazon.com/support
|
7785
7816
|
#
|
7786
7817
|
# @!attribute [rw] message
|
7787
7818
|
# @return [String]
|
7788
7819
|
#
|
7820
|
+
# @!attribute [rw] throttling_reasons
|
7821
|
+
# A list of [ThrottlingReason][1] that provide detailed diagnostic
|
7822
|
+
# information about why the request was throttled.
|
7823
|
+
#
|
7824
|
+
#
|
7825
|
+
#
|
7826
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html
|
7827
|
+
# @return [Array<Types::ThrottlingReason>]
|
7828
|
+
#
|
7789
7829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RequestLimitExceeded AWS API Documentation
|
7790
7830
|
#
|
7791
7831
|
class RequestLimitExceeded < Struct.new(
|
7792
|
-
:message
|
7832
|
+
:message,
|
7833
|
+
:throttling_reasons)
|
7793
7834
|
SENSITIVE = []
|
7794
7835
|
include Aws::Structure
|
7795
7836
|
end
|
@@ -9298,6 +9339,101 @@ module Aws::DynamoDB
|
|
9298
9339
|
include Aws::Structure
|
9299
9340
|
end
|
9300
9341
|
|
9342
|
+
# The request was denied due to request throttling. For detailed
|
9343
|
+
# information about why the request was throttled and the ARN of the
|
9344
|
+
# impacted resource, find the [ThrottlingReason][1] field in the
|
9345
|
+
# returned exception.
|
9346
|
+
#
|
9347
|
+
#
|
9348
|
+
#
|
9349
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html
|
9350
|
+
#
|
9351
|
+
# @!attribute [rw] message
|
9352
|
+
# @return [String]
|
9353
|
+
#
|
9354
|
+
# @!attribute [rw] throttling_reasons
|
9355
|
+
# A list of [ThrottlingReason][1] that provide detailed diagnostic
|
9356
|
+
# information about why the request was throttled.
|
9357
|
+
#
|
9358
|
+
#
|
9359
|
+
#
|
9360
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html
|
9361
|
+
# @return [Array<Types::ThrottlingReason>]
|
9362
|
+
#
|
9363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ThrottlingException AWS API Documentation
|
9364
|
+
#
|
9365
|
+
class ThrottlingException < Struct.new(
|
9366
|
+
:message,
|
9367
|
+
:throttling_reasons)
|
9368
|
+
SENSITIVE = []
|
9369
|
+
include Aws::Structure
|
9370
|
+
end
|
9371
|
+
|
9372
|
+
# Represents the specific reason why a DynamoDB request was throttled
|
9373
|
+
# and the ARN of the impacted resource. This helps identify exactly what
|
9374
|
+
# resource is being throttled, what type of operation caused it, and why
|
9375
|
+
# the throttling occurred.
|
9376
|
+
#
|
9377
|
+
# @!attribute [rw] reason
|
9378
|
+
# The reason for throttling. The throttling reason follows a specific
|
9379
|
+
# format: `ResourceType+OperationType+LimitType`:
|
9380
|
+
#
|
9381
|
+
# * Resource Type (What is being throttled): Table or Index
|
9382
|
+
#
|
9383
|
+
# * Operation Type (What kind of operation): Read or Write
|
9384
|
+
#
|
9385
|
+
# * Limit Type (Why the throttling occurred):
|
9386
|
+
#
|
9387
|
+
# * `ProvisionedThroughputExceeded`: The request rate is exceeding
|
9388
|
+
# the [provisioned throughput capacity][1] (read or write capacity
|
9389
|
+
# units) configured for a table or a global secondary index (GSI)
|
9390
|
+
# in provisioned capacity mode.
|
9391
|
+
#
|
9392
|
+
# * `AccountLimitExceeded`: The request rate has caused a table or
|
9393
|
+
# global secondary index (GSI) in on-demand mode to exceed the
|
9394
|
+
# [per-table account-level service quotas][2] for read/write
|
9395
|
+
# throughput in the current Amazon Web Services Region.
|
9396
|
+
#
|
9397
|
+
# * `KeyRangeThroughputExceeded`: The request rate directed at a
|
9398
|
+
# specific partition key value has exceeded the [internal
|
9399
|
+
# partition-level throughput limits][3], indicating uneven access
|
9400
|
+
# patterns across the table's or GSI's key space.
|
9401
|
+
#
|
9402
|
+
# * `MaxOnDemandThroughputExceeded`: The request rate has exceeded
|
9403
|
+
# the [configured maximum throughput limits][4] set for a table or
|
9404
|
+
# index in on-demand capacity mode.
|
9405
|
+
#
|
9406
|
+
# Examples of complete throttling reasons:
|
9407
|
+
#
|
9408
|
+
# * TableReadProvisionedThroughputExceeded
|
9409
|
+
#
|
9410
|
+
# * IndexWriteAccountLimitExceeded
|
9411
|
+
#
|
9412
|
+
# This helps identify exactly what resource is being throttled, what
|
9413
|
+
# type of operation caused it, and why the throttling occurred.
|
9414
|
+
#
|
9415
|
+
#
|
9416
|
+
#
|
9417
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
9418
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ServiceQuotas.html#default-limits-throughput
|
9419
|
+
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html
|
9420
|
+
# [4]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode-max-throughput.html
|
9421
|
+
# @return [String]
|
9422
|
+
#
|
9423
|
+
# @!attribute [rw] resource
|
9424
|
+
# The Amazon Resource Name (ARN) of the DynamoDB table or index that
|
9425
|
+
# experienced the throttling event.
|
9426
|
+
# @return [String]
|
9427
|
+
#
|
9428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ThrottlingReason AWS API Documentation
|
9429
|
+
#
|
9430
|
+
class ThrottlingReason < Struct.new(
|
9431
|
+
:reason,
|
9432
|
+
:resource)
|
9433
|
+
SENSITIVE = []
|
9434
|
+
include Aws::Structure
|
9435
|
+
end
|
9436
|
+
|
9301
9437
|
# The description of the Time to Live (TTL) status on the specified
|
9302
9438
|
# table.
|
9303
9439
|
#
|
@@ -9892,12 +10028,18 @@ module Aws::DynamoDB
|
|
9892
10028
|
# Represents the contributor insights action.
|
9893
10029
|
# @return [String]
|
9894
10030
|
#
|
10031
|
+
# @!attribute [rw] contributor_insights_mode
|
10032
|
+
# Specifies whether to track all access and throttled events or
|
10033
|
+
# throttled events only for the DynamoDB table or index.
|
10034
|
+
# @return [String]
|
10035
|
+
#
|
9895
10036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContributorInsightsInput AWS API Documentation
|
9896
10037
|
#
|
9897
10038
|
class UpdateContributorInsightsInput < Struct.new(
|
9898
10039
|
:table_name,
|
9899
10040
|
:index_name,
|
9900
|
-
:contributor_insights_action
|
10041
|
+
:contributor_insights_action,
|
10042
|
+
:contributor_insights_mode)
|
9901
10043
|
SENSITIVE = []
|
9902
10044
|
include Aws::Structure
|
9903
10045
|
end
|
@@ -9914,12 +10056,19 @@ module Aws::DynamoDB
|
|
9914
10056
|
# The status of contributor insights
|
9915
10057
|
# @return [String]
|
9916
10058
|
#
|
10059
|
+
# @!attribute [rw] contributor_insights_mode
|
10060
|
+
# The updated mode of CloudWatch Contributor Insights that determines
|
10061
|
+
# whether to monitor all access and throttled events or to track
|
10062
|
+
# throttled events exclusively.
|
10063
|
+
# @return [String]
|
10064
|
+
#
|
9917
10065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContributorInsightsOutput AWS API Documentation
|
9918
10066
|
#
|
9919
10067
|
class UpdateContributorInsightsOutput < Struct.new(
|
9920
10068
|
:table_name,
|
9921
10069
|
:index_name,
|
9922
|
-
:contributor_insights_status
|
10070
|
+
:contributor_insights_status,
|
10071
|
+
:contributor_insights_mode)
|
9923
10072
|
SENSITIVE = []
|
9924
10073
|
include Aws::Structure
|
9925
10074
|
end
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -352,6 +352,7 @@ module Aws
|
|
352
352
|
def contributor_insights_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "FAILED")
|
353
353
|
def last_update_date_time: () -> ::Time
|
354
354
|
def failure_exception: () -> Types::FailureException
|
355
|
+
def contributor_insights_mode: () -> ("ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS")
|
355
356
|
end
|
356
357
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_contributor_insights-instance_method
|
357
358
|
def describe_contributor_insights: (
|
@@ -1112,12 +1113,14 @@ module Aws
|
|
1112
1113
|
def table_name: () -> ::String
|
1113
1114
|
def index_name: () -> ::String
|
1114
1115
|
def contributor_insights_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "FAILED")
|
1116
|
+
def contributor_insights_mode: () -> ("ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS")
|
1115
1117
|
end
|
1116
1118
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_contributor_insights-instance_method
|
1117
1119
|
def update_contributor_insights: (
|
1118
1120
|
table_name: ::String,
|
1119
1121
|
?index_name: ::String,
|
1120
|
-
contributor_insights_action: ("ENABLE" | "DISABLE")
|
1122
|
+
contributor_insights_action: ("ENABLE" | "DISABLE"),
|
1123
|
+
?contributor_insights_mode: ("ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS")
|
1121
1124
|
) -> _UpdateContributorInsightsResponseSuccess
|
1122
1125
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContributorInsightsResponseSuccess
|
1123
1126
|
|
data/sig/errors.rbs
CHANGED
@@ -74,6 +74,7 @@ module Aws
|
|
74
74
|
end
|
75
75
|
class ProvisionedThroughputExceededException < ::Aws::Errors::ServiceError
|
76
76
|
def message: () -> ::String
|
77
|
+
def throttling_reasons: () -> ::String
|
77
78
|
end
|
78
79
|
class ReplicaAlreadyExistsException < ::Aws::Errors::ServiceError
|
79
80
|
def message: () -> ::String
|
@@ -86,6 +87,7 @@ module Aws
|
|
86
87
|
end
|
87
88
|
class RequestLimitExceeded < ::Aws::Errors::ServiceError
|
88
89
|
def message: () -> ::String
|
90
|
+
def throttling_reasons: () -> ::String
|
89
91
|
end
|
90
92
|
class ResourceInUseException < ::Aws::Errors::ServiceError
|
91
93
|
def message: () -> ::String
|
@@ -102,6 +104,10 @@ module Aws
|
|
102
104
|
class TableNotFoundException < ::Aws::Errors::ServiceError
|
103
105
|
def message: () -> ::String
|
104
106
|
end
|
107
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
108
|
+
def message: () -> ::String
|
109
|
+
def throttling_reasons: () -> ::String
|
110
|
+
end
|
105
111
|
class TransactionCanceledException < ::Aws::Errors::ServiceError
|
106
112
|
def message: () -> ::String
|
107
113
|
def cancellation_reasons: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -258,6 +258,7 @@ module Aws::DynamoDB
|
|
258
258
|
attr_accessor table_name: ::String
|
259
259
|
attr_accessor index_name: ::String
|
260
260
|
attr_accessor contributor_insights_status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "FAILED")
|
261
|
+
attr_accessor contributor_insights_mode: ("ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS")
|
261
262
|
SENSITIVE: []
|
262
263
|
end
|
263
264
|
|
@@ -464,6 +465,7 @@ module Aws::DynamoDB
|
|
464
465
|
attr_accessor contributor_insights_status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "FAILED")
|
465
466
|
attr_accessor last_update_date_time: ::Time
|
466
467
|
attr_accessor failure_exception: Types::FailureException
|
468
|
+
attr_accessor contributor_insights_mode: ("ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS")
|
467
469
|
SENSITIVE: []
|
468
470
|
end
|
469
471
|
|
@@ -1163,6 +1165,7 @@ module Aws::DynamoDB
|
|
1163
1165
|
|
1164
1166
|
class ProvisionedThroughputExceededException
|
1165
1167
|
attr_accessor message: ::String
|
1168
|
+
attr_accessor throttling_reasons: ::Array[Types::ThrottlingReason]
|
1166
1169
|
SENSITIVE: []
|
1167
1170
|
end
|
1168
1171
|
|
@@ -1385,6 +1388,7 @@ module Aws::DynamoDB
|
|
1385
1388
|
|
1386
1389
|
class RequestLimitExceeded
|
1387
1390
|
attr_accessor message: ::String
|
1391
|
+
attr_accessor throttling_reasons: ::Array[Types::ThrottlingReason]
|
1388
1392
|
SENSITIVE: []
|
1389
1393
|
end
|
1390
1394
|
|
@@ -1613,6 +1617,18 @@ module Aws::DynamoDB
|
|
1613
1617
|
SENSITIVE: []
|
1614
1618
|
end
|
1615
1619
|
|
1620
|
+
class ThrottlingException
|
1621
|
+
attr_accessor message: ::String
|
1622
|
+
attr_accessor throttling_reasons: ::Array[Types::ThrottlingReason]
|
1623
|
+
SENSITIVE: []
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
class ThrottlingReason
|
1627
|
+
attr_accessor reason: ::String
|
1628
|
+
attr_accessor resource: ::String
|
1629
|
+
SENSITIVE: []
|
1630
|
+
end
|
1631
|
+
|
1616
1632
|
class TimeToLiveDescription
|
1617
1633
|
attr_accessor time_to_live_status: ("ENABLING" | "DISABLING" | "ENABLED" | "DISABLED")
|
1618
1634
|
attr_accessor attribute_name: ::String
|
@@ -1712,6 +1728,7 @@ module Aws::DynamoDB
|
|
1712
1728
|
attr_accessor table_name: ::String
|
1713
1729
|
attr_accessor index_name: ::String
|
1714
1730
|
attr_accessor contributor_insights_action: ("ENABLE" | "DISABLE")
|
1731
|
+
attr_accessor contributor_insights_mode: ("ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS")
|
1715
1732
|
SENSITIVE: []
|
1716
1733
|
end
|
1717
1734
|
|
@@ -1719,6 +1736,7 @@ module Aws::DynamoDB
|
|
1719
1736
|
attr_accessor table_name: ::String
|
1720
1737
|
attr_accessor index_name: ::String
|
1721
1738
|
attr_accessor contributor_insights_status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "FAILED")
|
1739
|
+
attr_accessor contributor_insights_mode: ("ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS")
|
1722
1740
|
SENSITIVE: []
|
1723
1741
|
end
|
1724
1742
|
|