aws-sdk-dynamodb 1.39.0 → 1.40.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/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +163 -9
- data/lib/aws-sdk-dynamodb/client_api.rb +106 -0
- data/lib/aws-sdk-dynamodb/table.rb +18 -0
- data/lib/aws-sdk-dynamodb/types.rb +278 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 839871980a35fa7d75edf004e951a260d090cabd
|
4
|
+
data.tar.gz: eeedba90e6dbc007ba29e66e024e6d382b6eb79f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0069e1f7c409103b4887b3f116607db8b79772e0b3022ecd2de0a4744b34a36ffbc84de6ddf284bafbd285cf58dad3571b601f2b5a7a8adb358d560f1c5a6ad2'
|
7
|
+
data.tar.gz: 8d169e928e76aeaec5fad1b6218b45e014434d65bf922244fe42de9f3c60d5bf507a3b635b3d3326f5e63c99fede5fde6f556ad39102e9f69445520ed21c343c
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -1347,7 +1347,7 @@ module Aws::DynamoDB
|
|
1347
1347
|
# resp.table_description.key_schema #=> Array
|
1348
1348
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
1349
1349
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
1350
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
1350
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
1351
1351
|
# resp.table_description.creation_date_time #=> Time
|
1352
1352
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
1353
1353
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -1411,6 +1411,10 @@ module Aws::DynamoDB
|
|
1411
1411
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
1412
1412
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1413
1413
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
1414
|
+
# resp.table_description.sse_description.inaccessible_encryption_date_time #=> Time
|
1415
|
+
# resp.table_description.archival_summary.archival_date_time #=> Time
|
1416
|
+
# resp.table_description.archival_summary.archival_reason #=> String
|
1417
|
+
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
1414
1418
|
#
|
1415
1419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
|
1416
1420
|
#
|
@@ -1484,6 +1488,7 @@ module Aws::DynamoDB
|
|
1484
1488
|
# resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
1485
1489
|
# resp.backup_description.source_table_feature_details.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1486
1490
|
# resp.backup_description.source_table_feature_details.sse_description.kms_master_key_arn #=> String
|
1491
|
+
# resp.backup_description.source_table_feature_details.sse_description.inaccessible_encryption_date_time #=> Time
|
1487
1492
|
#
|
1488
1493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackup AWS API Documentation
|
1489
1494
|
#
|
@@ -1836,7 +1841,7 @@ module Aws::DynamoDB
|
|
1836
1841
|
# resp.table_description.key_schema #=> Array
|
1837
1842
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
1838
1843
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
1839
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
1844
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
1840
1845
|
# resp.table_description.creation_date_time #=> Time
|
1841
1846
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
1842
1847
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -1900,6 +1905,10 @@ module Aws::DynamoDB
|
|
1900
1905
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
1901
1906
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1902
1907
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
1908
|
+
# resp.table_description.sse_description.inaccessible_encryption_date_time #=> Time
|
1909
|
+
# resp.table_description.archival_summary.archival_date_time #=> Time
|
1910
|
+
# resp.table_description.archival_summary.archival_reason #=> String
|
1911
|
+
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
1903
1912
|
#
|
1904
1913
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
|
1905
1914
|
#
|
@@ -1974,6 +1983,7 @@ module Aws::DynamoDB
|
|
1974
1983
|
# resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
1975
1984
|
# resp.backup_description.source_table_feature_details.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1976
1985
|
# resp.backup_description.source_table_feature_details.sse_description.kms_master_key_arn #=> String
|
1986
|
+
# resp.backup_description.source_table_feature_details.sse_description.inaccessible_encryption_date_time #=> Time
|
1977
1987
|
#
|
1978
1988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackup AWS API Documentation
|
1979
1989
|
#
|
@@ -2030,6 +2040,51 @@ module Aws::DynamoDB
|
|
2030
2040
|
req.send_request(options)
|
2031
2041
|
end
|
2032
2042
|
|
2043
|
+
# Returns information about contributor insights, for a given table or
|
2044
|
+
# global secondary index.
|
2045
|
+
#
|
2046
|
+
# @option params [required, String] :table_name
|
2047
|
+
# The name of the table to describe.
|
2048
|
+
#
|
2049
|
+
# @option params [String] :index_name
|
2050
|
+
# The name of the global secondary index to describe, if applicable.
|
2051
|
+
#
|
2052
|
+
# @return [Types::DescribeContributorInsightsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2053
|
+
#
|
2054
|
+
# * {Types::DescribeContributorInsightsOutput#table_name #table_name} => String
|
2055
|
+
# * {Types::DescribeContributorInsightsOutput#index_name #index_name} => String
|
2056
|
+
# * {Types::DescribeContributorInsightsOutput#contributor_insights_rule_list #contributor_insights_rule_list} => Array<String>
|
2057
|
+
# * {Types::DescribeContributorInsightsOutput#contributor_insights_status #contributor_insights_status} => String
|
2058
|
+
# * {Types::DescribeContributorInsightsOutput#last_update_date_time #last_update_date_time} => Time
|
2059
|
+
# * {Types::DescribeContributorInsightsOutput#failure_exception #failure_exception} => Types::FailureException
|
2060
|
+
#
|
2061
|
+
# @example Request syntax with placeholder values
|
2062
|
+
#
|
2063
|
+
# resp = client.describe_contributor_insights({
|
2064
|
+
# table_name: "TableName", # required
|
2065
|
+
# index_name: "IndexName",
|
2066
|
+
# })
|
2067
|
+
#
|
2068
|
+
# @example Response structure
|
2069
|
+
#
|
2070
|
+
# resp.table_name #=> String
|
2071
|
+
# resp.index_name #=> String
|
2072
|
+
# resp.contributor_insights_rule_list #=> Array
|
2073
|
+
# resp.contributor_insights_rule_list[0] #=> String
|
2074
|
+
# resp.contributor_insights_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "FAILED"
|
2075
|
+
# resp.last_update_date_time #=> Time
|
2076
|
+
# resp.failure_exception.exception_name #=> String
|
2077
|
+
# resp.failure_exception.exception_description #=> String
|
2078
|
+
#
|
2079
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContributorInsights AWS API Documentation
|
2080
|
+
#
|
2081
|
+
# @overload describe_contributor_insights(params = {})
|
2082
|
+
# @param [Hash] params ({})
|
2083
|
+
def describe_contributor_insights(params = {}, options = {})
|
2084
|
+
req = build_request(:describe_contributor_insights, params)
|
2085
|
+
req.send_request(options)
|
2086
|
+
end
|
2087
|
+
|
2033
2088
|
# Returns the regional endpoint information.
|
2034
2089
|
#
|
2035
2090
|
# @return [Types::DescribeEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2378,7 +2433,7 @@ module Aws::DynamoDB
|
|
2378
2433
|
# resp.table.key_schema #=> Array
|
2379
2434
|
# resp.table.key_schema[0].attribute_name #=> String
|
2380
2435
|
# resp.table.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
2381
|
-
# resp.table.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
2436
|
+
# resp.table.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
2382
2437
|
# resp.table.creation_date_time #=> Time
|
2383
2438
|
# resp.table.provisioned_throughput.last_increase_date_time #=> Time
|
2384
2439
|
# resp.table.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -2442,6 +2497,10 @@ module Aws::DynamoDB
|
|
2442
2497
|
# resp.table.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
2443
2498
|
# resp.table.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
2444
2499
|
# resp.table.sse_description.kms_master_key_arn #=> String
|
2500
|
+
# resp.table.sse_description.inaccessible_encryption_date_time #=> Time
|
2501
|
+
# resp.table.archival_summary.archival_date_time #=> Time
|
2502
|
+
# resp.table.archival_summary.archival_reason #=> String
|
2503
|
+
# resp.table.archival_summary.archival_backup_arn #=> String
|
2445
2504
|
#
|
2446
2505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable AWS API Documentation
|
2447
2506
|
#
|
@@ -2479,7 +2538,7 @@ module Aws::DynamoDB
|
|
2479
2538
|
# @example Response structure
|
2480
2539
|
#
|
2481
2540
|
# resp.table_auto_scaling_description.table_name #=> String
|
2482
|
-
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
2541
|
+
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
2483
2542
|
# resp.table_auto_scaling_description.replicas #=> Array
|
2484
2543
|
# resp.table_auto_scaling_description.replicas[0].region_name #=> String
|
2485
2544
|
# resp.table_auto_scaling_description.replicas[0].global_secondary_indexes #=> Array
|
@@ -2845,6 +2904,48 @@ module Aws::DynamoDB
|
|
2845
2904
|
req.send_request(options)
|
2846
2905
|
end
|
2847
2906
|
|
2907
|
+
# Returns a list of ContributorInsightsSummary for a table and all its
|
2908
|
+
# global secondary indexes.
|
2909
|
+
#
|
2910
|
+
# @option params [String] :table_name
|
2911
|
+
# The name of the table.
|
2912
|
+
#
|
2913
|
+
# @option params [String] :next_token
|
2914
|
+
# A token to for the desired page, if there is one.
|
2915
|
+
#
|
2916
|
+
# @option params [Integer] :max_results
|
2917
|
+
# Maximum number of results to return per page.
|
2918
|
+
#
|
2919
|
+
# @return [Types::ListContributorInsightsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2920
|
+
#
|
2921
|
+
# * {Types::ListContributorInsightsOutput#contributor_insights_summaries #contributor_insights_summaries} => Array<Types::ContributorInsightsSummary>
|
2922
|
+
# * {Types::ListContributorInsightsOutput#next_token #next_token} => String
|
2923
|
+
#
|
2924
|
+
# @example Request syntax with placeholder values
|
2925
|
+
#
|
2926
|
+
# resp = client.list_contributor_insights({
|
2927
|
+
# table_name: "TableName",
|
2928
|
+
# next_token: "NextTokenString",
|
2929
|
+
# max_results: 1,
|
2930
|
+
# })
|
2931
|
+
#
|
2932
|
+
# @example Response structure
|
2933
|
+
#
|
2934
|
+
# resp.contributor_insights_summaries #=> Array
|
2935
|
+
# resp.contributor_insights_summaries[0].table_name #=> String
|
2936
|
+
# resp.contributor_insights_summaries[0].index_name #=> String
|
2937
|
+
# resp.contributor_insights_summaries[0].contributor_insights_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "FAILED"
|
2938
|
+
# resp.next_token #=> String
|
2939
|
+
#
|
2940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListContributorInsights AWS API Documentation
|
2941
|
+
#
|
2942
|
+
# @overload list_contributor_insights(params = {})
|
2943
|
+
# @param [Hash] params ({})
|
2944
|
+
def list_contributor_insights(params = {}, options = {})
|
2945
|
+
req = build_request(:list_contributor_insights, params)
|
2946
|
+
req.send_request(options)
|
2947
|
+
end
|
2948
|
+
|
2848
2949
|
# Lists all global tables that have a replica in the specified Region.
|
2849
2950
|
#
|
2850
2951
|
# <note markdown="1"> This method only applies to [Version 2017.11.29][1] of global tables.
|
@@ -3970,7 +4071,7 @@ module Aws::DynamoDB
|
|
3970
4071
|
# resp.table_description.key_schema #=> Array
|
3971
4072
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
3972
4073
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
3973
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
4074
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
3974
4075
|
# resp.table_description.creation_date_time #=> Time
|
3975
4076
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
3976
4077
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -4034,6 +4135,10 @@ module Aws::DynamoDB
|
|
4034
4135
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
4035
4136
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
4036
4137
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
4138
|
+
# resp.table_description.sse_description.inaccessible_encryption_date_time #=> Time
|
4139
|
+
# resp.table_description.archival_summary.archival_date_time #=> Time
|
4140
|
+
# resp.table_description.archival_summary.archival_reason #=> String
|
4141
|
+
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
4037
4142
|
#
|
4038
4143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
|
4039
4144
|
#
|
@@ -4175,7 +4280,7 @@ module Aws::DynamoDB
|
|
4175
4280
|
# resp.table_description.key_schema #=> Array
|
4176
4281
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
4177
4282
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
4178
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
4283
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
4179
4284
|
# resp.table_description.creation_date_time #=> Time
|
4180
4285
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
4181
4286
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -4239,6 +4344,10 @@ module Aws::DynamoDB
|
|
4239
4344
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
4240
4345
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
4241
4346
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
4347
|
+
# resp.table_description.sse_description.inaccessible_encryption_date_time #=> Time
|
4348
|
+
# resp.table_description.archival_summary.archival_date_time #=> Time
|
4349
|
+
# resp.table_description.archival_summary.archival_reason #=> String
|
4350
|
+
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
4242
4351
|
#
|
4243
4352
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime AWS API Documentation
|
4244
4353
|
#
|
@@ -5127,6 +5236,47 @@ module Aws::DynamoDB
|
|
5127
5236
|
req.send_request(options)
|
5128
5237
|
end
|
5129
5238
|
|
5239
|
+
# Updates the status for contributor insights for a specific table or
|
5240
|
+
# index.
|
5241
|
+
#
|
5242
|
+
# @option params [required, String] :table_name
|
5243
|
+
# The name of the table.
|
5244
|
+
#
|
5245
|
+
# @option params [String] :index_name
|
5246
|
+
# The global secondary index name, if applicable.
|
5247
|
+
#
|
5248
|
+
# @option params [required, String] :contributor_insights_action
|
5249
|
+
# Represents the contributor insights action.
|
5250
|
+
#
|
5251
|
+
# @return [Types::UpdateContributorInsightsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5252
|
+
#
|
5253
|
+
# * {Types::UpdateContributorInsightsOutput#table_name #table_name} => String
|
5254
|
+
# * {Types::UpdateContributorInsightsOutput#index_name #index_name} => String
|
5255
|
+
# * {Types::UpdateContributorInsightsOutput#contributor_insights_status #contributor_insights_status} => String
|
5256
|
+
#
|
5257
|
+
# @example Request syntax with placeholder values
|
5258
|
+
#
|
5259
|
+
# resp = client.update_contributor_insights({
|
5260
|
+
# table_name: "TableName", # required
|
5261
|
+
# index_name: "IndexName",
|
5262
|
+
# contributor_insights_action: "ENABLE", # required, accepts ENABLE, DISABLE
|
5263
|
+
# })
|
5264
|
+
#
|
5265
|
+
# @example Response structure
|
5266
|
+
#
|
5267
|
+
# resp.table_name #=> String
|
5268
|
+
# resp.index_name #=> String
|
5269
|
+
# resp.contributor_insights_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "FAILED"
|
5270
|
+
#
|
5271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContributorInsights AWS API Documentation
|
5272
|
+
#
|
5273
|
+
# @overload update_contributor_insights(params = {})
|
5274
|
+
# @param [Hash] params ({})
|
5275
|
+
def update_contributor_insights(params = {}, options = {})
|
5276
|
+
req = build_request(:update_contributor_insights, params)
|
5277
|
+
req.send_request(options)
|
5278
|
+
end
|
5279
|
+
|
5130
5280
|
# Adds or removes replicas in the specified global table. The global
|
5131
5281
|
# table must already exist to be able to use this operation. Any replica
|
5132
5282
|
# to be added must be empty, have the same name as the global table,
|
@@ -6050,7 +6200,7 @@ module Aws::DynamoDB
|
|
6050
6200
|
# resp.table_description.key_schema #=> Array
|
6051
6201
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
6052
6202
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
6053
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
6203
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
6054
6204
|
# resp.table_description.creation_date_time #=> Time
|
6055
6205
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
6056
6206
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -6114,6 +6264,10 @@ module Aws::DynamoDB
|
|
6114
6264
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING"
|
6115
6265
|
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
6116
6266
|
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
6267
|
+
# resp.table_description.sse_description.inaccessible_encryption_date_time #=> Time
|
6268
|
+
# resp.table_description.archival_summary.archival_date_time #=> Time
|
6269
|
+
# resp.table_description.archival_summary.archival_reason #=> String
|
6270
|
+
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
6117
6271
|
#
|
6118
6272
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
|
6119
6273
|
#
|
@@ -6237,7 +6391,7 @@ module Aws::DynamoDB
|
|
6237
6391
|
# @example Response structure
|
6238
6392
|
#
|
6239
6393
|
# resp.table_auto_scaling_description.table_name #=> String
|
6240
|
-
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
6394
|
+
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
6241
6395
|
# resp.table_auto_scaling_description.replicas #=> Array
|
6242
6396
|
# resp.table_auto_scaling_description.replicas[0].region_name #=> String
|
6243
6397
|
# resp.table_auto_scaling_description.replicas[0].global_secondary_indexes #=> Array
|
@@ -6379,7 +6533,7 @@ module Aws::DynamoDB
|
|
6379
6533
|
params: params,
|
6380
6534
|
config: config)
|
6381
6535
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
6382
|
-
context[:gem_version] = '1.
|
6536
|
+
context[:gem_version] = '1.40.0'
|
6383
6537
|
Seahorse::Client::Request.new(handlers, context)
|
6384
6538
|
end
|
6385
6539
|
|
@@ -11,6 +11,8 @@ module Aws::DynamoDB
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
ArchivalReason = Shapes::StringShape.new(name: 'ArchivalReason')
|
15
|
+
ArchivalSummary = Shapes::StructureShape.new(name: 'ArchivalSummary')
|
14
16
|
AttributeAction = Shapes::StringShape.new(name: 'AttributeAction')
|
15
17
|
AttributeDefinition = Shapes::StructureShape.new(name: 'AttributeDefinition')
|
16
18
|
AttributeDefinitions = Shapes::ListShape.new(name: 'AttributeDefinitions')
|
@@ -76,6 +78,12 @@ module Aws::DynamoDB
|
|
76
78
|
ContinuousBackupsDescription = Shapes::StructureShape.new(name: 'ContinuousBackupsDescription')
|
77
79
|
ContinuousBackupsStatus = Shapes::StringShape.new(name: 'ContinuousBackupsStatus')
|
78
80
|
ContinuousBackupsUnavailableException = Shapes::StructureShape.new(name: 'ContinuousBackupsUnavailableException')
|
81
|
+
ContributorInsightsAction = Shapes::StringShape.new(name: 'ContributorInsightsAction')
|
82
|
+
ContributorInsightsRule = Shapes::StringShape.new(name: 'ContributorInsightsRule')
|
83
|
+
ContributorInsightsRuleList = Shapes::ListShape.new(name: 'ContributorInsightsRuleList')
|
84
|
+
ContributorInsightsStatus = Shapes::StringShape.new(name: 'ContributorInsightsStatus')
|
85
|
+
ContributorInsightsSummaries = Shapes::ListShape.new(name: 'ContributorInsightsSummaries')
|
86
|
+
ContributorInsightsSummary = Shapes::StructureShape.new(name: 'ContributorInsightsSummary')
|
79
87
|
CreateBackupInput = Shapes::StructureShape.new(name: 'CreateBackupInput')
|
80
88
|
CreateBackupOutput = Shapes::StructureShape.new(name: 'CreateBackupOutput')
|
81
89
|
CreateGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'CreateGlobalSecondaryIndexAction')
|
@@ -101,6 +109,8 @@ module Aws::DynamoDB
|
|
101
109
|
DescribeBackupOutput = Shapes::StructureShape.new(name: 'DescribeBackupOutput')
|
102
110
|
DescribeContinuousBackupsInput = Shapes::StructureShape.new(name: 'DescribeContinuousBackupsInput')
|
103
111
|
DescribeContinuousBackupsOutput = Shapes::StructureShape.new(name: 'DescribeContinuousBackupsOutput')
|
112
|
+
DescribeContributorInsightsInput = Shapes::StructureShape.new(name: 'DescribeContributorInsightsInput')
|
113
|
+
DescribeContributorInsightsOutput = Shapes::StructureShape.new(name: 'DescribeContributorInsightsOutput')
|
104
114
|
DescribeEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeEndpointsRequest')
|
105
115
|
DescribeEndpointsResponse = Shapes::StructureShape.new(name: 'DescribeEndpointsResponse')
|
106
116
|
DescribeGlobalTableInput = Shapes::StructureShape.new(name: 'DescribeGlobalTableInput')
|
@@ -119,12 +129,15 @@ module Aws::DynamoDB
|
|
119
129
|
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
|
120
130
|
Endpoints = Shapes::ListShape.new(name: 'Endpoints')
|
121
131
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
132
|
+
ExceptionDescription = Shapes::StringShape.new(name: 'ExceptionDescription')
|
133
|
+
ExceptionName = Shapes::StringShape.new(name: 'ExceptionName')
|
122
134
|
ExpectedAttributeMap = Shapes::MapShape.new(name: 'ExpectedAttributeMap')
|
123
135
|
ExpectedAttributeValue = Shapes::StructureShape.new(name: 'ExpectedAttributeValue')
|
124
136
|
ExpressionAttributeNameMap = Shapes::MapShape.new(name: 'ExpressionAttributeNameMap')
|
125
137
|
ExpressionAttributeNameVariable = Shapes::StringShape.new(name: 'ExpressionAttributeNameVariable')
|
126
138
|
ExpressionAttributeValueMap = Shapes::MapShape.new(name: 'ExpressionAttributeValueMap')
|
127
139
|
ExpressionAttributeValueVariable = Shapes::StringShape.new(name: 'ExpressionAttributeValueVariable')
|
140
|
+
FailureException = Shapes::StructureShape.new(name: 'FailureException')
|
128
141
|
FilterConditionMap = Shapes::MapShape.new(name: 'FilterConditionMap')
|
129
142
|
Get = Shapes::StructureShape.new(name: 'Get')
|
130
143
|
GetItemInput = Shapes::StructureShape.new(name: 'GetItemInput')
|
@@ -178,10 +191,14 @@ module Aws::DynamoDB
|
|
178
191
|
KeySchemaElement = Shapes::StructureShape.new(name: 'KeySchemaElement')
|
179
192
|
KeyType = Shapes::StringShape.new(name: 'KeyType')
|
180
193
|
KeysAndAttributes = Shapes::StructureShape.new(name: 'KeysAndAttributes')
|
194
|
+
LastUpdateDateTime = Shapes::TimestampShape.new(name: 'LastUpdateDateTime')
|
181
195
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
182
196
|
ListAttributeValue = Shapes::ListShape.new(name: 'ListAttributeValue')
|
183
197
|
ListBackupsInput = Shapes::StructureShape.new(name: 'ListBackupsInput')
|
184
198
|
ListBackupsOutput = Shapes::StructureShape.new(name: 'ListBackupsOutput')
|
199
|
+
ListContributorInsightsInput = Shapes::StructureShape.new(name: 'ListContributorInsightsInput')
|
200
|
+
ListContributorInsightsLimit = Shapes::IntegerShape.new(name: 'ListContributorInsightsLimit')
|
201
|
+
ListContributorInsightsOutput = Shapes::StructureShape.new(name: 'ListContributorInsightsOutput')
|
185
202
|
ListGlobalTablesInput = Shapes::StructureShape.new(name: 'ListGlobalTablesInput')
|
186
203
|
ListGlobalTablesOutput = Shapes::StructureShape.new(name: 'ListGlobalTablesOutput')
|
187
204
|
ListTablesInput = Shapes::StructureShape.new(name: 'ListTablesInput')
|
@@ -332,6 +349,8 @@ module Aws::DynamoDB
|
|
332
349
|
Update = Shapes::StructureShape.new(name: 'Update')
|
333
350
|
UpdateContinuousBackupsInput = Shapes::StructureShape.new(name: 'UpdateContinuousBackupsInput')
|
334
351
|
UpdateContinuousBackupsOutput = Shapes::StructureShape.new(name: 'UpdateContinuousBackupsOutput')
|
352
|
+
UpdateContributorInsightsInput = Shapes::StructureShape.new(name: 'UpdateContributorInsightsInput')
|
353
|
+
UpdateContributorInsightsOutput = Shapes::StructureShape.new(name: 'UpdateContributorInsightsOutput')
|
335
354
|
UpdateExpression = Shapes::StringShape.new(name: 'UpdateExpression')
|
336
355
|
UpdateGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'UpdateGlobalSecondaryIndexAction')
|
337
356
|
UpdateGlobalTableInput = Shapes::StructureShape.new(name: 'UpdateGlobalTableInput')
|
@@ -350,6 +369,11 @@ module Aws::DynamoDB
|
|
350
369
|
WriteRequest = Shapes::StructureShape.new(name: 'WriteRequest')
|
351
370
|
WriteRequests = Shapes::ListShape.new(name: 'WriteRequests')
|
352
371
|
|
372
|
+
ArchivalSummary.add_member(:archival_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "ArchivalDateTime"))
|
373
|
+
ArchivalSummary.add_member(:archival_reason, Shapes::ShapeRef.new(shape: ArchivalReason, location_name: "ArchivalReason"))
|
374
|
+
ArchivalSummary.add_member(:archival_backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "ArchivalBackupArn"))
|
375
|
+
ArchivalSummary.struct_class = Types::ArchivalSummary
|
376
|
+
|
353
377
|
AttributeDefinition.add_member(:attribute_name, Shapes::ShapeRef.new(shape: KeySchemaAttributeName, required: true, location_name: "AttributeName"))
|
354
378
|
AttributeDefinition.add_member(:attribute_type, Shapes::ShapeRef.new(shape: ScalarAttributeType, required: true, location_name: "AttributeType"))
|
355
379
|
AttributeDefinition.struct_class = Types::AttributeDefinition
|
@@ -531,6 +555,15 @@ module Aws::DynamoDB
|
|
531
555
|
ContinuousBackupsUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
532
556
|
ContinuousBackupsUnavailableException.struct_class = Types::ContinuousBackupsUnavailableException
|
533
557
|
|
558
|
+
ContributorInsightsRuleList.member = Shapes::ShapeRef.new(shape: ContributorInsightsRule)
|
559
|
+
|
560
|
+
ContributorInsightsSummaries.member = Shapes::ShapeRef.new(shape: ContributorInsightsSummary)
|
561
|
+
|
562
|
+
ContributorInsightsSummary.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
563
|
+
ContributorInsightsSummary.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
564
|
+
ContributorInsightsSummary.add_member(:contributor_insights_status, Shapes::ShapeRef.new(shape: ContributorInsightsStatus, location_name: "ContributorInsightsStatus"))
|
565
|
+
ContributorInsightsSummary.struct_class = Types::ContributorInsightsSummary
|
566
|
+
|
534
567
|
CreateBackupInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
535
568
|
CreateBackupInput.add_member(:backup_name, Shapes::ShapeRef.new(shape: BackupName, required: true, location_name: "BackupName"))
|
536
569
|
CreateBackupInput.struct_class = Types::CreateBackupInput
|
@@ -636,6 +669,18 @@ module Aws::DynamoDB
|
|
636
669
|
DescribeContinuousBackupsOutput.add_member(:continuous_backups_description, Shapes::ShapeRef.new(shape: ContinuousBackupsDescription, location_name: "ContinuousBackupsDescription"))
|
637
670
|
DescribeContinuousBackupsOutput.struct_class = Types::DescribeContinuousBackupsOutput
|
638
671
|
|
672
|
+
DescribeContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
673
|
+
DescribeContributorInsightsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
674
|
+
DescribeContributorInsightsInput.struct_class = Types::DescribeContributorInsightsInput
|
675
|
+
|
676
|
+
DescribeContributorInsightsOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
677
|
+
DescribeContributorInsightsOutput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
678
|
+
DescribeContributorInsightsOutput.add_member(:contributor_insights_rule_list, Shapes::ShapeRef.new(shape: ContributorInsightsRuleList, location_name: "ContributorInsightsRuleList"))
|
679
|
+
DescribeContributorInsightsOutput.add_member(:contributor_insights_status, Shapes::ShapeRef.new(shape: ContributorInsightsStatus, location_name: "ContributorInsightsStatus"))
|
680
|
+
DescribeContributorInsightsOutput.add_member(:last_update_date_time, Shapes::ShapeRef.new(shape: LastUpdateDateTime, location_name: "LastUpdateDateTime"))
|
681
|
+
DescribeContributorInsightsOutput.add_member(:failure_exception, Shapes::ShapeRef.new(shape: FailureException, location_name: "FailureException"))
|
682
|
+
DescribeContributorInsightsOutput.struct_class = Types::DescribeContributorInsightsOutput
|
683
|
+
|
639
684
|
DescribeEndpointsRequest.struct_class = Types::DescribeEndpointsRequest
|
640
685
|
|
641
686
|
DescribeEndpointsResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, required: true, location_name: "Endpoints"))
|
@@ -701,6 +746,10 @@ module Aws::DynamoDB
|
|
701
746
|
ExpressionAttributeValueMap.key = Shapes::ShapeRef.new(shape: ExpressionAttributeValueVariable)
|
702
747
|
ExpressionAttributeValueMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
703
748
|
|
749
|
+
FailureException.add_member(:exception_name, Shapes::ShapeRef.new(shape: ExceptionName, location_name: "ExceptionName"))
|
750
|
+
FailureException.add_member(:exception_description, Shapes::ShapeRef.new(shape: ExceptionDescription, location_name: "ExceptionDescription"))
|
751
|
+
FailureException.struct_class = Types::FailureException
|
752
|
+
|
704
753
|
FilterConditionMap.key = Shapes::ShapeRef.new(shape: AttributeName)
|
705
754
|
FilterConditionMap.value = Shapes::ShapeRef.new(shape: Condition)
|
706
755
|
|
@@ -865,6 +914,15 @@ module Aws::DynamoDB
|
|
865
914
|
ListBackupsOutput.add_member(:last_evaluated_backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "LastEvaluatedBackupArn"))
|
866
915
|
ListBackupsOutput.struct_class = Types::ListBackupsOutput
|
867
916
|
|
917
|
+
ListContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
918
|
+
ListContributorInsightsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
|
919
|
+
ListContributorInsightsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListContributorInsightsLimit, location_name: "MaxResults"))
|
920
|
+
ListContributorInsightsInput.struct_class = Types::ListContributorInsightsInput
|
921
|
+
|
922
|
+
ListContributorInsightsOutput.add_member(:contributor_insights_summaries, Shapes::ShapeRef.new(shape: ContributorInsightsSummaries, location_name: "ContributorInsightsSummaries"))
|
923
|
+
ListContributorInsightsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
|
924
|
+
ListContributorInsightsOutput.struct_class = Types::ListContributorInsightsOutput
|
925
|
+
|
868
926
|
ListGlobalTablesInput.add_member(:exclusive_start_global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "ExclusiveStartGlobalTableName"))
|
869
927
|
ListGlobalTablesInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
|
870
928
|
ListGlobalTablesInput.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
|
@@ -1166,6 +1224,7 @@ module Aws::DynamoDB
|
|
1166
1224
|
SSEDescription.add_member(:status, Shapes::ShapeRef.new(shape: SSEStatus, location_name: "Status"))
|
1167
1225
|
SSEDescription.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "SSEType"))
|
1168
1226
|
SSEDescription.add_member(:kms_master_key_arn, Shapes::ShapeRef.new(shape: KMSMasterKeyArn, location_name: "KMSMasterKeyArn"))
|
1227
|
+
SSEDescription.add_member(:inaccessible_encryption_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "InaccessibleEncryptionDateTime"))
|
1169
1228
|
SSEDescription.struct_class = Types::SSEDescription
|
1170
1229
|
|
1171
1230
|
SSESpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: SSEEnabled, location_name: "Enabled"))
|
@@ -1253,6 +1312,7 @@ module Aws::DynamoDB
|
|
1253
1312
|
TableDescription.add_member(:replicas, Shapes::ShapeRef.new(shape: ReplicaDescriptionList, location_name: "Replicas"))
|
1254
1313
|
TableDescription.add_member(:restore_summary, Shapes::ShapeRef.new(shape: RestoreSummary, location_name: "RestoreSummary"))
|
1255
1314
|
TableDescription.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
|
1315
|
+
TableDescription.add_member(:archival_summary, Shapes::ShapeRef.new(shape: ArchivalSummary, location_name: "ArchivalSummary"))
|
1256
1316
|
TableDescription.struct_class = Types::TableDescription
|
1257
1317
|
|
1258
1318
|
TableInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -1344,6 +1404,16 @@ module Aws::DynamoDB
|
|
1344
1404
|
UpdateContinuousBackupsOutput.add_member(:continuous_backups_description, Shapes::ShapeRef.new(shape: ContinuousBackupsDescription, location_name: "ContinuousBackupsDescription"))
|
1345
1405
|
UpdateContinuousBackupsOutput.struct_class = Types::UpdateContinuousBackupsOutput
|
1346
1406
|
|
1407
|
+
UpdateContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
1408
|
+
UpdateContributorInsightsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
1409
|
+
UpdateContributorInsightsInput.add_member(:contributor_insights_action, Shapes::ShapeRef.new(shape: ContributorInsightsAction, required: true, location_name: "ContributorInsightsAction"))
|
1410
|
+
UpdateContributorInsightsInput.struct_class = Types::UpdateContributorInsightsInput
|
1411
|
+
|
1412
|
+
UpdateContributorInsightsOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
1413
|
+
UpdateContributorInsightsOutput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
1414
|
+
UpdateContributorInsightsOutput.add_member(:contributor_insights_status, Shapes::ShapeRef.new(shape: ContributorInsightsStatus, location_name: "ContributorInsightsStatus"))
|
1415
|
+
UpdateContributorInsightsOutput.struct_class = Types::UpdateContributorInsightsOutput
|
1416
|
+
|
1347
1417
|
UpdateGlobalSecondaryIndexAction.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
|
1348
1418
|
UpdateGlobalSecondaryIndexAction.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, required: true, location_name: "ProvisionedThroughput"))
|
1349
1419
|
UpdateGlobalSecondaryIndexAction.struct_class = Types::UpdateGlobalSecondaryIndexAction
|
@@ -1593,6 +1663,16 @@ module Aws::DynamoDB
|
|
1593
1663
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1594
1664
|
end)
|
1595
1665
|
|
1666
|
+
api.add_operation(:describe_contributor_insights, Seahorse::Model::Operation.new.tap do |o|
|
1667
|
+
o.name = "DescribeContributorInsights"
|
1668
|
+
o.http_method = "POST"
|
1669
|
+
o.http_request_uri = "/"
|
1670
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeContributorInsightsInput)
|
1671
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeContributorInsightsOutput)
|
1672
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1673
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1674
|
+
end)
|
1675
|
+
|
1596
1676
|
api.add_operation(:describe_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
1597
1677
|
o.name = "DescribeEndpoints"
|
1598
1678
|
o.http_method = "POST"
|
@@ -1696,6 +1776,22 @@ module Aws::DynamoDB
|
|
1696
1776
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1697
1777
|
end)
|
1698
1778
|
|
1779
|
+
api.add_operation(:list_contributor_insights, Seahorse::Model::Operation.new.tap do |o|
|
1780
|
+
o.name = "ListContributorInsights"
|
1781
|
+
o.http_method = "POST"
|
1782
|
+
o.http_request_uri = "/"
|
1783
|
+
o.input = Shapes::ShapeRef.new(shape: ListContributorInsightsInput)
|
1784
|
+
o.output = Shapes::ShapeRef.new(shape: ListContributorInsightsOutput)
|
1785
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1786
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1787
|
+
o[:pager] = Aws::Pager.new(
|
1788
|
+
limit_key: "max_results",
|
1789
|
+
tokens: {
|
1790
|
+
"next_token" => "next_token"
|
1791
|
+
}
|
1792
|
+
)
|
1793
|
+
end)
|
1794
|
+
|
1699
1795
|
api.add_operation(:list_global_tables, Seahorse::Model::Operation.new.tap do |o|
|
1700
1796
|
o.name = "ListGlobalTables"
|
1701
1797
|
o.http_method = "POST"
|
@@ -1899,6 +1995,16 @@ module Aws::DynamoDB
|
|
1899
1995
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1900
1996
|
end)
|
1901
1997
|
|
1998
|
+
api.add_operation(:update_contributor_insights, Seahorse::Model::Operation.new.tap do |o|
|
1999
|
+
o.name = "UpdateContributorInsights"
|
2000
|
+
o.http_method = "POST"
|
2001
|
+
o.http_request_uri = "/"
|
2002
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateContributorInsightsInput)
|
2003
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateContributorInsightsOutput)
|
2004
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2005
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2006
|
+
end)
|
2007
|
+
|
1902
2008
|
api.add_operation(:update_global_table, Seahorse::Model::Operation.new.tap do |o|
|
1903
2009
|
o.name = "UpdateGlobalTable"
|
1904
2010
|
o.http_method = "POST"
|
@@ -87,6 +87,18 @@ module Aws::DynamoDB
|
|
87
87
|
# * `DELETING` - The table is being deleted.
|
88
88
|
#
|
89
89
|
# * `ACTIVE` - The table is ready for use.
|
90
|
+
#
|
91
|
+
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The AWS KMS key used to
|
92
|
+
# encrypt the table in inaccessible. Table operations may fail due to
|
93
|
+
# failure to use the AWS KMS key. DynamoDB will initiate the table
|
94
|
+
# archival process when a table's AWS KMS key remains inaccessible
|
95
|
+
# for more than seven days.
|
96
|
+
#
|
97
|
+
# * `ARCHIVING` - The table is being archived. Operations are not
|
98
|
+
# allowed until archival is complete.
|
99
|
+
#
|
100
|
+
# * `ARCHIVED` - The table has been archived. See the ArchivalReason for
|
101
|
+
# more information.
|
90
102
|
# @return [String]
|
91
103
|
def table_status
|
92
104
|
data[:table_status]
|
@@ -334,6 +346,12 @@ module Aws::DynamoDB
|
|
334
346
|
data[:sse_description]
|
335
347
|
end
|
336
348
|
|
349
|
+
# Contains information about the table archive.
|
350
|
+
# @return [Types::ArchivalSummary]
|
351
|
+
def archival_summary
|
352
|
+
data[:archival_summary]
|
353
|
+
end
|
354
|
+
|
337
355
|
# @!endgroup
|
338
356
|
|
339
357
|
# @return [Client]
|
@@ -8,6 +8,40 @@
|
|
8
8
|
module Aws::DynamoDB
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# Contains details of a table archival operation.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] archival_date_time
|
14
|
+
# The date and time when table archival was initiated by DynamoDB, in
|
15
|
+
# UNIX epoch time format.
|
16
|
+
# @return [Time]
|
17
|
+
#
|
18
|
+
# @!attribute [rw] archival_reason
|
19
|
+
# The reason DynamoDB archived the table. Currently, the only possible
|
20
|
+
# value is:
|
21
|
+
#
|
22
|
+
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The table was archived due
|
23
|
+
# to the table's AWS KMS key being inaccessible for more than seven
|
24
|
+
# days. An On-Demand backup was created at the archival time.
|
25
|
+
#
|
26
|
+
# ^
|
27
|
+
# @return [String]
|
28
|
+
#
|
29
|
+
# @!attribute [rw] archival_backup_arn
|
30
|
+
# The Amazon Resource Name (ARN) of the backup the table was archived
|
31
|
+
# to, when applicable in the archival reason. If you wish to restore
|
32
|
+
# this backup to the same table name, you will need to delete the
|
33
|
+
# original table.
|
34
|
+
# @return [String]
|
35
|
+
#
|
36
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ArchivalSummary AWS API Documentation
|
37
|
+
#
|
38
|
+
class ArchivalSummary < Struct.new(
|
39
|
+
:archival_date_time,
|
40
|
+
:archival_reason,
|
41
|
+
:archival_backup_arn)
|
42
|
+
include Aws::Structure
|
43
|
+
end
|
44
|
+
|
11
45
|
# Represents an attribute for describing the key schema for the table
|
12
46
|
# and indexes.
|
13
47
|
#
|
@@ -1552,6 +1586,30 @@ module Aws::DynamoDB
|
|
1552
1586
|
include Aws::Structure
|
1553
1587
|
end
|
1554
1588
|
|
1589
|
+
# Represents a Contributor Insights summary entry..
|
1590
|
+
#
|
1591
|
+
# @!attribute [rw] table_name
|
1592
|
+
# Name of the table associated with the summary.
|
1593
|
+
# @return [String]
|
1594
|
+
#
|
1595
|
+
# @!attribute [rw] index_name
|
1596
|
+
# Name of the index associated with the summary, if any.
|
1597
|
+
# @return [String]
|
1598
|
+
#
|
1599
|
+
# @!attribute [rw] contributor_insights_status
|
1600
|
+
# Describes the current status for contributor insights for the given
|
1601
|
+
# table and index, if applicable.
|
1602
|
+
# @return [String]
|
1603
|
+
#
|
1604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ContributorInsightsSummary AWS API Documentation
|
1605
|
+
#
|
1606
|
+
class ContributorInsightsSummary < Struct.new(
|
1607
|
+
:table_name,
|
1608
|
+
:index_name,
|
1609
|
+
:contributor_insights_status)
|
1610
|
+
include Aws::Structure
|
1611
|
+
end
|
1612
|
+
|
1555
1613
|
# @note When making an API call, you may pass CreateBackupInput
|
1556
1614
|
# data as a hash:
|
1557
1615
|
#
|
@@ -2632,6 +2690,82 @@ module Aws::DynamoDB
|
|
2632
2690
|
include Aws::Structure
|
2633
2691
|
end
|
2634
2692
|
|
2693
|
+
# @note When making an API call, you may pass DescribeContributorInsightsInput
|
2694
|
+
# data as a hash:
|
2695
|
+
#
|
2696
|
+
# {
|
2697
|
+
# table_name: "TableName", # required
|
2698
|
+
# index_name: "IndexName",
|
2699
|
+
# }
|
2700
|
+
#
|
2701
|
+
# @!attribute [rw] table_name
|
2702
|
+
# The name of the table to describe.
|
2703
|
+
# @return [String]
|
2704
|
+
#
|
2705
|
+
# @!attribute [rw] index_name
|
2706
|
+
# The name of the global secondary index to describe, if applicable.
|
2707
|
+
# @return [String]
|
2708
|
+
#
|
2709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContributorInsightsInput AWS API Documentation
|
2710
|
+
#
|
2711
|
+
class DescribeContributorInsightsInput < Struct.new(
|
2712
|
+
:table_name,
|
2713
|
+
:index_name)
|
2714
|
+
include Aws::Structure
|
2715
|
+
end
|
2716
|
+
|
2717
|
+
# @!attribute [rw] table_name
|
2718
|
+
# The name of the table being described.
|
2719
|
+
# @return [String]
|
2720
|
+
#
|
2721
|
+
# @!attribute [rw] index_name
|
2722
|
+
# The name of the global secondary index being described.
|
2723
|
+
# @return [String]
|
2724
|
+
#
|
2725
|
+
# @!attribute [rw] contributor_insights_rule_list
|
2726
|
+
# List of names of the associated Alpine rules.
|
2727
|
+
# @return [Array<String>]
|
2728
|
+
#
|
2729
|
+
# @!attribute [rw] contributor_insights_status
|
2730
|
+
# Current Status contributor insights.
|
2731
|
+
# @return [String]
|
2732
|
+
#
|
2733
|
+
# @!attribute [rw] last_update_date_time
|
2734
|
+
# Timestamp of the last time the status was changed.
|
2735
|
+
# @return [Time]
|
2736
|
+
#
|
2737
|
+
# @!attribute [rw] failure_exception
|
2738
|
+
# Returns information about the last failure that encountered.
|
2739
|
+
#
|
2740
|
+
# The most common exceptions for a FAILED status are:
|
2741
|
+
#
|
2742
|
+
# * LimitExceededException - Per-account Amazon CloudWatch Contributor
|
2743
|
+
# Insights rule limit reached. Please disable Contributor Insights
|
2744
|
+
# for other tables/indexes OR disable Contributor Insights rules
|
2745
|
+
# before retrying.
|
2746
|
+
#
|
2747
|
+
# * AccessDeniedException - Amazon CloudWatch Contributor Insights
|
2748
|
+
# rules cannot be modified due to insufficient permissions.
|
2749
|
+
#
|
2750
|
+
# * AccessDeniedException - Failed to create service-linked role for
|
2751
|
+
# Contributor Insights due to insufficient permissions.
|
2752
|
+
#
|
2753
|
+
# * InternalServerError - Failed to create Amazon CloudWatch
|
2754
|
+
# Contributor Insights rules. Please retry request.
|
2755
|
+
# @return [Types::FailureException]
|
2756
|
+
#
|
2757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContributorInsightsOutput AWS API Documentation
|
2758
|
+
#
|
2759
|
+
class DescribeContributorInsightsOutput < Struct.new(
|
2760
|
+
:table_name,
|
2761
|
+
:index_name,
|
2762
|
+
:contributor_insights_rule_list,
|
2763
|
+
:contributor_insights_status,
|
2764
|
+
:last_update_date_time,
|
2765
|
+
:failure_exception)
|
2766
|
+
include Aws::Structure
|
2767
|
+
end
|
2768
|
+
|
2635
2769
|
# @api private
|
2636
2770
|
#
|
2637
2771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeEndpointsRequest AWS API Documentation
|
@@ -3141,6 +3275,24 @@ module Aws::DynamoDB
|
|
3141
3275
|
include Aws::Structure
|
3142
3276
|
end
|
3143
3277
|
|
3278
|
+
# Represents a failure a contributor insights operation.
|
3279
|
+
#
|
3280
|
+
# @!attribute [rw] exception_name
|
3281
|
+
# Exception name.
|
3282
|
+
# @return [String]
|
3283
|
+
#
|
3284
|
+
# @!attribute [rw] exception_description
|
3285
|
+
# Description of the failure.
|
3286
|
+
# @return [String]
|
3287
|
+
#
|
3288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/FailureException AWS API Documentation
|
3289
|
+
#
|
3290
|
+
class FailureException < Struct.new(
|
3291
|
+
:exception_name,
|
3292
|
+
:exception_description)
|
3293
|
+
include Aws::Structure
|
3294
|
+
end
|
3295
|
+
|
3144
3296
|
# Specifies an item and related attribute values to retrieve in a
|
3145
3297
|
# `TransactGetItem` object.
|
3146
3298
|
#
|
@@ -4271,6 +4423,52 @@ module Aws::DynamoDB
|
|
4271
4423
|
include Aws::Structure
|
4272
4424
|
end
|
4273
4425
|
|
4426
|
+
# @note When making an API call, you may pass ListContributorInsightsInput
|
4427
|
+
# data as a hash:
|
4428
|
+
#
|
4429
|
+
# {
|
4430
|
+
# table_name: "TableName",
|
4431
|
+
# next_token: "NextTokenString",
|
4432
|
+
# max_results: 1,
|
4433
|
+
# }
|
4434
|
+
#
|
4435
|
+
# @!attribute [rw] table_name
|
4436
|
+
# The name of the table.
|
4437
|
+
# @return [String]
|
4438
|
+
#
|
4439
|
+
# @!attribute [rw] next_token
|
4440
|
+
# A token to for the desired page, if there is one.
|
4441
|
+
# @return [String]
|
4442
|
+
#
|
4443
|
+
# @!attribute [rw] max_results
|
4444
|
+
# Maximum number of results to return per page.
|
4445
|
+
# @return [Integer]
|
4446
|
+
#
|
4447
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListContributorInsightsInput AWS API Documentation
|
4448
|
+
#
|
4449
|
+
class ListContributorInsightsInput < Struct.new(
|
4450
|
+
:table_name,
|
4451
|
+
:next_token,
|
4452
|
+
:max_results)
|
4453
|
+
include Aws::Structure
|
4454
|
+
end
|
4455
|
+
|
4456
|
+
# @!attribute [rw] contributor_insights_summaries
|
4457
|
+
# A list of ContributorInsightsSummary.
|
4458
|
+
# @return [Array<Types::ContributorInsightsSummary>]
|
4459
|
+
#
|
4460
|
+
# @!attribute [rw] next_token
|
4461
|
+
# A token to go to the next page if there is one.
|
4462
|
+
# @return [String]
|
4463
|
+
#
|
4464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListContributorInsightsOutput AWS API Documentation
|
4465
|
+
#
|
4466
|
+
class ListContributorInsightsOutput < Struct.new(
|
4467
|
+
:contributor_insights_summaries,
|
4468
|
+
:next_token)
|
4469
|
+
include Aws::Structure
|
4470
|
+
end
|
4471
|
+
|
4274
4472
|
# @note When making an API call, you may pass ListGlobalTablesInput
|
4275
4473
|
# data as a hash:
|
4276
4474
|
#
|
@@ -6779,12 +6977,22 @@ module Aws::DynamoDB
|
|
6779
6977
|
# encryption.
|
6780
6978
|
# @return [String]
|
6781
6979
|
#
|
6980
|
+
# @!attribute [rw] inaccessible_encryption_date_time
|
6981
|
+
# Indicates the time, in UNIX epoch date format, when DynamoDB
|
6982
|
+
# detected that the table's AWS KMS key was inaccessible. This
|
6983
|
+
# attribute will automatically be cleared when DynamoDB detects that
|
6984
|
+
# the table's AWS KMS key is accessible again. DynamoDB will initiate
|
6985
|
+
# the table archival process when table's AWS KMS key remains
|
6986
|
+
# inaccessible for more than seven days from this date.
|
6987
|
+
# @return [Time]
|
6988
|
+
#
|
6782
6989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSEDescription AWS API Documentation
|
6783
6990
|
#
|
6784
6991
|
class SSEDescription < Struct.new(
|
6785
6992
|
:status,
|
6786
6993
|
:sse_type,
|
6787
|
-
:kms_master_key_arn
|
6994
|
+
:kms_master_key_arn,
|
6995
|
+
:inaccessible_encryption_date_time)
|
6788
6996
|
include Aws::Structure
|
6789
6997
|
end
|
6790
6998
|
|
@@ -7526,6 +7734,18 @@ module Aws::DynamoDB
|
|
7526
7734
|
# * `DELETING` - The table is being deleted.
|
7527
7735
|
#
|
7528
7736
|
# * `ACTIVE` - The table is ready for use.
|
7737
|
+
#
|
7738
|
+
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The AWS KMS key used to
|
7739
|
+
# encrypt the table in inaccessible. Table operations may fail due
|
7740
|
+
# to failure to use the AWS KMS key. DynamoDB will initiate the
|
7741
|
+
# table archival process when a table's AWS KMS key remains
|
7742
|
+
# inaccessible for more than seven days.
|
7743
|
+
#
|
7744
|
+
# * `ARCHIVING` - The table is being archived. Operations are not
|
7745
|
+
# allowed until archival is complete.
|
7746
|
+
#
|
7747
|
+
# * `ARCHIVED` - The table has been archived. See the ArchivalReason
|
7748
|
+
# for more information.
|
7529
7749
|
# @return [String]
|
7530
7750
|
#
|
7531
7751
|
# @!attribute [rw] creation_date_time
|
@@ -7740,6 +7960,10 @@ module Aws::DynamoDB
|
|
7740
7960
|
# specified table.
|
7741
7961
|
# @return [Types::SSEDescription]
|
7742
7962
|
#
|
7963
|
+
# @!attribute [rw] archival_summary
|
7964
|
+
# Contains information about the table archive.
|
7965
|
+
# @return [Types::ArchivalSummary]
|
7966
|
+
#
|
7743
7967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription AWS API Documentation
|
7744
7968
|
#
|
7745
7969
|
class TableDescription < Struct.new(
|
@@ -7762,7 +7986,8 @@ module Aws::DynamoDB
|
|
7762
7986
|
:global_table_version,
|
7763
7987
|
:replicas,
|
7764
7988
|
:restore_summary,
|
7765
|
-
:sse_description
|
7989
|
+
:sse_description,
|
7990
|
+
:archival_summary)
|
7766
7991
|
include Aws::Structure
|
7767
7992
|
end
|
7768
7993
|
|
@@ -8597,6 +8822,57 @@ module Aws::DynamoDB
|
|
8597
8822
|
include Aws::Structure
|
8598
8823
|
end
|
8599
8824
|
|
8825
|
+
# @note When making an API call, you may pass UpdateContributorInsightsInput
|
8826
|
+
# data as a hash:
|
8827
|
+
#
|
8828
|
+
# {
|
8829
|
+
# table_name: "TableName", # required
|
8830
|
+
# index_name: "IndexName",
|
8831
|
+
# contributor_insights_action: "ENABLE", # required, accepts ENABLE, DISABLE
|
8832
|
+
# }
|
8833
|
+
#
|
8834
|
+
# @!attribute [rw] table_name
|
8835
|
+
# The name of the table.
|
8836
|
+
# @return [String]
|
8837
|
+
#
|
8838
|
+
# @!attribute [rw] index_name
|
8839
|
+
# The global secondary index name, if applicable.
|
8840
|
+
# @return [String]
|
8841
|
+
#
|
8842
|
+
# @!attribute [rw] contributor_insights_action
|
8843
|
+
# Represents the contributor insights action.
|
8844
|
+
# @return [String]
|
8845
|
+
#
|
8846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContributorInsightsInput AWS API Documentation
|
8847
|
+
#
|
8848
|
+
class UpdateContributorInsightsInput < Struct.new(
|
8849
|
+
:table_name,
|
8850
|
+
:index_name,
|
8851
|
+
:contributor_insights_action)
|
8852
|
+
include Aws::Structure
|
8853
|
+
end
|
8854
|
+
|
8855
|
+
# @!attribute [rw] table_name
|
8856
|
+
# The name of the table.
|
8857
|
+
# @return [String]
|
8858
|
+
#
|
8859
|
+
# @!attribute [rw] index_name
|
8860
|
+
# The name of the global secondary index, if applicable.
|
8861
|
+
# @return [String]
|
8862
|
+
#
|
8863
|
+
# @!attribute [rw] contributor_insights_status
|
8864
|
+
# The status of contributor insights
|
8865
|
+
# @return [String]
|
8866
|
+
#
|
8867
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContributorInsightsOutput AWS API Documentation
|
8868
|
+
#
|
8869
|
+
class UpdateContributorInsightsOutput < Struct.new(
|
8870
|
+
:table_name,
|
8871
|
+
:index_name,
|
8872
|
+
:contributor_insights_status)
|
8873
|
+
include Aws::Structure
|
8874
|
+
end
|
8875
|
+
|
8600
8876
|
# Represents the new provisioned throughput settings to be applied to a
|
8601
8877
|
# global secondary index.
|
8602
8878
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dynamodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.40.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: 2019-11-
|
11
|
+
date: 2019-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|