aws-sdk-dynamodb 1.56.0 → 1.57.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 +196 -1
- data/lib/aws-sdk-dynamodb/client_api.rb +136 -0
- data/lib/aws-sdk-dynamodb/errors.rb +48 -0
- data/lib/aws-sdk-dynamodb/types.rb +365 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77d2d3ca48547e85f0d25840297d9fddb96cf9ccce546d16f78cdb04c8b6ac8a
|
4
|
+
data.tar.gz: c4074caf735b7606ed8f729f3f5b130781b708e430f97b3f1dbefb06aec74d15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8b35e97196e91f39ff436dc7bc11496c3072ea9a998c50fc4dca9defc6f41100c7abb00fe00f9782af7c2dcb2485d4b6e353ebede861808c502b892b4973717
|
7
|
+
data.tar.gz: a3dcdd007442a4a72bff2dfa106c968fd14e4d01165e248b0631a479ab6b74ef8efb323eb08d0ad4fd76c5885c9bd8a1f7a5118db2824c836301607b3f58b345
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -2193,6 +2193,52 @@ module Aws::DynamoDB
|
|
2193
2193
|
req.send_request(options)
|
2194
2194
|
end
|
2195
2195
|
|
2196
|
+
# Describes an existing table export.
|
2197
|
+
#
|
2198
|
+
# @option params [required, String] :export_arn
|
2199
|
+
# The Amazon Resource Name (ARN) associated with the export.
|
2200
|
+
#
|
2201
|
+
# @return [Types::DescribeExportOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2202
|
+
#
|
2203
|
+
# * {Types::DescribeExportOutput#export_description #export_description} => Types::ExportDescription
|
2204
|
+
#
|
2205
|
+
# @example Request syntax with placeholder values
|
2206
|
+
#
|
2207
|
+
# resp = client.describe_export({
|
2208
|
+
# export_arn: "ExportArn", # required
|
2209
|
+
# })
|
2210
|
+
#
|
2211
|
+
# @example Response structure
|
2212
|
+
#
|
2213
|
+
# resp.export_description.export_arn #=> String
|
2214
|
+
# resp.export_description.export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
2215
|
+
# resp.export_description.start_time #=> Time
|
2216
|
+
# resp.export_description.end_time #=> Time
|
2217
|
+
# resp.export_description.export_manifest #=> String
|
2218
|
+
# resp.export_description.table_arn #=> String
|
2219
|
+
# resp.export_description.table_id #=> String
|
2220
|
+
# resp.export_description.export_time #=> Time
|
2221
|
+
# resp.export_description.client_token #=> String
|
2222
|
+
# resp.export_description.s3_bucket #=> String
|
2223
|
+
# resp.export_description.s3_bucket_owner #=> String
|
2224
|
+
# resp.export_description.s3_prefix #=> String
|
2225
|
+
# resp.export_description.s3_sse_algorithm #=> String, one of "AES256", "KMS"
|
2226
|
+
# resp.export_description.s3_sse_kms_key_id #=> String
|
2227
|
+
# resp.export_description.failure_code #=> String
|
2228
|
+
# resp.export_description.failure_message #=> String
|
2229
|
+
# resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
|
2230
|
+
# resp.export_description.billed_size_bytes #=> Integer
|
2231
|
+
# resp.export_description.item_count #=> Integer
|
2232
|
+
#
|
2233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExport AWS API Documentation
|
2234
|
+
#
|
2235
|
+
# @overload describe_export(params = {})
|
2236
|
+
# @param [Hash] params ({})
|
2237
|
+
def describe_export(params = {}, options = {})
|
2238
|
+
req = build_request(:describe_export, params)
|
2239
|
+
req.send_request(options)
|
2240
|
+
end
|
2241
|
+
|
2196
2242
|
# Returns information about the specified global table.
|
2197
2243
|
#
|
2198
2244
|
# <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
|
@@ -2726,6 +2772,111 @@ module Aws::DynamoDB
|
|
2726
2772
|
req.send_request(options)
|
2727
2773
|
end
|
2728
2774
|
|
2775
|
+
# Exports table data to an S3 bucket. The table must have point in time
|
2776
|
+
# recovery enabled, and you can export data from any time within the
|
2777
|
+
# point in time recovery window.
|
2778
|
+
#
|
2779
|
+
# @option params [required, String] :table_arn
|
2780
|
+
# The Amazon Resource Name (ARN) associated with the table to export.
|
2781
|
+
#
|
2782
|
+
# @option params [Time,DateTime,Date,Integer,String] :export_time
|
2783
|
+
# Time in the past from which to export table data. The table export
|
2784
|
+
# will be a snapshot of the table's state at this point in time.
|
2785
|
+
#
|
2786
|
+
# @option params [String] :client_token
|
2787
|
+
# Providing a `ClientToken` makes the call to
|
2788
|
+
# `ExportTableToPointInTimeInput` idempotent, meaning that multiple
|
2789
|
+
# identical calls have the same effect as one single call.
|
2790
|
+
#
|
2791
|
+
# A client token is valid for 8 hours after the first request that uses
|
2792
|
+
# it is completed. After 8 hours, any request with the same client token
|
2793
|
+
# is treated as a new request. Do not resubmit the same request with the
|
2794
|
+
# same client token for more than 8 hours, or the result might not be
|
2795
|
+
# idempotent.
|
2796
|
+
#
|
2797
|
+
# If you submit a request with the same client token but a change in
|
2798
|
+
# other parameters within the 8-hour idempotency window, DynamoDB
|
2799
|
+
# returns an `IdempotentParameterMismatch` exception.
|
2800
|
+
#
|
2801
|
+
# **A suitable default value is auto-generated.** You should normally
|
2802
|
+
# not need to pass this option.**
|
2803
|
+
#
|
2804
|
+
# @option params [required, String] :s3_bucket
|
2805
|
+
# The name of the Amazon S3 bucket to export the snapshot to.
|
2806
|
+
#
|
2807
|
+
# @option params [String] :s3_bucket_owner
|
2808
|
+
# The ID of the AWS account that owns the bucket the export will be
|
2809
|
+
# stored in.
|
2810
|
+
#
|
2811
|
+
# @option params [String] :s3_prefix
|
2812
|
+
# The Amazon S3 bucket prefix to use as the file name and path of the
|
2813
|
+
# exported snapshot.
|
2814
|
+
#
|
2815
|
+
# @option params [String] :s3_sse_algorithm
|
2816
|
+
# Type of encryption used on the bucket where export data will be
|
2817
|
+
# stored. Valid values for `S3SseAlgorithm` are:
|
2818
|
+
#
|
2819
|
+
# * `AES256` - server-side encryption with Amazon S3 managed keys
|
2820
|
+
#
|
2821
|
+
# * `KMS` - server-side encryption with AWS KMS managed keys
|
2822
|
+
#
|
2823
|
+
# @option params [String] :s3_sse_kms_key_id
|
2824
|
+
# The ID of the AWS KMS managed key used to encrypt the S3 bucket where
|
2825
|
+
# export data will be stored (if applicable).
|
2826
|
+
#
|
2827
|
+
# @option params [String] :export_format
|
2828
|
+
# The format for the exported data. Valid values for `ExportFormat` are
|
2829
|
+
# `DYNAMODB_JSON` or `ION`.
|
2830
|
+
#
|
2831
|
+
# @return [Types::ExportTableToPointInTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2832
|
+
#
|
2833
|
+
# * {Types::ExportTableToPointInTimeOutput#export_description #export_description} => Types::ExportDescription
|
2834
|
+
#
|
2835
|
+
# @example Request syntax with placeholder values
|
2836
|
+
#
|
2837
|
+
# resp = client.export_table_to_point_in_time({
|
2838
|
+
# table_arn: "TableArn", # required
|
2839
|
+
# export_time: Time.now,
|
2840
|
+
# client_token: "ClientToken",
|
2841
|
+
# s3_bucket: "S3Bucket", # required
|
2842
|
+
# s3_bucket_owner: "S3BucketOwner",
|
2843
|
+
# s3_prefix: "S3Prefix",
|
2844
|
+
# s3_sse_algorithm: "AES256", # accepts AES256, KMS
|
2845
|
+
# s3_sse_kms_key_id: "S3SseKmsKeyId",
|
2846
|
+
# export_format: "DYNAMODB_JSON", # accepts DYNAMODB_JSON, ION
|
2847
|
+
# })
|
2848
|
+
#
|
2849
|
+
# @example Response structure
|
2850
|
+
#
|
2851
|
+
# resp.export_description.export_arn #=> String
|
2852
|
+
# resp.export_description.export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
2853
|
+
# resp.export_description.start_time #=> Time
|
2854
|
+
# resp.export_description.end_time #=> Time
|
2855
|
+
# resp.export_description.export_manifest #=> String
|
2856
|
+
# resp.export_description.table_arn #=> String
|
2857
|
+
# resp.export_description.table_id #=> String
|
2858
|
+
# resp.export_description.export_time #=> Time
|
2859
|
+
# resp.export_description.client_token #=> String
|
2860
|
+
# resp.export_description.s3_bucket #=> String
|
2861
|
+
# resp.export_description.s3_bucket_owner #=> String
|
2862
|
+
# resp.export_description.s3_prefix #=> String
|
2863
|
+
# resp.export_description.s3_sse_algorithm #=> String, one of "AES256", "KMS"
|
2864
|
+
# resp.export_description.s3_sse_kms_key_id #=> String
|
2865
|
+
# resp.export_description.failure_code #=> String
|
2866
|
+
# resp.export_description.failure_message #=> String
|
2867
|
+
# resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
|
2868
|
+
# resp.export_description.billed_size_bytes #=> Integer
|
2869
|
+
# resp.export_description.item_count #=> Integer
|
2870
|
+
#
|
2871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTime AWS API Documentation
|
2872
|
+
#
|
2873
|
+
# @overload export_table_to_point_in_time(params = {})
|
2874
|
+
# @param [Hash] params ({})
|
2875
|
+
def export_table_to_point_in_time(params = {}, options = {})
|
2876
|
+
req = build_request(:export_table_to_point_in_time, params)
|
2877
|
+
req.send_request(options)
|
2878
|
+
end
|
2879
|
+
|
2729
2880
|
# The `GetItem` operation returns a set of attributes for the item with
|
2730
2881
|
# the given primary key. If there is no matching item, `GetItem` does
|
2731
2882
|
# not return any data and there will be no `Item` element in the
|
@@ -3048,6 +3199,50 @@ module Aws::DynamoDB
|
|
3048
3199
|
req.send_request(options)
|
3049
3200
|
end
|
3050
3201
|
|
3202
|
+
# Lists completed exports within the past 90 days.
|
3203
|
+
#
|
3204
|
+
# @option params [String] :table_arn
|
3205
|
+
# The Amazon Resource Name (ARN) associated with the exported table.
|
3206
|
+
#
|
3207
|
+
# @option params [Integer] :max_results
|
3208
|
+
# Maximum number of results to return per page.
|
3209
|
+
#
|
3210
|
+
# @option params [String] :next_token
|
3211
|
+
# An optional string that, if supplied, must be copied from the output
|
3212
|
+
# of a previous call to `ListExports`. When provided in this manner, the
|
3213
|
+
# API fetches the next page of results.
|
3214
|
+
#
|
3215
|
+
# @return [Types::ListExportsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3216
|
+
#
|
3217
|
+
# * {Types::ListExportsOutput#export_summaries #export_summaries} => Array<Types::ExportSummary>
|
3218
|
+
# * {Types::ListExportsOutput#next_token #next_token} => String
|
3219
|
+
#
|
3220
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3221
|
+
#
|
3222
|
+
# @example Request syntax with placeholder values
|
3223
|
+
#
|
3224
|
+
# resp = client.list_exports({
|
3225
|
+
# table_arn: "TableArn",
|
3226
|
+
# max_results: 1,
|
3227
|
+
# next_token: "ExportNextToken",
|
3228
|
+
# })
|
3229
|
+
#
|
3230
|
+
# @example Response structure
|
3231
|
+
#
|
3232
|
+
# resp.export_summaries #=> Array
|
3233
|
+
# resp.export_summaries[0].export_arn #=> String
|
3234
|
+
# resp.export_summaries[0].export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
3235
|
+
# resp.next_token #=> String
|
3236
|
+
#
|
3237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExports AWS API Documentation
|
3238
|
+
#
|
3239
|
+
# @overload list_exports(params = {})
|
3240
|
+
# @param [Hash] params ({})
|
3241
|
+
def list_exports(params = {}, options = {})
|
3242
|
+
req = build_request(:list_exports, params)
|
3243
|
+
req.send_request(options)
|
3244
|
+
end
|
3245
|
+
|
3051
3246
|
# Lists all global tables that have a replica in the specified Region.
|
3052
3247
|
#
|
3053
3248
|
# <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
|
@@ -6684,7 +6879,7 @@ module Aws::DynamoDB
|
|
6684
6879
|
params: params,
|
6685
6880
|
config: config)
|
6686
6881
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
6687
|
-
context[:gem_version] = '1.
|
6882
|
+
context[:gem_version] = '1.57.0'
|
6688
6883
|
Seahorse::Client::Request.new(handlers, context)
|
6689
6884
|
end
|
6690
6885
|
|
@@ -56,6 +56,7 @@ module Aws::DynamoDB
|
|
56
56
|
BatchWriteItemInput = Shapes::StructureShape.new(name: 'BatchWriteItemInput')
|
57
57
|
BatchWriteItemOutput = Shapes::StructureShape.new(name: 'BatchWriteItemOutput')
|
58
58
|
BatchWriteItemRequestMap = Shapes::MapShape.new(name: 'BatchWriteItemRequestMap')
|
59
|
+
BilledSizeBytes = Shapes::IntegerShape.new(name: 'BilledSizeBytes')
|
59
60
|
BillingMode = Shapes::StringShape.new(name: 'BillingMode')
|
60
61
|
BillingModeSummary = Shapes::StructureShape.new(name: 'BillingModeSummary')
|
61
62
|
BinaryAttributeValue = Shapes::BlobShape.new(name: 'BinaryAttributeValue')
|
@@ -66,6 +67,7 @@ module Aws::DynamoDB
|
|
66
67
|
CancellationReasonList = Shapes::ListShape.new(name: 'CancellationReasonList')
|
67
68
|
Capacity = Shapes::StructureShape.new(name: 'Capacity')
|
68
69
|
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
70
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
69
71
|
Code = Shapes::StringShape.new(name: 'Code')
|
70
72
|
ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
|
71
73
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
@@ -115,6 +117,8 @@ module Aws::DynamoDB
|
|
115
117
|
DescribeContributorInsightsOutput = Shapes::StructureShape.new(name: 'DescribeContributorInsightsOutput')
|
116
118
|
DescribeEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeEndpointsRequest')
|
117
119
|
DescribeEndpointsResponse = Shapes::StructureShape.new(name: 'DescribeEndpointsResponse')
|
120
|
+
DescribeExportInput = Shapes::StructureShape.new(name: 'DescribeExportInput')
|
121
|
+
DescribeExportOutput = Shapes::StructureShape.new(name: 'DescribeExportOutput')
|
118
122
|
DescribeGlobalTableInput = Shapes::StructureShape.new(name: 'DescribeGlobalTableInput')
|
119
123
|
DescribeGlobalTableOutput = Shapes::StructureShape.new(name: 'DescribeGlobalTableOutput')
|
120
124
|
DescribeGlobalTableSettingsInput = Shapes::StructureShape.new(name: 'DescribeGlobalTableSettingsInput')
|
@@ -135,11 +139,28 @@ module Aws::DynamoDB
|
|
135
139
|
ExceptionName = Shapes::StringShape.new(name: 'ExceptionName')
|
136
140
|
ExpectedAttributeMap = Shapes::MapShape.new(name: 'ExpectedAttributeMap')
|
137
141
|
ExpectedAttributeValue = Shapes::StructureShape.new(name: 'ExpectedAttributeValue')
|
142
|
+
ExportArn = Shapes::StringShape.new(name: 'ExportArn')
|
143
|
+
ExportConflictException = Shapes::StructureShape.new(name: 'ExportConflictException')
|
144
|
+
ExportDescription = Shapes::StructureShape.new(name: 'ExportDescription')
|
145
|
+
ExportEndTime = Shapes::TimestampShape.new(name: 'ExportEndTime')
|
146
|
+
ExportFormat = Shapes::StringShape.new(name: 'ExportFormat')
|
147
|
+
ExportManifest = Shapes::StringShape.new(name: 'ExportManifest')
|
148
|
+
ExportNextToken = Shapes::StringShape.new(name: 'ExportNextToken')
|
149
|
+
ExportNotFoundException = Shapes::StructureShape.new(name: 'ExportNotFoundException')
|
150
|
+
ExportStartTime = Shapes::TimestampShape.new(name: 'ExportStartTime')
|
151
|
+
ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
|
152
|
+
ExportSummaries = Shapes::ListShape.new(name: 'ExportSummaries')
|
153
|
+
ExportSummary = Shapes::StructureShape.new(name: 'ExportSummary')
|
154
|
+
ExportTableToPointInTimeInput = Shapes::StructureShape.new(name: 'ExportTableToPointInTimeInput')
|
155
|
+
ExportTableToPointInTimeOutput = Shapes::StructureShape.new(name: 'ExportTableToPointInTimeOutput')
|
156
|
+
ExportTime = Shapes::TimestampShape.new(name: 'ExportTime')
|
138
157
|
ExpressionAttributeNameMap = Shapes::MapShape.new(name: 'ExpressionAttributeNameMap')
|
139
158
|
ExpressionAttributeNameVariable = Shapes::StringShape.new(name: 'ExpressionAttributeNameVariable')
|
140
159
|
ExpressionAttributeValueMap = Shapes::MapShape.new(name: 'ExpressionAttributeValueMap')
|
141
160
|
ExpressionAttributeValueVariable = Shapes::StringShape.new(name: 'ExpressionAttributeValueVariable')
|
161
|
+
FailureCode = Shapes::StringShape.new(name: 'FailureCode')
|
142
162
|
FailureException = Shapes::StructureShape.new(name: 'FailureException')
|
163
|
+
FailureMessage = Shapes::StringShape.new(name: 'FailureMessage')
|
143
164
|
FilterConditionMap = Shapes::MapShape.new(name: 'FilterConditionMap')
|
144
165
|
Get = Shapes::StructureShape.new(name: 'Get')
|
145
166
|
GetItemInput = Shapes::StructureShape.new(name: 'GetItemInput')
|
@@ -170,6 +191,7 @@ module Aws::DynamoDB
|
|
170
191
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
171
192
|
IntegerObject = Shapes::IntegerShape.new(name: 'IntegerObject')
|
172
193
|
InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
|
194
|
+
InvalidExportTimeException = Shapes::StructureShape.new(name: 'InvalidExportTimeException')
|
173
195
|
InvalidRestoreTimeException = Shapes::StructureShape.new(name: 'InvalidRestoreTimeException')
|
174
196
|
ItemCollectionKeyAttributeMap = Shapes::MapShape.new(name: 'ItemCollectionKeyAttributeMap')
|
175
197
|
ItemCollectionMetrics = Shapes::StructureShape.new(name: 'ItemCollectionMetrics')
|
@@ -201,6 +223,9 @@ module Aws::DynamoDB
|
|
201
223
|
ListContributorInsightsInput = Shapes::StructureShape.new(name: 'ListContributorInsightsInput')
|
202
224
|
ListContributorInsightsLimit = Shapes::IntegerShape.new(name: 'ListContributorInsightsLimit')
|
203
225
|
ListContributorInsightsOutput = Shapes::StructureShape.new(name: 'ListContributorInsightsOutput')
|
226
|
+
ListExportsInput = Shapes::StructureShape.new(name: 'ListExportsInput')
|
227
|
+
ListExportsMaxLimit = Shapes::IntegerShape.new(name: 'ListExportsMaxLimit')
|
228
|
+
ListExportsOutput = Shapes::StructureShape.new(name: 'ListExportsOutput')
|
204
229
|
ListGlobalTablesInput = Shapes::StructureShape.new(name: 'ListGlobalTablesInput')
|
205
230
|
ListGlobalTablesOutput = Shapes::StructureShape.new(name: 'ListGlobalTablesOutput')
|
206
231
|
ListTablesInput = Shapes::StructureShape.new(name: 'ListTablesInput')
|
@@ -291,6 +316,11 @@ module Aws::DynamoDB
|
|
291
316
|
ReturnItemCollectionMetrics = Shapes::StringShape.new(name: 'ReturnItemCollectionMetrics')
|
292
317
|
ReturnValue = Shapes::StringShape.new(name: 'ReturnValue')
|
293
318
|
ReturnValuesOnConditionCheckFailure = Shapes::StringShape.new(name: 'ReturnValuesOnConditionCheckFailure')
|
319
|
+
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
320
|
+
S3BucketOwner = Shapes::StringShape.new(name: 'S3BucketOwner')
|
321
|
+
S3Prefix = Shapes::StringShape.new(name: 'S3Prefix')
|
322
|
+
S3SseAlgorithm = Shapes::StringShape.new(name: 'S3SseAlgorithm')
|
323
|
+
S3SseKmsKeyId = Shapes::StringShape.new(name: 'S3SseKmsKeyId')
|
294
324
|
SSEDescription = Shapes::StructureShape.new(name: 'SSEDescription')
|
295
325
|
SSEEnabled = Shapes::BooleanShape.new(name: 'SSEEnabled')
|
296
326
|
SSESpecification = Shapes::StructureShape.new(name: 'SSESpecification')
|
@@ -688,6 +718,12 @@ module Aws::DynamoDB
|
|
688
718
|
DescribeEndpointsResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, required: true, location_name: "Endpoints"))
|
689
719
|
DescribeEndpointsResponse.struct_class = Types::DescribeEndpointsResponse
|
690
720
|
|
721
|
+
DescribeExportInput.add_member(:export_arn, Shapes::ShapeRef.new(shape: ExportArn, required: true, location_name: "ExportArn"))
|
722
|
+
DescribeExportInput.struct_class = Types::DescribeExportInput
|
723
|
+
|
724
|
+
DescribeExportOutput.add_member(:export_description, Shapes::ShapeRef.new(shape: ExportDescription, location_name: "ExportDescription"))
|
725
|
+
DescribeExportOutput.struct_class = Types::DescribeExportOutput
|
726
|
+
|
691
727
|
DescribeGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
|
692
728
|
DescribeGlobalTableInput.struct_class = Types::DescribeGlobalTableInput
|
693
729
|
|
@@ -742,6 +778,53 @@ module Aws::DynamoDB
|
|
742
778
|
ExpectedAttributeValue.add_member(:attribute_value_list, Shapes::ShapeRef.new(shape: AttributeValueList, location_name: "AttributeValueList"))
|
743
779
|
ExpectedAttributeValue.struct_class = Types::ExpectedAttributeValue
|
744
780
|
|
781
|
+
ExportConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
782
|
+
ExportConflictException.struct_class = Types::ExportConflictException
|
783
|
+
|
784
|
+
ExportDescription.add_member(:export_arn, Shapes::ShapeRef.new(shape: ExportArn, location_name: "ExportArn"))
|
785
|
+
ExportDescription.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "ExportStatus"))
|
786
|
+
ExportDescription.add_member(:start_time, Shapes::ShapeRef.new(shape: ExportStartTime, location_name: "StartTime"))
|
787
|
+
ExportDescription.add_member(:end_time, Shapes::ShapeRef.new(shape: ExportEndTime, location_name: "EndTime"))
|
788
|
+
ExportDescription.add_member(:export_manifest, Shapes::ShapeRef.new(shape: ExportManifest, location_name: "ExportManifest"))
|
789
|
+
ExportDescription.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn"))
|
790
|
+
ExportDescription.add_member(:table_id, Shapes::ShapeRef.new(shape: TableId, location_name: "TableId"))
|
791
|
+
ExportDescription.add_member(:export_time, Shapes::ShapeRef.new(shape: ExportTime, location_name: "ExportTime"))
|
792
|
+
ExportDescription.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
|
793
|
+
ExportDescription.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
|
794
|
+
ExportDescription.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: S3BucketOwner, location_name: "S3BucketOwner"))
|
795
|
+
ExportDescription.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3Prefix, location_name: "S3Prefix"))
|
796
|
+
ExportDescription.add_member(:s3_sse_algorithm, Shapes::ShapeRef.new(shape: S3SseAlgorithm, location_name: "S3SseAlgorithm"))
|
797
|
+
ExportDescription.add_member(:s3_sse_kms_key_id, Shapes::ShapeRef.new(shape: S3SseKmsKeyId, location_name: "S3SseKmsKeyId"))
|
798
|
+
ExportDescription.add_member(:failure_code, Shapes::ShapeRef.new(shape: FailureCode, location_name: "FailureCode"))
|
799
|
+
ExportDescription.add_member(:failure_message, Shapes::ShapeRef.new(shape: FailureMessage, location_name: "FailureMessage"))
|
800
|
+
ExportDescription.add_member(:export_format, Shapes::ShapeRef.new(shape: ExportFormat, location_name: "ExportFormat"))
|
801
|
+
ExportDescription.add_member(:billed_size_bytes, Shapes::ShapeRef.new(shape: BilledSizeBytes, location_name: "BilledSizeBytes"))
|
802
|
+
ExportDescription.add_member(:item_count, Shapes::ShapeRef.new(shape: ItemCount, location_name: "ItemCount"))
|
803
|
+
ExportDescription.struct_class = Types::ExportDescription
|
804
|
+
|
805
|
+
ExportNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
806
|
+
ExportNotFoundException.struct_class = Types::ExportNotFoundException
|
807
|
+
|
808
|
+
ExportSummaries.member = Shapes::ShapeRef.new(shape: ExportSummary)
|
809
|
+
|
810
|
+
ExportSummary.add_member(:export_arn, Shapes::ShapeRef.new(shape: ExportArn, location_name: "ExportArn"))
|
811
|
+
ExportSummary.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "ExportStatus"))
|
812
|
+
ExportSummary.struct_class = Types::ExportSummary
|
813
|
+
|
814
|
+
ExportTableToPointInTimeInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableArn"))
|
815
|
+
ExportTableToPointInTimeInput.add_member(:export_time, Shapes::ShapeRef.new(shape: ExportTime, location_name: "ExportTime"))
|
816
|
+
ExportTableToPointInTimeInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
817
|
+
ExportTableToPointInTimeInput.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
|
818
|
+
ExportTableToPointInTimeInput.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: S3BucketOwner, location_name: "S3BucketOwner"))
|
819
|
+
ExportTableToPointInTimeInput.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3Prefix, location_name: "S3Prefix"))
|
820
|
+
ExportTableToPointInTimeInput.add_member(:s3_sse_algorithm, Shapes::ShapeRef.new(shape: S3SseAlgorithm, location_name: "S3SseAlgorithm"))
|
821
|
+
ExportTableToPointInTimeInput.add_member(:s3_sse_kms_key_id, Shapes::ShapeRef.new(shape: S3SseKmsKeyId, location_name: "S3SseKmsKeyId"))
|
822
|
+
ExportTableToPointInTimeInput.add_member(:export_format, Shapes::ShapeRef.new(shape: ExportFormat, location_name: "ExportFormat"))
|
823
|
+
ExportTableToPointInTimeInput.struct_class = Types::ExportTableToPointInTimeInput
|
824
|
+
|
825
|
+
ExportTableToPointInTimeOutput.add_member(:export_description, Shapes::ShapeRef.new(shape: ExportDescription, location_name: "ExportDescription"))
|
826
|
+
ExportTableToPointInTimeOutput.struct_class = Types::ExportTableToPointInTimeOutput
|
827
|
+
|
745
828
|
ExpressionAttributeNameMap.key = Shapes::ShapeRef.new(shape: ExpressionAttributeNameVariable)
|
746
829
|
ExpressionAttributeNameMap.value = Shapes::ShapeRef.new(shape: AttributeName)
|
747
830
|
|
@@ -851,6 +934,9 @@ module Aws::DynamoDB
|
|
851
934
|
InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
852
935
|
InternalServerError.struct_class = Types::InternalServerError
|
853
936
|
|
937
|
+
InvalidExportTimeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
938
|
+
InvalidExportTimeException.struct_class = Types::InvalidExportTimeException
|
939
|
+
|
854
940
|
InvalidRestoreTimeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
855
941
|
InvalidRestoreTimeException.struct_class = Types::InvalidRestoreTimeException
|
856
942
|
|
@@ -925,6 +1011,15 @@ module Aws::DynamoDB
|
|
925
1011
|
ListContributorInsightsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
|
926
1012
|
ListContributorInsightsOutput.struct_class = Types::ListContributorInsightsOutput
|
927
1013
|
|
1014
|
+
ListExportsInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn"))
|
1015
|
+
ListExportsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListExportsMaxLimit, location_name: "MaxResults"))
|
1016
|
+
ListExportsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ExportNextToken, location_name: "NextToken"))
|
1017
|
+
ListExportsInput.struct_class = Types::ListExportsInput
|
1018
|
+
|
1019
|
+
ListExportsOutput.add_member(:export_summaries, Shapes::ShapeRef.new(shape: ExportSummaries, location_name: "ExportSummaries"))
|
1020
|
+
ListExportsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ExportNextToken, location_name: "NextToken"))
|
1021
|
+
ListExportsOutput.struct_class = Types::ListExportsOutput
|
1022
|
+
|
928
1023
|
ListGlobalTablesInput.add_member(:exclusive_start_global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "ExclusiveStartGlobalTableName"))
|
929
1024
|
ListGlobalTablesInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
|
930
1025
|
ListGlobalTablesInput.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
|
@@ -1688,6 +1783,17 @@ module Aws::DynamoDB
|
|
1688
1783
|
o.output = Shapes::ShapeRef.new(shape: DescribeEndpointsResponse)
|
1689
1784
|
end)
|
1690
1785
|
|
1786
|
+
api.add_operation(:describe_export, Seahorse::Model::Operation.new.tap do |o|
|
1787
|
+
o.name = "DescribeExport"
|
1788
|
+
o.http_method = "POST"
|
1789
|
+
o.http_request_uri = "/"
|
1790
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeExportInput)
|
1791
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeExportOutput)
|
1792
|
+
o.errors << Shapes::ShapeRef.new(shape: ExportNotFoundException)
|
1793
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1794
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1795
|
+
end)
|
1796
|
+
|
1691
1797
|
api.add_operation(:describe_global_table, Seahorse::Model::Operation.new.tap do |o|
|
1692
1798
|
o.name = "DescribeGlobalTable"
|
1693
1799
|
o.http_method = "POST"
|
@@ -1757,6 +1863,20 @@ module Aws::DynamoDB
|
|
1757
1863
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1758
1864
|
end)
|
1759
1865
|
|
1866
|
+
api.add_operation(:export_table_to_point_in_time, Seahorse::Model::Operation.new.tap do |o|
|
1867
|
+
o.name = "ExportTableToPointInTime"
|
1868
|
+
o.http_method = "POST"
|
1869
|
+
o.http_request_uri = "/"
|
1870
|
+
o.input = Shapes::ShapeRef.new(shape: ExportTableToPointInTimeInput)
|
1871
|
+
o.output = Shapes::ShapeRef.new(shape: ExportTableToPointInTimeOutput)
|
1872
|
+
o.errors << Shapes::ShapeRef.new(shape: TableNotFoundException)
|
1873
|
+
o.errors << Shapes::ShapeRef.new(shape: PointInTimeRecoveryUnavailableException)
|
1874
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1875
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidExportTimeException)
|
1876
|
+
o.errors << Shapes::ShapeRef.new(shape: ExportConflictException)
|
1877
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1878
|
+
end)
|
1879
|
+
|
1760
1880
|
api.add_operation(:get_item, Seahorse::Model::Operation.new.tap do |o|
|
1761
1881
|
o.name = "GetItem"
|
1762
1882
|
o.http_method = "POST"
|
@@ -1798,6 +1918,22 @@ module Aws::DynamoDB
|
|
1798
1918
|
)
|
1799
1919
|
end)
|
1800
1920
|
|
1921
|
+
api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o|
|
1922
|
+
o.name = "ListExports"
|
1923
|
+
o.http_method = "POST"
|
1924
|
+
o.http_request_uri = "/"
|
1925
|
+
o.input = Shapes::ShapeRef.new(shape: ListExportsInput)
|
1926
|
+
o.output = Shapes::ShapeRef.new(shape: ListExportsOutput)
|
1927
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1928
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1929
|
+
o[:pager] = Aws::Pager.new(
|
1930
|
+
limit_key: "max_results",
|
1931
|
+
tokens: {
|
1932
|
+
"next_token" => "next_token"
|
1933
|
+
}
|
1934
|
+
)
|
1935
|
+
end)
|
1936
|
+
|
1801
1937
|
api.add_operation(:list_global_tables, Seahorse::Model::Operation.new.tap do |o|
|
1802
1938
|
o.name = "ListGlobalTables"
|
1803
1939
|
o.http_method = "POST"
|
@@ -31,11 +31,14 @@ module Aws::DynamoDB
|
|
31
31
|
# * {BackupNotFoundException}
|
32
32
|
# * {ConditionalCheckFailedException}
|
33
33
|
# * {ContinuousBackupsUnavailableException}
|
34
|
+
# * {ExportConflictException}
|
35
|
+
# * {ExportNotFoundException}
|
34
36
|
# * {GlobalTableAlreadyExistsException}
|
35
37
|
# * {GlobalTableNotFoundException}
|
36
38
|
# * {IdempotentParameterMismatchException}
|
37
39
|
# * {IndexNotFoundException}
|
38
40
|
# * {InternalServerError}
|
41
|
+
# * {InvalidExportTimeException}
|
39
42
|
# * {InvalidRestoreTimeException}
|
40
43
|
# * {ItemCollectionSizeLimitExceededException}
|
41
44
|
# * {LimitExceededException}
|
@@ -119,6 +122,36 @@ module Aws::DynamoDB
|
|
119
122
|
end
|
120
123
|
end
|
121
124
|
|
125
|
+
class ExportConflictException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::DynamoDB::Types::ExportConflictException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
|
134
|
+
# @return [String]
|
135
|
+
def message
|
136
|
+
@message || @data[:message]
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class ExportNotFoundException < ServiceError
|
141
|
+
|
142
|
+
# @param [Seahorse::Client::RequestContext] context
|
143
|
+
# @param [String] message
|
144
|
+
# @param [Aws::DynamoDB::Types::ExportNotFoundException] data
|
145
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
146
|
+
super(context, message, data)
|
147
|
+
end
|
148
|
+
|
149
|
+
# @return [String]
|
150
|
+
def message
|
151
|
+
@message || @data[:message]
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
122
155
|
class GlobalTableAlreadyExistsException < ServiceError
|
123
156
|
|
124
157
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -194,6 +227,21 @@ module Aws::DynamoDB
|
|
194
227
|
end
|
195
228
|
end
|
196
229
|
|
230
|
+
class InvalidExportTimeException < ServiceError
|
231
|
+
|
232
|
+
# @param [Seahorse::Client::RequestContext] context
|
233
|
+
# @param [String] message
|
234
|
+
# @param [Aws::DynamoDB::Types::InvalidExportTimeException] data
|
235
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
236
|
+
super(context, message, data)
|
237
|
+
end
|
238
|
+
|
239
|
+
# @return [String]
|
240
|
+
def message
|
241
|
+
@message || @data[:message]
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
197
245
|
class InvalidRestoreTimeException < ServiceError
|
198
246
|
|
199
247
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1616,7 +1616,7 @@ module Aws::DynamoDB
|
|
1616
1616
|
include Aws::Structure
|
1617
1617
|
end
|
1618
1618
|
|
1619
|
-
# Represents a Contributor Insights summary entry
|
1619
|
+
# Represents a Contributor Insights summary entry.
|
1620
1620
|
#
|
1621
1621
|
# @!attribute [rw] table_name
|
1622
1622
|
# Name of the table associated with the summary.
|
@@ -2843,6 +2843,37 @@ module Aws::DynamoDB
|
|
2843
2843
|
include Aws::Structure
|
2844
2844
|
end
|
2845
2845
|
|
2846
|
+
# @note When making an API call, you may pass DescribeExportInput
|
2847
|
+
# data as a hash:
|
2848
|
+
#
|
2849
|
+
# {
|
2850
|
+
# export_arn: "ExportArn", # required
|
2851
|
+
# }
|
2852
|
+
#
|
2853
|
+
# @!attribute [rw] export_arn
|
2854
|
+
# The Amazon Resource Name (ARN) associated with the export.
|
2855
|
+
# @return [String]
|
2856
|
+
#
|
2857
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExportInput AWS API Documentation
|
2858
|
+
#
|
2859
|
+
class DescribeExportInput < Struct.new(
|
2860
|
+
:export_arn)
|
2861
|
+
SENSITIVE = []
|
2862
|
+
include Aws::Structure
|
2863
|
+
end
|
2864
|
+
|
2865
|
+
# @!attribute [rw] export_description
|
2866
|
+
# Represents the properties of the export.
|
2867
|
+
# @return [Types::ExportDescription]
|
2868
|
+
#
|
2869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExportOutput AWS API Documentation
|
2870
|
+
#
|
2871
|
+
class DescribeExportOutput < Struct.new(
|
2872
|
+
:export_description)
|
2873
|
+
SENSITIVE = []
|
2874
|
+
include Aws::Structure
|
2875
|
+
end
|
2876
|
+
|
2846
2877
|
# @note When making an API call, you may pass DescribeGlobalTableInput
|
2847
2878
|
# data as a hash:
|
2848
2879
|
#
|
@@ -3348,6 +3379,273 @@ module Aws::DynamoDB
|
|
3348
3379
|
include Aws::Structure
|
3349
3380
|
end
|
3350
3381
|
|
3382
|
+
# There was a conflict when writing to the specified S3 bucket.
|
3383
|
+
#
|
3384
|
+
# @!attribute [rw] message
|
3385
|
+
# @return [String]
|
3386
|
+
#
|
3387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportConflictException AWS API Documentation
|
3388
|
+
#
|
3389
|
+
class ExportConflictException < Struct.new(
|
3390
|
+
:message)
|
3391
|
+
SENSITIVE = []
|
3392
|
+
include Aws::Structure
|
3393
|
+
end
|
3394
|
+
|
3395
|
+
# Represents the properties of the exported table.
|
3396
|
+
#
|
3397
|
+
# @!attribute [rw] export_arn
|
3398
|
+
# The Amazon Resource Name (ARN) of the table export.
|
3399
|
+
# @return [String]
|
3400
|
+
#
|
3401
|
+
# @!attribute [rw] export_status
|
3402
|
+
# Export can be in one of the following states: IN\_PROGRESS,
|
3403
|
+
# COMPLETED, or FAILED.
|
3404
|
+
# @return [String]
|
3405
|
+
#
|
3406
|
+
# @!attribute [rw] start_time
|
3407
|
+
# The time at which the export task began.
|
3408
|
+
# @return [Time]
|
3409
|
+
#
|
3410
|
+
# @!attribute [rw] end_time
|
3411
|
+
# The time at which the export task completed.
|
3412
|
+
# @return [Time]
|
3413
|
+
#
|
3414
|
+
# @!attribute [rw] export_manifest
|
3415
|
+
# The name of the manifest file for the export task.
|
3416
|
+
# @return [String]
|
3417
|
+
#
|
3418
|
+
# @!attribute [rw] table_arn
|
3419
|
+
# The Amazon Resource Name (ARN) of the table that was exported.
|
3420
|
+
# @return [String]
|
3421
|
+
#
|
3422
|
+
# @!attribute [rw] table_id
|
3423
|
+
# Unique ID of the table that was exported.
|
3424
|
+
# @return [String]
|
3425
|
+
#
|
3426
|
+
# @!attribute [rw] export_time
|
3427
|
+
# Point in time from which table data was exported.
|
3428
|
+
# @return [Time]
|
3429
|
+
#
|
3430
|
+
# @!attribute [rw] client_token
|
3431
|
+
# The client token that was provided for the export task. A client
|
3432
|
+
# token makes calls to `ExportTableToPointInTimeInput` idempotent,
|
3433
|
+
# meaning that multiple identical calls have the same effect as one
|
3434
|
+
# single call.
|
3435
|
+
# @return [String]
|
3436
|
+
#
|
3437
|
+
# @!attribute [rw] s3_bucket
|
3438
|
+
# The name of the Amazon S3 bucket containing the export.
|
3439
|
+
# @return [String]
|
3440
|
+
#
|
3441
|
+
# @!attribute [rw] s3_bucket_owner
|
3442
|
+
# The ID of the AWS account that owns the bucket containing the
|
3443
|
+
# export.
|
3444
|
+
# @return [String]
|
3445
|
+
#
|
3446
|
+
# @!attribute [rw] s3_prefix
|
3447
|
+
# The Amazon S3 bucket prefix used as the file name and path of the
|
3448
|
+
# exported snapshot.
|
3449
|
+
# @return [String]
|
3450
|
+
#
|
3451
|
+
# @!attribute [rw] s3_sse_algorithm
|
3452
|
+
# Type of encryption used on the bucket where export data is stored.
|
3453
|
+
# Valid values for `S3SseAlgorithm` are:
|
3454
|
+
#
|
3455
|
+
# * `AES256` - server-side encryption with Amazon S3 managed keys
|
3456
|
+
#
|
3457
|
+
# * `KMS` - server-side encryption with AWS KMS managed keys
|
3458
|
+
# @return [String]
|
3459
|
+
#
|
3460
|
+
# @!attribute [rw] s3_sse_kms_key_id
|
3461
|
+
# The ID of the AWS KMS managed key used to encrypt the S3 bucket
|
3462
|
+
# where export data is stored (if applicable).
|
3463
|
+
# @return [String]
|
3464
|
+
#
|
3465
|
+
# @!attribute [rw] failure_code
|
3466
|
+
# Status code for the result of the failed export.
|
3467
|
+
# @return [String]
|
3468
|
+
#
|
3469
|
+
# @!attribute [rw] failure_message
|
3470
|
+
# Export failure reason description.
|
3471
|
+
# @return [String]
|
3472
|
+
#
|
3473
|
+
# @!attribute [rw] export_format
|
3474
|
+
# The format of the exported data. Valid values for `ExportFormat` are
|
3475
|
+
# `DYNAMODB_JSON` or `ION`.
|
3476
|
+
# @return [String]
|
3477
|
+
#
|
3478
|
+
# @!attribute [rw] billed_size_bytes
|
3479
|
+
# The billable size of the table export.
|
3480
|
+
# @return [Integer]
|
3481
|
+
#
|
3482
|
+
# @!attribute [rw] item_count
|
3483
|
+
# The number of items exported.
|
3484
|
+
# @return [Integer]
|
3485
|
+
#
|
3486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportDescription AWS API Documentation
|
3487
|
+
#
|
3488
|
+
class ExportDescription < Struct.new(
|
3489
|
+
:export_arn,
|
3490
|
+
:export_status,
|
3491
|
+
:start_time,
|
3492
|
+
:end_time,
|
3493
|
+
:export_manifest,
|
3494
|
+
:table_arn,
|
3495
|
+
:table_id,
|
3496
|
+
:export_time,
|
3497
|
+
:client_token,
|
3498
|
+
:s3_bucket,
|
3499
|
+
:s3_bucket_owner,
|
3500
|
+
:s3_prefix,
|
3501
|
+
:s3_sse_algorithm,
|
3502
|
+
:s3_sse_kms_key_id,
|
3503
|
+
:failure_code,
|
3504
|
+
:failure_message,
|
3505
|
+
:export_format,
|
3506
|
+
:billed_size_bytes,
|
3507
|
+
:item_count)
|
3508
|
+
SENSITIVE = []
|
3509
|
+
include Aws::Structure
|
3510
|
+
end
|
3511
|
+
|
3512
|
+
# The specified export was not found.
|
3513
|
+
#
|
3514
|
+
# @!attribute [rw] message
|
3515
|
+
# @return [String]
|
3516
|
+
#
|
3517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportNotFoundException AWS API Documentation
|
3518
|
+
#
|
3519
|
+
class ExportNotFoundException < Struct.new(
|
3520
|
+
:message)
|
3521
|
+
SENSITIVE = []
|
3522
|
+
include Aws::Structure
|
3523
|
+
end
|
3524
|
+
|
3525
|
+
# Summary information about an export task.
|
3526
|
+
#
|
3527
|
+
# @!attribute [rw] export_arn
|
3528
|
+
# The Amazon Resource Name (ARN) of the export.
|
3529
|
+
# @return [String]
|
3530
|
+
#
|
3531
|
+
# @!attribute [rw] export_status
|
3532
|
+
# Export can be in one of the following states: IN\_PROGRESS,
|
3533
|
+
# COMPLETED, or FAILED.
|
3534
|
+
# @return [String]
|
3535
|
+
#
|
3536
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportSummary AWS API Documentation
|
3537
|
+
#
|
3538
|
+
class ExportSummary < Struct.new(
|
3539
|
+
:export_arn,
|
3540
|
+
:export_status)
|
3541
|
+
SENSITIVE = []
|
3542
|
+
include Aws::Structure
|
3543
|
+
end
|
3544
|
+
|
3545
|
+
# @note When making an API call, you may pass ExportTableToPointInTimeInput
|
3546
|
+
# data as a hash:
|
3547
|
+
#
|
3548
|
+
# {
|
3549
|
+
# table_arn: "TableArn", # required
|
3550
|
+
# export_time: Time.now,
|
3551
|
+
# client_token: "ClientToken",
|
3552
|
+
# s3_bucket: "S3Bucket", # required
|
3553
|
+
# s3_bucket_owner: "S3BucketOwner",
|
3554
|
+
# s3_prefix: "S3Prefix",
|
3555
|
+
# s3_sse_algorithm: "AES256", # accepts AES256, KMS
|
3556
|
+
# s3_sse_kms_key_id: "S3SseKmsKeyId",
|
3557
|
+
# export_format: "DYNAMODB_JSON", # accepts DYNAMODB_JSON, ION
|
3558
|
+
# }
|
3559
|
+
#
|
3560
|
+
# @!attribute [rw] table_arn
|
3561
|
+
# The Amazon Resource Name (ARN) associated with the table to export.
|
3562
|
+
# @return [String]
|
3563
|
+
#
|
3564
|
+
# @!attribute [rw] export_time
|
3565
|
+
# Time in the past from which to export table data. The table export
|
3566
|
+
# will be a snapshot of the table's state at this point in time.
|
3567
|
+
# @return [Time]
|
3568
|
+
#
|
3569
|
+
# @!attribute [rw] client_token
|
3570
|
+
# Providing a `ClientToken` makes the call to
|
3571
|
+
# `ExportTableToPointInTimeInput` idempotent, meaning that multiple
|
3572
|
+
# identical calls have the same effect as one single call.
|
3573
|
+
#
|
3574
|
+
# A client token is valid for 8 hours after the first request that
|
3575
|
+
# uses it is completed. After 8 hours, any request with the same
|
3576
|
+
# client token is treated as a new request. Do not resubmit the same
|
3577
|
+
# request with the same client token for more than 8 hours, or the
|
3578
|
+
# result might not be idempotent.
|
3579
|
+
#
|
3580
|
+
# If you submit a request with the same client token but a change in
|
3581
|
+
# other parameters within the 8-hour idempotency window, DynamoDB
|
3582
|
+
# returns an `IdempotentParameterMismatch` exception.
|
3583
|
+
#
|
3584
|
+
# **A suitable default value is auto-generated.** You should normally
|
3585
|
+
# not need to pass this option.
|
3586
|
+
# @return [String]
|
3587
|
+
#
|
3588
|
+
# @!attribute [rw] s3_bucket
|
3589
|
+
# The name of the Amazon S3 bucket to export the snapshot to.
|
3590
|
+
# @return [String]
|
3591
|
+
#
|
3592
|
+
# @!attribute [rw] s3_bucket_owner
|
3593
|
+
# The ID of the AWS account that owns the bucket the export will be
|
3594
|
+
# stored in.
|
3595
|
+
# @return [String]
|
3596
|
+
#
|
3597
|
+
# @!attribute [rw] s3_prefix
|
3598
|
+
# The Amazon S3 bucket prefix to use as the file name and path of the
|
3599
|
+
# exported snapshot.
|
3600
|
+
# @return [String]
|
3601
|
+
#
|
3602
|
+
# @!attribute [rw] s3_sse_algorithm
|
3603
|
+
# Type of encryption used on the bucket where export data will be
|
3604
|
+
# stored. Valid values for `S3SseAlgorithm` are:
|
3605
|
+
#
|
3606
|
+
# * `AES256` - server-side encryption with Amazon S3 managed keys
|
3607
|
+
#
|
3608
|
+
# * `KMS` - server-side encryption with AWS KMS managed keys
|
3609
|
+
# @return [String]
|
3610
|
+
#
|
3611
|
+
# @!attribute [rw] s3_sse_kms_key_id
|
3612
|
+
# The ID of the AWS KMS managed key used to encrypt the S3 bucket
|
3613
|
+
# where export data will be stored (if applicable).
|
3614
|
+
# @return [String]
|
3615
|
+
#
|
3616
|
+
# @!attribute [rw] export_format
|
3617
|
+
# The format for the exported data. Valid values for `ExportFormat`
|
3618
|
+
# are `DYNAMODB_JSON` or `ION`.
|
3619
|
+
# @return [String]
|
3620
|
+
#
|
3621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTimeInput AWS API Documentation
|
3622
|
+
#
|
3623
|
+
class ExportTableToPointInTimeInput < Struct.new(
|
3624
|
+
:table_arn,
|
3625
|
+
:export_time,
|
3626
|
+
:client_token,
|
3627
|
+
:s3_bucket,
|
3628
|
+
:s3_bucket_owner,
|
3629
|
+
:s3_prefix,
|
3630
|
+
:s3_sse_algorithm,
|
3631
|
+
:s3_sse_kms_key_id,
|
3632
|
+
:export_format)
|
3633
|
+
SENSITIVE = []
|
3634
|
+
include Aws::Structure
|
3635
|
+
end
|
3636
|
+
|
3637
|
+
# @!attribute [rw] export_description
|
3638
|
+
# Contains a description of the table export.
|
3639
|
+
# @return [Types::ExportDescription]
|
3640
|
+
#
|
3641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTimeOutput AWS API Documentation
|
3642
|
+
#
|
3643
|
+
class ExportTableToPointInTimeOutput < Struct.new(
|
3644
|
+
:export_description)
|
3645
|
+
SENSITIVE = []
|
3646
|
+
include Aws::Structure
|
3647
|
+
end
|
3648
|
+
|
3351
3649
|
# Represents a failure a contributor insights operation.
|
3352
3650
|
#
|
3353
3651
|
# @!attribute [rw] exception_name
|
@@ -4146,6 +4444,20 @@ module Aws::DynamoDB
|
|
4146
4444
|
include Aws::Structure
|
4147
4445
|
end
|
4148
4446
|
|
4447
|
+
# The specified `ExportTime` is outside of the point in time recovery
|
4448
|
+
# window.
|
4449
|
+
#
|
4450
|
+
# @!attribute [rw] message
|
4451
|
+
# @return [String]
|
4452
|
+
#
|
4453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/InvalidExportTimeException AWS API Documentation
|
4454
|
+
#
|
4455
|
+
class InvalidExportTimeException < Struct.new(
|
4456
|
+
:message)
|
4457
|
+
SENSITIVE = []
|
4458
|
+
include Aws::Structure
|
4459
|
+
end
|
4460
|
+
|
4149
4461
|
# An invalid restore time was specified. RestoreDateTime must be between
|
4150
4462
|
# EarliestRestorableDateTime and LatestRestorableDateTime.
|
4151
4463
|
#
|
@@ -4572,6 +4884,58 @@ module Aws::DynamoDB
|
|
4572
4884
|
include Aws::Structure
|
4573
4885
|
end
|
4574
4886
|
|
4887
|
+
# @note When making an API call, you may pass ListExportsInput
|
4888
|
+
# data as a hash:
|
4889
|
+
#
|
4890
|
+
# {
|
4891
|
+
# table_arn: "TableArn",
|
4892
|
+
# max_results: 1,
|
4893
|
+
# next_token: "ExportNextToken",
|
4894
|
+
# }
|
4895
|
+
#
|
4896
|
+
# @!attribute [rw] table_arn
|
4897
|
+
# The Amazon Resource Name (ARN) associated with the exported table.
|
4898
|
+
# @return [String]
|
4899
|
+
#
|
4900
|
+
# @!attribute [rw] max_results
|
4901
|
+
# Maximum number of results to return per page.
|
4902
|
+
# @return [Integer]
|
4903
|
+
#
|
4904
|
+
# @!attribute [rw] next_token
|
4905
|
+
# An optional string that, if supplied, must be copied from the output
|
4906
|
+
# of a previous call to `ListExports`. When provided in this manner,
|
4907
|
+
# the API fetches the next page of results.
|
4908
|
+
# @return [String]
|
4909
|
+
#
|
4910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExportsInput AWS API Documentation
|
4911
|
+
#
|
4912
|
+
class ListExportsInput < Struct.new(
|
4913
|
+
:table_arn,
|
4914
|
+
:max_results,
|
4915
|
+
:next_token)
|
4916
|
+
SENSITIVE = []
|
4917
|
+
include Aws::Structure
|
4918
|
+
end
|
4919
|
+
|
4920
|
+
# @!attribute [rw] export_summaries
|
4921
|
+
# A list of `ExportSummary` objects.
|
4922
|
+
# @return [Array<Types::ExportSummary>]
|
4923
|
+
#
|
4924
|
+
# @!attribute [rw] next_token
|
4925
|
+
# If this value is returned, there are additional results to be
|
4926
|
+
# displayed. To retrieve them, call `ListExports` again, with
|
4927
|
+
# `NextToken` set to this value.
|
4928
|
+
# @return [String]
|
4929
|
+
#
|
4930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExportsOutput AWS API Documentation
|
4931
|
+
#
|
4932
|
+
class ListExportsOutput < Struct.new(
|
4933
|
+
:export_summaries,
|
4934
|
+
:next_token)
|
4935
|
+
SENSITIVE = []
|
4936
|
+
include Aws::Structure
|
4937
|
+
end
|
4938
|
+
|
4575
4939
|
# @note When making an API call, you may pass ListGlobalTablesInput
|
4576
4940
|
# data as a hash:
|
4577
4941
|
#
|
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.57.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: 2020-11-
|
11
|
+
date: 2020-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|