aws-sdk-dynamodb 1.9.0 → 1.10.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 +21 -1
- data/lib/aws-sdk-dynamodb/client_api.rb +7 -0
- data/lib/aws-sdk-dynamodb/types.rb +48 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f02e55981424d6a6ee87b76a632dc6628fba633e
|
4
|
+
data.tar.gz: ad928f0e9b66f1d44d98aea8f83b1ebc1b246be5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05eb1161cf35676de0e33d5f26f05eea6d0a7d918c3364c4619c1f4e5fa4ce5fc97599fd2b9ece2447789f039e66c124bff5f1befea897d4a2e763232f50d8f7
|
7
|
+
data.tar.gz: ae1281357a723c4cc9a453d555827609ccbf3cedf3a3b1ea1cbb43294dc642ef71509e90c2623f4c08af5e6d2b48a00c61303fa8f9e7bc340e7a9bc197409078
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -802,7 +802,9 @@ module Aws::DynamoDB
|
|
802
802
|
# resp.backup_details.backup_name #=> String
|
803
803
|
# resp.backup_details.backup_size_bytes #=> Integer
|
804
804
|
# resp.backup_details.backup_status #=> String, one of "CREATING", "DELETED", "AVAILABLE"
|
805
|
+
# resp.backup_details.backup_type #=> String, one of "USER", "SYSTEM"
|
805
806
|
# resp.backup_details.backup_creation_date_time #=> Time
|
807
|
+
# resp.backup_details.backup_expiry_date_time #=> Time
|
806
808
|
#
|
807
809
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateBackup AWS API Documentation
|
808
810
|
#
|
@@ -1305,7 +1307,9 @@ module Aws::DynamoDB
|
|
1305
1307
|
# resp.backup_description.backup_details.backup_name #=> String
|
1306
1308
|
# resp.backup_description.backup_details.backup_size_bytes #=> Integer
|
1307
1309
|
# resp.backup_description.backup_details.backup_status #=> String, one of "CREATING", "DELETED", "AVAILABLE"
|
1310
|
+
# resp.backup_description.backup_details.backup_type #=> String, one of "USER", "SYSTEM"
|
1308
1311
|
# resp.backup_description.backup_details.backup_creation_date_time #=> Time
|
1312
|
+
# resp.backup_description.backup_details.backup_expiry_date_time #=> Time
|
1309
1313
|
# resp.backup_description.source_table_details.table_name #=> String
|
1310
1314
|
# resp.backup_description.source_table_details.table_id #=> String
|
1311
1315
|
# resp.backup_description.source_table_details.table_arn #=> String
|
@@ -1775,7 +1779,9 @@ module Aws::DynamoDB
|
|
1775
1779
|
# resp.backup_description.backup_details.backup_name #=> String
|
1776
1780
|
# resp.backup_description.backup_details.backup_size_bytes #=> Integer
|
1777
1781
|
# resp.backup_description.backup_details.backup_status #=> String, one of "CREATING", "DELETED", "AVAILABLE"
|
1782
|
+
# resp.backup_description.backup_details.backup_type #=> String, one of "USER", "SYSTEM"
|
1778
1783
|
# resp.backup_description.backup_details.backup_creation_date_time #=> Time
|
1784
|
+
# resp.backup_description.backup_details.backup_expiry_date_time #=> Time
|
1779
1785
|
# resp.backup_description.source_table_details.table_name #=> String
|
1780
1786
|
# resp.backup_description.source_table_details.table_id #=> String
|
1781
1787
|
# resp.backup_description.source_table_details.table_arn #=> String
|
@@ -2490,6 +2496,17 @@ module Aws::DynamoDB
|
|
2490
2496
|
# `ExclusiveStartBackupArn` of a new `ListBackups` operation in order to
|
2491
2497
|
# fetch the next page of results.
|
2492
2498
|
#
|
2499
|
+
# @option params [String] :backup_type
|
2500
|
+
# The backups from the table specified by BackupType are listed.
|
2501
|
+
#
|
2502
|
+
# Where BackupType can be:
|
2503
|
+
#
|
2504
|
+
# * `USER` - On demand backup created by you.
|
2505
|
+
#
|
2506
|
+
# * `SYSTEM` - On demand backup automatically created by DynamoDB.
|
2507
|
+
#
|
2508
|
+
# * `ALL` - All types of on demand backups (USER and SYSTEM).
|
2509
|
+
#
|
2493
2510
|
# @return [Types::ListBackupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2494
2511
|
#
|
2495
2512
|
# * {Types::ListBackupsOutput#backup_summaries #backup_summaries} => Array<Types::BackupSummary>
|
@@ -2503,6 +2520,7 @@ module Aws::DynamoDB
|
|
2503
2520
|
# time_range_lower_bound: Time.now,
|
2504
2521
|
# time_range_upper_bound: Time.now,
|
2505
2522
|
# exclusive_start_backup_arn: "BackupArn",
|
2523
|
+
# backup_type: "USER", # accepts USER, SYSTEM, ALL
|
2506
2524
|
# })
|
2507
2525
|
#
|
2508
2526
|
# @example Response structure
|
@@ -2514,7 +2532,9 @@ module Aws::DynamoDB
|
|
2514
2532
|
# resp.backup_summaries[0].backup_arn #=> String
|
2515
2533
|
# resp.backup_summaries[0].backup_name #=> String
|
2516
2534
|
# resp.backup_summaries[0].backup_creation_date_time #=> Time
|
2535
|
+
# resp.backup_summaries[0].backup_expiry_date_time #=> Time
|
2517
2536
|
# resp.backup_summaries[0].backup_status #=> String, one of "CREATING", "DELETED", "AVAILABLE"
|
2537
|
+
# resp.backup_summaries[0].backup_type #=> String, one of "USER", "SYSTEM"
|
2518
2538
|
# resp.backup_summaries[0].backup_size_bytes #=> Integer
|
2519
2539
|
# resp.last_evaluated_backup_arn #=> String
|
2520
2540
|
#
|
@@ -5318,7 +5338,7 @@ module Aws::DynamoDB
|
|
5318
5338
|
params: params,
|
5319
5339
|
config: config)
|
5320
5340
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
5321
|
-
context[:gem_version] = '1.
|
5341
|
+
context[:gem_version] = '1.10.0'
|
5322
5342
|
Seahorse::Client::Request.new(handlers, context)
|
5323
5343
|
end
|
5324
5344
|
|
@@ -42,6 +42,8 @@ module Aws::DynamoDB
|
|
42
42
|
BackupStatus = Shapes::StringShape.new(name: 'BackupStatus')
|
43
43
|
BackupSummaries = Shapes::ListShape.new(name: 'BackupSummaries')
|
44
44
|
BackupSummary = Shapes::StructureShape.new(name: 'BackupSummary')
|
45
|
+
BackupType = Shapes::StringShape.new(name: 'BackupType')
|
46
|
+
BackupTypeFilter = Shapes::StringShape.new(name: 'BackupTypeFilter')
|
45
47
|
BackupsInputLimit = Shapes::IntegerShape.new(name: 'BackupsInputLimit')
|
46
48
|
BatchGetItemInput = Shapes::StructureShape.new(name: 'BatchGetItemInput')
|
47
49
|
BatchGetItemOutput = Shapes::StructureShape.new(name: 'BatchGetItemOutput')
|
@@ -365,7 +367,9 @@ module Aws::DynamoDB
|
|
365
367
|
BackupDetails.add_member(:backup_name, Shapes::ShapeRef.new(shape: BackupName, required: true, location_name: "BackupName"))
|
366
368
|
BackupDetails.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: BackupSizeBytes, location_name: "BackupSizeBytes"))
|
367
369
|
BackupDetails.add_member(:backup_status, Shapes::ShapeRef.new(shape: BackupStatus, required: true, location_name: "BackupStatus"))
|
370
|
+
BackupDetails.add_member(:backup_type, Shapes::ShapeRef.new(shape: BackupType, required: true, location_name: "BackupType"))
|
368
371
|
BackupDetails.add_member(:backup_creation_date_time, Shapes::ShapeRef.new(shape: BackupCreationDateTime, required: true, location_name: "BackupCreationDateTime"))
|
372
|
+
BackupDetails.add_member(:backup_expiry_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "BackupExpiryDateTime"))
|
369
373
|
BackupDetails.struct_class = Types::BackupDetails
|
370
374
|
|
371
375
|
BackupSummaries.member = Shapes::ShapeRef.new(shape: BackupSummary)
|
@@ -376,7 +380,9 @@ module Aws::DynamoDB
|
|
376
380
|
BackupSummary.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "BackupArn"))
|
377
381
|
BackupSummary.add_member(:backup_name, Shapes::ShapeRef.new(shape: BackupName, location_name: "BackupName"))
|
378
382
|
BackupSummary.add_member(:backup_creation_date_time, Shapes::ShapeRef.new(shape: BackupCreationDateTime, location_name: "BackupCreationDateTime"))
|
383
|
+
BackupSummary.add_member(:backup_expiry_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "BackupExpiryDateTime"))
|
379
384
|
BackupSummary.add_member(:backup_status, Shapes::ShapeRef.new(shape: BackupStatus, location_name: "BackupStatus"))
|
385
|
+
BackupSummary.add_member(:backup_type, Shapes::ShapeRef.new(shape: BackupType, location_name: "BackupType"))
|
380
386
|
BackupSummary.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: BackupSizeBytes, location_name: "BackupSizeBytes"))
|
381
387
|
BackupSummary.struct_class = Types::BackupSummary
|
382
388
|
|
@@ -680,6 +686,7 @@ module Aws::DynamoDB
|
|
680
686
|
ListBackupsInput.add_member(:time_range_lower_bound, Shapes::ShapeRef.new(shape: TimeRangeLowerBound, location_name: "TimeRangeLowerBound"))
|
681
687
|
ListBackupsInput.add_member(:time_range_upper_bound, Shapes::ShapeRef.new(shape: TimeRangeUpperBound, location_name: "TimeRangeUpperBound"))
|
682
688
|
ListBackupsInput.add_member(:exclusive_start_backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "ExclusiveStartBackupArn"))
|
689
|
+
ListBackupsInput.add_member(:backup_type, Shapes::ShapeRef.new(shape: BackupTypeFilter, location_name: "BackupType"))
|
683
690
|
ListBackupsInput.struct_class = Types::ListBackupsInput
|
684
691
|
|
685
692
|
ListBackupsOutput.add_member(:backup_summaries, Shapes::ShapeRef.new(shape: BackupSummaries, location_name: "BackupSummaries"))
|
@@ -566,11 +566,25 @@ module Aws::DynamoDB
|
|
566
566
|
# DELETED.
|
567
567
|
# @return [String]
|
568
568
|
#
|
569
|
+
# @!attribute [rw] backup_type
|
570
|
+
# BackupType:
|
571
|
+
#
|
572
|
+
# * `USER` - On demand backup created by you.
|
573
|
+
#
|
574
|
+
# * `SYSTEM` - On demand backup automatically created by DynamoDB.
|
575
|
+
# @return [String]
|
576
|
+
#
|
569
577
|
# @!attribute [rw] backup_creation_date_time
|
570
578
|
# Time at which the backup was created. This is the request time of
|
571
579
|
# the backup.
|
572
580
|
# @return [Time]
|
573
581
|
#
|
582
|
+
# @!attribute [rw] backup_expiry_date_time
|
583
|
+
# Time at which the automatic on demand backup created by DynamoDB
|
584
|
+
# will expire. This `SYSTEM` on demand backup expires automatically 35
|
585
|
+
# days after its creation.
|
586
|
+
# @return [Time]
|
587
|
+
#
|
574
588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BackupDetails AWS API Documentation
|
575
589
|
#
|
576
590
|
class BackupDetails < Struct.new(
|
@@ -578,7 +592,9 @@ module Aws::DynamoDB
|
|
578
592
|
:backup_name,
|
579
593
|
:backup_size_bytes,
|
580
594
|
:backup_status,
|
581
|
-
:
|
595
|
+
:backup_type,
|
596
|
+
:backup_creation_date_time,
|
597
|
+
:backup_expiry_date_time)
|
582
598
|
include Aws::Structure
|
583
599
|
end
|
584
600
|
|
@@ -608,11 +624,25 @@ module Aws::DynamoDB
|
|
608
624
|
# Time at which the backup was created.
|
609
625
|
# @return [Time]
|
610
626
|
#
|
627
|
+
# @!attribute [rw] backup_expiry_date_time
|
628
|
+
# Time at which the automatic on demand backup created by DynamoDB
|
629
|
+
# will expire. This `SYSTEM` on demand backup expires automatically 35
|
630
|
+
# days after its creation.
|
631
|
+
# @return [Time]
|
632
|
+
#
|
611
633
|
# @!attribute [rw] backup_status
|
612
634
|
# Backup can be in one of the following states: CREATING, ACTIVE,
|
613
635
|
# DELETED.
|
614
636
|
# @return [String]
|
615
637
|
#
|
638
|
+
# @!attribute [rw] backup_type
|
639
|
+
# BackupType:
|
640
|
+
#
|
641
|
+
# * `USER` - On demand backup created by you.
|
642
|
+
#
|
643
|
+
# * `SYSTEM` - On demand backup automatically created by DynamoDB.
|
644
|
+
# @return [String]
|
645
|
+
#
|
616
646
|
# @!attribute [rw] backup_size_bytes
|
617
647
|
# Size of the backup in bytes.
|
618
648
|
# @return [Integer]
|
@@ -626,7 +656,9 @@ module Aws::DynamoDB
|
|
626
656
|
:backup_arn,
|
627
657
|
:backup_name,
|
628
658
|
:backup_creation_date_time,
|
659
|
+
:backup_expiry_date_time,
|
629
660
|
:backup_status,
|
661
|
+
:backup_type,
|
630
662
|
:backup_size_bytes)
|
631
663
|
include Aws::Structure
|
632
664
|
end
|
@@ -3482,6 +3514,7 @@ module Aws::DynamoDB
|
|
3482
3514
|
# time_range_lower_bound: Time.now,
|
3483
3515
|
# time_range_upper_bound: Time.now,
|
3484
3516
|
# exclusive_start_backup_arn: "BackupArn",
|
3517
|
+
# backup_type: "USER", # accepts USER, SYSTEM, ALL
|
3485
3518
|
# }
|
3486
3519
|
#
|
3487
3520
|
# @!attribute [rw] table_name
|
@@ -3510,6 +3543,18 @@ module Aws::DynamoDB
|
|
3510
3543
|
# to fetch the next page of results.
|
3511
3544
|
# @return [String]
|
3512
3545
|
#
|
3546
|
+
# @!attribute [rw] backup_type
|
3547
|
+
# The backups from the table specified by BackupType are listed.
|
3548
|
+
#
|
3549
|
+
# Where BackupType can be:
|
3550
|
+
#
|
3551
|
+
# * `USER` - On demand backup created by you.
|
3552
|
+
#
|
3553
|
+
# * `SYSTEM` - On demand backup automatically created by DynamoDB.
|
3554
|
+
#
|
3555
|
+
# * `ALL` - All types of on demand backups (USER and SYSTEM).
|
3556
|
+
# @return [String]
|
3557
|
+
#
|
3513
3558
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackupsInput AWS API Documentation
|
3514
3559
|
#
|
3515
3560
|
class ListBackupsInput < Struct.new(
|
@@ -3517,7 +3562,8 @@ module Aws::DynamoDB
|
|
3517
3562
|
:limit,
|
3518
3563
|
:time_range_lower_bound,
|
3519
3564
|
:time_range_upper_bound,
|
3520
|
-
:exclusive_start_backup_arn
|
3565
|
+
:exclusive_start_backup_arn,
|
3566
|
+
:backup_type)
|
3521
3567
|
include Aws::Structure
|
3522
3568
|
end
|
3523
3569
|
|
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.10.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: 2018-
|
11
|
+
date: 2018-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|