aws-sdk-rds 1.0.0.rc5 → 1.0.0.rc6

Sign up to get free protection for your applications and to get access to all the features.
@@ -526,6 +526,7 @@ module Aws::RDS
526
526
  CreateDBClusterMessage.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
527
527
  CreateDBClusterMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
528
528
  CreateDBClusterMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
529
+ CreateDBClusterMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
529
530
  CreateDBClusterMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
530
531
  CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
531
532
  CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
@@ -588,6 +589,7 @@ module Aws::RDS
588
589
  CreateDBInstanceMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
589
590
  CreateDBInstanceMessage.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
590
591
  CreateDBInstanceMessage.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
592
+ CreateDBInstanceMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
591
593
  CreateDBInstanceMessage.struct_class = Types::CreateDBInstanceMessage
592
594
 
593
595
  CreateDBInstanceReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
@@ -607,6 +609,7 @@ module Aws::RDS
607
609
  CreateDBInstanceReadReplicaMessage.add_member(:monitoring_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "MonitoringRoleArn"))
608
610
  CreateDBInstanceReadReplicaMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
609
611
  CreateDBInstanceReadReplicaMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
612
+ CreateDBInstanceReadReplicaMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
610
613
  CreateDBInstanceReadReplicaMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
611
614
  CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
612
615
  CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
@@ -705,6 +708,7 @@ module Aws::RDS
705
708
  DBCluster.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
706
709
  DBCluster.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
707
710
  DBCluster.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterRoles, location_name: "AssociatedRoles"))
711
+ DBCluster.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
708
712
  DBCluster.add_member(:cluster_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ClusterCreateTime"))
709
713
  DBCluster.struct_class = Types::DBCluster
710
714
 
@@ -771,6 +775,8 @@ module Aws::RDS
771
775
  DBClusterSnapshot.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "StorageEncrypted"))
772
776
  DBClusterSnapshot.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
773
777
  DBClusterSnapshot.add_member(:db_cluster_snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterSnapshotArn"))
778
+ DBClusterSnapshot.add_member(:source_db_cluster_snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterSnapshotArn"))
779
+ DBClusterSnapshot.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
774
780
  DBClusterSnapshot.struct_class = Types::DBClusterSnapshot
775
781
 
776
782
  DBClusterSnapshotAttribute.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "AttributeName"))
@@ -854,6 +860,7 @@ module Aws::RDS
854
860
  DBInstance.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
855
861
  DBInstance.add_member(:db_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceArn"))
856
862
  DBInstance.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
863
+ DBInstance.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
857
864
  DBInstance.struct_class = Types::DBInstance
858
865
 
859
866
  DBInstanceList.member = Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance")
@@ -943,6 +950,7 @@ module Aws::RDS
943
950
  DBSnapshot.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
944
951
  DBSnapshot.add_member(:db_snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBSnapshotArn"))
945
952
  DBSnapshot.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
953
+ DBSnapshot.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
946
954
  DBSnapshot.struct_class = Types::DBSnapshot
947
955
 
948
956
  DBSnapshotAttribute.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "AttributeName"))
@@ -1362,6 +1370,7 @@ module Aws::RDS
1362
1370
  ModifyDBClusterMessage.add_member(:option_group_name, Shapes::ShapeRef.new(shape: String, location_name: "OptionGroupName"))
1363
1371
  ModifyDBClusterMessage.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
1364
1372
  ModifyDBClusterMessage.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredMaintenanceWindow"))
1373
+ ModifyDBClusterMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
1365
1374
  ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
1366
1375
 
1367
1376
  ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
@@ -1412,6 +1421,7 @@ module Aws::RDS
1412
1421
  ModifyDBInstanceMessage.add_member(:monitoring_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "MonitoringRoleArn"))
1413
1422
  ModifyDBInstanceMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
1414
1423
  ModifyDBInstanceMessage.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
1424
+ ModifyDBInstanceMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
1415
1425
  ModifyDBInstanceMessage.struct_class = Types::ModifyDBInstanceMessage
1416
1426
 
1417
1427
  ModifyDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -1579,6 +1589,7 @@ module Aws::RDS
1579
1589
  OrderableDBInstanceOption.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
1580
1590
  OrderableDBInstanceOption.add_member(:supports_iops, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsIops"))
1581
1591
  OrderableDBInstanceOption.add_member(:supports_enhanced_monitoring, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsEnhancedMonitoring"))
1592
+ OrderableDBInstanceOption.add_member(:supports_iam_database_authentication, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsIAMDatabaseAuthentication"))
1582
1593
  OrderableDBInstanceOption.struct_class = Types::OrderableDBInstanceOption
1583
1594
 
1584
1595
  OrderableDBInstanceOptionsList.member = Shapes::ShapeRef.new(shape: OrderableDBInstanceOption, location_name: "OrderableDBInstanceOption")
@@ -1763,6 +1774,7 @@ module Aws::RDS
1763
1774
  RestoreDBClusterFromS3Message.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1764
1775
  RestoreDBClusterFromS3Message.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
1765
1776
  RestoreDBClusterFromS3Message.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
1777
+ RestoreDBClusterFromS3Message.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
1766
1778
  RestoreDBClusterFromS3Message.add_member(:source_engine, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceEngine"))
1767
1779
  RestoreDBClusterFromS3Message.add_member(:source_engine_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceEngineVersion"))
1768
1780
  RestoreDBClusterFromS3Message.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketName"))
@@ -1785,6 +1797,7 @@ module Aws::RDS
1785
1797
  RestoreDBClusterFromSnapshotMessage.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "VpcSecurityGroupIds"))
1786
1798
  RestoreDBClusterFromSnapshotMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1787
1799
  RestoreDBClusterFromSnapshotMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
1800
+ RestoreDBClusterFromSnapshotMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
1788
1801
  RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
1789
1802
 
1790
1803
  RestoreDBClusterFromSnapshotResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
@@ -1800,6 +1813,7 @@ module Aws::RDS
1800
1813
  RestoreDBClusterToPointInTimeMessage.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "VpcSecurityGroupIds"))
1801
1814
  RestoreDBClusterToPointInTimeMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1802
1815
  RestoreDBClusterToPointInTimeMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
1816
+ RestoreDBClusterToPointInTimeMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
1803
1817
  RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
1804
1818
 
1805
1819
  RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
@@ -1826,6 +1840,7 @@ module Aws::RDS
1826
1840
  RestoreDBInstanceFromDBSnapshotMessage.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
1827
1841
  RestoreDBInstanceFromDBSnapshotMessage.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
1828
1842
  RestoreDBInstanceFromDBSnapshotMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
1843
+ RestoreDBInstanceFromDBSnapshotMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
1829
1844
  RestoreDBInstanceFromDBSnapshotMessage.struct_class = Types::RestoreDBInstanceFromDBSnapshotMessage
1830
1845
 
1831
1846
  RestoreDBInstanceFromDBSnapshotResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -1854,6 +1869,7 @@ module Aws::RDS
1854
1869
  RestoreDBInstanceToPointInTimeMessage.add_member(:tde_credential_password, Shapes::ShapeRef.new(shape: String, location_name: "TdeCredentialPassword"))
1855
1870
  RestoreDBInstanceToPointInTimeMessage.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
1856
1871
  RestoreDBInstanceToPointInTimeMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
1872
+ RestoreDBInstanceToPointInTimeMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
1857
1873
  RestoreDBInstanceToPointInTimeMessage.struct_class = Types::RestoreDBInstanceToPointInTimeMessage
1858
1874
 
1859
1875
  RestoreDBInstanceToPointInTimeResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -2983,22 +2999,21 @@ module Aws::RDS
2983
2999
  o.input = Shapes::ShapeRef.new(shape: RestoreDBClusterToPointInTimeMessage)
2984
3000
  o.output = Shapes::ShapeRef.new(shape: RestoreDBClusterToPointInTimeResult)
2985
3001
  o.errors << Shapes::ShapeRef.new(shape: DBClusterAlreadyExistsFault)
2986
- o.errors << Shapes::ShapeRef.new(shape: DBClusterQuotaExceededFault)
2987
- o.errors << Shapes::ShapeRef.new(shape: StorageQuotaExceededFault)
2988
- o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
2989
3002
  o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
3003
+ o.errors << Shapes::ShapeRef.new(shape: DBClusterQuotaExceededFault)
2990
3004
  o.errors << Shapes::ShapeRef.new(shape: DBClusterSnapshotNotFoundFault)
3005
+ o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
2991
3006
  o.errors << Shapes::ShapeRef.new(shape: InsufficientDBClusterCapacityFault)
2992
3007
  o.errors << Shapes::ShapeRef.new(shape: InsufficientStorageClusterCapacityFault)
2993
- o.errors << Shapes::ShapeRef.new(shape: InvalidDBSnapshotStateFault)
2994
3008
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterSnapshotStateFault)
2995
- o.errors << Shapes::ShapeRef.new(shape: StorageQuotaExceededFault)
2996
- o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
3009
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
3010
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBSnapshotStateFault)
2997
3011
  o.errors << Shapes::ShapeRef.new(shape: InvalidRestoreFault)
2998
- o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
2999
3012
  o.errors << Shapes::ShapeRef.new(shape: InvalidSubnet)
3000
- o.errors << Shapes::ShapeRef.new(shape: OptionGroupNotFoundFault)
3013
+ o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
3001
3014
  o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
3015
+ o.errors << Shapes::ShapeRef.new(shape: OptionGroupNotFoundFault)
3016
+ o.errors << Shapes::ShapeRef.new(shape: StorageQuotaExceededFault)
3002
3017
  end)
3003
3018
 
3004
3019
  api.add_operation(:restore_db_instance_from_db_snapshot, Seahorse::Model::Operation.new.tap do |o|
@@ -1,7 +1,2 @@
1
- # WARNING ABOUT GENERATED CODE
2
- #
3
- # This file is generated. See the contributing for info on making contributions:
4
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
- #
6
- # WARNING ABOUT GENERATED CODE
7
-
1
+ # customizations to generated classes
2
+ require 'aws-sdk-rds/customizations/auth_token_generator'
@@ -0,0 +1,63 @@
1
+ require 'aws-sigv4'
2
+
3
+ module Aws
4
+ module RDS
5
+
6
+ # The utility class helps generate an auth token that supports database login
7
+ # It provides a method:
8
+ #
9
+ # * {#auth_token} - Computes a login token which is similar to
10
+ # a presigned url
11
+ class AuthTokenGenerator
12
+
13
+ # @option options [required, Credentials] :credentials
14
+ # You need provide an object that responds to `#credentials`
15
+ # returning another object that responds to `#access_key_id`, `#secret_access_key`,
16
+ # and `#session_token`.
17
+ #
18
+ # For example, you could provide an instance of following classes:
19
+ # * `Aws::Credentials`
20
+ # * `Aws::SharedCredentials`
21
+ # * `Aws::InstanceProfileCredentials`
22
+ # * `Aws::AssumeRoleCredentials`
23
+ # * `Aws::ECSCredentials`
24
+ def initialize(options = {})
25
+ @credentials = options.fetch(:credentials)
26
+ end
27
+
28
+ # To create a auth login token, following parameters are required:
29
+ #
30
+ # @params [required, String] :region Region the databaseis located in
31
+ # @params [required, String] :endpoint Hostname of the database with port number
32
+ # For example: my-instance.us-west-2.rds.amazonaws.com:3306
33
+ # @params [required, String] :user_name Username to login as
34
+ #
35
+ # @return [String]
36
+ def auth_token(params)
37
+ region = params.fetch(:region)
38
+ endpoint = params.fetch(:endpoint)
39
+ user_name = params.fetch(:user_name)
40
+
41
+ param_list = Aws::Query::ParamList.new
42
+ param_list.set('Action', 'connect')
43
+ param_list.set('DBUser', user_name)
44
+
45
+ signer = Aws::Sigv4::Signer.new(
46
+ service: 'rds-db',
47
+ region: region,
48
+ credentials_provider: @credentials
49
+ )
50
+ url = "https://" + endpoint + "/?#{param_list.to_s}"
51
+ presigned_url = signer.presign_url(
52
+ http_method: 'GET',
53
+ url: url,
54
+ body: '',
55
+ expires_in: 900
56
+ ).to_s
57
+ # Remove extra scheme for token
58
+ presigned_url[8..-1]
59
+ end
60
+
61
+ end
62
+ end
63
+ end
@@ -31,7 +31,10 @@ module Aws::RDS
31
31
  end
32
32
  alias :db_cluster_identifier :id
33
33
 
34
- # Specifies the allocated storage size in gigabytes (GB).
34
+ # For all database engines except Amazon Aurora, `AllocatedStorage`
35
+ # specifies the allocated storage size in gigabytes (GB). For Aurora,
36
+ # `AllocatedStorage` always returns 1, because Aurora DB cluster storage
37
+ # size is not fixed, but instead automatically adjusts as needed.
35
38
  # @return [Integer]
36
39
  def allocated_storage
37
40
  data.allocated_storage
@@ -117,7 +120,7 @@ module Aws::RDS
117
120
  # If a failover occurs, and the Aurora Replica that you are connected to
118
121
  # is promoted to be the primary instance, your connection will be
119
122
  # dropped. To continue sending your read workload to other Aurora
120
- # Replicas in the cluster, you can then recoonect to the reader
123
+ # Replicas in the cluster, you can then reconnect to the reader
121
124
  # endpoint.
122
125
  # @return [String]
123
126
  def reader_endpoint
@@ -253,6 +256,13 @@ module Aws::RDS
253
256
  data.associated_roles
254
257
  end
255
258
 
259
+ # True if mapping of AWS Identity and Access Management (IAM) accounts
260
+ # to database accounts is enabled; otherwise false.
261
+ # @return [Boolean]
262
+ def iam_database_authentication_enabled
263
+ data.iam_database_authentication_enabled
264
+ end
265
+
256
266
  # Specifies the time when the DB cluster was created, in Universal
257
267
  # Coordinated Time (UTC).
258
268
  # @return [Time]
@@ -325,6 +335,7 @@ module Aws::RDS
325
335
  # storage_encrypted: false,
326
336
  # kms_key_id: "String",
327
337
  # pre_signed_url: "String",
338
+ # enable_iam_database_authentication: false,
328
339
  # source_region: "String",
329
340
  # })
330
341
  # @param [Hash] options ({})
@@ -517,6 +528,12 @@ module Aws::RDS
517
528
  #
518
529
  # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
519
530
  # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
531
+ # @option options [Boolean] :enable_iam_database_authentication
532
+ # A Boolean value that is true to enable mapping of AWS Identity and
533
+ # Access Management (IAM) accounts to database accounts, and otherwise
534
+ # false.
535
+ #
536
+ # Default: `false`
520
537
  # @option options [String] :destination_region
521
538
  # @option options [String] :source_region
522
539
  # The source region of the snapshot. This is only needed when the
@@ -652,6 +669,7 @@ module Aws::RDS
652
669
  # option_group_name: "String",
653
670
  # preferred_backup_window: "String",
654
671
  # preferred_maintenance_window: "String",
672
+ # enable_iam_database_authentication: false,
655
673
  # })
656
674
  # @param [Hash] options ({})
657
675
  # @option options [String] :new_db_cluster_identifier
@@ -697,7 +715,7 @@ module Aws::RDS
697
715
  # @option options [String] :db_cluster_parameter_group_name
698
716
  # The name of the DB cluster parameter group to use for the DB cluster.
699
717
  # @option options [Array<String>] :vpc_security_group_ids
700
- # A lst of VPC security groups that the DB cluster will belong to.
718
+ # A list of VPC security groups that the DB cluster will belong to.
701
719
  # @option options [Integer] :port
702
720
  # The port number on which the DB cluster accepts connections.
703
721
  #
@@ -762,6 +780,12 @@ module Aws::RDS
762
780
  #
763
781
  #
764
782
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html
783
+ # @option options [Boolean] :enable_iam_database_authentication
784
+ # A Boolean value that is true to enable mapping of AWS Identity and
785
+ # Access Management (IAM) accounts to database accounts, and otherwise
786
+ # false.
787
+ #
788
+ # Default: `false`
765
789
  # @return [DBCluster]
766
790
  def modify(options = {})
767
791
  options = options.merge(db_cluster_identifier: @id)
@@ -790,6 +814,7 @@ module Aws::RDS
790
814
  # },
791
815
  # ],
792
816
  # kms_key_id: "String",
817
+ # enable_iam_database_authentication: false,
793
818
  # })
794
819
  # @param [Hash] options ({})
795
820
  # @option options [required, String] :db_cluster_identifier
@@ -869,6 +894,12 @@ module Aws::RDS
869
894
  #
870
895
  # If `DBClusterIdentifier` refers to a DB cluster that is note
871
896
  # encrypted, then the restore request is rejected.
897
+ # @option options [Boolean] :enable_iam_database_authentication
898
+ # A Boolean value that is true to enable mapping of AWS Identity and
899
+ # Access Management (IAM) accounts to database accounts, and otherwise
900
+ # false.
901
+ #
902
+ # Default: `false`
872
903
  # @return [DBCluster]
873
904
  def restore(options = {})
874
905
  options = options.merge(source_db_cluster_identifier: @id)
@@ -143,6 +143,21 @@ module Aws::RDS
143
143
  data.db_cluster_snapshot_arn
144
144
  end
145
145
 
146
+ # If the DB cluster snapshot was copied from a source DB cluster
147
+ # snapshot, the Amazon Resource Name (ARN) for the source DB cluster
148
+ # snapshot; otherwise, a null value.
149
+ # @return [String]
150
+ def source_db_cluster_snapshot_arn
151
+ data.source_db_cluster_snapshot_arn
152
+ end
153
+
154
+ # True if mapping of AWS Identity and Access Management (IAM) accounts
155
+ # to database accounts is enabled; otherwise false.
156
+ # @return [Boolean]
157
+ def iam_database_authentication_enabled
158
+ data.iam_database_authentication_enabled
159
+ end
160
+
146
161
  # @!endgroup
147
162
 
148
163
  # @return [Client]
@@ -300,6 +315,8 @@ module Aws::RDS
300
315
  # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
301
316
  # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
302
317
  # @option options [Boolean] :copy_tags
318
+ # True to copy all tags from the source DB cluster snapshot to the
319
+ # target DB cluster snapshot; otherwise false. The default is false.
303
320
  # @option options [Array<Types::Tag>] :tags
304
321
  # A list of tags.
305
322
  # @option options [String] :destination_region
@@ -353,6 +370,7 @@ module Aws::RDS
353
370
  # },
354
371
  # ],
355
372
  # kms_key_id: "String",
373
+ # enable_iam_database_authentication: false,
356
374
  # })
357
375
  # @param [Hash] options ({})
358
376
  # @option options [Array<String>] :availability_zones
@@ -419,6 +437,12 @@ module Aws::RDS
419
437
  #
420
438
  # * If the DB cluster snapshot is not encrypted, then the restored DB
421
439
  # cluster is encrypted using the specified encryption key.
440
+ # @option options [Boolean] :enable_iam_database_authentication
441
+ # A Boolean value that is true to enable mapping of AWS Identity and
442
+ # Access Management (IAM) accounts to database accounts, and otherwise
443
+ # false.
444
+ #
445
+ # Default: `false`
422
446
  # @return [DBCluster]
423
447
  def restore(options = {})
424
448
  options = options.merge(snapshot_identifier: @snapshot_id)
@@ -62,7 +62,7 @@ module Aws::RDS
62
62
  # information when returning values from CreateDBInstanceReadReplica
63
63
  # since Read Replicas are only supported for these engines.
64
64
  #
65
- # **MySQL, MariaDB, SQL Server, PostgreSQL, Amazon Aurora**
65
+ # **MySQL, MariaDB, SQL Server, PostgreSQL**
66
66
  #
67
67
  # Contains the name of the initial database of this instance that was
68
68
  # provided at create time, if one was specified when the DB instance was
@@ -390,6 +390,23 @@ module Aws::RDS
390
390
  data.timezone
391
391
  end
392
392
 
393
+ # True if mapping of AWS Identity and Access Management (IAM) accounts
394
+ # to database accounts is enabled; otherwise false.
395
+ #
396
+ # IAM database authentication can be enabled for the following database
397
+ # engines
398
+ #
399
+ # * For MySQL 5.6, minor version 5.6.34 or higher
400
+ #
401
+ # * For MySQL 5.7, minor version 5.7.16 or higher
402
+ #
403
+ # * Aurora 5.6 or higher. To enable IAM database authentication for
404
+ # Aurora, see DBCluster Type.
405
+ # @return [Boolean]
406
+ def iam_database_authentication_enabled
407
+ data.iam_database_authentication_enabled
408
+ end
409
+
393
410
  # @!endgroup
394
411
 
395
412
  # @return [Client]
@@ -472,6 +489,7 @@ module Aws::RDS
472
489
  # domain_iam_role_name: "String",
473
490
  # promotion_tier: 1,
474
491
  # timezone: "String",
492
+ # enable_iam_database_authentication: false,
475
493
  # })
476
494
  # @param [Hash] options ({})
477
495
  # @option options [String] :db_name
@@ -552,6 +570,12 @@ module Aws::RDS
552
570
  #
553
571
  # Type: Integer
554
572
  #
573
+ # **Amazon Aurora**
574
+ #
575
+ # Not applicable. Aurora cluster volumes automatically grow as the
576
+ # amount of data in your database increases, though you are only charged
577
+ # for the space that you use in an Aurora cluster volume.
578
+ #
555
579
  # **MySQL**
556
580
  #
557
581
  # Constraints: Must be an integer from 5 to 6144.
@@ -593,43 +617,46 @@ module Aws::RDS
593
617
  #
594
618
  # Not every database engine is available for every AWS region.
595
619
  # @option options [String] :master_username
596
- # The name of master user for the client DB instance.
620
+ # The name for the master database user.
597
621
  #
598
- # **MySQL**
622
+ # **Amazon Aurora**
623
+ #
624
+ # Not applicable. You specify the name for the master database user when
625
+ # you create your DB cluster.
626
+ #
627
+ # **MariaDB**
599
628
  #
600
629
  # Constraints:
601
630
  #
602
631
  # * Must be 1 to 16 alphanumeric characters.
603
632
  #
604
- # * First character must be a letter.
605
- #
606
633
  # * Cannot be a reserved word for the chosen database engine.
607
634
  #
608
- # **MariaDB**
635
+ # **Microsoft SQL Server**
609
636
  #
610
637
  # Constraints:
611
638
  #
612
- # * Must be 1 to 16 alphanumeric characters.
639
+ # * Must be 1 to 128 alphanumeric characters.
613
640
  #
614
- # * Cannot be a reserved word for the chosen database engine.
641
+ # * First character must be a letter.
615
642
  #
616
- # Type: String
643
+ # * Cannot be a reserved word for the chosen database engine.
617
644
  #
618
- # **Oracle**
645
+ # **MySQL**
619
646
  #
620
647
  # Constraints:
621
648
  #
622
- # * Must be 1 to 30 alphanumeric characters.
649
+ # * Must be 1 to 16 alphanumeric characters.
623
650
  #
624
651
  # * First character must be a letter.
625
652
  #
626
653
  # * Cannot be a reserved word for the chosen database engine.
627
654
  #
628
- # **SQL Server**
655
+ # **Oracle**
629
656
  #
630
657
  # Constraints:
631
658
  #
632
- # * Must be 1 to 128 alphanumeric characters.
659
+ # * Must be 1 to 30 alphanumeric characters.
633
660
  #
634
661
  # * First character must be a letter.
635
662
  #
@@ -648,13 +675,20 @@ module Aws::RDS
648
675
  # The password for the master database user. Can be any printable ASCII
649
676
  # character except "/", """, or "@".
650
677
  #
651
- # Type: String
678
+ # **Amazon Aurora**
652
679
  #
653
- # **MySQL**
680
+ # Not applicable. You specify the password for the master database user
681
+ # when you create your DB cluster.
682
+ #
683
+ # **MariaDB**
654
684
  #
655
685
  # Constraints: Must contain from 8 to 41 characters.
656
686
  #
657
- # **MariaDB**
687
+ # **Microsoft SQL Server**
688
+ #
689
+ # Constraints: Must contain from 8 to 128 characters.
690
+ #
691
+ # **MySQL**
658
692
  #
659
693
  # Constraints: Must contain from 8 to 41 characters.
660
694
  #
@@ -662,17 +696,9 @@ module Aws::RDS
662
696
  #
663
697
  # Constraints: Must contain from 8 to 30 characters.
664
698
  #
665
- # **SQL Server**
666
- #
667
- # Constraints: Must contain from 8 to 128 characters.
668
- #
669
699
  # **PostgreSQL**
670
700
  #
671
701
  # Constraints: Must contain from 8 to 128 characters.
672
- #
673
- # **Amazon Aurora**
674
- #
675
- # Constraints: Must contain from 8 to 41 characters.
676
702
  # @option options [Array<String>] :db_security_groups
677
703
  # A list of DB security groups to associate with this DB instance.
678
704
  #
@@ -754,7 +780,7 @@ module Aws::RDS
754
780
  #
755
781
  # Default: A 30-minute window selected at random from an 8-hour block of
756
782
  # time per region. To see the time blocks available, see [ Adjusting the
757
- # Preferred Maintenance Window][2] in the *Amazon RDS User Guide.*
783
+ # Preferred DB Instance Maintenance Window][2].
758
784
  #
759
785
  # Constraints:
760
786
  #
@@ -769,7 +795,7 @@ module Aws::RDS
769
795
  #
770
796
  #
771
797
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.BackingUpAndRestoringAmazonRDSInstances.html
772
- # [2]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html
798
+ # [2]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow
773
799
  # @option options [Integer] :port
774
800
  # The port number on which the database accepts connections.
775
801
  #
@@ -920,120 +946,11 @@ module Aws::RDS
920
946
  # ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-east-1,
921
947
  # us-gov-west-1, us-west-1, us-west-2):** ` 5.1.73a | 5.1.73b`
922
948
  #
923
- # **Oracle Database Enterprise Edition (oracle-ee)**
924
- #
925
- # * **Version 12.1 (available in all AWS regions except ap-south-1,
926
- # ap-northeast-2):** ` 12.1.0.1.v1 | 12.1.0.1.v2`
927
- #
928
- # * **Version 12.1 (only available in AWS regions ap-northeast-1,
929
- # ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1,
930
- # us-east-1, us-west-1, us-west-2):** ` 12.1.0.1.v3 | 12.1.0.1.v4 |
931
- # 12.1.0.1.v5`
932
- #
933
- # * **Version 12.1 (available in all AWS regions):** ` 12.1.0.2.v1`
934
- #
935
- # * **Version 12.1 (available in all AWS regions except
936
- # us-gov-west-1):** ` 12.1.0.2.v2 | 12.1.0.2.v3 | 12.1.0.2.v4`
937
- #
938
- # * **Version 11.2 (only available in AWS regions ap-northeast-1,
939
- # ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-east-1,
940
- # us-gov-west-1, us-west-1, us-west-2):** ` 11.2.0.2.v3 | 11.2.0.2.v4
941
- # | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7`
942
- #
943
- # * **Version 11.2 (available in all AWS regions except ap-south-1,
944
- # ap-northeast-2):** ` 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.3.v3`
945
- #
946
- # * **Version 11.2 (only available in AWS regions ap-northeast-1,
947
- # ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1,
948
- # us-east-1, us-west-1, us-west-2):** ` 11.2.0.3.v4`
949
- #
950
- # * **Version 11.2 (available in all AWS regions):** ` 11.2.0.4.v1 |
951
- # 11.2.0.4.v3 | 11.2.0.4.v4`
952
- #
953
- # * **Version 11.2 (available in all AWS regions except
954
- # us-gov-west-1):** ` 11.2.0.4.v5 | 11.2.0.4.v6 | 11.2.0.4.v7 |
955
- # 11.2.0.4.v8`
956
- #
957
- # **Oracle Database Standard Edition (oracle-se)**
958
- #
959
- # * **Version 12.1 (available in all AWS regions except ap-south-1,
960
- # ap-northeast-2):** ` 12.1.0.1.v1 | 12.1.0.1.v2`
961
- #
962
- # * **Version 12.1 (only available in AWS regions ap-northeast-1,
963
- # ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1,
964
- # us-east-1, us-west-1, us-west-2):** ` 12.1.0.1.v3 | 12.1.0.1.v4 |
965
- # 12.1.0.1.v5`
966
- #
967
- # * **Version 11.2 (only available in AWS regions ap-northeast-1,
968
- # ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-east-1,
969
- # us-gov-west-1, us-west-1, us-west-2):** ` 11.2.0.2.v3 | 11.2.0.2.v4
970
- # | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7`
971
- #
972
- # * **Version 11.2 (available in all AWS regions except ap-south-1,
973
- # ap-northeast-2):** ` 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.3.v3`
974
- #
975
- # * **Version 11.2 (only available in AWS regions ap-northeast-1,
976
- # ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1,
977
- # us-east-1, us-west-1, us-west-2):** ` 11.2.0.3.v4`
978
- #
979
- # * **Version 11.2 (available in all AWS regions):** ` 11.2.0.4.v1 |
980
- # 11.2.0.4.v3 | 11.2.0.4.v4`
981
- #
982
- # * **Version 11.2 (available in all AWS regions except
983
- # us-gov-west-1):** ` 11.2.0.4.v5 | 11.2.0.4.v6 | 11.2.0.4.v7 |
984
- # 11.2.0.4.v8`
985
- #
986
- # **Oracle Database Standard Edition One (oracle-se1)**
987
- #
988
- # * **Version 12.1 (available in all AWS regions except ap-south-1,
989
- # ap-northeast-2):** ` 12.1.0.1.v1 | 12.1.0.1.v2`
990
- #
991
- # * **Version 12.1 (only available in AWS regions ap-northeast-1,
992
- # ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1,
993
- # us-east-1, us-west-1, us-west-2):** ` 12.1.0.1.v3 | 12.1.0.1.v4 |
994
- # 12.1.0.1.v5`
995
- #
996
- # * **Version 11.2 (only available in AWS regions ap-northeast-1,
997
- # ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-east-1,
998
- # us-gov-west-1, us-west-1, us-west-2):** ` 11.2.0.2.v3 | 11.2.0.2.v4
999
- # | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7`
1000
- #
1001
- # * **Version 11.2 (available in all AWS regions except ap-south-1,
1002
- # ap-northeast-2):** ` 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.3.v3`
1003
- #
1004
- # * **Version 11.2 (only available in AWS regions ap-northeast-1,
1005
- # ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1,
1006
- # us-east-1, us-west-1, us-west-2):** ` 11.2.0.3.v4`
1007
- #
1008
- # * **Version 11.2 (available in all AWS regions):** ` 11.2.0.4.v1 |
1009
- # 11.2.0.4.v3 | 11.2.0.4.v4`
1010
- #
1011
- # * **Version 11.2 (available in all AWS regions except
1012
- # us-gov-west-1):** ` 11.2.0.4.v5 | 11.2.0.4.v6 | 11.2.0.4.v7 |
1013
- # 11.2.0.4.v8`
1014
- #
1015
- # **Oracle Database Standard Edition Two (oracle-se2)**
1016
- #
1017
- # * **Version 12.1 (available in all AWS regions except
1018
- # us-gov-west-1):** ` 12.1.0.2.v2 | 12.1.0.2.v3 | 12.1.0.2.v4`
1019
- #
1020
- # ^
1021
- #
1022
- # **PostgreSQL**
1023
- #
1024
- # * **Version 9.6:** ` 9.6.1`
1025
- #
1026
- # * **Version 9.5:** `9.5.4 | 9.5.2`
1027
- #
1028
- # * **Version 9.4:** ` 9.4.9 | 9.4.7 | 9.4.5 | 9.4.4 | 9.4.1`
1029
- #
1030
- # * **Version 9.3:** ` 9.3.14 | 9.3.12 | 9.3.10 | 9.3.9 | 9.3.6 | 9.3.5
1031
- # | 9.3.3 | 9.3.2 | 9.3.1`
1032
- #
1033
- #
1034
- #
1035
949
  # **Oracle 12c**
1036
950
  #
951
+ # * `12.1.0.2.v7` (supported for EE in all AWS regions, and SE2 in all
952
+ # AWS regions except us-gov-west-1)
953
+ #
1037
954
  # * `12.1.0.2.v6` (supported for EE in all AWS regions, and SE2 in all
1038
955
  # AWS regions except us-gov-west-1)
1039
956
  #
@@ -1052,28 +969,10 @@ module Aws::RDS
1052
969
  # * `12.1.0.2.v1` (supported for EE in all AWS regions, and SE2 in all
1053
970
  # AWS regions except us-gov-west-1)
1054
971
  #
1055
- #
1056
- #
1057
- # * `12.1.0.1.v6` (supported for EE, SE1, and SE, in all AWS regions
1058
- # except ap-south-1, ap-northeast-2)
1059
- #
1060
- # * `12.1.0.1.v5` (supported for EE, SE1, and SE, in all AWS regions
1061
- # except ap-south-1, ap-northeast-2)
1062
- #
1063
- # * `12.1.0.1.v4` (supported for EE, SE1, and SE, in all AWS regions
1064
- # except ap-south-1, ap-northeast-2)
1065
- #
1066
- # * `12.1.0.1.v3` (supported for EE, SE1, and SE, in all AWS regions
1067
- # except ap-south-1, ap-northeast-2)
1068
- #
1069
- # * `12.1.0.1.v2` (supported for EE, SE1, and SE, in all AWS regions
1070
- # except ap-south-1, ap-northeast-2)
1071
- #
1072
- # * `12.1.0.1.v1` (supported for EE, SE1, and SE, in all AWS regions
1073
- # except ap-south-1, ap-northeast-2)
1074
- #
1075
972
  # **Oracle 11g**
1076
973
  #
974
+ # * `11.2.0.4.v11` (supported for EE, SE1, and SE, in all AWS regions)
975
+ #
1077
976
  # * `11.2.0.4.v10` (supported for EE, SE1, and SE, in all AWS regions)
1078
977
  #
1079
978
  # * `11.2.0.4.v9` (supported for EE, SE1, and SE, in all AWS regions)
@@ -1094,50 +993,14 @@ module Aws::RDS
1094
993
  #
1095
994
  # **PostgreSQL**
1096
995
  #
1097
- # * **Version 9.5 (available in these AWS regions: ap-northeast-1,
1098
- # ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2,
1099
- # eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1,
1100
- # us-west-2):** ` 9.5.4`
1101
- #
1102
- # * **Version 9.5 (available in these AWS regions: ap-northeast-1,
1103
- # ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2,
1104
- # eu-central-1, eu-west-1, sa-east-1, us-east-1, us-east-2, us-west-1,
1105
- # us-west-2):** ` 9.5.2`
1106
- #
1107
- # * **Version 9.4 (available in these AWS regions: ap-northeast-1,
1108
- # ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2,
1109
- # eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1,
1110
- # us-west-2):** ` 9.4.9`
1111
- #
1112
- # * **Version 9.4 (available in these AWS regions: ap-northeast-1,
1113
- # ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2,
1114
- # eu-central-1, eu-west-1, sa-east-1, us-east-1, us-east-2, us-west-1,
1115
- # us-west-2):** ` 9.4.7`
1116
- #
1117
- # * **Version 9.4 (available in all AWS regions):** ` 9.4.5`
1118
- #
1119
- # * **Version 9.4 (available in these AWS regions: ap-northeast-1,
1120
- # ap-northeast-2, ap-southeast-1, ap-southeast-2, eu-central-1,
1121
- # eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1,
1122
- # us-west-2):** ` 9.4.4`
1123
- #
1124
- # * **Version 9.4 (available in these AWS regions: ap-northeast-1,
1125
- # ap-northeast-2, ap-southeast-1, ap-southeast-2, eu-central-1,
1126
- # eu-west-1, sa-east-1, us-east-1, us-east-2, us-gov-west-1,
1127
- # us-west-1, us-west-2):** ` 9.4.1`
996
+ # * **Version 9.6:** ` 9.6.1`
1128
997
  #
1129
- # * **Version 9.3 (available in these AWS regions: ap-northeast-1,
1130
- # ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1,
1131
- # us-east-1, us-gov-west-1, us-west-1, us-west-2):** ` 9.3.10 | 9.3.3
1132
- # | 9.3.5 | 9.3.6 | 9.3.9`
998
+ # * **Version 9.5:** `9.5.4 | 9.5.2`
1133
999
  #
1134
- # * **Version 9.3 (available in these AWS regions: ap-northeast-1,
1135
- # ap-southeast-1, ap-southeast-2, eu-west-1, sa-east-1, us-east-1,
1136
- # us-gov-west-1, us-west-1, us-west-2):** ` 9.3.1 | 9.3.2`
1000
+ # * **Version 9.4:** ` 9.4.9 | 9.4.7 | 9.4.5 | 9.4.4 | 9.4.1`
1137
1001
  #
1138
- # * **Version 9.3 (available in these AWS regions: ap-northeast-1,
1139
- # ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1,
1140
- # us-east-1, us-west-1, us-west-2):** ` 9.3.12 | 9.3.14`
1002
+ # * **Version 9.3:** ` 9.3.14 | 9.3.12 | 9.3.10 | 9.3.9 | 9.3.6 | 9.3.5
1003
+ # | 9.3.3 | 9.3.2 | 9.3.1`
1141
1004
  # @option options [Boolean] :auto_minor_version_upgrade
1142
1005
  # Indicates that minor engine upgrades will be applied automatically to
1143
1006
  # the DB instance during the maintenance window.
@@ -1247,15 +1110,15 @@ module Aws::RDS
1247
1110
  # The ARN for the IAM role that permits RDS to send enhanced monitoring
1248
1111
  # metrics to CloudWatch Logs. For example,
1249
1112
  # `arn:aws:iam:123456789012:role/emaccess`. For information on creating
1250
- # a monitoring role, go to [To create an IAM role for Amazon RDS
1251
- # Enhanced Monitoring][1].
1113
+ # a monitoring role, go to [Setting Up and Enabling Enhanced
1114
+ # Monitoring][1].
1252
1115
  #
1253
1116
  # If `MonitoringInterval` is set to a value other than 0, then you must
1254
1117
  # supply a `MonitoringRoleArn` value.
1255
1118
  #
1256
1119
  #
1257
1120
  #
1258
- # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole
1121
+ # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling
1259
1122
  # @option options [String] :domain_iam_role_name
1260
1123
  # Specify the name of the IAM role to be used when making API calls to
1261
1124
  # the Directory Service.
@@ -1279,6 +1142,18 @@ module Aws::RDS
1279
1142
  #
1280
1143
  #
1281
1144
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone
1145
+ # @option options [Boolean] :enable_iam_database_authentication
1146
+ # True to enable mapping of AWS Identity and Access Management (IAM)
1147
+ # accounts to database accounts; otherwise false.
1148
+ #
1149
+ # You can enable IAM database authentication for the following database
1150
+ # engines
1151
+ #
1152
+ # * For MySQL 5.6, minor version 5.6.34 or higher
1153
+ #
1154
+ # * For MySQL 5.7, minor version 5.7.16 or higher
1155
+ #
1156
+ # Default: `false`
1282
1157
  # @return [DBInstance]
1283
1158
  def create(options = {})
1284
1159
  options = options.merge(db_instance_identifier: @id)
@@ -1314,6 +1189,7 @@ module Aws::RDS
1314
1189
  # monitoring_role_arn: "String",
1315
1190
  # kms_key_id: "String",
1316
1191
  # pre_signed_url: "String",
1192
+ # enable_iam_database_authentication: false,
1317
1193
  # source_region: "String",
1318
1194
  # })
1319
1195
  # @param [Hash] options ({})
@@ -1508,6 +1384,20 @@ module Aws::RDS
1508
1384
  #
1509
1385
  # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
1510
1386
  # [2]: http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
1387
+ # @option options [Boolean] :enable_iam_database_authentication
1388
+ # True to enable mapping of AWS Identity and Access Management (IAM)
1389
+ # accounts to database accounts; otherwise false.
1390
+ #
1391
+ # You can enable IAM database authentication for the following database
1392
+ # engines
1393
+ #
1394
+ # * For MySQL 5.6, minor version 5.6.34 or higher
1395
+ #
1396
+ # * For MySQL 5.7, minor version 5.7.16 or higher
1397
+ #
1398
+ # * Aurora 5.6 or higher.
1399
+ #
1400
+ # Default: `false`
1511
1401
  # @option options [String] :destination_region
1512
1402
  # @option options [String] :source_region
1513
1403
  # The source region of the snapshot. This is only needed when the
@@ -1652,6 +1542,7 @@ module Aws::RDS
1652
1542
  # monitoring_role_arn: "String",
1653
1543
  # domain_iam_role_name: "String",
1654
1544
  # promotion_tier: 1,
1545
+ # enable_iam_database_authentication: false,
1655
1546
  # })
1656
1547
  # @param [Hash] options ({})
1657
1548
  # @option options [Integer] :allocated_storage
@@ -2137,6 +2028,18 @@ module Aws::RDS
2137
2028
  #
2138
2029
  #
2139
2030
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html#Aurora.Managing.FaultTolerance
2031
+ # @option options [Boolean] :enable_iam_database_authentication
2032
+ # True to enable mapping of AWS Identity and Access Management (IAM)
2033
+ # accounts to database accounts; otherwise false.
2034
+ #
2035
+ # You can enable IAM database authentication for the following database
2036
+ # engines
2037
+ #
2038
+ # * For MySQL 5.6, minor version 5.6.34 or higher
2039
+ #
2040
+ # * For MySQL 5.7, minor version 5.7.16 or higher
2041
+ #
2042
+ # Default: `false`
2140
2043
  # @return [DBInstance]
2141
2044
  def modify(options = {})
2142
2045
  options = options.merge(db_instance_identifier: @id)
@@ -2252,6 +2155,7 @@ module Aws::RDS
2252
2155
  # tde_credential_password: "String",
2253
2156
  # domain: "String",
2254
2157
  # domain_iam_role_name: "String",
2158
+ # enable_iam_database_authentication: false,
2255
2159
  # })
2256
2160
  # @param [Hash] options ({})
2257
2161
  # @option options [required, String] :target_db_instance_identifier
@@ -2413,6 +2317,20 @@ module Aws::RDS
2413
2317
  # @option options [String] :domain_iam_role_name
2414
2318
  # Specify the name of the IAM role to be used when making API calls to
2415
2319
  # the Directory Service.
2320
+ # @option options [Boolean] :enable_iam_database_authentication
2321
+ # True to enable mapping of AWS Identity and Access Management (IAM)
2322
+ # accounts to database accounts; otherwise false.
2323
+ #
2324
+ # You can enable IAM database authentication for the following database
2325
+ # engines
2326
+ #
2327
+ # * For MySQL 5.6, minor version 5.6.34 or higher
2328
+ #
2329
+ # * For MySQL 5.7, minor version 5.7.16 or higher
2330
+ #
2331
+ # * Aurora 5.6 or higher.
2332
+ #
2333
+ # Default: `false`
2416
2334
  # @return [DBInstance]
2417
2335
  def restore(options = {})
2418
2336
  options = options.merge(source_db_instance_identifier: @id)