aws-sdk-rds 1.2.0 → 1.3.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
  SHA1:
3
- metadata.gz: 6ec68a8d31f0e8b0f9242334acf385829dd61d62
4
- data.tar.gz: d1872d28f16a36661d23e78c5946b95cf8060f58
3
+ metadata.gz: 308d222609e6c01b9115638c5b2d006104d38d7e
4
+ data.tar.gz: ddefa6f135e7132d3aec8512149663c112ce8f36
5
5
  SHA512:
6
- metadata.gz: 9074cff70a9c5d3f1b534fc4ea21d9bec539c9085afa18e87c102fa1156e78e7bfe4f5659e4b478b61f6db23830d8cd62491e9bd9b7613ea3c797a9621b9083b
7
- data.tar.gz: 4ad11fb21f7b12a886b651440f53b6754e749369e6dd297a9ae2c6eec360d49f100f28fb2220a6665ee68e32265153020f81a6a83091a5fe92f9a83454cabf91
6
+ metadata.gz: fbc978f873a70eb9000398d2f417eafad09e60a17162250ced23a1538a0d848d4ed2307cf4d189e8e0f65ec8cc817c46feba7412a81281db8fd3bdcab2e8692c
7
+ data.tar.gz: 793e6c87badde59cbca638342fab7385dcb9e56ee7821dd6296175b1f3f2d4cc9bb8043fc1cd07cbea86d264e4c9330a1d7d1004db3c9dadb5f72ea0d40378a4
@@ -68,6 +68,6 @@ require_relative 'aws-sdk-rds/customizations'
68
68
  # @service
69
69
  module Aws::RDS
70
70
 
71
- GEM_VERSION = '1.2.0'
71
+ GEM_VERSION = '1.3.0'
72
72
 
73
73
  end
@@ -1498,11 +1498,19 @@ module Aws::RDS
1498
1498
  # cluster, then you can use the KMS key alias instead of the ARN for the
1499
1499
  # KMS encryption key.
1500
1500
  #
1501
- # If the `StorageEncrypted` parameter is true, and you do not specify a
1502
- # value for the `KmsKeyId` parameter, then Amazon RDS will use your
1503
- # default encryption key. AWS KMS creates the default encryption key for
1504
- # your AWS account. Your AWS account has a different default encryption
1505
- # key for each AWS Region.
1501
+ # If an encryption key is not specified in `KmsKeyId`\:
1502
+ #
1503
+ # * If `ReplicationSourceIdentifier` identifies an encrypted source,
1504
+ # then Amazon RDS will use the encryption key used to encrypt the
1505
+ # source. Otherwise, Amazon RDS will use your default encryption key.
1506
+ #
1507
+ # * If the `StorageEncrypted` parameter is true and
1508
+ # `ReplicationSourceIdentifier` is not specified, then Amazon RDS will
1509
+ # use your default encryption key.
1510
+ #
1511
+ # AWS KMS creates the default encryption key for your AWS account. Your
1512
+ # AWS account has a different default encryption key for each AWS
1513
+ # Region.
1506
1514
  #
1507
1515
  # If you create a Read Replica of an encrypted DB cluster in another AWS
1508
1516
  # Region, you must set `KmsKeyId` to a KMS key ID that is valid in the
@@ -2529,7 +2537,7 @@ module Aws::RDS
2529
2537
  #
2530
2538
  # **PostgreSQL**
2531
2539
  #
2532
- # * **Version 9.6.x:** ` 9.6.1 | 9.6.2`
2540
+ # * **Version 9.6.x:** ` 9.6.1 | 9.6.2 | 9.6.3`
2533
2541
  #
2534
2542
  # * **Version 9.5.x:** `9.5.6 | 9.5.4 | 9.5.2`
2535
2543
  #
@@ -2733,6 +2741,10 @@ module Aws::RDS
2733
2741
  #
2734
2742
  # Default: `false`
2735
2743
  #
2744
+ # @option params [Boolean] :enable_performance_insights
2745
+ #
2746
+ # @option params [String] :performance_insights_kms_key_id
2747
+ #
2736
2748
  # @return [Types::CreateDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2737
2749
  #
2738
2750
  # * {Types::CreateDBInstanceResult#db_instance #db_instance} => Types::DBInstance
@@ -2804,6 +2816,8 @@ module Aws::RDS
2804
2816
  # promotion_tier: 1,
2805
2817
  # timezone: "String",
2806
2818
  # enable_iam_database_authentication: false,
2819
+ # enable_performance_insights: false,
2820
+ # performance_insights_kms_key_id: "String",
2807
2821
  # })
2808
2822
  #
2809
2823
  # @example Response structure
@@ -2897,6 +2911,8 @@ module Aws::RDS
2897
2911
  # resp.db_instance.db_instance_arn #=> String
2898
2912
  # resp.db_instance.timezone #=> String
2899
2913
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
2914
+ # resp.db_instance.performance_insights_enabled #=> Boolean
2915
+ # resp.db_instance.performance_insights_kms_key_id #=> String
2900
2916
  #
2901
2917
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
2902
2918
  #
@@ -3187,6 +3203,10 @@ module Aws::RDS
3187
3203
  #
3188
3204
  # Default: `false`
3189
3205
  #
3206
+ # @option params [Boolean] :enable_performance_insights
3207
+ #
3208
+ # @option params [String] :performance_insights_kms_key_id
3209
+ #
3190
3210
  # @option params [String] :source_region
3191
3211
  # The source region of the snapshot. This is only needed when the
3192
3212
  # shapshot is encrypted and in a different region.
@@ -3248,6 +3268,8 @@ module Aws::RDS
3248
3268
  # kms_key_id: "String",
3249
3269
  # pre_signed_url: "String",
3250
3270
  # enable_iam_database_authentication: false,
3271
+ # enable_performance_insights: false,
3272
+ # performance_insights_kms_key_id: "String",
3251
3273
  # source_region: "String",
3252
3274
  # })
3253
3275
  #
@@ -3342,6 +3364,8 @@ module Aws::RDS
3342
3364
  # resp.db_instance.db_instance_arn #=> String
3343
3365
  # resp.db_instance.timezone #=> String
3344
3366
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
3367
+ # resp.db_instance.performance_insights_enabled #=> Boolean
3368
+ # resp.db_instance.performance_insights_kms_key_id #=> String
3345
3369
  #
3346
3370
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
3347
3371
  #
@@ -4270,7 +4294,8 @@ module Aws::RDS
4270
4294
  # `true`.
4271
4295
  #
4272
4296
  # If the specified DB instance is part of an Amazon Aurora DB cluster,
4273
- # you cannot delete the DB instance if the following are true:
4297
+ # you cannot delete the DB instance if both of the following conditions
4298
+ # are true:
4274
4299
  #
4275
4300
  # * The DB cluster is a Read Replica of another Amazon Aurora DB
4276
4301
  # cluster.
@@ -4453,6 +4478,8 @@ module Aws::RDS
4453
4478
  # resp.db_instance.db_instance_arn #=> String
4454
4479
  # resp.db_instance.timezone #=> String
4455
4480
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
4481
+ # resp.db_instance.performance_insights_enabled #=> Boolean
4482
+ # resp.db_instance.performance_insights_kms_key_id #=> String
4456
4483
  #
4457
4484
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
4458
4485
  #
@@ -5767,6 +5794,8 @@ module Aws::RDS
5767
5794
  # resp.db_instances[0].db_instance_arn #=> String
5768
5795
  # resp.db_instances[0].timezone #=> String
5769
5796
  # resp.db_instances[0].iam_database_authentication_enabled #=> Boolean
5797
+ # resp.db_instances[0].performance_insights_enabled #=> Boolean
5798
+ # resp.db_instances[0].performance_insights_kms_key_id #=> String
5770
5799
  #
5771
5800
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances AWS API Documentation
5772
5801
  #
@@ -7247,6 +7276,7 @@ module Aws::RDS
7247
7276
  # resp.orderable_db_instance_options[0].supports_iops #=> Boolean
7248
7277
  # resp.orderable_db_instance_options[0].supports_enhanced_monitoring #=> Boolean
7249
7278
  # resp.orderable_db_instance_options[0].supports_iam_database_authentication #=> Boolean
7279
+ # resp.orderable_db_instance_options[0].supports_performance_insights #=> Boolean
7250
7280
  # resp.marker #=> String
7251
7281
  #
7252
7282
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptions AWS API Documentation
@@ -9032,6 +9062,10 @@ module Aws::RDS
9032
9062
  #
9033
9063
  # Default: `false`
9034
9064
  #
9065
+ # @option params [Boolean] :enable_performance_insights
9066
+ #
9067
+ # @option params [String] :performance_insights_kms_key_id
9068
+ #
9035
9069
  # @return [Types::ModifyDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9036
9070
  #
9037
9071
  # * {Types::ModifyDBInstanceResult#db_instance #db_instance} => Types::DBInstance
@@ -9094,6 +9128,8 @@ module Aws::RDS
9094
9128
  # domain_iam_role_name: "String",
9095
9129
  # promotion_tier: 1,
9096
9130
  # enable_iam_database_authentication: false,
9131
+ # enable_performance_insights: false,
9132
+ # performance_insights_kms_key_id: "String",
9097
9133
  # })
9098
9134
  #
9099
9135
  # @example Response structure
@@ -9187,6 +9223,8 @@ module Aws::RDS
9187
9223
  # resp.db_instance.db_instance_arn #=> String
9188
9224
  # resp.db_instance.timezone #=> String
9189
9225
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
9226
+ # resp.db_instance.performance_insights_enabled #=> Boolean
9227
+ # resp.db_instance.performance_insights_kms_key_id #=> String
9190
9228
  #
9191
9229
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
9192
9230
  #
@@ -9323,6 +9361,8 @@ module Aws::RDS
9323
9361
  # @option params [String] :engine_version
9324
9362
  # The engine version to update the DB snapshot to.
9325
9363
  #
9364
+ # @option params [String] :option_group_name
9365
+ #
9326
9366
  # @return [Types::ModifyDBSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9327
9367
  #
9328
9368
  # * {Types::ModifyDBSnapshotResult#db_snapshot #db_snapshot} => Types::DBSnapshot
@@ -9332,6 +9372,7 @@ module Aws::RDS
9332
9372
  # resp = client.modify_db_snapshot({
9333
9373
  # db_snapshot_identifier: "String", # required
9334
9374
  # engine_version: "String",
9375
+ # option_group_name: "String",
9335
9376
  # })
9336
9377
  #
9337
9378
  # @example Response structure
@@ -9947,6 +9988,8 @@ module Aws::RDS
9947
9988
  # resp.db_instance.db_instance_arn #=> String
9948
9989
  # resp.db_instance.timezone #=> String
9949
9990
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
9991
+ # resp.db_instance.performance_insights_enabled #=> Boolean
9992
+ # resp.db_instance.performance_insights_kms_key_id #=> String
9950
9993
  #
9951
9994
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
9952
9995
  #
@@ -10281,6 +10324,8 @@ module Aws::RDS
10281
10324
  # resp.db_instance.db_instance_arn #=> String
10282
10325
  # resp.db_instance.timezone #=> String
10283
10326
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
10327
+ # resp.db_instance.performance_insights_enabled #=> Boolean
10328
+ # resp.db_instance.performance_insights_kms_key_id #=> String
10284
10329
  #
10285
10330
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
10286
10331
  #
@@ -10941,10 +10986,16 @@ module Aws::RDS
10941
10986
  req.send_request(options)
10942
10987
  end
10943
10988
 
10944
- # Creates a new DB cluster from a DB cluster snapshot. The target DB
10945
- # cluster is created from the source DB cluster restore point with the
10946
- # same configuration as the original source DB cluster, except that the
10947
- # new DB cluster is created with the default security group.
10989
+ # Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
10990
+ #
10991
+ # If a DB snapshot is specified, the target DB cluster is created from
10992
+ # the source DB snapshot with a default configuration and default
10993
+ # security group.
10994
+ #
10995
+ # If a DB cluster snapshot is specified, the target DB cluster is
10996
+ # created from the source DB cluster restore point with the same
10997
+ # configuration as the original source DB cluster, except that the new
10998
+ # DB cluster is created with the default security group.
10948
10999
  #
10949
11000
  # For more information on Amazon Aurora, see [Aurora on Amazon RDS][1]
10950
11001
  # in the *Amazon RDS User Guide.*
@@ -10958,8 +11009,8 @@ module Aws::RDS
10958
11009
  # restored DB cluster can be created in.
10959
11010
  #
10960
11011
  # @option params [required, String] :db_cluster_identifier
10961
- # The name of the DB cluster to create from the DB cluster snapshot.
10962
- # This parameter isn't case-sensitive.
11012
+ # The name of the DB cluster to create from the DB snapshot or DB
11013
+ # cluster snapshot. This parameter isn't case-sensitive.
10963
11014
  #
10964
11015
  # Constraints:
10965
11016
  #
@@ -10972,7 +11023,12 @@ module Aws::RDS
10972
11023
  # Example: `my-snapshot-id`
10973
11024
  #
10974
11025
  # @option params [required, String] :snapshot_identifier
10975
- # The identifier for the DB cluster snapshot to restore from.
11026
+ # The identifier for the DB snapshot or DB cluster snapshot to restore
11027
+ # from.
11028
+ #
11029
+ # You can use either the name or the Amazon Resource Name (ARN) to
11030
+ # specify a DB cluster snapshot. However, you can use only the ARN to
11031
+ # specify a DB snapshot.
10976
11032
  #
10977
11033
  # Constraints:
10978
11034
  #
@@ -11021,7 +11077,7 @@ module Aws::RDS
11021
11077
  #
11022
11078
  # @option params [String] :kms_key_id
11023
11079
  # The KMS key identifier to use when restoring an encrypted DB cluster
11024
- # from a DB cluster snapshot.
11080
+ # from a DB snapshot or DB cluster snapshot.
11025
11081
  #
11026
11082
  # The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
11027
11083
  # encryption key. If you are restoring a DB cluster with the same AWS
@@ -11032,12 +11088,12 @@ module Aws::RDS
11032
11088
  # If you do not specify a value for the `KmsKeyId` parameter, then the
11033
11089
  # following will occur:
11034
11090
  #
11035
- # * If the DB cluster snapshot is encrypted, then the restored DB
11036
- # cluster is encrypted using the KMS key that was used to encrypt the
11037
- # DB cluster snapshot.
11091
+ # * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` is
11092
+ # encrypted, then the restored DB cluster is encrypted using the KMS
11093
+ # key that was used to encrypt the DB snapshot or DB cluster snapshot.
11038
11094
  #
11039
- # * If the DB cluster snapshot is not encrypted, then the restored DB
11040
- # cluster is encrypted using the specified encryption key.
11095
+ # * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` is
11096
+ # not encrypted, then the restored DB cluster is not encrypted.
11041
11097
  #
11042
11098
  # @option params [Boolean] :enable_iam_database_authentication
11043
11099
  # A Boolean value that is true to enable mapping of AWS Identity and
@@ -11841,6 +11897,8 @@ module Aws::RDS
11841
11897
  # resp.db_instance.db_instance_arn #=> String
11842
11898
  # resp.db_instance.timezone #=> String
11843
11899
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
11900
+ # resp.db_instance.performance_insights_enabled #=> Boolean
11901
+ # resp.db_instance.performance_insights_kms_key_id #=> String
11844
11902
  #
11845
11903
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
11846
11904
  #
@@ -12299,6 +12357,8 @@ module Aws::RDS
12299
12357
  # resp.db_instance.db_instance_arn #=> String
12300
12358
  # resp.db_instance.timezone #=> String
12301
12359
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
12360
+ # resp.db_instance.performance_insights_enabled #=> Boolean
12361
+ # resp.db_instance.performance_insights_kms_key_id #=> String
12302
12362
  #
12303
12363
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
12304
12364
  #
@@ -12507,6 +12567,8 @@ module Aws::RDS
12507
12567
  # resp.db_instance.db_instance_arn #=> String
12508
12568
  # resp.db_instance.timezone #=> String
12509
12569
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
12570
+ # resp.db_instance.performance_insights_enabled #=> Boolean
12571
+ # resp.db_instance.performance_insights_kms_key_id #=> String
12510
12572
  #
12511
12573
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
12512
12574
  #
@@ -12633,6 +12695,8 @@ module Aws::RDS
12633
12695
  # resp.db_instance.db_instance_arn #=> String
12634
12696
  # resp.db_instance.timezone #=> String
12635
12697
  # resp.db_instance.iam_database_authentication_enabled #=> Boolean
12698
+ # resp.db_instance.performance_insights_enabled #=> Boolean
12699
+ # resp.db_instance.performance_insights_kms_key_id #=> String
12636
12700
  #
12637
12701
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
12638
12702
  #
@@ -12656,7 +12720,7 @@ module Aws::RDS
12656
12720
  params: params,
12657
12721
  config: config)
12658
12722
  context[:gem_name] = 'aws-sdk-rds'
12659
- context[:gem_version] = '1.2.0'
12723
+ context[:gem_version] = '1.3.0'
12660
12724
  Seahorse::Client::Request.new(handlers, context)
12661
12725
  end
12662
12726
 
@@ -595,6 +595,8 @@ module Aws::RDS
595
595
  CreateDBInstanceMessage.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
596
596
  CreateDBInstanceMessage.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
597
597
  CreateDBInstanceMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
598
+ CreateDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
599
+ CreateDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
598
600
  CreateDBInstanceMessage.struct_class = Types::CreateDBInstanceMessage
599
601
 
600
602
  CreateDBInstanceReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
@@ -615,6 +617,8 @@ module Aws::RDS
615
617
  CreateDBInstanceReadReplicaMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
616
618
  CreateDBInstanceReadReplicaMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
617
619
  CreateDBInstanceReadReplicaMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
620
+ CreateDBInstanceReadReplicaMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
621
+ CreateDBInstanceReadReplicaMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
618
622
  CreateDBInstanceReadReplicaMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
619
623
  CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
620
624
  CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
@@ -867,6 +871,8 @@ module Aws::RDS
867
871
  DBInstance.add_member(:db_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceArn"))
868
872
  DBInstance.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
869
873
  DBInstance.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
874
+ DBInstance.add_member(:performance_insights_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PerformanceInsightsEnabled"))
875
+ DBInstance.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
870
876
  DBInstance.struct_class = Types::DBInstance
871
877
 
872
878
  DBInstanceList.member = Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance")
@@ -1428,6 +1434,8 @@ module Aws::RDS
1428
1434
  ModifyDBInstanceMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
1429
1435
  ModifyDBInstanceMessage.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
1430
1436
  ModifyDBInstanceMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
1437
+ ModifyDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
1438
+ ModifyDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
1431
1439
  ModifyDBInstanceMessage.struct_class = Types::ModifyDBInstanceMessage
1432
1440
 
1433
1441
  ModifyDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -1448,6 +1456,7 @@ module Aws::RDS
1448
1456
 
1449
1457
  ModifyDBSnapshotMessage.add_member(:db_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBSnapshotIdentifier"))
1450
1458
  ModifyDBSnapshotMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
1459
+ ModifyDBSnapshotMessage.add_member(:option_group_name, Shapes::ShapeRef.new(shape: String, location_name: "OptionGroupName"))
1451
1460
  ModifyDBSnapshotMessage.struct_class = Types::ModifyDBSnapshotMessage
1452
1461
 
1453
1462
  ModifyDBSnapshotResult.add_member(:db_snapshot, Shapes::ShapeRef.new(shape: DBSnapshot, location_name: "DBSnapshot"))
@@ -1599,6 +1608,7 @@ module Aws::RDS
1599
1608
  OrderableDBInstanceOption.add_member(:supports_iops, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsIops"))
1600
1609
  OrderableDBInstanceOption.add_member(:supports_enhanced_monitoring, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsEnhancedMonitoring"))
1601
1610
  OrderableDBInstanceOption.add_member(:supports_iam_database_authentication, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsIAMDatabaseAuthentication"))
1611
+ OrderableDBInstanceOption.add_member(:supports_performance_insights, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsPerformanceInsights"))
1602
1612
  OrderableDBInstanceOption.struct_class = Types::OrderableDBInstanceOption
1603
1613
 
1604
1614
  OrderableDBInstanceOptionsList.member = Shapes::ShapeRef.new(shape: OrderableDBInstanceOption, location_name: "OrderableDBInstanceOption")
@@ -580,11 +580,19 @@ module Aws::RDS
580
580
  # cluster, then you can use the KMS key alias instead of the ARN for the
581
581
  # KMS encryption key.
582
582
  #
583
- # If the `StorageEncrypted` parameter is true, and you do not specify a
584
- # value for the `KmsKeyId` parameter, then Amazon RDS will use your
585
- # default encryption key. AWS KMS creates the default encryption key for
586
- # your AWS account. Your AWS account has a different default encryption
587
- # key for each AWS Region.
583
+ # If an encryption key is not specified in `KmsKeyId`\:
584
+ #
585
+ # * If `ReplicationSourceIdentifier` identifies an encrypted source,
586
+ # then Amazon RDS will use the encryption key used to encrypt the
587
+ # source. Otherwise, Amazon RDS will use your default encryption key.
588
+ #
589
+ # * If the `StorageEncrypted` parameter is true and
590
+ # `ReplicationSourceIdentifier` is not specified, then Amazon RDS will
591
+ # use your default encryption key.
592
+ #
593
+ # AWS KMS creates the default encryption key for your AWS account. Your
594
+ # AWS account has a different default encryption key for each AWS
595
+ # Region.
588
596
  #
589
597
  # If you create a Read Replica of an encrypted DB cluster in another AWS
590
598
  # Region, you must set `KmsKeyId` to a KMS key ID that is valid in the
@@ -473,8 +473,8 @@ module Aws::RDS
473
473
  # Provides the list of EC2 Availability Zones that instances in the
474
474
  # restored DB cluster can be created in.
475
475
  # @option options [required, String] :db_cluster_identifier
476
- # The name of the DB cluster to create from the DB cluster snapshot.
477
- # This parameter isn't case-sensitive.
476
+ # The name of the DB cluster to create from the DB snapshot or DB
477
+ # cluster snapshot. This parameter isn't case-sensitive.
478
478
  #
479
479
  # Constraints:
480
480
  #
@@ -516,7 +516,7 @@ module Aws::RDS
516
516
  # The tags to be assigned to the restored DB cluster.
517
517
  # @option options [String] :kms_key_id
518
518
  # The KMS key identifier to use when restoring an encrypted DB cluster
519
- # from a DB cluster snapshot.
519
+ # from a DB snapshot or DB cluster snapshot.
520
520
  #
521
521
  # The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
522
522
  # encryption key. If you are restoring a DB cluster with the same AWS
@@ -527,12 +527,12 @@ module Aws::RDS
527
527
  # If you do not specify a value for the `KmsKeyId` parameter, then the
528
528
  # following will occur:
529
529
  #
530
- # * If the DB cluster snapshot is encrypted, then the restored DB
531
- # cluster is encrypted using the KMS key that was used to encrypt the
532
- # DB cluster snapshot.
530
+ # * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` is
531
+ # encrypted, then the restored DB cluster is encrypted using the KMS
532
+ # key that was used to encrypt the DB snapshot or DB cluster snapshot.
533
533
  #
534
- # * If the DB cluster snapshot is not encrypted, then the restored DB
535
- # cluster is encrypted using the specified encryption key.
534
+ # * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` is
535
+ # not encrypted, then the restored DB cluster is not encrypted.
536
536
  # @option options [Boolean] :enable_iam_database_authentication
537
537
  # A Boolean value that is true to enable mapping of AWS Identity and
538
538
  # Access Management (IAM) accounts to database accounts, and otherwise
@@ -407,6 +407,16 @@ module Aws::RDS
407
407
  data[:iam_database_authentication_enabled]
408
408
  end
409
409
 
410
+ # @return [Boolean]
411
+ def performance_insights_enabled
412
+ data[:performance_insights_enabled]
413
+ end
414
+
415
+ # @return [String]
416
+ def performance_insights_kms_key_id
417
+ data[:performance_insights_kms_key_id]
418
+ end
419
+
410
420
  # @!endgroup
411
421
 
412
422
  # @return [Client]
@@ -585,6 +595,8 @@ module Aws::RDS
585
595
  # promotion_tier: 1,
586
596
  # timezone: "String",
587
597
  # enable_iam_database_authentication: false,
598
+ # enable_performance_insights: false,
599
+ # performance_insights_kms_key_id: "String",
588
600
  # })
589
601
  # @param [Hash] options ({})
590
602
  # @option options [String] :db_name
@@ -1182,7 +1194,7 @@ module Aws::RDS
1182
1194
  #
1183
1195
  # **PostgreSQL**
1184
1196
  #
1185
- # * **Version 9.6.x:** ` 9.6.1 | 9.6.2`
1197
+ # * **Version 9.6.x:** ` 9.6.1 | 9.6.2 | 9.6.3`
1186
1198
  #
1187
1199
  # * **Version 9.5.x:** `9.5.6 | 9.5.4 | 9.5.2`
1188
1200
  #
@@ -1364,6 +1376,8 @@ module Aws::RDS
1364
1376
  # * For MySQL 5.7, minor version 5.7.16 or higher
1365
1377
  #
1366
1378
  # Default: `false`
1379
+ # @option options [Boolean] :enable_performance_insights
1380
+ # @option options [String] :performance_insights_kms_key_id
1367
1381
  # @return [DBInstance]
1368
1382
  def create(options = {})
1369
1383
  options = options.merge(db_instance_identifier: @id)
@@ -1400,6 +1414,8 @@ module Aws::RDS
1400
1414
  # kms_key_id: "String",
1401
1415
  # pre_signed_url: "String",
1402
1416
  # enable_iam_database_authentication: false,
1417
+ # enable_performance_insights: false,
1418
+ # performance_insights_kms_key_id: "String",
1403
1419
  # source_region: "String",
1404
1420
  # })
1405
1421
  # @param [Hash] options ({})
@@ -1612,6 +1628,8 @@ module Aws::RDS
1612
1628
  # * Aurora 5.6 or higher.
1613
1629
  #
1614
1630
  # Default: `false`
1631
+ # @option options [Boolean] :enable_performance_insights
1632
+ # @option options [String] :performance_insights_kms_key_id
1615
1633
  # @option options [String] :destination_region
1616
1634
  # @option options [String] :source_region
1617
1635
  # The source region of the snapshot. This is only needed when the
@@ -1757,6 +1775,8 @@ module Aws::RDS
1757
1775
  # domain_iam_role_name: "String",
1758
1776
  # promotion_tier: 1,
1759
1777
  # enable_iam_database_authentication: false,
1778
+ # enable_performance_insights: false,
1779
+ # performance_insights_kms_key_id: "String",
1760
1780
  # })
1761
1781
  # @param [Hash] options ({})
1762
1782
  # @option options [Integer] :allocated_storage
@@ -2281,6 +2301,8 @@ module Aws::RDS
2281
2301
  # * For MySQL 5.7, minor version 5.7.16 or higher
2282
2302
  #
2283
2303
  # Default: `false`
2304
+ # @option options [Boolean] :enable_performance_insights
2305
+ # @option options [String] :performance_insights_kms_key_id
2284
2306
  # @return [DBInstance]
2285
2307
  def modify(options = {})
2286
2308
  options = options.merge(db_instance_identifier: @id)
@@ -207,11 +207,19 @@ module Aws::RDS
207
207
  # cluster, then you can use the KMS key alias instead of the ARN for the
208
208
  # KMS encryption key.
209
209
  #
210
- # If the `StorageEncrypted` parameter is true, and you do not specify a
211
- # value for the `KmsKeyId` parameter, then Amazon RDS will use your
212
- # default encryption key. AWS KMS creates the default encryption key for
213
- # your AWS account. Your AWS account has a different default encryption
214
- # key for each AWS Region.
210
+ # If an encryption key is not specified in `KmsKeyId`\:
211
+ #
212
+ # * If `ReplicationSourceIdentifier` identifies an encrypted source,
213
+ # then Amazon RDS will use the encryption key used to encrypt the
214
+ # source. Otherwise, Amazon RDS will use your default encryption key.
215
+ #
216
+ # * If the `StorageEncrypted` parameter is true and
217
+ # `ReplicationSourceIdentifier` is not specified, then Amazon RDS will
218
+ # use your default encryption key.
219
+ #
220
+ # AWS KMS creates the default encryption key for your AWS account. Your
221
+ # AWS account has a different default encryption key for each AWS
222
+ # Region.
215
223
  #
216
224
  # If you create a Read Replica of an encrypted DB cluster in another AWS
217
225
  # Region, you must set `KmsKeyId` to a KMS key ID that is valid in the
@@ -371,6 +379,8 @@ module Aws::RDS
371
379
  # promotion_tier: 1,
372
380
  # timezone: "String",
373
381
  # enable_iam_database_authentication: false,
382
+ # enable_performance_insights: false,
383
+ # performance_insights_kms_key_id: "String",
374
384
  # })
375
385
  # @param [Hash] options ({})
376
386
  # @option options [String] :db_name
@@ -981,7 +991,7 @@ module Aws::RDS
981
991
  #
982
992
  # **PostgreSQL**
983
993
  #
984
- # * **Version 9.6.x:** ` 9.6.1 | 9.6.2`
994
+ # * **Version 9.6.x:** ` 9.6.1 | 9.6.2 | 9.6.3`
985
995
  #
986
996
  # * **Version 9.5.x:** `9.5.6 | 9.5.4 | 9.5.2`
987
997
  #
@@ -1163,6 +1173,8 @@ module Aws::RDS
1163
1173
  # * For MySQL 5.7, minor version 5.7.16 or higher
1164
1174
  #
1165
1175
  # Default: `false`
1176
+ # @option options [Boolean] :enable_performance_insights
1177
+ # @option options [String] :performance_insights_kms_key_id
1166
1178
  # @return [DBInstance]
1167
1179
  def create_db_instance(options = {})
1168
1180
  resp = @client.create_db_instance(options)
@@ -1262,11 +1262,20 @@ module Aws::RDS
1262
1262
  # cluster, then you can use the KMS key alias instead of the ARN for
1263
1263
  # the KMS encryption key.
1264
1264
  #
1265
- # If the `StorageEncrypted` parameter is true, and you do not specify
1266
- # a value for the `KmsKeyId` parameter, then Amazon RDS will use your
1267
- # default encryption key. AWS KMS creates the default encryption key
1268
- # for your AWS account. Your AWS account has a different default
1269
- # encryption key for each AWS Region.
1265
+ # If an encryption key is not specified in `KmsKeyId`\:
1266
+ #
1267
+ # * If `ReplicationSourceIdentifier` identifies an encrypted source,
1268
+ # then Amazon RDS will use the encryption key used to encrypt the
1269
+ # source. Otherwise, Amazon RDS will use your default encryption
1270
+ # key.
1271
+ #
1272
+ # * If the `StorageEncrypted` parameter is true and
1273
+ # `ReplicationSourceIdentifier` is not specified, then Amazon RDS
1274
+ # will use your default encryption key.
1275
+ #
1276
+ # AWS KMS creates the default encryption key for your AWS account.
1277
+ # Your AWS account has a different default encryption key for each AWS
1278
+ # Region.
1270
1279
  #
1271
1280
  # If you create a Read Replica of an encrypted DB cluster in another
1272
1281
  # AWS Region, you must set `KmsKeyId` to a KMS key ID that is valid in
@@ -1585,6 +1594,8 @@ module Aws::RDS
1585
1594
  # promotion_tier: 1,
1586
1595
  # timezone: "String",
1587
1596
  # enable_iam_database_authentication: false,
1597
+ # enable_performance_insights: false,
1598
+ # performance_insights_kms_key_id: "String",
1588
1599
  # }
1589
1600
  #
1590
1601
  # @!attribute [rw] db_name
@@ -2244,7 +2255,7 @@ module Aws::RDS
2244
2255
  #
2245
2256
  # **PostgreSQL**
2246
2257
  #
2247
- # * **Version 9.6.x:** ` 9.6.1 | 9.6.2`
2258
+ # * **Version 9.6.x:** ` 9.6.1 | 9.6.2 | 9.6.3`
2248
2259
  #
2249
2260
  # * **Version 9.5.x:** `9.5.6 | 9.5.4 | 9.5.2`
2250
2261
  #
@@ -2471,6 +2482,12 @@ module Aws::RDS
2471
2482
  # Default: `false`
2472
2483
  # @return [Boolean]
2473
2484
  #
2485
+ # @!attribute [rw] enable_performance_insights
2486
+ # @return [Boolean]
2487
+ #
2488
+ # @!attribute [rw] performance_insights_kms_key_id
2489
+ # @return [String]
2490
+ #
2474
2491
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceMessage AWS API Documentation
2475
2492
  #
2476
2493
  class CreateDBInstanceMessage < Struct.new(
@@ -2512,7 +2529,9 @@ module Aws::RDS
2512
2529
  :domain_iam_role_name,
2513
2530
  :promotion_tier,
2514
2531
  :timezone,
2515
- :enable_iam_database_authentication)
2532
+ :enable_iam_database_authentication,
2533
+ :enable_performance_insights,
2534
+ :performance_insights_kms_key_id)
2516
2535
  include Aws::Structure
2517
2536
  end
2518
2537
 
@@ -2543,6 +2562,8 @@ module Aws::RDS
2543
2562
  # kms_key_id: "String",
2544
2563
  # pre_signed_url: "String",
2545
2564
  # enable_iam_database_authentication: false,
2565
+ # enable_performance_insights: false,
2566
+ # performance_insights_kms_key_id: "String",
2546
2567
  # source_region: "String",
2547
2568
  # }
2548
2569
  #
@@ -2825,6 +2846,12 @@ module Aws::RDS
2825
2846
  # Default: `false`
2826
2847
  # @return [Boolean]
2827
2848
  #
2849
+ # @!attribute [rw] enable_performance_insights
2850
+ # @return [Boolean]
2851
+ #
2852
+ # @!attribute [rw] performance_insights_kms_key_id
2853
+ # @return [String]
2854
+ #
2828
2855
  # @!attribute [rw] destination_region
2829
2856
  # @return [String]
2830
2857
  #
@@ -2854,6 +2881,8 @@ module Aws::RDS
2854
2881
  :kms_key_id,
2855
2882
  :pre_signed_url,
2856
2883
  :enable_iam_database_authentication,
2884
+ :enable_performance_insights,
2885
+ :performance_insights_kms_key_id,
2857
2886
  :destination_region,
2858
2887
  :source_region)
2859
2888
  include Aws::Structure
@@ -4417,6 +4446,12 @@ module Aws::RDS
4417
4446
  # Aurora, see DBCluster Type.
4418
4447
  # @return [Boolean]
4419
4448
  #
4449
+ # @!attribute [rw] performance_insights_enabled
4450
+ # @return [Boolean]
4451
+ #
4452
+ # @!attribute [rw] performance_insights_kms_key_id
4453
+ # @return [String]
4454
+ #
4420
4455
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
4421
4456
  #
4422
4457
  class DBInstance < Struct.new(
@@ -4468,7 +4503,9 @@ module Aws::RDS
4468
4503
  :promotion_tier,
4469
4504
  :db_instance_arn,
4470
4505
  :timezone,
4471
- :iam_database_authentication_enabled)
4506
+ :iam_database_authentication_enabled,
4507
+ :performance_insights_enabled,
4508
+ :performance_insights_kms_key_id)
4472
4509
  include Aws::Structure
4473
4510
  end
4474
4511
 
@@ -8381,6 +8418,8 @@ module Aws::RDS
8381
8418
  # domain_iam_role_name: "String",
8382
8419
  # promotion_tier: 1,
8383
8420
  # enable_iam_database_authentication: false,
8421
+ # enable_performance_insights: false,
8422
+ # performance_insights_kms_key_id: "String",
8384
8423
  # }
8385
8424
  #
8386
8425
  # @!attribute [rw] db_instance_identifier
@@ -8991,6 +9030,12 @@ module Aws::RDS
8991
9030
  # Default: `false`
8992
9031
  # @return [Boolean]
8993
9032
  #
9033
+ # @!attribute [rw] enable_performance_insights
9034
+ # @return [Boolean]
9035
+ #
9036
+ # @!attribute [rw] performance_insights_kms_key_id
9037
+ # @return [String]
9038
+ #
8994
9039
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceMessage AWS API Documentation
8995
9040
  #
8996
9041
  class ModifyDBInstanceMessage < Struct.new(
@@ -9026,7 +9071,9 @@ module Aws::RDS
9026
9071
  :monitoring_role_arn,
9027
9072
  :domain_iam_role_name,
9028
9073
  :promotion_tier,
9029
- :enable_iam_database_authentication)
9074
+ :enable_iam_database_authentication,
9075
+ :enable_performance_insights,
9076
+ :performance_insights_kms_key_id)
9030
9077
  include Aws::Structure
9031
9078
  end
9032
9079
 
@@ -9192,6 +9239,7 @@ module Aws::RDS
9192
9239
  # {
9193
9240
  # db_snapshot_identifier: "String", # required
9194
9241
  # engine_version: "String",
9242
+ # option_group_name: "String",
9195
9243
  # }
9196
9244
  #
9197
9245
  # @!attribute [rw] db_snapshot_identifier
@@ -9202,11 +9250,15 @@ module Aws::RDS
9202
9250
  # The engine version to update the DB snapshot to.
9203
9251
  # @return [String]
9204
9252
  #
9253
+ # @!attribute [rw] option_group_name
9254
+ # @return [String]
9255
+ #
9205
9256
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotMessage AWS API Documentation
9206
9257
  #
9207
9258
  class ModifyDBSnapshotMessage < Struct.new(
9208
9259
  :db_snapshot_identifier,
9209
- :engine_version)
9260
+ :engine_version,
9261
+ :option_group_name)
9210
9262
  include Aws::Structure
9211
9263
  end
9212
9264
 
@@ -9964,6 +10016,9 @@ module Aws::RDS
9964
10016
  # authentication.
9965
10017
  # @return [Boolean]
9966
10018
  #
10019
+ # @!attribute [rw] supports_performance_insights
10020
+ # @return [Boolean]
10021
+ #
9967
10022
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOption AWS API Documentation
9968
10023
  #
9969
10024
  class OrderableDBInstanceOption < Struct.new(
@@ -9979,7 +10034,8 @@ module Aws::RDS
9979
10034
  :storage_type,
9980
10035
  :supports_iops,
9981
10036
  :supports_enhanced_monitoring,
9982
- :supports_iam_database_authentication)
10037
+ :supports_iam_database_authentication,
10038
+ :supports_performance_insights)
9983
10039
  include Aws::Structure
9984
10040
  end
9985
10041
 
@@ -11320,8 +11376,8 @@ module Aws::RDS
11320
11376
  # @return [Array<String>]
11321
11377
  #
11322
11378
  # @!attribute [rw] db_cluster_identifier
11323
- # The name of the DB cluster to create from the DB cluster snapshot.
11324
- # This parameter isn't case-sensitive.
11379
+ # The name of the DB cluster to create from the DB snapshot or DB
11380
+ # cluster snapshot. This parameter isn't case-sensitive.
11325
11381
  #
11326
11382
  # Constraints:
11327
11383
  #
@@ -11335,7 +11391,12 @@ module Aws::RDS
11335
11391
  # @return [String]
11336
11392
  #
11337
11393
  # @!attribute [rw] snapshot_identifier
11338
- # The identifier for the DB cluster snapshot to restore from.
11394
+ # The identifier for the DB snapshot or DB cluster snapshot to restore
11395
+ # from.
11396
+ #
11397
+ # You can use either the name or the Amazon Resource Name (ARN) to
11398
+ # specify a DB cluster snapshot. However, you can use only the ARN to
11399
+ # specify a DB snapshot.
11339
11400
  #
11340
11401
  # Constraints:
11341
11402
  #
@@ -11394,7 +11455,7 @@ module Aws::RDS
11394
11455
  #
11395
11456
  # @!attribute [rw] kms_key_id
11396
11457
  # The KMS key identifier to use when restoring an encrypted DB cluster
11397
- # from a DB cluster snapshot.
11458
+ # from a DB snapshot or DB cluster snapshot.
11398
11459
  #
11399
11460
  # The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
11400
11461
  # encryption key. If you are restoring a DB cluster with the same AWS
@@ -11405,12 +11466,13 @@ module Aws::RDS
11405
11466
  # If you do not specify a value for the `KmsKeyId` parameter, then the
11406
11467
  # following will occur:
11407
11468
  #
11408
- # * If the DB cluster snapshot is encrypted, then the restored DB
11409
- # cluster is encrypted using the KMS key that was used to encrypt
11410
- # the DB cluster snapshot.
11469
+ # * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier`
11470
+ # is encrypted, then the restored DB cluster is encrypted using the
11471
+ # KMS key that was used to encrypt the DB snapshot or DB cluster
11472
+ # snapshot.
11411
11473
  #
11412
- # * If the DB cluster snapshot is not encrypted, then the restored DB
11413
- # cluster is encrypted using the specified encryption key.
11474
+ # * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier`
11475
+ # is not encrypted, then the restored DB cluster is not encrypted.
11414
11476
  # @return [String]
11415
11477
  #
11416
11478
  # @!attribute [rw] enable_iam_database_authentication
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.2.0
4
+ version: 1.3.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: 2017-09-14 00:00:00.000000000 Z
11
+ date: 2017-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4