aws-sdk-dynamodb 1.93.1 → 1.94.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90ddf6bfd0527577a2aae6c563ab32be779de4d4897867797e818612f2783fec
4
- data.tar.gz: d4e74a96a91dbca7ff3b8c7c4e4b787f8c5819394e29d970c38a1ac74df5b5dc
3
+ metadata.gz: 8c015738e9e83b6ff04b0d5beafc2d214ed8ba1af835466ffd86f9b718a22d15
4
+ data.tar.gz: 5020de3b5d59e92ca6cf22088cfeb7eba48c22ca94e8a7bbf0e45ef387e01e61
5
5
  SHA512:
6
- metadata.gz: 1b3b1389edfe15488ba8c35fd49dc096880499cf8b3fc9f1c924ed5c548a3d930cd51db5617751d7e550abf8da933a34391ebc48562bd07c358b8fe91adefc6f
7
- data.tar.gz: 4d0cb20280cb25f42b7fed14ab9c4e6267f7b1d9153c3706a0731a821ca9fddb53f04111e1e03cf7ac4e9dcfbeac2660530cb02c5b898c00dc67348ca637908d
6
+ metadata.gz: 935b64c71522b94691be748126ed9e8a90848db8d7358797ca9d695a054250c94c35ebdbc3eecff2fe8546e04f4d573ece6de2558c363857f049b68fb3f8f3ed
7
+ data.tar.gz: f21bb69f9c5233e830552998cfc8b15b1f5045171b714c74ec2d5745de5600e30ac87d4ff964c889a6839c691589e1d04c765641bea749073f223bfadd7cdfc4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.94.0 (2023-09-26)
5
+ ------------------
6
+
7
+ * Feature - Amazon DynamoDB now supports Incremental Export as an enhancement to the existing Export Table
8
+
4
9
  1.93.1 (2023-08-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.93.1
1
+ 1.94.0
@@ -2446,6 +2446,10 @@ module Aws::DynamoDB
2446
2446
  # resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
2447
2447
  # resp.export_description.billed_size_bytes #=> Integer
2448
2448
  # resp.export_description.item_count #=> Integer
2449
+ # resp.export_description.export_type #=> String, one of "FULL_EXPORT", "INCREMENTAL_EXPORT"
2450
+ # resp.export_description.incremental_export_specification.export_from_time #=> Time
2451
+ # resp.export_description.incremental_export_specification.export_to_time #=> Time
2452
+ # resp.export_description.incremental_export_specification.export_view_type #=> String, one of "NEW_IMAGE", "NEW_AND_OLD_IMAGES"
2449
2453
  #
2450
2454
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExport AWS API Documentation
2451
2455
  #
@@ -3461,6 +3465,16 @@ module Aws::DynamoDB
3461
3465
  # The format for the exported data. Valid values for `ExportFormat` are
3462
3466
  # `DYNAMODB_JSON` or `ION`.
3463
3467
  #
3468
+ # @option params [String] :export_type
3469
+ # Choice of whether to execute as a full export or incremental export.
3470
+ # Valid values are `FULL_EXPORT` or `INCREMENTAL_EXPORT`. If
3471
+ # `INCREMENTAL_EXPORT` is provided, the `IncrementalExportSpecification`
3472
+ # must also be used.
3473
+ #
3474
+ # @option params [Types::IncrementalExportSpecification] :incremental_export_specification
3475
+ # Optional object containing the parameters specific to an incremental
3476
+ # export.
3477
+ #
3464
3478
  # @return [Types::ExportTableToPointInTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3465
3479
  #
3466
3480
  # * {Types::ExportTableToPointInTimeOutput#export_description #export_description} => Types::ExportDescription
@@ -3477,6 +3491,12 @@ module Aws::DynamoDB
3477
3491
  # s3_sse_algorithm: "AES256", # accepts AES256, KMS
3478
3492
  # s3_sse_kms_key_id: "S3SseKmsKeyId",
3479
3493
  # export_format: "DYNAMODB_JSON", # accepts DYNAMODB_JSON, ION
3494
+ # export_type: "FULL_EXPORT", # accepts FULL_EXPORT, INCREMENTAL_EXPORT
3495
+ # incremental_export_specification: {
3496
+ # export_from_time: Time.now,
3497
+ # export_to_time: Time.now,
3498
+ # export_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, NEW_AND_OLD_IMAGES
3499
+ # },
3480
3500
  # })
3481
3501
  #
3482
3502
  # @example Response structure
@@ -3500,6 +3520,10 @@ module Aws::DynamoDB
3500
3520
  # resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
3501
3521
  # resp.export_description.billed_size_bytes #=> Integer
3502
3522
  # resp.export_description.item_count #=> Integer
3523
+ # resp.export_description.export_type #=> String, one of "FULL_EXPORT", "INCREMENTAL_EXPORT"
3524
+ # resp.export_description.incremental_export_specification.export_from_time #=> Time
3525
+ # resp.export_description.incremental_export_specification.export_to_time #=> Time
3526
+ # resp.export_description.incremental_export_specification.export_view_type #=> String, one of "NEW_IMAGE", "NEW_AND_OLD_IMAGES"
3503
3527
  #
3504
3528
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTime AWS API Documentation
3505
3529
  #
@@ -3865,11 +3889,12 @@ module Aws::DynamoDB
3865
3889
  req.send_request(options)
3866
3890
  end
3867
3891
 
3868
- # List backups associated with an Amazon Web Services account. To list
3869
- # backups for a given table, specify `TableName`. `ListBackups` returns
3870
- # a paginated list of results with at most 1 MB worth of items in a
3871
- # page. You can also specify a maximum number of entries to be returned
3872
- # in a page.
3892
+ # List DynamoDB backups that are associated with an Amazon Web Services
3893
+ # account and weren't made with Amazon Web Services Backup. To list
3894
+ # these backups for a given table, specify `TableName`. `ListBackups`
3895
+ # returns a paginated list of results with at most 1 MB worth of items
3896
+ # in a page. You can also specify a maximum number of entries to be
3897
+ # returned in a page.
3873
3898
  #
3874
3899
  # In the request, start time is inclusive, but end time is exclusive.
3875
3900
  # Note that these boundaries are for the time at which the original
@@ -3877,6 +3902,13 @@ module Aws::DynamoDB
3877
3902
  #
3878
3903
  # You can call `ListBackups` a maximum of five times per second.
3879
3904
  #
3905
+ # If you want to retrieve the complete list of backups made with Amazon
3906
+ # Web Services Backup, use the [Amazon Web Services Backup list API.][1]
3907
+ #
3908
+ #
3909
+ #
3910
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/API_ListBackupJobs.html
3911
+ #
3880
3912
  # @option params [String] :table_name
3881
3913
  # The backups from the table specified by `TableName` are listed.
3882
3914
  #
@@ -4027,6 +4059,7 @@ module Aws::DynamoDB
4027
4059
  # resp.export_summaries #=> Array
4028
4060
  # resp.export_summaries[0].export_arn #=> String
4029
4061
  # resp.export_summaries[0].export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
4062
+ # resp.export_summaries[0].export_type #=> String, one of "FULL_EXPORT", "INCREMENTAL_EXPORT"
4030
4063
  # resp.next_token #=> String
4031
4064
  #
4032
4065
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExports AWS API Documentation
@@ -7828,7 +7861,7 @@ module Aws::DynamoDB
7828
7861
  params: params,
7829
7862
  config: config)
7830
7863
  context[:gem_name] = 'aws-sdk-dynamodb'
7831
- context[:gem_version] = '1.93.1'
7864
+ context[:gem_version] = '1.94.0'
7832
7865
  Seahorse::Client::Request.new(handlers, context)
7833
7866
  end
7834
7867
 
@@ -167,6 +167,7 @@ module Aws::DynamoDB
167
167
  ExportDescription = Shapes::StructureShape.new(name: 'ExportDescription')
168
168
  ExportEndTime = Shapes::TimestampShape.new(name: 'ExportEndTime')
169
169
  ExportFormat = Shapes::StringShape.new(name: 'ExportFormat')
170
+ ExportFromTime = Shapes::TimestampShape.new(name: 'ExportFromTime')
170
171
  ExportManifest = Shapes::StringShape.new(name: 'ExportManifest')
171
172
  ExportNextToken = Shapes::StringShape.new(name: 'ExportNextToken')
172
173
  ExportNotFoundException = Shapes::StructureShape.new(name: 'ExportNotFoundException')
@@ -177,6 +178,9 @@ module Aws::DynamoDB
177
178
  ExportTableToPointInTimeInput = Shapes::StructureShape.new(name: 'ExportTableToPointInTimeInput')
178
179
  ExportTableToPointInTimeOutput = Shapes::StructureShape.new(name: 'ExportTableToPointInTimeOutput')
179
180
  ExportTime = Shapes::TimestampShape.new(name: 'ExportTime')
181
+ ExportToTime = Shapes::TimestampShape.new(name: 'ExportToTime')
182
+ ExportType = Shapes::StringShape.new(name: 'ExportType')
183
+ ExportViewType = Shapes::StringShape.new(name: 'ExportViewType')
180
184
  ExpressionAttributeNameMap = Shapes::MapShape.new(name: 'ExpressionAttributeNameMap')
181
185
  ExpressionAttributeNameVariable = Shapes::StringShape.new(name: 'ExpressionAttributeNameVariable')
182
186
  ExpressionAttributeValueMap = Shapes::MapShape.new(name: 'ExpressionAttributeValueMap')
@@ -221,6 +225,7 @@ module Aws::DynamoDB
221
225
  ImportTableInput = Shapes::StructureShape.new(name: 'ImportTableInput')
222
226
  ImportTableOutput = Shapes::StructureShape.new(name: 'ImportTableOutput')
223
227
  ImportedItemCount = Shapes::IntegerShape.new(name: 'ImportedItemCount')
228
+ IncrementalExportSpecification = Shapes::StructureShape.new(name: 'IncrementalExportSpecification')
224
229
  IndexName = Shapes::StringShape.new(name: 'IndexName')
225
230
  IndexNotFoundException = Shapes::StructureShape.new(name: 'IndexNotFoundException')
226
231
  IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
@@ -934,6 +939,8 @@ module Aws::DynamoDB
934
939
  ExportDescription.add_member(:export_format, Shapes::ShapeRef.new(shape: ExportFormat, location_name: "ExportFormat"))
935
940
  ExportDescription.add_member(:billed_size_bytes, Shapes::ShapeRef.new(shape: BilledSizeBytes, location_name: "BilledSizeBytes"))
936
941
  ExportDescription.add_member(:item_count, Shapes::ShapeRef.new(shape: ItemCount, location_name: "ItemCount"))
942
+ ExportDescription.add_member(:export_type, Shapes::ShapeRef.new(shape: ExportType, location_name: "ExportType"))
943
+ ExportDescription.add_member(:incremental_export_specification, Shapes::ShapeRef.new(shape: IncrementalExportSpecification, location_name: "IncrementalExportSpecification"))
937
944
  ExportDescription.struct_class = Types::ExportDescription
938
945
 
939
946
  ExportNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -943,6 +950,7 @@ module Aws::DynamoDB
943
950
 
944
951
  ExportSummary.add_member(:export_arn, Shapes::ShapeRef.new(shape: ExportArn, location_name: "ExportArn"))
945
952
  ExportSummary.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "ExportStatus"))
953
+ ExportSummary.add_member(:export_type, Shapes::ShapeRef.new(shape: ExportType, location_name: "ExportType"))
946
954
  ExportSummary.struct_class = Types::ExportSummary
947
955
 
948
956
  ExportTableToPointInTimeInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableArn"))
@@ -954,6 +962,8 @@ module Aws::DynamoDB
954
962
  ExportTableToPointInTimeInput.add_member(:s3_sse_algorithm, Shapes::ShapeRef.new(shape: S3SseAlgorithm, location_name: "S3SseAlgorithm"))
955
963
  ExportTableToPointInTimeInput.add_member(:s3_sse_kms_key_id, Shapes::ShapeRef.new(shape: S3SseKmsKeyId, location_name: "S3SseKmsKeyId"))
956
964
  ExportTableToPointInTimeInput.add_member(:export_format, Shapes::ShapeRef.new(shape: ExportFormat, location_name: "ExportFormat"))
965
+ ExportTableToPointInTimeInput.add_member(:export_type, Shapes::ShapeRef.new(shape: ExportType, location_name: "ExportType"))
966
+ ExportTableToPointInTimeInput.add_member(:incremental_export_specification, Shapes::ShapeRef.new(shape: IncrementalExportSpecification, location_name: "IncrementalExportSpecification"))
957
967
  ExportTableToPointInTimeInput.struct_class = Types::ExportTableToPointInTimeInput
958
968
 
959
969
  ExportTableToPointInTimeOutput.add_member(:export_description, Shapes::ShapeRef.new(shape: ExportDescription, location_name: "ExportDescription"))
@@ -1112,6 +1122,11 @@ module Aws::DynamoDB
1112
1122
  ImportTableOutput.add_member(:import_table_description, Shapes::ShapeRef.new(shape: ImportTableDescription, required: true, location_name: "ImportTableDescription"))
1113
1123
  ImportTableOutput.struct_class = Types::ImportTableOutput
1114
1124
 
1125
+ IncrementalExportSpecification.add_member(:export_from_time, Shapes::ShapeRef.new(shape: ExportFromTime, location_name: "ExportFromTime"))
1126
+ IncrementalExportSpecification.add_member(:export_to_time, Shapes::ShapeRef.new(shape: ExportToTime, location_name: "ExportToTime"))
1127
+ IncrementalExportSpecification.add_member(:export_view_type, Shapes::ShapeRef.new(shape: ExportViewType, location_name: "ExportViewType"))
1128
+ IncrementalExportSpecification.struct_class = Types::IncrementalExportSpecification
1129
+
1115
1130
  IndexNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1116
1131
  IndexNotFoundException.struct_class = Types::IndexNotFoundException
1117
1132
 
@@ -3500,6 +3500,18 @@ module Aws::DynamoDB
3500
3500
  # The number of items exported.
3501
3501
  # @return [Integer]
3502
3502
  #
3503
+ # @!attribute [rw] export_type
3504
+ # Choice of whether to execute as a full export or incremental export.
3505
+ # Valid values are `FULL_EXPORT` or `INCREMENTAL_EXPORT`. If
3506
+ # `INCREMENTAL_EXPORT` is provided, the
3507
+ # `IncrementalExportSpecification` must also be used.
3508
+ # @return [String]
3509
+ #
3510
+ # @!attribute [rw] incremental_export_specification
3511
+ # Optional object containing the parameters specific to an incremental
3512
+ # export.
3513
+ # @return [Types::IncrementalExportSpecification]
3514
+ #
3503
3515
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportDescription AWS API Documentation
3504
3516
  #
3505
3517
  class ExportDescription < Struct.new(
@@ -3521,7 +3533,9 @@ module Aws::DynamoDB
3521
3533
  :failure_message,
3522
3534
  :export_format,
3523
3535
  :billed_size_bytes,
3524
- :item_count)
3536
+ :item_count,
3537
+ :export_type,
3538
+ :incremental_export_specification)
3525
3539
  SENSITIVE = []
3526
3540
  include Aws::Structure
3527
3541
  end
@@ -3550,11 +3564,19 @@ module Aws::DynamoDB
3550
3564
  # COMPLETED, or FAILED.
3551
3565
  # @return [String]
3552
3566
  #
3567
+ # @!attribute [rw] export_type
3568
+ # Choice of whether to execute as a full export or incremental export.
3569
+ # Valid values are `FULL_EXPORT` or `INCREMENTAL_EXPORT`. If
3570
+ # `INCREMENTAL_EXPORT` is provided, the
3571
+ # `IncrementalExportSpecification` must also be used.
3572
+ # @return [String]
3573
+ #
3553
3574
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportSummary AWS API Documentation
3554
3575
  #
3555
3576
  class ExportSummary < Struct.new(
3556
3577
  :export_arn,
3557
- :export_status)
3578
+ :export_status,
3579
+ :export_type)
3558
3580
  SENSITIVE = []
3559
3581
  include Aws::Structure
3560
3582
  end
@@ -3621,6 +3643,18 @@ module Aws::DynamoDB
3621
3643
  # are `DYNAMODB_JSON` or `ION`.
3622
3644
  # @return [String]
3623
3645
  #
3646
+ # @!attribute [rw] export_type
3647
+ # Choice of whether to execute as a full export or incremental export.
3648
+ # Valid values are `FULL_EXPORT` or `INCREMENTAL_EXPORT`. If
3649
+ # `INCREMENTAL_EXPORT` is provided, the
3650
+ # `IncrementalExportSpecification` must also be used.
3651
+ # @return [String]
3652
+ #
3653
+ # @!attribute [rw] incremental_export_specification
3654
+ # Optional object containing the parameters specific to an incremental
3655
+ # export.
3656
+ # @return [Types::IncrementalExportSpecification]
3657
+ #
3624
3658
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTimeInput AWS API Documentation
3625
3659
  #
3626
3660
  class ExportTableToPointInTimeInput < Struct.new(
@@ -3632,7 +3666,9 @@ module Aws::DynamoDB
3632
3666
  :s3_prefix,
3633
3667
  :s3_sse_algorithm,
3634
3668
  :s3_sse_kms_key_id,
3635
- :export_format)
3669
+ :export_format,
3670
+ :export_type,
3671
+ :incremental_export_specification)
3636
3672
  SENSITIVE = []
3637
3673
  include Aws::Structure
3638
3674
  end
@@ -4557,6 +4593,40 @@ module Aws::DynamoDB
4557
4593
  include Aws::Structure
4558
4594
  end
4559
4595
 
4596
+ # Optional object containing the parameters specific to an incremental
4597
+ # export.
4598
+ #
4599
+ # @!attribute [rw] export_from_time
4600
+ # Time in the past which provides the inclusive start range for the
4601
+ # export table's data, counted in seconds from the start of the Unix
4602
+ # epoch. The incremental export will reflect the table's state
4603
+ # including and after this point in time.
4604
+ # @return [Time]
4605
+ #
4606
+ # @!attribute [rw] export_to_time
4607
+ # Time in the past which provides the exclusive end range for the
4608
+ # export table's data, counted in seconds from the start of the Unix
4609
+ # epoch. The incremental export will reflect the table's state just
4610
+ # prior to this point in time. If this is not provided, the latest
4611
+ # time with data available will be used.
4612
+ # @return [Time]
4613
+ #
4614
+ # @!attribute [rw] export_view_type
4615
+ # Choice of whether to output the previous item image prior to the
4616
+ # start time of the incremental export. Valid values are
4617
+ # `NEW_AND_OLD_IMAGES` and `NEW_IMAGES`.
4618
+ # @return [String]
4619
+ #
4620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IncrementalExportSpecification AWS API Documentation
4621
+ #
4622
+ class IncrementalExportSpecification < Struct.new(
4623
+ :export_from_time,
4624
+ :export_to_time,
4625
+ :export_view_type)
4626
+ SENSITIVE = []
4627
+ include Aws::Structure
4628
+ end
4629
+
4560
4630
  # The operation tried to access a nonexistent index.
4561
4631
  #
4562
4632
  # @!attribute [rw] message
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
54
54
  # @!group service
55
55
  module Aws::DynamoDB
56
56
 
57
- GEM_VERSION = '1.93.1'
57
+ GEM_VERSION = '1.94.0'
58
58
 
59
59
  end
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.93.1
4
+ version: 1.94.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-07 00:00:00.000000000 Z
11
+ date: 2023-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core