aws-sdk-dynamodb 1.55.0 → 1.60.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.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -31,11 +31,15 @@ module Aws::DynamoDB
31
31
  # * {BackupNotFoundException}
32
32
  # * {ConditionalCheckFailedException}
33
33
  # * {ContinuousBackupsUnavailableException}
34
+ # * {DuplicateItemException}
35
+ # * {ExportConflictException}
36
+ # * {ExportNotFoundException}
34
37
  # * {GlobalTableAlreadyExistsException}
35
38
  # * {GlobalTableNotFoundException}
36
39
  # * {IdempotentParameterMismatchException}
37
40
  # * {IndexNotFoundException}
38
41
  # * {InternalServerError}
42
+ # * {InvalidExportTimeException}
39
43
  # * {InvalidRestoreTimeException}
40
44
  # * {ItemCollectionSizeLimitExceededException}
41
45
  # * {LimitExceededException}
@@ -119,6 +123,51 @@ module Aws::DynamoDB
119
123
  end
120
124
  end
121
125
 
126
+ class DuplicateItemException < ServiceError
127
+
128
+ # @param [Seahorse::Client::RequestContext] context
129
+ # @param [String] message
130
+ # @param [Aws::DynamoDB::Types::DuplicateItemException] data
131
+ def initialize(context, message, data = Aws::EmptyStructure.new)
132
+ super(context, message, data)
133
+ end
134
+
135
+ # @return [String]
136
+ def message
137
+ @message || @data[:message]
138
+ end
139
+ end
140
+
141
+ class ExportConflictException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::DynamoDB::Types::ExportConflictException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+ end
155
+
156
+ class ExportNotFoundException < ServiceError
157
+
158
+ # @param [Seahorse::Client::RequestContext] context
159
+ # @param [String] message
160
+ # @param [Aws::DynamoDB::Types::ExportNotFoundException] data
161
+ def initialize(context, message, data = Aws::EmptyStructure.new)
162
+ super(context, message, data)
163
+ end
164
+
165
+ # @return [String]
166
+ def message
167
+ @message || @data[:message]
168
+ end
169
+ end
170
+
122
171
  class GlobalTableAlreadyExistsException < ServiceError
123
172
 
124
173
  # @param [Seahorse::Client::RequestContext] context
@@ -194,6 +243,21 @@ module Aws::DynamoDB
194
243
  end
195
244
  end
196
245
 
246
+ class InvalidExportTimeException < ServiceError
247
+
248
+ # @param [Seahorse::Client::RequestContext] context
249
+ # @param [String] message
250
+ # @param [Aws::DynamoDB::Types::InvalidExportTimeException] data
251
+ def initialize(context, message, data = Aws::EmptyStructure.new)
252
+ super(context, message, data)
253
+ end
254
+
255
+ # @return [String]
256
+ def message
257
+ @message || @data[:message]
258
+ end
259
+ end
260
+
197
261
  class InvalidRestoreTimeException < ServiceError
198
262
 
199
263
  # @param [Seahorse::Client::RequestContext] context
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -756,6 +756,43 @@ module Aws::DynamoDB
756
756
  include Aws::Structure
757
757
  end
758
758
 
759
+ # @note When making an API call, you may pass BatchExecuteStatementInput
760
+ # data as a hash:
761
+ #
762
+ # {
763
+ # statements: [ # required
764
+ # {
765
+ # statement: "PartiQLStatement", # required
766
+ # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
767
+ # consistent_read: false,
768
+ # },
769
+ # ],
770
+ # }
771
+ #
772
+ # @!attribute [rw] statements
773
+ # The list of PartiQL statements representing the batch to run.
774
+ # @return [Array<Types::BatchStatementRequest>]
775
+ #
776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatementInput AWS API Documentation
777
+ #
778
+ class BatchExecuteStatementInput < Struct.new(
779
+ :statements)
780
+ SENSITIVE = []
781
+ include Aws::Structure
782
+ end
783
+
784
+ # @!attribute [rw] responses
785
+ # The response to each PartiQL statement in the batch.
786
+ # @return [Array<Types::BatchStatementResponse>]
787
+ #
788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatementOutput AWS API Documentation
789
+ #
790
+ class BatchExecuteStatementOutput < Struct.new(
791
+ :responses)
792
+ SENSITIVE = []
793
+ include Aws::Structure
794
+ end
795
+
759
796
  # Represents the input of a `BatchGetItem` operation.
760
797
  #
761
798
  # @note When making an API call, you may pass BatchGetItemInput
@@ -953,6 +990,83 @@ module Aws::DynamoDB
953
990
  include Aws::Structure
954
991
  end
955
992
 
993
+ # An error associated with a statement in a PartiQL batch that was run.
994
+ #
995
+ # @!attribute [rw] code
996
+ # The error code associated with the failed PartiQL batch statement.
997
+ # @return [String]
998
+ #
999
+ # @!attribute [rw] message
1000
+ # The error message associated with the PartiQL batch resposne.
1001
+ # @return [String]
1002
+ #
1003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchStatementError AWS API Documentation
1004
+ #
1005
+ class BatchStatementError < Struct.new(
1006
+ :code,
1007
+ :message)
1008
+ SENSITIVE = []
1009
+ include Aws::Structure
1010
+ end
1011
+
1012
+ # A PartiQL batch statement request.
1013
+ #
1014
+ # @note When making an API call, you may pass BatchStatementRequest
1015
+ # data as a hash:
1016
+ #
1017
+ # {
1018
+ # statement: "PartiQLStatement", # required
1019
+ # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1020
+ # consistent_read: false,
1021
+ # }
1022
+ #
1023
+ # @!attribute [rw] statement
1024
+ # A valid PartiQL statement.
1025
+ # @return [String]
1026
+ #
1027
+ # @!attribute [rw] parameters
1028
+ # The parameters associated with a PartiQL statement in the batch
1029
+ # request.
1030
+ # @return [Array<Types::AttributeValue>]
1031
+ #
1032
+ # @!attribute [rw] consistent_read
1033
+ # The read consistency of the PartiQL batch request.
1034
+ # @return [Boolean]
1035
+ #
1036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchStatementRequest AWS API Documentation
1037
+ #
1038
+ class BatchStatementRequest < Struct.new(
1039
+ :statement,
1040
+ :parameters,
1041
+ :consistent_read)
1042
+ SENSITIVE = []
1043
+ include Aws::Structure
1044
+ end
1045
+
1046
+ # A PartiQL batch statement response..
1047
+ #
1048
+ # @!attribute [rw] error
1049
+ # The error associated with a failed PartiQL batch statement.
1050
+ # @return [Types::BatchStatementError]
1051
+ #
1052
+ # @!attribute [rw] table_name
1053
+ # The table name associated with a failed PartiQL batch statement.
1054
+ # @return [String]
1055
+ #
1056
+ # @!attribute [rw] item
1057
+ # A DynamoDB item associated with a BatchStatementResponse
1058
+ # @return [Hash<String,Types::AttributeValue>]
1059
+ #
1060
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchStatementResponse AWS API Documentation
1061
+ #
1062
+ class BatchStatementResponse < Struct.new(
1063
+ :error,
1064
+ :table_name,
1065
+ :item)
1066
+ SENSITIVE = []
1067
+ include Aws::Structure
1068
+ end
1069
+
956
1070
  # Represents the input of a `BatchWriteItem` operation.
957
1071
  #
958
1072
  # @note When making an API call, you may pass BatchWriteItemInput
@@ -1616,7 +1730,7 @@ module Aws::DynamoDB
1616
1730
  include Aws::Structure
1617
1731
  end
1618
1732
 
1619
- # Represents a Contributor Insights summary entry..
1733
+ # Represents a Contributor Insights summary entry.
1620
1734
  #
1621
1735
  # @!attribute [rw] table_name
1622
1736
  # Name of the table associated with the summary.
@@ -2843,6 +2957,37 @@ module Aws::DynamoDB
2843
2957
  include Aws::Structure
2844
2958
  end
2845
2959
 
2960
+ # @note When making an API call, you may pass DescribeExportInput
2961
+ # data as a hash:
2962
+ #
2963
+ # {
2964
+ # export_arn: "ExportArn", # required
2965
+ # }
2966
+ #
2967
+ # @!attribute [rw] export_arn
2968
+ # The Amazon Resource Name (ARN) associated with the export.
2969
+ # @return [String]
2970
+ #
2971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExportInput AWS API Documentation
2972
+ #
2973
+ class DescribeExportInput < Struct.new(
2974
+ :export_arn)
2975
+ SENSITIVE = []
2976
+ include Aws::Structure
2977
+ end
2978
+
2979
+ # @!attribute [rw] export_description
2980
+ # Represents the properties of the export.
2981
+ # @return [Types::ExportDescription]
2982
+ #
2983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExportOutput AWS API Documentation
2984
+ #
2985
+ class DescribeExportOutput < Struct.new(
2986
+ :export_description)
2987
+ SENSITIVE = []
2988
+ include Aws::Structure
2989
+ end
2990
+
2846
2991
  # @note When making an API call, you may pass DescribeGlobalTableInput
2847
2992
  # data as a hash:
2848
2993
  #
@@ -2910,6 +3055,42 @@ module Aws::DynamoDB
2910
3055
  include Aws::Structure
2911
3056
  end
2912
3057
 
3058
+ # @note When making an API call, you may pass DescribeKinesisStreamingDestinationInput
3059
+ # data as a hash:
3060
+ #
3061
+ # {
3062
+ # table_name: "TableName", # required
3063
+ # }
3064
+ #
3065
+ # @!attribute [rw] table_name
3066
+ # The name of the table being described.
3067
+ # @return [String]
3068
+ #
3069
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestinationInput AWS API Documentation
3070
+ #
3071
+ class DescribeKinesisStreamingDestinationInput < Struct.new(
3072
+ :table_name)
3073
+ SENSITIVE = []
3074
+ include Aws::Structure
3075
+ end
3076
+
3077
+ # @!attribute [rw] table_name
3078
+ # The name of the table being described.
3079
+ # @return [String]
3080
+ #
3081
+ # @!attribute [rw] kinesis_data_stream_destinations
3082
+ # The list of replica structures for the table being described.
3083
+ # @return [Array<Types::KinesisDataStreamDestination>]
3084
+ #
3085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestinationOutput AWS API Documentation
3086
+ #
3087
+ class DescribeKinesisStreamingDestinationOutput < Struct.new(
3088
+ :table_name,
3089
+ :kinesis_data_stream_destinations)
3090
+ SENSITIVE = []
3091
+ include Aws::Structure
3092
+ end
3093
+
2913
3094
  # Represents the input of a `DescribeLimits` operation. Has no content.
2914
3095
  #
2915
3096
  # @api private
@@ -3051,6 +3232,20 @@ module Aws::DynamoDB
3051
3232
  include Aws::Structure
3052
3233
  end
3053
3234
 
3235
+ # There was an attempt to insert an item with the same primary key as an
3236
+ # item that already exists in the DynamoDB table.
3237
+ #
3238
+ # @!attribute [rw] message
3239
+ # @return [String]
3240
+ #
3241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DuplicateItemException AWS API Documentation
3242
+ #
3243
+ class DuplicateItemException < Struct.new(
3244
+ :message)
3245
+ SENSITIVE = []
3246
+ include Aws::Structure
3247
+ end
3248
+
3054
3249
  # An endpoint information details.
3055
3250
  #
3056
3251
  # @!attribute [rw] address
@@ -3070,6 +3265,114 @@ module Aws::DynamoDB
3070
3265
  include Aws::Structure
3071
3266
  end
3072
3267
 
3268
+ # @note When making an API call, you may pass ExecuteStatementInput
3269
+ # data as a hash:
3270
+ #
3271
+ # {
3272
+ # statement: "PartiQLStatement", # required
3273
+ # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
3274
+ # consistent_read: false,
3275
+ # next_token: "PartiQLNextToken",
3276
+ # }
3277
+ #
3278
+ # @!attribute [rw] statement
3279
+ # The PartiQL statement representing the operation to run.
3280
+ # @return [String]
3281
+ #
3282
+ # @!attribute [rw] parameters
3283
+ # The parameters for the PartiQL statement, if any.
3284
+ # @return [Array<Types::AttributeValue>]
3285
+ #
3286
+ # @!attribute [rw] consistent_read
3287
+ # The consistency of a read operation. If set to `true`, then a
3288
+ # strongly consistent read is used; otherwise, an eventually
3289
+ # consistent read is used.
3290
+ # @return [Boolean]
3291
+ #
3292
+ # @!attribute [rw] next_token
3293
+ # Set this value to get remaining results, if `NextToken` was returned
3294
+ # in the statement response.
3295
+ # @return [String]
3296
+ #
3297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementInput AWS API Documentation
3298
+ #
3299
+ class ExecuteStatementInput < Struct.new(
3300
+ :statement,
3301
+ :parameters,
3302
+ :consistent_read,
3303
+ :next_token)
3304
+ SENSITIVE = []
3305
+ include Aws::Structure
3306
+ end
3307
+
3308
+ # @!attribute [rw] items
3309
+ # If a read operation was used, this property will contain the result
3310
+ # of the reade operation; a map of attribute names and their values.
3311
+ # For the write operations this value will be empty.
3312
+ # @return [Array<Hash<String,Types::AttributeValue>>]
3313
+ #
3314
+ # @!attribute [rw] next_token
3315
+ # If the response of a read request exceeds the response payload limit
3316
+ # DynamoDB will set this value in the response. If set, you can use
3317
+ # that this value in the subsequent request to get the remaining
3318
+ # results.
3319
+ # @return [String]
3320
+ #
3321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementOutput AWS API Documentation
3322
+ #
3323
+ class ExecuteStatementOutput < Struct.new(
3324
+ :items,
3325
+ :next_token)
3326
+ SENSITIVE = []
3327
+ include Aws::Structure
3328
+ end
3329
+
3330
+ # @note When making an API call, you may pass ExecuteTransactionInput
3331
+ # data as a hash:
3332
+ #
3333
+ # {
3334
+ # transact_statements: [ # required
3335
+ # {
3336
+ # statement: "PartiQLStatement", # required
3337
+ # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
3338
+ # },
3339
+ # ],
3340
+ # client_request_token: "ClientRequestToken",
3341
+ # }
3342
+ #
3343
+ # @!attribute [rw] transact_statements
3344
+ # The list of PartiQL statements representing the transaction to run.
3345
+ # @return [Array<Types::ParameterizedStatement>]
3346
+ #
3347
+ # @!attribute [rw] client_request_token
3348
+ # Set this value to get remaining results, if `NextToken` was returned
3349
+ # in the statement response.
3350
+ #
3351
+ # **A suitable default value is auto-generated.** You should normally
3352
+ # not need to pass this option.
3353
+ # @return [String]
3354
+ #
3355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionInput AWS API Documentation
3356
+ #
3357
+ class ExecuteTransactionInput < Struct.new(
3358
+ :transact_statements,
3359
+ :client_request_token)
3360
+ SENSITIVE = []
3361
+ include Aws::Structure
3362
+ end
3363
+
3364
+ # @!attribute [rw] responses
3365
+ # The response to a PartiQL transaction.
3366
+ # @return [Array<Types::ItemResponse>]
3367
+ #
3368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionOutput AWS API Documentation
3369
+ #
3370
+ class ExecuteTransactionOutput < Struct.new(
3371
+ :responses)
3372
+ SENSITIVE = []
3373
+ include Aws::Structure
3374
+ end
3375
+
3073
3376
  # Represents a condition to be compared with an attribute value. This
3074
3377
  # condition can be used with `DeleteItem`, `PutItem`, or `UpdateItem`
3075
3378
  # operations; if the comparison evaluates to true, the operation
@@ -3348,6 +3651,273 @@ module Aws::DynamoDB
3348
3651
  include Aws::Structure
3349
3652
  end
3350
3653
 
3654
+ # There was a conflict when writing to the specified S3 bucket.
3655
+ #
3656
+ # @!attribute [rw] message
3657
+ # @return [String]
3658
+ #
3659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportConflictException AWS API Documentation
3660
+ #
3661
+ class ExportConflictException < Struct.new(
3662
+ :message)
3663
+ SENSITIVE = []
3664
+ include Aws::Structure
3665
+ end
3666
+
3667
+ # Represents the properties of the exported table.
3668
+ #
3669
+ # @!attribute [rw] export_arn
3670
+ # The Amazon Resource Name (ARN) of the table export.
3671
+ # @return [String]
3672
+ #
3673
+ # @!attribute [rw] export_status
3674
+ # Export can be in one of the following states: IN\_PROGRESS,
3675
+ # COMPLETED, or FAILED.
3676
+ # @return [String]
3677
+ #
3678
+ # @!attribute [rw] start_time
3679
+ # The time at which the export task began.
3680
+ # @return [Time]
3681
+ #
3682
+ # @!attribute [rw] end_time
3683
+ # The time at which the export task completed.
3684
+ # @return [Time]
3685
+ #
3686
+ # @!attribute [rw] export_manifest
3687
+ # The name of the manifest file for the export task.
3688
+ # @return [String]
3689
+ #
3690
+ # @!attribute [rw] table_arn
3691
+ # The Amazon Resource Name (ARN) of the table that was exported.
3692
+ # @return [String]
3693
+ #
3694
+ # @!attribute [rw] table_id
3695
+ # Unique ID of the table that was exported.
3696
+ # @return [String]
3697
+ #
3698
+ # @!attribute [rw] export_time
3699
+ # Point in time from which table data was exported.
3700
+ # @return [Time]
3701
+ #
3702
+ # @!attribute [rw] client_token
3703
+ # The client token that was provided for the export task. A client
3704
+ # token makes calls to `ExportTableToPointInTimeInput` idempotent,
3705
+ # meaning that multiple identical calls have the same effect as one
3706
+ # single call.
3707
+ # @return [String]
3708
+ #
3709
+ # @!attribute [rw] s3_bucket
3710
+ # The name of the Amazon S3 bucket containing the export.
3711
+ # @return [String]
3712
+ #
3713
+ # @!attribute [rw] s3_bucket_owner
3714
+ # The ID of the AWS account that owns the bucket containing the
3715
+ # export.
3716
+ # @return [String]
3717
+ #
3718
+ # @!attribute [rw] s3_prefix
3719
+ # The Amazon S3 bucket prefix used as the file name and path of the
3720
+ # exported snapshot.
3721
+ # @return [String]
3722
+ #
3723
+ # @!attribute [rw] s3_sse_algorithm
3724
+ # Type of encryption used on the bucket where export data is stored.
3725
+ # Valid values for `S3SseAlgorithm` are:
3726
+ #
3727
+ # * `AES256` - server-side encryption with Amazon S3 managed keys
3728
+ #
3729
+ # * `KMS` - server-side encryption with AWS KMS managed keys
3730
+ # @return [String]
3731
+ #
3732
+ # @!attribute [rw] s3_sse_kms_key_id
3733
+ # The ID of the AWS KMS managed key used to encrypt the S3 bucket
3734
+ # where export data is stored (if applicable).
3735
+ # @return [String]
3736
+ #
3737
+ # @!attribute [rw] failure_code
3738
+ # Status code for the result of the failed export.
3739
+ # @return [String]
3740
+ #
3741
+ # @!attribute [rw] failure_message
3742
+ # Export failure reason description.
3743
+ # @return [String]
3744
+ #
3745
+ # @!attribute [rw] export_format
3746
+ # The format of the exported data. Valid values for `ExportFormat` are
3747
+ # `DYNAMODB_JSON` or `ION`.
3748
+ # @return [String]
3749
+ #
3750
+ # @!attribute [rw] billed_size_bytes
3751
+ # The billable size of the table export.
3752
+ # @return [Integer]
3753
+ #
3754
+ # @!attribute [rw] item_count
3755
+ # The number of items exported.
3756
+ # @return [Integer]
3757
+ #
3758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportDescription AWS API Documentation
3759
+ #
3760
+ class ExportDescription < Struct.new(
3761
+ :export_arn,
3762
+ :export_status,
3763
+ :start_time,
3764
+ :end_time,
3765
+ :export_manifest,
3766
+ :table_arn,
3767
+ :table_id,
3768
+ :export_time,
3769
+ :client_token,
3770
+ :s3_bucket,
3771
+ :s3_bucket_owner,
3772
+ :s3_prefix,
3773
+ :s3_sse_algorithm,
3774
+ :s3_sse_kms_key_id,
3775
+ :failure_code,
3776
+ :failure_message,
3777
+ :export_format,
3778
+ :billed_size_bytes,
3779
+ :item_count)
3780
+ SENSITIVE = []
3781
+ include Aws::Structure
3782
+ end
3783
+
3784
+ # The specified export was not found.
3785
+ #
3786
+ # @!attribute [rw] message
3787
+ # @return [String]
3788
+ #
3789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportNotFoundException AWS API Documentation
3790
+ #
3791
+ class ExportNotFoundException < Struct.new(
3792
+ :message)
3793
+ SENSITIVE = []
3794
+ include Aws::Structure
3795
+ end
3796
+
3797
+ # Summary information about an export task.
3798
+ #
3799
+ # @!attribute [rw] export_arn
3800
+ # The Amazon Resource Name (ARN) of the export.
3801
+ # @return [String]
3802
+ #
3803
+ # @!attribute [rw] export_status
3804
+ # Export can be in one of the following states: IN\_PROGRESS,
3805
+ # COMPLETED, or FAILED.
3806
+ # @return [String]
3807
+ #
3808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportSummary AWS API Documentation
3809
+ #
3810
+ class ExportSummary < Struct.new(
3811
+ :export_arn,
3812
+ :export_status)
3813
+ SENSITIVE = []
3814
+ include Aws::Structure
3815
+ end
3816
+
3817
+ # @note When making an API call, you may pass ExportTableToPointInTimeInput
3818
+ # data as a hash:
3819
+ #
3820
+ # {
3821
+ # table_arn: "TableArn", # required
3822
+ # export_time: Time.now,
3823
+ # client_token: "ClientToken",
3824
+ # s3_bucket: "S3Bucket", # required
3825
+ # s3_bucket_owner: "S3BucketOwner",
3826
+ # s3_prefix: "S3Prefix",
3827
+ # s3_sse_algorithm: "AES256", # accepts AES256, KMS
3828
+ # s3_sse_kms_key_id: "S3SseKmsKeyId",
3829
+ # export_format: "DYNAMODB_JSON", # accepts DYNAMODB_JSON, ION
3830
+ # }
3831
+ #
3832
+ # @!attribute [rw] table_arn
3833
+ # The Amazon Resource Name (ARN) associated with the table to export.
3834
+ # @return [String]
3835
+ #
3836
+ # @!attribute [rw] export_time
3837
+ # Time in the past from which to export table data. The table export
3838
+ # will be a snapshot of the table's state at this point in time.
3839
+ # @return [Time]
3840
+ #
3841
+ # @!attribute [rw] client_token
3842
+ # Providing a `ClientToken` makes the call to
3843
+ # `ExportTableToPointInTimeInput` idempotent, meaning that multiple
3844
+ # identical calls have the same effect as one single call.
3845
+ #
3846
+ # A client token is valid for 8 hours after the first request that
3847
+ # uses it is completed. After 8 hours, any request with the same
3848
+ # client token is treated as a new request. Do not resubmit the same
3849
+ # request with the same client token for more than 8 hours, or the
3850
+ # result might not be idempotent.
3851
+ #
3852
+ # If you submit a request with the same client token but a change in
3853
+ # other parameters within the 8-hour idempotency window, DynamoDB
3854
+ # returns an `IdempotentParameterMismatch` exception.
3855
+ #
3856
+ # **A suitable default value is auto-generated.** You should normally
3857
+ # not need to pass this option.
3858
+ # @return [String]
3859
+ #
3860
+ # @!attribute [rw] s3_bucket
3861
+ # The name of the Amazon S3 bucket to export the snapshot to.
3862
+ # @return [String]
3863
+ #
3864
+ # @!attribute [rw] s3_bucket_owner
3865
+ # The ID of the AWS account that owns the bucket the export will be
3866
+ # stored in.
3867
+ # @return [String]
3868
+ #
3869
+ # @!attribute [rw] s3_prefix
3870
+ # The Amazon S3 bucket prefix to use as the file name and path of the
3871
+ # exported snapshot.
3872
+ # @return [String]
3873
+ #
3874
+ # @!attribute [rw] s3_sse_algorithm
3875
+ # Type of encryption used on the bucket where export data will be
3876
+ # stored. Valid values for `S3SseAlgorithm` are:
3877
+ #
3878
+ # * `AES256` - server-side encryption with Amazon S3 managed keys
3879
+ #
3880
+ # * `KMS` - server-side encryption with AWS KMS managed keys
3881
+ # @return [String]
3882
+ #
3883
+ # @!attribute [rw] s3_sse_kms_key_id
3884
+ # The ID of the AWS KMS managed key used to encrypt the S3 bucket
3885
+ # where export data will be stored (if applicable).
3886
+ # @return [String]
3887
+ #
3888
+ # @!attribute [rw] export_format
3889
+ # The format for the exported data. Valid values for `ExportFormat`
3890
+ # are `DYNAMODB_JSON` or `ION`.
3891
+ # @return [String]
3892
+ #
3893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTimeInput AWS API Documentation
3894
+ #
3895
+ class ExportTableToPointInTimeInput < Struct.new(
3896
+ :table_arn,
3897
+ :export_time,
3898
+ :client_token,
3899
+ :s3_bucket,
3900
+ :s3_bucket_owner,
3901
+ :s3_prefix,
3902
+ :s3_sse_algorithm,
3903
+ :s3_sse_kms_key_id,
3904
+ :export_format)
3905
+ SENSITIVE = []
3906
+ include Aws::Structure
3907
+ end
3908
+
3909
+ # @!attribute [rw] export_description
3910
+ # Contains a description of the table export.
3911
+ # @return [Types::ExportDescription]
3912
+ #
3913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTimeOutput AWS API Documentation
3914
+ #
3915
+ class ExportTableToPointInTimeOutput < Struct.new(
3916
+ :export_description)
3917
+ SENSITIVE = []
3918
+ include Aws::Structure
3919
+ end
3920
+
3351
3921
  # Represents a failure a contributor insights operation.
3352
3922
  #
3353
3923
  # @!attribute [rw] exception_name
@@ -4146,6 +4716,20 @@ module Aws::DynamoDB
4146
4716
  include Aws::Structure
4147
4717
  end
4148
4718
 
4719
+ # The specified `ExportTime` is outside of the point in time recovery
4720
+ # window.
4721
+ #
4722
+ # @!attribute [rw] message
4723
+ # @return [String]
4724
+ #
4725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/InvalidExportTimeException AWS API Documentation
4726
+ #
4727
+ class InvalidExportTimeException < Struct.new(
4728
+ :message)
4729
+ SENSITIVE = []
4730
+ include Aws::Structure
4731
+ end
4732
+
4149
4733
  # An invalid restore time was specified. RestoreDateTime must be between
4150
4734
  # EarliestRestorableDateTime and LatestRestorableDateTime.
4151
4735
  #
@@ -4406,6 +4990,77 @@ module Aws::DynamoDB
4406
4990
  include Aws::Structure
4407
4991
  end
4408
4992
 
4993
+ # Describes a Kinesis data stream destination.
4994
+ #
4995
+ # @!attribute [rw] stream_arn
4996
+ # The ARN for a specific Kinesis data stream.
4997
+ # @return [String]
4998
+ #
4999
+ # @!attribute [rw] destination_status
5000
+ # The current status of replication.
5001
+ # @return [String]
5002
+ #
5003
+ # @!attribute [rw] destination_status_description
5004
+ # The human-readable string that corresponds to the replica status.
5005
+ # @return [String]
5006
+ #
5007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisDataStreamDestination AWS API Documentation
5008
+ #
5009
+ class KinesisDataStreamDestination < Struct.new(
5010
+ :stream_arn,
5011
+ :destination_status,
5012
+ :destination_status_description)
5013
+ SENSITIVE = []
5014
+ include Aws::Structure
5015
+ end
5016
+
5017
+ # @note When making an API call, you may pass KinesisStreamingDestinationInput
5018
+ # data as a hash:
5019
+ #
5020
+ # {
5021
+ # table_name: "TableName", # required
5022
+ # stream_arn: "StreamArn", # required
5023
+ # }
5024
+ #
5025
+ # @!attribute [rw] table_name
5026
+ # The name of the DynamoDB table.
5027
+ # @return [String]
5028
+ #
5029
+ # @!attribute [rw] stream_arn
5030
+ # The ARN for a Kinesis data stream.
5031
+ # @return [String]
5032
+ #
5033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationInput AWS API Documentation
5034
+ #
5035
+ class KinesisStreamingDestinationInput < Struct.new(
5036
+ :table_name,
5037
+ :stream_arn)
5038
+ SENSITIVE = []
5039
+ include Aws::Structure
5040
+ end
5041
+
5042
+ # @!attribute [rw] table_name
5043
+ # The name of the table being modified.
5044
+ # @return [String]
5045
+ #
5046
+ # @!attribute [rw] stream_arn
5047
+ # The ARN for the specific Kinesis data stream.
5048
+ # @return [String]
5049
+ #
5050
+ # @!attribute [rw] destination_status
5051
+ # The current status of the replication.
5052
+ # @return [String]
5053
+ #
5054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationOutput AWS API Documentation
5055
+ #
5056
+ class KinesisStreamingDestinationOutput < Struct.new(
5057
+ :table_name,
5058
+ :stream_arn,
5059
+ :destination_status)
5060
+ SENSITIVE = []
5061
+ include Aws::Structure
5062
+ end
5063
+
4409
5064
  # There is no limit to the number of daily on-demand backups that can be
4410
5065
  # taken.
4411
5066
  #
@@ -4572,6 +5227,58 @@ module Aws::DynamoDB
4572
5227
  include Aws::Structure
4573
5228
  end
4574
5229
 
5230
+ # @note When making an API call, you may pass ListExportsInput
5231
+ # data as a hash:
5232
+ #
5233
+ # {
5234
+ # table_arn: "TableArn",
5235
+ # max_results: 1,
5236
+ # next_token: "ExportNextToken",
5237
+ # }
5238
+ #
5239
+ # @!attribute [rw] table_arn
5240
+ # The Amazon Resource Name (ARN) associated with the exported table.
5241
+ # @return [String]
5242
+ #
5243
+ # @!attribute [rw] max_results
5244
+ # Maximum number of results to return per page.
5245
+ # @return [Integer]
5246
+ #
5247
+ # @!attribute [rw] next_token
5248
+ # An optional string that, if supplied, must be copied from the output
5249
+ # of a previous call to `ListExports`. When provided in this manner,
5250
+ # the API fetches the next page of results.
5251
+ # @return [String]
5252
+ #
5253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExportsInput AWS API Documentation
5254
+ #
5255
+ class ListExportsInput < Struct.new(
5256
+ :table_arn,
5257
+ :max_results,
5258
+ :next_token)
5259
+ SENSITIVE = []
5260
+ include Aws::Structure
5261
+ end
5262
+
5263
+ # @!attribute [rw] export_summaries
5264
+ # A list of `ExportSummary` objects.
5265
+ # @return [Array<Types::ExportSummary>]
5266
+ #
5267
+ # @!attribute [rw] next_token
5268
+ # If this value is returned, there are additional results to be
5269
+ # displayed. To retrieve them, call `ListExports` again, with
5270
+ # `NextToken` set to this value.
5271
+ # @return [String]
5272
+ #
5273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExportsOutput AWS API Documentation
5274
+ #
5275
+ class ListExportsOutput < Struct.new(
5276
+ :export_summaries,
5277
+ :next_token)
5278
+ SENSITIVE = []
5279
+ include Aws::Structure
5280
+ end
5281
+
4575
5282
  # @note When making an API call, you may pass ListGlobalTablesInput
4576
5283
  # data as a hash:
4577
5284
  #
@@ -4904,6 +5611,33 @@ module Aws::DynamoDB
4904
5611
  include Aws::Structure
4905
5612
  end
4906
5613
 
5614
+ # Represents a PartiQL statment that uses parameters.
5615
+ #
5616
+ # @note When making an API call, you may pass ParameterizedStatement
5617
+ # data as a hash:
5618
+ #
5619
+ # {
5620
+ # statement: "PartiQLStatement", # required
5621
+ # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
5622
+ # }
5623
+ #
5624
+ # @!attribute [rw] statement
5625
+ # A PartiQL statment that uses parameters.
5626
+ # @return [String]
5627
+ #
5628
+ # @!attribute [rw] parameters
5629
+ # The parameter values.
5630
+ # @return [Array<Types::AttributeValue>]
5631
+ #
5632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ParameterizedStatement AWS API Documentation
5633
+ #
5634
+ class ParameterizedStatement < Struct.new(
5635
+ :statement,
5636
+ :parameters)
5637
+ SENSITIVE = []
5638
+ include Aws::Structure
5639
+ end
5640
+
4907
5641
  # The description of the point in time settings applied to the table.
4908
5642
  #
4909
5643
  # @!attribute [rw] point_in_time_recovery_status
@@ -6272,6 +7006,16 @@ module Aws::DynamoDB
6272
7006
  # this region.
6273
7007
  #
6274
7008
  # </note>
7009
+ #
7010
+ # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The AWS KMS key used to
7011
+ # encrypt the table is inaccessible.
7012
+ #
7013
+ # <note markdown="1"> If the AWS KMS key remains inaccessible for more than 20 hours,
7014
+ # DynamoDB will remove this replica from the replication group. The
7015
+ # replica will not be deleted and replication will stop from and to
7016
+ # this region.
7017
+ #
7018
+ # </note>
6275
7019
  # @return [String]
6276
7020
  #
6277
7021
  # @!attribute [rw] replica_status_description