aws-sdk-rds 1.0.0.rc3 → 1.0.0.rc4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba9b212afe9bc99c38b593a4037b7e8abf2b2bea
4
- data.tar.gz: 8f0c17c8ee81c4a6e064435b5351859719541860
3
+ metadata.gz: 8fa058ed6d35513239353f7431f3505d62ac0892
4
+ data.tar.gz: 4a6d76a2b05d912d7c3e3f60b7a5caea7217b4b3
5
5
  SHA512:
6
- metadata.gz: 3c3151b54013b5782c55391f09a43c3a0d8d35a967b53252e021b30a2d15ed1cd7bfa63384ddd6513e7629213307fabc72ccac3734dcbc55a3cd5af5c252ad31
7
- data.tar.gz: a4d60d4251ae250a9b59ebd187e70a445356ffae086c82e613b7705d90816d9c7c037ea21b9ad39d7708a8895b281ec4e60b29917165431c2c3818d74452cf88
6
+ metadata.gz: ede3a68f3ded8a357e427fe1edbd5dd78856c0a9c73c8652b8295a21c7bb3d7a0a85f60869ac4c958ccb64b6f32bc663bf7ad5fbc265ee102ffb7066cbd3a5ba
7
+ data.tar.gz: cfa58cc1eb78df27a43b4a37d03794e09dab3db7dfb104562755996edb7c2bf05a08f5049f8933eaad1b19ec617b825a8a9c05ce439de6eeb69bd8b63ca70910
data/lib/aws-sdk-rds.rb CHANGED
@@ -68,6 +68,6 @@ require_relative 'aws-sdk-rds/customizations'
68
68
  # @service
69
69
  module Aws::RDS
70
70
 
71
- GEM_VERSION = '1.0.0.rc3'
71
+ GEM_VERSION = '1.0.0.rc4'
72
72
 
73
73
  end
@@ -515,12 +515,82 @@ module Aws::RDS
515
515
  req.send_request(options)
516
516
  end
517
517
 
518
- # Creates a snapshot of a DB cluster. For more information on Amazon
519
- # Aurora, see [Aurora on Amazon RDS][1] in the *Amazon RDS User Guide.*
518
+ # Copies a snapshot of a DB cluster.
520
519
  #
520
+ # To copy a DB cluster snapshot from a shared manual DB cluster
521
+ # snapshot, `SourceDBClusterSnapshotIdentifier` must be the Amazon
522
+ # Resource Name (ARN) of the shared DB cluster snapshot.
521
523
  #
524
+ # You can copy an encrypted DB cluster snapshot from another AWS region.
525
+ # In that case, the region where you call the `CopyDBClusterSnapshot`
526
+ # action is the destination region for the encrypted DB cluster snapshot
527
+ # to be copied to. To copy an encrypted DB cluster snapshot from another
528
+ # region, you must provide the following values:
522
529
  #
523
- # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html
530
+ # * `KmsKeyId` - The AWS Key Management System (KMS) key identifier for
531
+ # the key to use to encrypt the copy of the DB cluster snapshot in the
532
+ # destination region.
533
+ #
534
+ # * `PreSignedUrl` - A URL that contains a Signature Version 4 signed
535
+ # request for the `CopyDBClusterSnapshot` action to be called in the
536
+ # source region where the DB cluster snapshot will be copied from. The
537
+ # pre-signed URL must be a valid request for the
538
+ # `CopyDBClusterSnapshot` API action that can be executed in the
539
+ # source region that contains the encrypted DB cluster snapshot to be
540
+ # copied.
541
+ #
542
+ # The pre-signed URL request must contain the following parameter
543
+ # values:
544
+ #
545
+ # * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
546
+ # the copy of the DB cluster snapshot in the destination region.
547
+ # This is the same identifier for both the `CopyDBClusterSnapshot`
548
+ # action that is called in the destination region, and the action
549
+ # contained in the pre-signed URL.
550
+ #
551
+ # * `DestinationRegion` - The name of the region that the DB cluster
552
+ # snapshot will be created in.
553
+ #
554
+ # * `SourceDBClusterSnapshotIdentifier` - The DB cluster snapshot
555
+ # identifier for the encrypted DB cluster snapshot to be copied.
556
+ # This identifier must be in the Amazon Resource Name (ARN) format
557
+ # for the source region. For example, if you are copying an
558
+ # encrypted DB cluster snapshot from the us-west-2 region, then your
559
+ # `SourceDBClusterSnapshotIdentifier` looks like the following
560
+ # example:
561
+ # `arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115`.
562
+ #
563
+ # To learn how to generate a Signature Version 4 signed request, see [
564
+ # Authenticating Requests: Using Query Parameters (AWS Signature
565
+ # Version 4)][1] and [ Signature Version 4 Signing Process][2].
566
+ #
567
+ # * `TargetDBClusterSnapshotIdentifier` - The identifier for the new
568
+ # copy of the DB cluster snapshot in the destination region.
569
+ #
570
+ # * `SourceDBClusterSnapshotIdentifier` - The DB cluster snapshot
571
+ # identifier for the encrypted DB cluster snapshot to be copied. This
572
+ # identifier must be in the ARN format for the source region and is
573
+ # the same value as the `SourceDBClusterSnapshotIdentifier` in the
574
+ # pre-signed URL.
575
+ #
576
+ # To cancel the copy operation once it is in progress, delete the target
577
+ # DB cluster snapshot identified by `TargetDBClusterSnapshotIdentifier`
578
+ # while that DB cluster snapshot is in "copying" status.
579
+ #
580
+ # For more information on copying encrypted DB cluster snapshots from
581
+ # one region to another, see [ Copying a DB Cluster Snapshot in the Same
582
+ # Account, Either in the Same Region or Across Regions][3] in the Amazon
583
+ # RDS User Guide.
584
+ #
585
+ # For more information on Amazon Aurora, see [Aurora on Amazon RDS][4]
586
+ # in the *Amazon RDS User Guide.*
587
+ #
588
+ #
589
+ #
590
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
591
+ # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
592
+ # [3]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopyDBClusterSnapshot.CrossRegion
593
+ # [4]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html
524
594
  #
525
595
  # @option params [required, String] :source_db_cluster_snapshot_identifier
526
596
  # The identifier of the DB cluster snapshot to copy. This parameter is
@@ -550,9 +620,79 @@ module Aws::RDS
550
620
  #
551
621
  # Example: `my-cluster-snapshot2`
552
622
  #
623
+ # @option params [String] :kms_key_id
624
+ # The AWS KMS key ID for an encrypted DB cluster snapshot. The KMS key
625
+ # ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS
626
+ # key alias for the KMS encryption key.
627
+ #
628
+ # If you copy an unencrypted DB cluster snapshot and specify a value for
629
+ # the `KmsKeyId` parameter, Amazon RDS encrypts the target DB cluster
630
+ # snapshot using the specified KMS encryption key.
631
+ #
632
+ # If you copy an encrypted DB cluster snapshot from your AWS account,
633
+ # you can specify a value for `KmsKeyId` to encrypt the copy with a new
634
+ # KMS encryption key. If you don't specify a value for `KmsKeyId`, then
635
+ # the copy of the DB cluster snapshot is encrypted with the same KMS key
636
+ # as the source DB cluster snapshot.
637
+ #
638
+ # If you copy an encrypted DB cluster snapshot that is shared from
639
+ # another AWS account, then you must specify a value for `KmsKeyId`.
640
+ #
641
+ # To copy an encrypted DB cluster snapshot to another region, you must
642
+ # set `KmsKeyId` to the KMS key ID you want to use to encrypt the copy
643
+ # of the DB cluster snapshot in the destination region. KMS encryption
644
+ # keys are specific to the region that they are created in, and you
645
+ # cannot use encryption keys from one region in another region.
646
+ #
647
+ # @option params [String] :pre_signed_url
648
+ # The URL that contains a Signature Version 4 signed request for the
649
+ # `CopyDBClusterSnapshot` API action in the AWS region that contains the
650
+ # source DB cluster snapshot to copy. The `PreSignedUrl` parameter must
651
+ # be used when copying an encrypted DB cluster snapshot from another AWS
652
+ # region.
653
+ #
654
+ # The pre-signed URL must be a valid request for the
655
+ # `CopyDBSClusterSnapshot` API action that can be executed in the source
656
+ # region that contains the encrypted DB cluster snapshot to be copied.
657
+ # The pre-signed URL request must contain the following parameter
658
+ # values:
659
+ #
660
+ # * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
661
+ # the copy of the DB cluster snapshot in the destination region. This
662
+ # is the same identifier for both the `CopyDBClusterSnapshot` action
663
+ # that is called in the destination region, and the action contained
664
+ # in the pre-signed URL.
665
+ #
666
+ # * `DestinationRegion` - The name of the region that the DB cluster
667
+ # snapshot will be created in.
668
+ #
669
+ # * `SourceDBClusterSnapshotIdentifier` - The DB cluster snapshot
670
+ # identifier for the encrypted DB cluster snapshot to be copied. This
671
+ # identifier must be in the Amazon Resource Name (ARN) format for the
672
+ # source region. For example, if you are copying an encrypted DB
673
+ # cluster snapshot from the us-west-2 region, then your
674
+ # `SourceDBClusterSnapshotIdentifier` looks like the following
675
+ # example:
676
+ # `arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115`.
677
+ #
678
+ # To learn how to generate a Signature Version 4 signed request, see [
679
+ # Authenticating Requests: Using Query Parameters (AWS Signature Version
680
+ # 4)][1] and [ Signature Version 4 Signing Process][2].
681
+ #
682
+ #
683
+ #
684
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
685
+ # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
686
+ #
687
+ # @option params [Boolean] :copy_tags
688
+ #
553
689
  # @option params [Array<Types::Tag>] :tags
554
690
  # A list of tags.
555
691
  #
692
+ # @option params [String] :source_region
693
+ # The source region of the snapshot. This is only needed when the
694
+ # shapshot is encrypted and in a different region.
695
+ #
556
696
  # @return [Types::CopyDBClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
557
697
  #
558
698
  # * {Types::CopyDBClusterSnapshotResult#db_cluster_snapshot #db_cluster_snapshot} => Types::DBClusterSnapshot
@@ -562,12 +702,16 @@ module Aws::RDS
562
702
  # resp = client.copy_db_cluster_snapshot({
563
703
  # source_db_cluster_snapshot_identifier: "String", # required
564
704
  # target_db_cluster_snapshot_identifier: "String", # required
705
+ # kms_key_id: "String",
706
+ # pre_signed_url: "String",
707
+ # copy_tags: false,
565
708
  # tags: [
566
709
  # {
567
710
  # key: "String",
568
711
  # value: "String",
569
712
  # },
570
713
  # ],
714
+ # source_region: "String",
571
715
  # })
572
716
  #
573
717
  # @example Response structure
@@ -872,7 +1016,9 @@ module Aws::RDS
872
1016
  # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
873
1017
  # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
874
1018
  #
875
- # @option params [String] :destination_region
1019
+ # @option params [String] :source_region
1020
+ # The source region of the snapshot. This is only needed when the
1021
+ # shapshot is encrypted and in a different region.
876
1022
  #
877
1023
  # @return [Types::CopyDBSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
878
1024
  #
@@ -892,7 +1038,7 @@ module Aws::RDS
892
1038
  # ],
893
1039
  # copy_tags: false,
894
1040
  # pre_signed_url: "String",
895
- # destination_region: "String",
1041
+ # source_region: "String",
896
1042
  # })
897
1043
  #
898
1044
  # @example Response structure
@@ -1040,7 +1186,9 @@ module Aws::RDS
1040
1186
  #
1041
1187
  # You can use the `ReplicationSourceIdentifier` parameter to create the
1042
1188
  # DB cluster as a Read Replica of another DB cluster or Amazon RDS MySQL
1043
- # DB instance.
1189
+ # DB instance. For cross-region replication where the DB cluster
1190
+ # identified by `ReplicationSourceIdentifier` is encrypted, you must
1191
+ # also specify the `PreSignedUrl` parameter.
1044
1192
  #
1045
1193
  # For more information on Amazon Aurora, see [Aurora on Amazon RDS][1]
1046
1194
  # in the *Amazon RDS User Guide.*
@@ -1219,7 +1367,7 @@ module Aws::RDS
1219
1367
  # encryption key. If you are creating a DB cluster with the same AWS
1220
1368
  # account that owns the KMS encryption key used to encrypt the new DB
1221
1369
  # cluster, then you can use the KMS key alias instead of the ARN for the
1222
- # KM encryption key.
1370
+ # KMS encryption key.
1223
1371
  #
1224
1372
  # If the `StorageEncrypted` parameter is true, and you do not specify a
1225
1373
  # value for the `KmsKeyId` parameter, then Amazon RDS will use your
@@ -1227,6 +1375,55 @@ module Aws::RDS
1227
1375
  # your AWS account. Your AWS account has a different default encryption
1228
1376
  # key for each AWS region.
1229
1377
  #
1378
+ # If you create a Read Replica of an encrypted DB cluster in another
1379
+ # region, you must set `KmsKeyId` to a KMS key ID that is valid in the
1380
+ # destination region. This key is used to encrypt the Read Replica in
1381
+ # that region.
1382
+ #
1383
+ # @option params [String] :pre_signed_url
1384
+ # A URL that contains a Signature Version 4 signed request for the
1385
+ # `CreateDBCluster` action to be called in the source region where the
1386
+ # DB cluster will be replicated from. You only need to specify
1387
+ # `PreSignedUrl` when you are performing cross-region replication from
1388
+ # an encrypted DB cluster.
1389
+ #
1390
+ # The pre-signed URL must be a valid request for the `CreateDBCluster`
1391
+ # API action that can be executed in the source region that contains the
1392
+ # encrypted DB cluster to be copied.
1393
+ #
1394
+ # The pre-signed URL request must contain the following parameter
1395
+ # values:
1396
+ #
1397
+ # * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
1398
+ # the copy of the DB cluster in the destination region. This should
1399
+ # refer to the same KMS key for both the `CreateDBCluster` action that
1400
+ # is called in the destination region, and the action contained in the
1401
+ # pre-signed URL.
1402
+ #
1403
+ # * `DestinationRegion` - The name of the region that Aurora Read
1404
+ # Replica will be created in.
1405
+ #
1406
+ # * `ReplicationSourceIdentifier` - The DB cluster identifier for the
1407
+ # encrypted DB cluster to be copied. This identifier must be in the
1408
+ # Amazon Resource Name (ARN) format for the source region. For
1409
+ # example, if you are copying an encrypted DB cluster from the
1410
+ # us-west-2 region, then your `ReplicationSourceIdentifier` would look
1411
+ # like Example:
1412
+ # `arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1`.
1413
+ #
1414
+ # To learn how to generate a Signature Version 4 signed request, see [
1415
+ # Authenticating Requests: Using Query Parameters (AWS Signature Version
1416
+ # 4)][1] and [ Signature Version 4 Signing Process][2].
1417
+ #
1418
+ #
1419
+ #
1420
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
1421
+ # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
1422
+ #
1423
+ # @option params [String] :source_region
1424
+ # The source region of the snapshot. This is only needed when the
1425
+ # shapshot is encrypted and in a different region.
1426
+ #
1230
1427
  # @return [Types::CreateDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1231
1428
  #
1232
1429
  # * {Types::CreateDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
@@ -1259,6 +1456,8 @@ module Aws::RDS
1259
1456
  # ],
1260
1457
  # storage_encrypted: false,
1261
1458
  # kms_key_id: "String",
1459
+ # pre_signed_url: "String",
1460
+ # source_region: "String",
1262
1461
  # })
1263
1462
  #
1264
1463
  # @example Response structure
@@ -2826,6 +3025,10 @@ module Aws::RDS
2826
3025
  # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
2827
3026
  # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
2828
3027
  #
3028
+ # @option params [String] :source_region
3029
+ # The source region of the snapshot. This is only needed when the
3030
+ # shapshot is encrypted and in a different region.
3031
+ #
2829
3032
  # @return [Types::CreateDBInstanceReadReplicaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2830
3033
  #
2831
3034
  # * {Types::CreateDBInstanceReadReplicaResult#db_instance #db_instance} => Types::DBInstance
@@ -2855,6 +3058,7 @@ module Aws::RDS
2855
3058
  # monitoring_role_arn: "String",
2856
3059
  # kms_key_id: "String",
2857
3060
  # pre_signed_url: "String",
3061
+ # source_region: "String",
2858
3062
  # })
2859
3063
  #
2860
3064
  # @example Response structure
@@ -10567,7 +10771,7 @@ module Aws::RDS
10567
10771
  params: params,
10568
10772
  config: config)
10569
10773
  context[:gem_name] = 'aws-sdk-rds'
10570
- context[:gem_version] = '1.0.0.rc3'
10774
+ context[:gem_version] = '1.0.0.rc4'
10571
10775
  Seahorse::Client::Request.new(handlers, context)
10572
10776
  end
10573
10777
 
@@ -463,7 +463,12 @@ module Aws::RDS
463
463
 
464
464
  CopyDBClusterSnapshotMessage.add_member(:source_db_cluster_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceDBClusterSnapshotIdentifier"))
465
465
  CopyDBClusterSnapshotMessage.add_member(:target_db_cluster_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetDBClusterSnapshotIdentifier"))
466
+ CopyDBClusterSnapshotMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
467
+ CopyDBClusterSnapshotMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
468
+ CopyDBClusterSnapshotMessage.add_member(:copy_tags, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTags"))
466
469
  CopyDBClusterSnapshotMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
470
+ CopyDBClusterSnapshotMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
471
+ CopyDBClusterSnapshotMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
467
472
  CopyDBClusterSnapshotMessage.struct_class = Types::CopyDBClusterSnapshotMessage
468
473
 
469
474
  CopyDBClusterSnapshotResult.add_member(:db_cluster_snapshot, Shapes::ShapeRef.new(shape: DBClusterSnapshot, location_name: "DBClusterSnapshot"))
@@ -484,7 +489,8 @@ module Aws::RDS
484
489
  CopyDBSnapshotMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
485
490
  CopyDBSnapshotMessage.add_member(:copy_tags, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTags"))
486
491
  CopyDBSnapshotMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
487
- CopyDBSnapshotMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion"))
492
+ CopyDBSnapshotMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
493
+ CopyDBSnapshotMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
488
494
  CopyDBSnapshotMessage.struct_class = Types::CopyDBSnapshotMessage
489
495
 
490
496
  CopyDBSnapshotResult.add_member(:db_snapshot, Shapes::ShapeRef.new(shape: DBSnapshot, location_name: "DBSnapshot"))
@@ -519,6 +525,9 @@ module Aws::RDS
519
525
  CreateDBClusterMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
520
526
  CreateDBClusterMessage.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
521
527
  CreateDBClusterMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
528
+ CreateDBClusterMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
529
+ CreateDBClusterMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
530
+ CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
522
531
  CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
523
532
 
524
533
  CreateDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
@@ -598,6 +607,8 @@ module Aws::RDS
598
607
  CreateDBInstanceReadReplicaMessage.add_member(:monitoring_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "MonitoringRoleArn"))
599
608
  CreateDBInstanceReadReplicaMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
600
609
  CreateDBInstanceReadReplicaMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
610
+ CreateDBInstanceReadReplicaMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
611
+ CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
601
612
  CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
602
613
 
603
614
  CreateDBInstanceReadReplicaResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -324,6 +324,8 @@ module Aws::RDS
324
324
  # ],
325
325
  # storage_encrypted: false,
326
326
  # kms_key_id: "String",
327
+ # pre_signed_url: "String",
328
+ # source_region: "String",
327
329
  # })
328
330
  # @param [Hash] options ({})
329
331
  # @option options [Array<String>] :availability_zones
@@ -464,13 +466,61 @@ module Aws::RDS
464
466
  # encryption key. If you are creating a DB cluster with the same AWS
465
467
  # account that owns the KMS encryption key used to encrypt the new DB
466
468
  # cluster, then you can use the KMS key alias instead of the ARN for the
467
- # KM encryption key.
469
+ # KMS encryption key.
468
470
  #
469
471
  # If the `StorageEncrypted` parameter is true, and you do not specify a
470
472
  # value for the `KmsKeyId` parameter, then Amazon RDS will use your
471
473
  # default encryption key. AWS KMS creates the default encryption key for
472
474
  # your AWS account. Your AWS account has a different default encryption
473
475
  # key for each AWS region.
476
+ #
477
+ # If you create a Read Replica of an encrypted DB cluster in another
478
+ # region, you must set `KmsKeyId` to a KMS key ID that is valid in the
479
+ # destination region. This key is used to encrypt the Read Replica in
480
+ # that region.
481
+ # @option options [String] :pre_signed_url
482
+ # A URL that contains a Signature Version 4 signed request for the
483
+ # `CreateDBCluster` action to be called in the source region where the
484
+ # DB cluster will be replicated from. You only need to specify
485
+ # `PreSignedUrl` when you are performing cross-region replication from
486
+ # an encrypted DB cluster.
487
+ #
488
+ # The pre-signed URL must be a valid request for the `CreateDBCluster`
489
+ # API action that can be executed in the source region that contains the
490
+ # encrypted DB cluster to be copied.
491
+ #
492
+ # The pre-signed URL request must contain the following parameter
493
+ # values:
494
+ #
495
+ # * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
496
+ # the copy of the DB cluster in the destination region. This should
497
+ # refer to the same KMS key for both the `CreateDBCluster` action that
498
+ # is called in the destination region, and the action contained in the
499
+ # pre-signed URL.
500
+ #
501
+ # * `DestinationRegion` - The name of the region that Aurora Read
502
+ # Replica will be created in.
503
+ #
504
+ # * `ReplicationSourceIdentifier` - The DB cluster identifier for the
505
+ # encrypted DB cluster to be copied. This identifier must be in the
506
+ # Amazon Resource Name (ARN) format for the source region. For
507
+ # example, if you are copying an encrypted DB cluster from the
508
+ # us-west-2 region, then your `ReplicationSourceIdentifier` would look
509
+ # like Example:
510
+ # `arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1`.
511
+ #
512
+ # To learn how to generate a Signature Version 4 signed request, see [
513
+ # Authenticating Requests: Using Query Parameters (AWS Signature Version
514
+ # 4)][1] and [ Signature Version 4 Signing Process][2].
515
+ #
516
+ #
517
+ #
518
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
519
+ # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
520
+ # @option options [String] :destination_region
521
+ # @option options [String] :source_region
522
+ # The source region of the snapshot. This is only needed when the
523
+ # shapshot is encrypted and in a different region.
474
524
  # @return [DBCluster]
475
525
  def create(options = {})
476
526
  options = options.merge(db_cluster_identifier: @id)
@@ -212,12 +212,16 @@ module Aws::RDS
212
212
  #
213
213
  # dbclustersnapshot = db_cluster_snapshot.copy({
214
214
  # target_db_cluster_snapshot_identifier: "String", # required
215
+ # kms_key_id: "String",
216
+ # pre_signed_url: "String",
217
+ # copy_tags: false,
215
218
  # tags: [
216
219
  # {
217
220
  # key: "String",
218
221
  # value: "String",
219
222
  # },
220
223
  # ],
224
+ # source_region: "String",
221
225
  # })
222
226
  # @param [Hash] options ({})
223
227
  # @option options [required, String] :target_db_cluster_snapshot_identifier
@@ -233,8 +237,75 @@ module Aws::RDS
233
237
  # * Cannot end with a hyphen or contain two consecutive hyphens.
234
238
  #
235
239
  # Example: `my-cluster-snapshot2`
240
+ # @option options [String] :kms_key_id
241
+ # The AWS KMS key ID for an encrypted DB cluster snapshot. The KMS key
242
+ # ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS
243
+ # key alias for the KMS encryption key.
244
+ #
245
+ # If you copy an unencrypted DB cluster snapshot and specify a value for
246
+ # the `KmsKeyId` parameter, Amazon RDS encrypts the target DB cluster
247
+ # snapshot using the specified KMS encryption key.
248
+ #
249
+ # If you copy an encrypted DB cluster snapshot from your AWS account,
250
+ # you can specify a value for `KmsKeyId` to encrypt the copy with a new
251
+ # KMS encryption key. If you don't specify a value for `KmsKeyId`, then
252
+ # the copy of the DB cluster snapshot is encrypted with the same KMS key
253
+ # as the source DB cluster snapshot.
254
+ #
255
+ # If you copy an encrypted DB cluster snapshot that is shared from
256
+ # another AWS account, then you must specify a value for `KmsKeyId`.
257
+ #
258
+ # To copy an encrypted DB cluster snapshot to another region, you must
259
+ # set `KmsKeyId` to the KMS key ID you want to use to encrypt the copy
260
+ # of the DB cluster snapshot in the destination region. KMS encryption
261
+ # keys are specific to the region that they are created in, and you
262
+ # cannot use encryption keys from one region in another region.
263
+ # @option options [String] :pre_signed_url
264
+ # The URL that contains a Signature Version 4 signed request for the
265
+ # `CopyDBClusterSnapshot` API action in the AWS region that contains the
266
+ # source DB cluster snapshot to copy. The `PreSignedUrl` parameter must
267
+ # be used when copying an encrypted DB cluster snapshot from another AWS
268
+ # region.
269
+ #
270
+ # The pre-signed URL must be a valid request for the
271
+ # `CopyDBSClusterSnapshot` API action that can be executed in the source
272
+ # region that contains the encrypted DB cluster snapshot to be copied.
273
+ # The pre-signed URL request must contain the following parameter
274
+ # values:
275
+ #
276
+ # * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
277
+ # the copy of the DB cluster snapshot in the destination region. This
278
+ # is the same identifier for both the `CopyDBClusterSnapshot` action
279
+ # that is called in the destination region, and the action contained
280
+ # in the pre-signed URL.
281
+ #
282
+ # * `DestinationRegion` - The name of the region that the DB cluster
283
+ # snapshot will be created in.
284
+ #
285
+ # * `SourceDBClusterSnapshotIdentifier` - The DB cluster snapshot
286
+ # identifier for the encrypted DB cluster snapshot to be copied. This
287
+ # identifier must be in the Amazon Resource Name (ARN) format for the
288
+ # source region. For example, if you are copying an encrypted DB
289
+ # cluster snapshot from the us-west-2 region, then your
290
+ # `SourceDBClusterSnapshotIdentifier` looks like the following
291
+ # example:
292
+ # `arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115`.
293
+ #
294
+ # To learn how to generate a Signature Version 4 signed request, see [
295
+ # Authenticating Requests: Using Query Parameters (AWS Signature Version
296
+ # 4)][1] and [ Signature Version 4 Signing Process][2].
297
+ #
298
+ #
299
+ #
300
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
301
+ # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
302
+ # @option options [Boolean] :copy_tags
236
303
  # @option options [Array<Types::Tag>] :tags
237
304
  # A list of tags.
305
+ # @option options [String] :destination_region
306
+ # @option options [String] :source_region
307
+ # The source region of the snapshot. This is only needed when the
308
+ # shapshot is encrypted and in a different region.
238
309
  # @return [DBClusterSnapshot]
239
310
  def copy(options = {})
240
311
  options = options.merge(source_db_cluster_snapshot_identifier: @snapshot_id)
@@ -1314,6 +1314,7 @@ module Aws::RDS
1314
1314
  # monitoring_role_arn: "String",
1315
1315
  # kms_key_id: "String",
1316
1316
  # pre_signed_url: "String",
1317
+ # source_region: "String",
1317
1318
  # })
1318
1319
  # @param [Hash] options ({})
1319
1320
  # @option options [required, String] :db_instance_identifier
@@ -1507,6 +1508,10 @@ module Aws::RDS
1507
1508
  #
1508
1509
  # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
1509
1510
  # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
1511
+ # @option options [String] :destination_region
1512
+ # @option options [String] :source_region
1513
+ # The source region of the snapshot. This is only needed when the
1514
+ # shapshot is encrypted and in a different region.
1510
1515
  # @return [DBInstance]
1511
1516
  def create_read_replica(options = {})
1512
1517
  options = options.merge(source_db_instance_identifier: @id)
@@ -267,7 +267,7 @@ module Aws::RDS
267
267
  # ],
268
268
  # copy_tags: false,
269
269
  # pre_signed_url: "String",
270
- # destination_region: "String",
270
+ # source_region: "String",
271
271
  # })
272
272
  # @param [Hash] options ({})
273
273
  # @option options [required, String] :target_db_snapshot_identifier
@@ -360,6 +360,9 @@ module Aws::RDS
360
360
  # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
361
361
  # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
362
362
  # @option options [String] :destination_region
363
+ # @option options [String] :source_region
364
+ # The source region of the snapshot. This is only needed when the
365
+ # shapshot is encrypted and in a different region.
363
366
  # @return [DBSnapshot]
364
367
  def copy(options = {})
365
368
  options = options.merge(source_db_snapshot_identifier: @snapshot_id)
@@ -55,7 +55,12 @@ module Aws
55
55
  handler(
56
56
  Handler,
57
57
  step: :initialize,
58
- operations: [:copy_db_snapshot]
58
+ operations: [
59
+ :copy_db_snapshot,
60
+ :create_db_instance_read_replica,
61
+ :copy_db_cluster_snapshot,
62
+ :create_db_cluster
63
+ ]
59
64
  )
60
65
 
61
66
  end
@@ -49,6 +49,8 @@ module Aws::RDS
49
49
  # ],
50
50
  # storage_encrypted: false,
51
51
  # kms_key_id: "String",
52
+ # pre_signed_url: "String",
53
+ # source_region: "String",
52
54
  # })
53
55
  # @param [Hash] options ({})
54
56
  # @option options [Array<String>] :availability_zones
@@ -202,13 +204,61 @@ module Aws::RDS
202
204
  # encryption key. If you are creating a DB cluster with the same AWS
203
205
  # account that owns the KMS encryption key used to encrypt the new DB
204
206
  # cluster, then you can use the KMS key alias instead of the ARN for the
205
- # KM encryption key.
207
+ # KMS encryption key.
206
208
  #
207
209
  # If the `StorageEncrypted` parameter is true, and you do not specify a
208
210
  # value for the `KmsKeyId` parameter, then Amazon RDS will use your
209
211
  # default encryption key. AWS KMS creates the default encryption key for
210
212
  # your AWS account. Your AWS account has a different default encryption
211
213
  # key for each AWS region.
214
+ #
215
+ # If you create a Read Replica of an encrypted DB cluster in another
216
+ # region, you must set `KmsKeyId` to a KMS key ID that is valid in the
217
+ # destination region. This key is used to encrypt the Read Replica in
218
+ # that region.
219
+ # @option options [String] :pre_signed_url
220
+ # A URL that contains a Signature Version 4 signed request for the
221
+ # `CreateDBCluster` action to be called in the source region where the
222
+ # DB cluster will be replicated from. You only need to specify
223
+ # `PreSignedUrl` when you are performing cross-region replication from
224
+ # an encrypted DB cluster.
225
+ #
226
+ # The pre-signed URL must be a valid request for the `CreateDBCluster`
227
+ # API action that can be executed in the source region that contains the
228
+ # encrypted DB cluster to be copied.
229
+ #
230
+ # The pre-signed URL request must contain the following parameter
231
+ # values:
232
+ #
233
+ # * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
234
+ # the copy of the DB cluster in the destination region. This should
235
+ # refer to the same KMS key for both the `CreateDBCluster` action that
236
+ # is called in the destination region, and the action contained in the
237
+ # pre-signed URL.
238
+ #
239
+ # * `DestinationRegion` - The name of the region that Aurora Read
240
+ # Replica will be created in.
241
+ #
242
+ # * `ReplicationSourceIdentifier` - The DB cluster identifier for the
243
+ # encrypted DB cluster to be copied. This identifier must be in the
244
+ # Amazon Resource Name (ARN) format for the source region. For
245
+ # example, if you are copying an encrypted DB cluster from the
246
+ # us-west-2 region, then your `ReplicationSourceIdentifier` would look
247
+ # like Example:
248
+ # `arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1`.
249
+ #
250
+ # To learn how to generate a Signature Version 4 signed request, see [
251
+ # Authenticating Requests: Using Query Parameters (AWS Signature Version
252
+ # 4)][1] and [ Signature Version 4 Signing Process][2].
253
+ #
254
+ #
255
+ #
256
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
257
+ # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
258
+ # @option options [String] :destination_region
259
+ # @option options [String] :source_region
260
+ # The source region of the snapshot. This is only needed when the
261
+ # shapshot is encrypted and in a different region.
212
262
  # @return [DBCluster]
213
263
  def create_db_cluster(options = {})
214
264
  resp = @client.create_db_cluster(options)
@@ -489,12 +489,16 @@ module Aws::RDS
489
489
  # {
490
490
  # source_db_cluster_snapshot_identifier: "String", # required
491
491
  # target_db_cluster_snapshot_identifier: "String", # required
492
+ # kms_key_id: "String",
493
+ # pre_signed_url: "String",
494
+ # copy_tags: false,
492
495
  # tags: [
493
496
  # {
494
497
  # key: "String",
495
498
  # value: "String",
496
499
  # },
497
500
  # ],
501
+ # source_region: "String",
498
502
  # }
499
503
  #
500
504
  # @!attribute [rw] source_db_cluster_snapshot_identifier
@@ -527,16 +531,98 @@ module Aws::RDS
527
531
  # Example: `my-cluster-snapshot2`
528
532
  # @return [String]
529
533
  #
534
+ # @!attribute [rw] kms_key_id
535
+ # The AWS KMS key ID for an encrypted DB cluster snapshot. The KMS key
536
+ # ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS
537
+ # key alias for the KMS encryption key.
538
+ #
539
+ # If you copy an unencrypted DB cluster snapshot and specify a value
540
+ # for the `KmsKeyId` parameter, Amazon RDS encrypts the target DB
541
+ # cluster snapshot using the specified KMS encryption key.
542
+ #
543
+ # If you copy an encrypted DB cluster snapshot from your AWS account,
544
+ # you can specify a value for `KmsKeyId` to encrypt the copy with a
545
+ # new KMS encryption key. If you don't specify a value for
546
+ # `KmsKeyId`, then the copy of the DB cluster snapshot is encrypted
547
+ # with the same KMS key as the source DB cluster snapshot.
548
+ #
549
+ # If you copy an encrypted DB cluster snapshot that is shared from
550
+ # another AWS account, then you must specify a value for `KmsKeyId`.
551
+ #
552
+ # To copy an encrypted DB cluster snapshot to another region, you must
553
+ # set `KmsKeyId` to the KMS key ID you want to use to encrypt the copy
554
+ # of the DB cluster snapshot in the destination region. KMS encryption
555
+ # keys are specific to the region that they are created in, and you
556
+ # cannot use encryption keys from one region in another region.
557
+ # @return [String]
558
+ #
559
+ # @!attribute [rw] pre_signed_url
560
+ # The URL that contains a Signature Version 4 signed request for the
561
+ # `CopyDBClusterSnapshot` API action in the AWS region that contains
562
+ # the source DB cluster snapshot to copy. The `PreSignedUrl` parameter
563
+ # must be used when copying an encrypted DB cluster snapshot from
564
+ # another AWS region.
565
+ #
566
+ # The pre-signed URL must be a valid request for the
567
+ # `CopyDBSClusterSnapshot` API action that can be executed in the
568
+ # source region that contains the encrypted DB cluster snapshot to be
569
+ # copied. The pre-signed URL request must contain the following
570
+ # parameter values:
571
+ #
572
+ # * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
573
+ # the copy of the DB cluster snapshot in the destination region.
574
+ # This is the same identifier for both the `CopyDBClusterSnapshot`
575
+ # action that is called in the destination region, and the action
576
+ # contained in the pre-signed URL.
577
+ #
578
+ # * `DestinationRegion` - The name of the region that the DB cluster
579
+ # snapshot will be created in.
580
+ #
581
+ # * `SourceDBClusterSnapshotIdentifier` - The DB cluster snapshot
582
+ # identifier for the encrypted DB cluster snapshot to be copied.
583
+ # This identifier must be in the Amazon Resource Name (ARN) format
584
+ # for the source region. For example, if you are copying an
585
+ # encrypted DB cluster snapshot from the us-west-2 region, then your
586
+ # `SourceDBClusterSnapshotIdentifier` looks like the following
587
+ # example:
588
+ # `arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115`.
589
+ #
590
+ # To learn how to generate a Signature Version 4 signed request, see [
591
+ # Authenticating Requests: Using Query Parameters (AWS Signature
592
+ # Version 4)][1] and [ Signature Version 4 Signing Process][2].
593
+ #
594
+ #
595
+ #
596
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
597
+ # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
598
+ # @return [String]
599
+ #
600
+ # @!attribute [rw] copy_tags
601
+ # @return [Boolean]
602
+ #
530
603
  # @!attribute [rw] tags
531
604
  # A list of tags.
532
605
  # @return [Array<Types::Tag>]
533
606
  #
607
+ # @!attribute [rw] destination_region
608
+ # @return [String]
609
+ #
610
+ # @!attribute [rw] source_region
611
+ # The source region of the snapshot. This is only needed when the
612
+ # shapshot is encrypted and in a different region.
613
+ # @return [String]
614
+ #
534
615
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshotMessage AWS API Documentation
535
616
  #
536
617
  class CopyDBClusterSnapshotMessage < Struct.new(
537
618
  :source_db_cluster_snapshot_identifier,
538
619
  :target_db_cluster_snapshot_identifier,
539
- :tags)
620
+ :kms_key_id,
621
+ :pre_signed_url,
622
+ :copy_tags,
623
+ :tags,
624
+ :destination_region,
625
+ :source_region)
540
626
  include Aws::Structure
541
627
  end
542
628
 
@@ -656,7 +742,7 @@ module Aws::RDS
656
742
  # ],
657
743
  # copy_tags: false,
658
744
  # pre_signed_url: "String",
659
- # destination_region: "String",
745
+ # source_region: "String",
660
746
  # }
661
747
  #
662
748
  # @!attribute [rw] source_db_snapshot_identifier
@@ -792,6 +878,11 @@ module Aws::RDS
792
878
  # @!attribute [rw] destination_region
793
879
  # @return [String]
794
880
  #
881
+ # @!attribute [rw] source_region
882
+ # The source region of the snapshot. This is only needed when the
883
+ # shapshot is encrypted and in a different region.
884
+ # @return [String]
885
+ #
795
886
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshotMessage AWS API Documentation
796
887
  #
797
888
  class CopyDBSnapshotMessage < Struct.new(
@@ -801,7 +892,8 @@ module Aws::RDS
801
892
  :tags,
802
893
  :copy_tags,
803
894
  :pre_signed_url,
804
- :destination_region)
895
+ :destination_region,
896
+ :source_region)
805
897
  include Aws::Structure
806
898
  end
807
899
 
@@ -934,6 +1026,8 @@ module Aws::RDS
934
1026
  # ],
935
1027
  # storage_encrypted: false,
936
1028
  # kms_key_id: "String",
1029
+ # pre_signed_url: "String",
1030
+ # source_region: "String",
937
1031
  # }
938
1032
  #
939
1033
  # @!attribute [rw] availability_zones
@@ -1126,13 +1220,67 @@ module Aws::RDS
1126
1220
  # encryption key. If you are creating a DB cluster with the same AWS
1127
1221
  # account that owns the KMS encryption key used to encrypt the new DB
1128
1222
  # cluster, then you can use the KMS key alias instead of the ARN for
1129
- # the KM encryption key.
1223
+ # the KMS encryption key.
1130
1224
  #
1131
1225
  # If the `StorageEncrypted` parameter is true, and you do not specify
1132
1226
  # a value for the `KmsKeyId` parameter, then Amazon RDS will use your
1133
1227
  # default encryption key. AWS KMS creates the default encryption key
1134
1228
  # for your AWS account. Your AWS account has a different default
1135
1229
  # encryption key for each AWS region.
1230
+ #
1231
+ # If you create a Read Replica of an encrypted DB cluster in another
1232
+ # region, you must set `KmsKeyId` to a KMS key ID that is valid in the
1233
+ # destination region. This key is used to encrypt the Read Replica in
1234
+ # that region.
1235
+ # @return [String]
1236
+ #
1237
+ # @!attribute [rw] pre_signed_url
1238
+ # A URL that contains a Signature Version 4 signed request for the
1239
+ # `CreateDBCluster` action to be called in the source region where the
1240
+ # DB cluster will be replicated from. You only need to specify
1241
+ # `PreSignedUrl` when you are performing cross-region replication from
1242
+ # an encrypted DB cluster.
1243
+ #
1244
+ # The pre-signed URL must be a valid request for the `CreateDBCluster`
1245
+ # API action that can be executed in the source region that contains
1246
+ # the encrypted DB cluster to be copied.
1247
+ #
1248
+ # The pre-signed URL request must contain the following parameter
1249
+ # values:
1250
+ #
1251
+ # * `KmsKeyId` - The KMS key identifier for the key to use to encrypt
1252
+ # the copy of the DB cluster in the destination region. This should
1253
+ # refer to the same KMS key for both the `CreateDBCluster` action
1254
+ # that is called in the destination region, and the action contained
1255
+ # in the pre-signed URL.
1256
+ #
1257
+ # * `DestinationRegion` - The name of the region that Aurora Read
1258
+ # Replica will be created in.
1259
+ #
1260
+ # * `ReplicationSourceIdentifier` - The DB cluster identifier for the
1261
+ # encrypted DB cluster to be copied. This identifier must be in the
1262
+ # Amazon Resource Name (ARN) format for the source region. For
1263
+ # example, if you are copying an encrypted DB cluster from the
1264
+ # us-west-2 region, then your `ReplicationSourceIdentifier` would
1265
+ # look like Example:
1266
+ # `arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1`.
1267
+ #
1268
+ # To learn how to generate a Signature Version 4 signed request, see [
1269
+ # Authenticating Requests: Using Query Parameters (AWS Signature
1270
+ # Version 4)][1] and [ Signature Version 4 Signing Process][2].
1271
+ #
1272
+ #
1273
+ #
1274
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
1275
+ # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
1276
+ # @return [String]
1277
+ #
1278
+ # @!attribute [rw] destination_region
1279
+ # @return [String]
1280
+ #
1281
+ # @!attribute [rw] source_region
1282
+ # The source region of the snapshot. This is only needed when the
1283
+ # shapshot is encrypted and in a different region.
1136
1284
  # @return [String]
1137
1285
  #
1138
1286
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterMessage AWS API Documentation
@@ -1157,7 +1305,10 @@ module Aws::RDS
1157
1305
  :replication_source_identifier,
1158
1306
  :tags,
1159
1307
  :storage_encrypted,
1160
- :kms_key_id)
1308
+ :kms_key_id,
1309
+ :pre_signed_url,
1310
+ :destination_region,
1311
+ :source_region)
1161
1312
  include Aws::Structure
1162
1313
  end
1163
1314
 
@@ -2356,6 +2507,7 @@ module Aws::RDS
2356
2507
  # monitoring_role_arn: "String",
2357
2508
  # kms_key_id: "String",
2358
2509
  # pre_signed_url: "String",
2510
+ # source_region: "String",
2359
2511
  # }
2360
2512
  #
2361
2513
  # @!attribute [rw] db_instance_identifier
@@ -2615,6 +2767,14 @@ module Aws::RDS
2615
2767
  # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
2616
2768
  # @return [String]
2617
2769
  #
2770
+ # @!attribute [rw] destination_region
2771
+ # @return [String]
2772
+ #
2773
+ # @!attribute [rw] source_region
2774
+ # The source region of the snapshot. This is only needed when the
2775
+ # shapshot is encrypted and in a different region.
2776
+ # @return [String]
2777
+ #
2618
2778
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaMessage AWS API Documentation
2619
2779
  #
2620
2780
  class CreateDBInstanceReadReplicaMessage < Struct.new(
@@ -2634,7 +2794,9 @@ module Aws::RDS
2634
2794
  :monitoring_interval,
2635
2795
  :monitoring_role_arn,
2636
2796
  :kms_key_id,
2637
- :pre_signed_url)
2797
+ :pre_signed_url,
2798
+ :destination_region,
2799
+ :source_region)
2638
2800
  include Aws::Structure
2639
2801
  end
2640
2802
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc3
4
+ version: 1.0.0.rc4
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: 2017-03-07 00:00:00.000000000 Z
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core