aws-sdk-rds 1.317.0 → 1.319.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +276 -20
- data/lib/aws-sdk-rds/client_api.rb +21 -2
- data/lib/aws-sdk-rds/db_cluster.rb +56 -2
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +16 -1
- data/lib/aws-sdk-rds/db_instance.rb +29 -6
- data/lib/aws-sdk-rds/db_snapshot.rb +3 -3
- data/lib/aws-sdk-rds/resource.rb +18 -4
- data/lib/aws-sdk-rds/types.rb +144 -22
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +30 -4
- data/sig/db_cluster.rbs +15 -2
- data/sig/db_cluster_snapshot.rbs +7 -1
- data/sig/db_instance.rbs +2 -1
- data/sig/resource.rbs +6 -0
- data/sig/types.rbs +12 -0
- metadata +1 -1
|
@@ -143,6 +143,8 @@ module Aws::RDS
|
|
|
143
143
|
CustomEngineVersionStatus = Shapes::StringShape.new(name: 'CustomEngineVersionStatus')
|
|
144
144
|
DBCluster = Shapes::StructureShape.new(name: 'DBCluster')
|
|
145
145
|
DBClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBClusterAlreadyExistsFault', error: {"code" => "DBClusterAlreadyExistsFault", "httpStatusCode" => 400, "senderFault" => true})
|
|
146
|
+
DBClusterAssociatedRole = Shapes::StructureShape.new(name: 'DBClusterAssociatedRole')
|
|
147
|
+
DBClusterAssociatedRoles = Shapes::ListShape.new(name: 'DBClusterAssociatedRoles')
|
|
146
148
|
DBClusterAutomatedBackup = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackup')
|
|
147
149
|
DBClusterAutomatedBackupList = Shapes::ListShape.new(name: 'DBClusterAutomatedBackupList')
|
|
148
150
|
DBClusterAutomatedBackupMessage = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackupMessage')
|
|
@@ -453,6 +455,7 @@ module Aws::RDS
|
|
|
453
455
|
GlobalClusterQuotaExceededFault = Shapes::StructureShape.new(name: 'GlobalClusterQuotaExceededFault', error: {"code" => "GlobalClusterQuotaExceededFault", "httpStatusCode" => 400, "senderFault" => true})
|
|
454
456
|
GlobalClustersMessage = Shapes::StructureShape.new(name: 'GlobalClustersMessage')
|
|
455
457
|
IAMAuthMode = Shapes::StringShape.new(name: 'IAMAuthMode')
|
|
458
|
+
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
|
456
459
|
IPRange = Shapes::StructureShape.new(name: 'IPRange')
|
|
457
460
|
IPRangeList = Shapes::ListShape.new(name: 'IPRangeList')
|
|
458
461
|
IamRoleMissingPermissionsFault = Shapes::StructureShape.new(name: 'IamRoleMissingPermissionsFault', error: {"code" => "IamRoleMissingPermissions", "httpStatusCode" => 400, "senderFault" => true})
|
|
@@ -815,7 +818,7 @@ module Aws::RDS
|
|
|
815
818
|
ActivityStreamModeList.member = Shapes::ShapeRef.new(shape: String)
|
|
816
819
|
|
|
817
820
|
AddRoleToDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
|
818
|
-
AddRoleToDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape:
|
|
821
|
+
AddRoleToDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
|
819
822
|
AddRoleToDBClusterMessage.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
|
820
823
|
AddRoleToDBClusterMessage.struct_class = Types::AddRoleToDBClusterMessage
|
|
821
824
|
|
|
@@ -1170,6 +1173,7 @@ module Aws::RDS
|
|
|
1170
1173
|
CreateDBClusterMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
1171
1174
|
CreateDBClusterMessage.add_member(:master_user_authentication_type, Shapes::ShapeRef.new(shape: MasterUserAuthenticationType, location_name: "MasterUserAuthenticationType"))
|
|
1172
1175
|
CreateDBClusterMessage.add_member(:with_express_configuration, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "WithExpressConfiguration"))
|
|
1176
|
+
CreateDBClusterMessage.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
1173
1177
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
|
1174
1178
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
|
1175
1179
|
|
|
@@ -1557,6 +1561,12 @@ module Aws::RDS
|
|
|
1557
1561
|
|
|
1558
1562
|
DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
|
|
1559
1563
|
|
|
1564
|
+
DBClusterAssociatedRole.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
|
1565
|
+
DBClusterAssociatedRole.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
|
1566
|
+
DBClusterAssociatedRole.struct_class = Types::DBClusterAssociatedRole
|
|
1567
|
+
|
|
1568
|
+
DBClusterAssociatedRoles.member = Shapes::ShapeRef.new(shape: DBClusterAssociatedRole, location_name: "DBClusterAssociatedRole")
|
|
1569
|
+
|
|
1560
1570
|
DBClusterAutomatedBackup.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
|
1561
1571
|
DBClusterAutomatedBackup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
|
|
1562
1572
|
DBClusterAutomatedBackup.add_member(:db_cluster_automated_backups_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterAutomatedBackupsArn"))
|
|
@@ -3276,6 +3286,7 @@ module Aws::RDS
|
|
|
3276
3286
|
ModifyDBClusterMessage.add_member(:enable_limitless_database, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableLimitlessDatabase"))
|
|
3277
3287
|
ModifyDBClusterMessage.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CACertificateIdentifier"))
|
|
3278
3288
|
ModifyDBClusterMessage.add_member(:master_user_authentication_type, Shapes::ShapeRef.new(shape: MasterUserAuthenticationType, location_name: "MasterUserAuthenticationType"))
|
|
3289
|
+
ModifyDBClusterMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
3279
3290
|
ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
|
|
3280
3291
|
|
|
3281
3292
|
ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
|
|
@@ -3358,6 +3369,7 @@ module Aws::RDS
|
|
|
3358
3369
|
ModifyDBInstanceMessage.add_member(:additional_storage_volumes, Shapes::ShapeRef.new(shape: ModifyAdditionalStorageVolumesList, location_name: "AdditionalStorageVolumes"))
|
|
3359
3370
|
ModifyDBInstanceMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
3360
3371
|
ModifyDBInstanceMessage.add_member(:master_user_authentication_type, Shapes::ShapeRef.new(shape: MasterUserAuthenticationType, location_name: "MasterUserAuthenticationType"))
|
|
3372
|
+
ModifyDBInstanceMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
3361
3373
|
ModifyDBInstanceMessage.struct_class = Types::ModifyDBInstanceMessage
|
|
3362
3374
|
|
|
3363
3375
|
ModifyDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
|
@@ -3848,7 +3860,7 @@ module Aws::RDS
|
|
|
3848
3860
|
RemoveFromGlobalClusterResult.struct_class = Types::RemoveFromGlobalClusterResult
|
|
3849
3861
|
|
|
3850
3862
|
RemoveRoleFromDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
|
3851
|
-
RemoveRoleFromDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape:
|
|
3863
|
+
RemoveRoleFromDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
|
3852
3864
|
RemoveRoleFromDBClusterMessage.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
|
3853
3865
|
RemoveRoleFromDBClusterMessage.struct_class = Types::RemoveRoleFromDBClusterMessage
|
|
3854
3866
|
|
|
@@ -3972,6 +3984,7 @@ module Aws::RDS
|
|
|
3972
3984
|
RestoreDBClusterFromS3Message.add_member(:master_user_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserSecretKmsKeyId"))
|
|
3973
3985
|
RestoreDBClusterFromS3Message.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
3974
3986
|
RestoreDBClusterFromS3Message.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
3987
|
+
RestoreDBClusterFromS3Message.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
3975
3988
|
RestoreDBClusterFromS3Message.struct_class = Types::RestoreDBClusterFromS3Message
|
|
3976
3989
|
|
|
3977
3990
|
RestoreDBClusterFromS3Result.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4017,6 +4030,7 @@ module Aws::RDS
|
|
|
4017
4030
|
RestoreDBClusterFromSnapshotMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
4018
4031
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_vpc_networking, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableVPCNetworking"))
|
|
4019
4032
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_internet_access_gateway, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableInternetAccessGateway"))
|
|
4033
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
4020
4034
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
|
4021
4035
|
|
|
4022
4036
|
RestoreDBClusterFromSnapshotResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4062,6 +4076,7 @@ module Aws::RDS
|
|
|
4062
4076
|
RestoreDBClusterToPointInTimeMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
4063
4077
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_vpc_networking, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableVPCNetworking"))
|
|
4064
4078
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_internet_access_gateway, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableInternetAccessGateway"))
|
|
4079
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
4065
4080
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
|
4066
4081
|
|
|
4067
4082
|
RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4842,6 +4857,7 @@ module Aws::RDS
|
|
|
4842
4857
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
|
4843
4858
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
|
4844
4859
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
4860
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
4845
4861
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
|
4846
4862
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBSubnetGroupStateFault)
|
|
4847
4863
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
|
@@ -6561,6 +6577,7 @@ module Aws::RDS
|
|
|
6561
6577
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
|
6562
6578
|
o.errors << Shapes::ShapeRef.new(shape: StorageTypeNotSupportedFault)
|
|
6563
6579
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
6580
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
6564
6581
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
|
6565
6582
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterAlreadyExistsFault)
|
|
6566
6583
|
o.errors << Shapes::ShapeRef.new(shape: NetworkTypeNotSupported)
|
|
@@ -6596,6 +6613,7 @@ module Aws::RDS
|
|
|
6596
6613
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
|
6597
6614
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
|
6598
6615
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
6616
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
6599
6617
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
|
6600
6618
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRestoreFault)
|
|
6601
6619
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterQuotaExceededFault)
|
|
@@ -6626,6 +6644,7 @@ module Aws::RDS
|
|
|
6626
6644
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
|
6627
6645
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupNotFoundFault)
|
|
6628
6646
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
6647
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
6629
6648
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
|
6630
6649
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
|
6631
6650
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRestoreFault)
|
|
@@ -1054,6 +1054,12 @@ module Aws::RDS
|
|
|
1054
1054
|
# ],
|
|
1055
1055
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
1056
1056
|
# with_express_configuration: false,
|
|
1057
|
+
# associated_roles: [
|
|
1058
|
+
# {
|
|
1059
|
+
# role_arn: "IAMRoleArn", # required
|
|
1060
|
+
# feature_name: "String",
|
|
1061
|
+
# },
|
|
1062
|
+
# ],
|
|
1057
1063
|
# source_region: "String",
|
|
1058
1064
|
# })
|
|
1059
1065
|
# @param [Hash] options ({})
|
|
@@ -1871,7 +1877,7 @@ module Aws::RDS
|
|
|
1871
1877
|
#
|
|
1872
1878
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
|
|
1873
1879
|
# @option options [String] :engine_lifecycle_support
|
|
1874
|
-
# The
|
|
1880
|
+
# The lifecycle type for this DB cluster.
|
|
1875
1881
|
#
|
|
1876
1882
|
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
|
1877
1883
|
# which enrolls your DB cluster into Amazon RDS Extended Support. At the
|
|
@@ -1935,6 +1941,14 @@ module Aws::RDS
|
|
|
1935
1941
|
# of this API.
|
|
1936
1942
|
#
|
|
1937
1943
|
# Valid for Cluster Type: Aurora DB clusters
|
|
1944
|
+
# @option options [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
1945
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
1946
|
+
# roles to associate with the DB cluster. Each role grants the DB
|
|
1947
|
+
# cluster permission to access other Amazon Web Services on your behalf.
|
|
1948
|
+
# For each role, specify a role ARN and, optionally, the feature name
|
|
1949
|
+
# (such as `s3Import`, `s3Export`, or `Lambda`).
|
|
1950
|
+
#
|
|
1951
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
1938
1952
|
# @option options [String] :source_region
|
|
1939
1953
|
# The source region of the snapshot. This is only needed when the
|
|
1940
1954
|
# shapshot is encrypted and in a different region.
|
|
@@ -2138,6 +2152,7 @@ module Aws::RDS
|
|
|
2138
2152
|
# enable_limitless_database: false,
|
|
2139
2153
|
# ca_certificate_identifier: "String",
|
|
2140
2154
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
2155
|
+
# engine_lifecycle_support: "String",
|
|
2141
2156
|
# })
|
|
2142
2157
|
# @param [Hash] options ({})
|
|
2143
2158
|
# @option options [String] :new_db_cluster_identifier
|
|
@@ -2822,6 +2837,30 @@ module Aws::RDS
|
|
|
2822
2837
|
#
|
|
2823
2838
|
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
|
2824
2839
|
# engines.
|
|
2840
|
+
# @option options [String] :engine_lifecycle_support
|
|
2841
|
+
# The lifecycle type for this DB cluster.
|
|
2842
|
+
#
|
|
2843
|
+
# You can use this setting to enroll your DB cluster into Amazon RDS
|
|
2844
|
+
# Extended Support or to opt out. With RDS Extended Support, you can run
|
|
2845
|
+
# the selected major engine version on your DB cluster past the end of
|
|
2846
|
+
# standard support for that engine version. For more information, see
|
|
2847
|
+
# the following sections:
|
|
2848
|
+
#
|
|
2849
|
+
# * Amazon Aurora - [Amazon RDS Extended Support with Amazon Aurora][1]
|
|
2850
|
+
# in the *Amazon Aurora User Guide*
|
|
2851
|
+
#
|
|
2852
|
+
# * Amazon RDS - [Amazon RDS Extended Support with Amazon RDS][2] in the
|
|
2853
|
+
# *Amazon RDS User Guide*
|
|
2854
|
+
#
|
|
2855
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
2856
|
+
#
|
|
2857
|
+
# Valid Values: `open-source-rds-extended-support |
|
|
2858
|
+
# open-source-rds-extended-support-disabled`
|
|
2859
|
+
#
|
|
2860
|
+
#
|
|
2861
|
+
#
|
|
2862
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html
|
|
2863
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
|
2825
2864
|
# @return [DBCluster]
|
|
2826
2865
|
def modify(options = {})
|
|
2827
2866
|
options = options.merge(db_cluster_identifier: @id)
|
|
@@ -2907,6 +2946,12 @@ module Aws::RDS
|
|
|
2907
2946
|
# ],
|
|
2908
2947
|
# enable_vpc_networking: false,
|
|
2909
2948
|
# enable_internet_access_gateway: false,
|
|
2949
|
+
# associated_roles: [
|
|
2950
|
+
# {
|
|
2951
|
+
# role_arn: "IAMRoleArn", # required
|
|
2952
|
+
# feature_name: "String",
|
|
2953
|
+
# },
|
|
2954
|
+
# ],
|
|
2910
2955
|
# })
|
|
2911
2956
|
# @param [Hash] options ({})
|
|
2912
2957
|
# @option options [required, String] :db_cluster_identifier
|
|
@@ -3362,7 +3407,7 @@ module Aws::RDS
|
|
|
3362
3407
|
#
|
|
3363
3408
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow
|
|
3364
3409
|
# @option options [String] :engine_lifecycle_support
|
|
3365
|
-
# The
|
|
3410
|
+
# The lifecycle type for this DB cluster.
|
|
3366
3411
|
#
|
|
3367
3412
|
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
|
3368
3413
|
# which enrolls your DB cluster into Amazon RDS Extended Support. At the
|
|
@@ -3427,6 +3472,15 @@ module Aws::RDS
|
|
|
3427
3472
|
# `EnableIAMDatabaseAuthentication`.
|
|
3428
3473
|
#
|
|
3429
3474
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
3475
|
+
# @option options [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
3476
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
3477
|
+
# roles to associate with the DB cluster when it's restored to a point
|
|
3478
|
+
# in time. Each role grants the DB cluster permission to access other
|
|
3479
|
+
# Amazon Web Services on your behalf. For each role, specify a role ARN
|
|
3480
|
+
# and, optionally, the feature name (such as `s3Import`, `s3Export`, or
|
|
3481
|
+
# `Lambda`).
|
|
3482
|
+
#
|
|
3483
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
3430
3484
|
# @return [DBCluster]
|
|
3431
3485
|
def restore(options = {})
|
|
3432
3486
|
options = options.merge(source_db_cluster_identifier: @id)
|
|
@@ -650,6 +650,12 @@ module Aws::RDS
|
|
|
650
650
|
# ],
|
|
651
651
|
# enable_vpc_networking: false,
|
|
652
652
|
# enable_internet_access_gateway: false,
|
|
653
|
+
# associated_roles: [
|
|
654
|
+
# {
|
|
655
|
+
# role_arn: "IAMRoleArn", # required
|
|
656
|
+
# feature_name: "String",
|
|
657
|
+
# },
|
|
658
|
+
# ],
|
|
653
659
|
# })
|
|
654
660
|
# @param [Hash] options ({})
|
|
655
661
|
# @option options [Array<String>] :availability_zones
|
|
@@ -1121,7 +1127,7 @@ module Aws::RDS
|
|
|
1121
1127
|
#
|
|
1122
1128
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow
|
|
1123
1129
|
# @option options [String] :engine_lifecycle_support
|
|
1124
|
-
# The
|
|
1130
|
+
# The lifecycle type for this DB cluster.
|
|
1125
1131
|
#
|
|
1126
1132
|
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
|
1127
1133
|
# which enrolls your DB cluster into Amazon RDS Extended Support. At the
|
|
@@ -1186,6 +1192,15 @@ module Aws::RDS
|
|
|
1186
1192
|
# `EnableIAMDatabaseAuthentication`.
|
|
1187
1193
|
#
|
|
1188
1194
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
1195
|
+
# @option options [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
1196
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
1197
|
+
# roles to associate with the DB cluster when it's restored from a
|
|
1198
|
+
# snapshot. Each role grants the DB cluster permission to access other
|
|
1199
|
+
# Amazon Web Services on your behalf. For each role, specify a role ARN
|
|
1200
|
+
# and, optionally, the feature name (such as `s3Import`, `s3Export`, or
|
|
1201
|
+
# `Lambda`).
|
|
1202
|
+
#
|
|
1203
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
1189
1204
|
# @return [DBCluster]
|
|
1190
1205
|
def restore(options = {})
|
|
1191
1206
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
|
@@ -2301,7 +2301,7 @@ module Aws::RDS
|
|
|
2301
2301
|
# Indicates whether the DB instance has a dedicated log volume (DLV)
|
|
2302
2302
|
# enabled.
|
|
2303
2303
|
# @option options [String] :engine_lifecycle_support
|
|
2304
|
-
# The
|
|
2304
|
+
# The lifecycle type for this DB instance.
|
|
2305
2305
|
#
|
|
2306
2306
|
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
|
2307
2307
|
# which enrolls your DB instance into Amazon RDS Extended Support. At
|
|
@@ -2314,8 +2314,8 @@ module Aws::RDS
|
|
|
2314
2314
|
# </note>
|
|
2315
2315
|
#
|
|
2316
2316
|
# This setting applies only to RDS for MySQL and RDS for PostgreSQL. For
|
|
2317
|
-
# Amazon Aurora DB instances, the
|
|
2318
|
-
# cluster.
|
|
2317
|
+
# Amazon Aurora DB instances, the engine lifecycle support is managed by
|
|
2318
|
+
# the DB cluster.
|
|
2319
2319
|
#
|
|
2320
2320
|
# You can use this setting to enroll your DB instance into Amazon RDS
|
|
2321
2321
|
# Extended Support. With RDS Extended Support, you can run the selected
|
|
@@ -3328,6 +3328,7 @@ module Aws::RDS
|
|
|
3328
3328
|
# },
|
|
3329
3329
|
# ],
|
|
3330
3330
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
3331
|
+
# engine_lifecycle_support: "String",
|
|
3331
3332
|
# })
|
|
3332
3333
|
# @param [Hash] options ({})
|
|
3333
3334
|
# @option options [Integer] :allocated_storage
|
|
@@ -4442,6 +4443,28 @@ module Aws::RDS
|
|
|
4442
4443
|
#
|
|
4443
4444
|
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
|
4444
4445
|
# engines.
|
|
4446
|
+
# @option options [String] :engine_lifecycle_support
|
|
4447
|
+
# The lifecycle type for this DB instance.
|
|
4448
|
+
#
|
|
4449
|
+
# This setting applies only to RDS for MySQL and RDS for PostgreSQL. For
|
|
4450
|
+
# Amazon Aurora DB instances, the engine lifecycle support is managed by
|
|
4451
|
+
# the DB cluster.
|
|
4452
|
+
#
|
|
4453
|
+
# You can use this setting to enroll your DB instance into Amazon RDS
|
|
4454
|
+
# Extended Support or to opt out. With RDS Extended Support, you can run
|
|
4455
|
+
# the selected major engine version on your DB instance past the end of
|
|
4456
|
+
# standard support for that engine version. For more information, see
|
|
4457
|
+
# [Amazon RDS Extended Support with Amazon RDS][1] in the *Amazon RDS
|
|
4458
|
+
# User Guide*.
|
|
4459
|
+
#
|
|
4460
|
+
# Valid Values: `open-source-rds-extended-support |
|
|
4461
|
+
# open-source-rds-extended-support-disabled`
|
|
4462
|
+
#
|
|
4463
|
+
# This setting doesn't apply to RDS Custom DB instances.
|
|
4464
|
+
#
|
|
4465
|
+
#
|
|
4466
|
+
#
|
|
4467
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
|
4445
4468
|
# @return [DBInstance]
|
|
4446
4469
|
def modify(options = {})
|
|
4447
4470
|
options = options.merge(db_instance_identifier: @id)
|
|
@@ -5220,7 +5243,7 @@ module Aws::RDS
|
|
|
5220
5243
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
|
|
5221
5244
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
|
|
5222
5245
|
# @option options [String] :engine_lifecycle_support
|
|
5223
|
-
# The
|
|
5246
|
+
# The lifecycle type for this DB instance.
|
|
5224
5247
|
#
|
|
5225
5248
|
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
|
5226
5249
|
# which enrolls your DB instance into Amazon RDS Extended Support. At
|
|
@@ -5240,8 +5263,8 @@ module Aws::RDS
|
|
|
5240
5263
|
# Extended Support with Amazon RDS][1] in the *Amazon RDS User Guide*.
|
|
5241
5264
|
#
|
|
5242
5265
|
# This setting applies only to RDS for MySQL and RDS for PostgreSQL. For
|
|
5243
|
-
# Amazon Aurora DB instances, the
|
|
5244
|
-
# cluster.
|
|
5266
|
+
# Amazon Aurora DB instances, the engine lifecycle support is managed by
|
|
5267
|
+
# the DB cluster.
|
|
5245
5268
|
#
|
|
5246
5269
|
# Valid Values: `open-source-rds-extended-support |
|
|
5247
5270
|
# open-source-rds-extended-support-disabled`
|
|
@@ -1363,7 +1363,7 @@ module Aws::RDS
|
|
|
1363
1363
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
|
|
1364
1364
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
|
|
1365
1365
|
# @option options [String] :engine_lifecycle_support
|
|
1366
|
-
# The
|
|
1366
|
+
# The lifecycle type for this DB instance.
|
|
1367
1367
|
#
|
|
1368
1368
|
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
|
1369
1369
|
# which enrolls your DB instance into Amazon RDS Extended Support. At
|
|
@@ -1383,8 +1383,8 @@ module Aws::RDS
|
|
|
1383
1383
|
# Extended Support with Amazon RDS][1] in the *Amazon RDS User Guide*.
|
|
1384
1384
|
#
|
|
1385
1385
|
# This setting applies only to RDS for MySQL and RDS for PostgreSQL. For
|
|
1386
|
-
# Amazon Aurora DB instances, the
|
|
1387
|
-
# cluster.
|
|
1386
|
+
# Amazon Aurora DB instances, the engine lifecycle support is managed by
|
|
1387
|
+
# the DB cluster.
|
|
1388
1388
|
#
|
|
1389
1389
|
# Valid Values: `open-source-rds-extended-support |
|
|
1390
1390
|
# open-source-rds-extended-support-disabled`
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
|
@@ -127,6 +127,12 @@ module Aws::RDS
|
|
|
127
127
|
# ],
|
|
128
128
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
129
129
|
# with_express_configuration: false,
|
|
130
|
+
# associated_roles: [
|
|
131
|
+
# {
|
|
132
|
+
# role_arn: "IAMRoleArn", # required
|
|
133
|
+
# feature_name: "String",
|
|
134
|
+
# },
|
|
135
|
+
# ],
|
|
130
136
|
# source_region: "String",
|
|
131
137
|
# })
|
|
132
138
|
# @param [Hash] options ({})
|
|
@@ -960,7 +966,7 @@ module Aws::RDS
|
|
|
960
966
|
#
|
|
961
967
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
|
|
962
968
|
# @option options [String] :engine_lifecycle_support
|
|
963
|
-
# The
|
|
969
|
+
# The lifecycle type for this DB cluster.
|
|
964
970
|
#
|
|
965
971
|
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
|
966
972
|
# which enrolls your DB cluster into Amazon RDS Extended Support. At the
|
|
@@ -1024,6 +1030,14 @@ module Aws::RDS
|
|
|
1024
1030
|
# of this API.
|
|
1025
1031
|
#
|
|
1026
1032
|
# Valid for Cluster Type: Aurora DB clusters
|
|
1033
|
+
# @option options [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
1034
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
1035
|
+
# roles to associate with the DB cluster. Each role grants the DB
|
|
1036
|
+
# cluster permission to access other Amazon Web Services on your behalf.
|
|
1037
|
+
# For each role, specify a role ARN and, optionally, the feature name
|
|
1038
|
+
# (such as `s3Import`, `s3Export`, or `Lambda`).
|
|
1039
|
+
#
|
|
1040
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
1027
1041
|
# @option options [String] :source_region
|
|
1028
1042
|
# The source region of the snapshot. This is only needed when the
|
|
1029
1043
|
# shapshot is encrypted and in a different region.
|
|
@@ -2446,7 +2460,7 @@ module Aws::RDS
|
|
|
2446
2460
|
# Indicates whether the DB instance has a dedicated log volume (DLV)
|
|
2447
2461
|
# enabled.
|
|
2448
2462
|
# @option options [String] :engine_lifecycle_support
|
|
2449
|
-
# The
|
|
2463
|
+
# The lifecycle type for this DB instance.
|
|
2450
2464
|
#
|
|
2451
2465
|
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
|
2452
2466
|
# which enrolls your DB instance into Amazon RDS Extended Support. At
|
|
@@ -2459,8 +2473,8 @@ module Aws::RDS
|
|
|
2459
2473
|
# </note>
|
|
2460
2474
|
#
|
|
2461
2475
|
# This setting applies only to RDS for MySQL and RDS for PostgreSQL. For
|
|
2462
|
-
# Amazon Aurora DB instances, the
|
|
2463
|
-
# cluster.
|
|
2476
|
+
# Amazon Aurora DB instances, the engine lifecycle support is managed by
|
|
2477
|
+
# the DB cluster.
|
|
2464
2478
|
#
|
|
2465
2479
|
# You can use this setting to enroll your DB instance into Amazon RDS
|
|
2466
2480
|
# Extended Support. With RDS Extended Support, you can run the selected
|