aws-sdk-rds 1.166.0 → 1.167.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.
@@ -2382,7 +2382,11 @@ module Aws::RDS
2382
2382
  # The password for the master database user. This password can contain
2383
2383
  # any printable ASCII character except "/", """, or "@".
2384
2384
  #
2385
- # Constraints: Must contain from 8 to 41 characters.
2385
+ # Constraints:
2386
+ #
2387
+ # * Must contain from 8 to 41 characters.
2388
+ #
2389
+ # * Can't be specified if `ManageMasterUserPassword` is turned on.
2386
2390
  #
2387
2391
  # Valid for: Aurora DB clusters and Multi-AZ DB clusters
2388
2392
  #
@@ -2950,6 +2954,54 @@ module Aws::RDS
2950
2954
  # @option params [String] :db_system_id
2951
2955
  # Reserved for future use.
2952
2956
  #
2957
+ # @option params [Boolean] :manage_master_user_password
2958
+ # A value that indicates whether to manage the master user password with
2959
+ # Amazon Web Services Secrets Manager.
2960
+ #
2961
+ # For more information, see [Password management with Amazon Web
2962
+ # Services Secrets Manager][1] in the *Amazon RDS User Guide* and
2963
+ # [Password management with Amazon Web Services Secrets Manager][2] in
2964
+ # the *Amazon Aurora User Guide.*
2965
+ #
2966
+ # Constraints:
2967
+ #
2968
+ # * Can't manage the master user password with Amazon Web Services
2969
+ # Secrets Manager if `MasterUserPassword` is specified.
2970
+ #
2971
+ # ^
2972
+ #
2973
+ # Valid for: Aurora DB clusters and Multi-AZ DB clusters
2974
+ #
2975
+ #
2976
+ #
2977
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
2978
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html
2979
+ #
2980
+ # @option params [String] :master_user_secret_kms_key_id
2981
+ # The Amazon Web Services KMS key identifier to encrypt a secret that is
2982
+ # automatically generated and managed in Amazon Web Services Secrets
2983
+ # Manager.
2984
+ #
2985
+ # This setting is valid only if the master user password is managed by
2986
+ # RDS in Amazon Web Services Secrets Manager for the DB cluster.
2987
+ #
2988
+ # The Amazon Web Services KMS key identifier is the key ARN, key ID,
2989
+ # alias ARN, or alias name for the KMS key. To use a KMS key in a
2990
+ # different Amazon Web Services account, specify the key ARN or alias
2991
+ # ARN.
2992
+ #
2993
+ # If you don't specify `MasterUserSecretKmsKeyId`, then the
2994
+ # `aws/secretsmanager` KMS key is used to encrypt the secret. If the
2995
+ # secret is in a different Amazon Web Services account, then you can't
2996
+ # use the `aws/secretsmanager` KMS key to encrypt the secret, and you
2997
+ # must use a customer managed KMS key.
2998
+ #
2999
+ # There is a default KMS key for your Amazon Web Services account. Your
3000
+ # Amazon Web Services account has a different default KMS key for each
3001
+ # Amazon Web Services Region.
3002
+ #
3003
+ # Valid for: Aurora DB clusters and Multi-AZ DB clusters
3004
+ #
2953
3005
  # @option params [String] :source_region
2954
3006
  # The source region of the snapshot. This is only needed when the
2955
3007
  # shapshot is encrypted and in a different region.
@@ -3050,6 +3102,8 @@ module Aws::RDS
3050
3102
  # },
3051
3103
  # network_type: "String",
3052
3104
  # db_system_id: "String",
3105
+ # manage_master_user_password: false,
3106
+ # master_user_secret_kms_key_id: "String",
3053
3107
  # source_region: "String",
3054
3108
  # })
3055
3109
  #
@@ -3162,6 +3216,9 @@ module Aws::RDS
3162
3216
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
3163
3217
  # resp.db_cluster.network_type #=> String
3164
3218
  # resp.db_cluster.db_system_id #=> String
3219
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
3220
+ # resp.db_cluster.master_user_secret.secret_status #=> String
3221
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
3165
3222
  #
3166
3223
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster AWS API Documentation
3167
3224
  #
@@ -3878,6 +3935,9 @@ module Aws::RDS
3878
3935
  # Not applicable. The password for the master user is managed by the DB
3879
3936
  # cluster.
3880
3937
  #
3938
+ # Constraints: Can't be specified if `ManageMasterUserPassword` is
3939
+ # turned on.
3940
+ #
3881
3941
  # **MariaDB**
3882
3942
  #
3883
3943
  # Constraints: Must contain from 8 to 41 characters.
@@ -4665,6 +4725,47 @@ module Aws::RDS
4665
4725
  #
4666
4726
  # This setting doesn't apply to RDS Custom or Amazon Aurora.
4667
4727
  #
4728
+ # @option params [Boolean] :manage_master_user_password
4729
+ # A value that indicates whether to manage the master user password with
4730
+ # Amazon Web Services Secrets Manager.
4731
+ #
4732
+ # For more information, see [Password management with Amazon Web
4733
+ # Services Secrets Manager][1] in the *Amazon RDS User Guide.*
4734
+ #
4735
+ # Constraints:
4736
+ #
4737
+ # * Can't manage the master user password with Amazon Web Services
4738
+ # Secrets Manager if `MasterUserPassword` is specified.
4739
+ #
4740
+ # ^
4741
+ #
4742
+ #
4743
+ #
4744
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
4745
+ #
4746
+ # @option params [String] :master_user_secret_kms_key_id
4747
+ # The Amazon Web Services KMS key identifier to encrypt a secret that is
4748
+ # automatically generated and managed in Amazon Web Services Secrets
4749
+ # Manager.
4750
+ #
4751
+ # This setting is valid only if the master user password is managed by
4752
+ # RDS in Amazon Web Services Secrets Manager for the DB instance.
4753
+ #
4754
+ # The Amazon Web Services KMS key identifier is the key ARN, key ID,
4755
+ # alias ARN, or alias name for the KMS key. To use a KMS key in a
4756
+ # different Amazon Web Services account, specify the key ARN or alias
4757
+ # ARN.
4758
+ #
4759
+ # If you don't specify `MasterUserSecretKmsKeyId`, then the
4760
+ # `aws/secretsmanager` KMS key is used to encrypt the secret. If the
4761
+ # secret is in a different Amazon Web Services account, then you can't
4762
+ # use the `aws/secretsmanager` KMS key to encrypt the secret, and you
4763
+ # must use a customer managed KMS key.
4764
+ #
4765
+ # There is a default KMS key for your Amazon Web Services account. Your
4766
+ # Amazon Web Services account has a different default KMS key for each
4767
+ # Amazon Web Services Region.
4768
+ #
4668
4769
  # @return [Types::CreateDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4669
4770
  #
4670
4771
  # * {Types::CreateDBInstanceResult#db_instance #db_instance} => Types::DBInstance
@@ -4754,6 +4855,8 @@ module Aws::RDS
4754
4855
  # backup_target: "String",
4755
4856
  # network_type: "String",
4756
4857
  # storage_throughput: 1,
4858
+ # manage_master_user_password: false,
4859
+ # master_user_secret_kms_key_id: "String",
4757
4860
  # })
4758
4861
  #
4759
4862
  # @example Response structure
@@ -4901,6 +5004,9 @@ module Aws::RDS
4901
5004
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
4902
5005
  # resp.db_instance.storage_throughput #=> Integer
4903
5006
  # resp.db_instance.db_system_id #=> String
5007
+ # resp.db_instance.master_user_secret.secret_arn #=> String
5008
+ # resp.db_instance.master_user_secret.secret_status #=> String
5009
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
4904
5010
  #
4905
5011
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
4906
5012
  #
@@ -5723,6 +5829,9 @@ module Aws::RDS
5723
5829
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
5724
5830
  # resp.db_instance.storage_throughput #=> Integer
5725
5831
  # resp.db_instance.db_system_id #=> String
5832
+ # resp.db_instance.master_user_secret.secret_arn #=> String
5833
+ # resp.db_instance.master_user_secret.secret_status #=> String
5834
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
5726
5835
  #
5727
5836
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
5728
5837
  #
@@ -7202,6 +7311,9 @@ module Aws::RDS
7202
7311
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
7203
7312
  # resp.db_cluster.network_type #=> String
7204
7313
  # resp.db_cluster.db_system_id #=> String
7314
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
7315
+ # resp.db_cluster.master_user_secret.secret_status #=> String
7316
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
7205
7317
  #
7206
7318
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster AWS API Documentation
7207
7319
  #
@@ -7672,6 +7784,9 @@ module Aws::RDS
7672
7784
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
7673
7785
  # resp.db_instance.storage_throughput #=> Integer
7674
7786
  # resp.db_instance.db_system_id #=> String
7787
+ # resp.db_instance.master_user_secret.secret_arn #=> String
7788
+ # resp.db_instance.master_user_secret.secret_status #=> String
7789
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
7675
7790
  #
7676
7791
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
7677
7792
  #
@@ -9407,6 +9522,9 @@ module Aws::RDS
9407
9522
  # resp.db_clusters[0].serverless_v2_scaling_configuration.max_capacity #=> Float
9408
9523
  # resp.db_clusters[0].network_type #=> String
9409
9524
  # resp.db_clusters[0].db_system_id #=> String
9525
+ # resp.db_clusters[0].master_user_secret.secret_arn #=> String
9526
+ # resp.db_clusters[0].master_user_secret.secret_status #=> String
9527
+ # resp.db_clusters[0].master_user_secret.kms_key_id #=> String
9410
9528
  #
9411
9529
  #
9412
9530
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -10038,6 +10156,9 @@ module Aws::RDS
10038
10156
  # resp.db_instances[0].activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
10039
10157
  # resp.db_instances[0].storage_throughput #=> Integer
10040
10158
  # resp.db_instances[0].db_system_id #=> String
10159
+ # resp.db_instances[0].master_user_secret.secret_arn #=> String
10160
+ # resp.db_instances[0].master_user_secret.secret_status #=> String
10161
+ # resp.db_instances[0].master_user_secret.kms_key_id #=> String
10041
10162
  #
10042
10163
  #
10043
10164
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -13246,6 +13367,9 @@ module Aws::RDS
13246
13367
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
13247
13368
  # resp.db_cluster.network_type #=> String
13248
13369
  # resp.db_cluster.db_system_id #=> String
13370
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
13371
+ # resp.db_cluster.master_user_secret.secret_status #=> String
13372
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
13249
13373
  #
13250
13374
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster AWS API Documentation
13251
13375
  #
@@ -13902,7 +14026,11 @@ module Aws::RDS
13902
14026
  # The new password for the master database user. This password can
13903
14027
  # contain any printable ASCII character except "/", """, or "@".
13904
14028
  #
13905
- # Constraints: Must contain from 8 to 41 characters.
14029
+ # Constraints:
14030
+ #
14031
+ # * Must contain from 8 to 41 characters.
14032
+ #
14033
+ # * Can't be specified if `ManageMasterUserPassword` is turned on.
13906
14034
  #
13907
14035
  # Valid for: Aurora DB clusters and Multi-AZ DB clusters
13908
14036
  #
@@ -14343,6 +14471,96 @@ module Aws::RDS
14343
14471
  #
14344
14472
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
14345
14473
  #
14474
+ # @option params [Boolean] :manage_master_user_password
14475
+ # A value that indicates whether to manage the master user password with
14476
+ # Amazon Web Services Secrets Manager.
14477
+ #
14478
+ # If the DB cluster doesn't manage the master user password with Amazon
14479
+ # Web Services Secrets Manager, you can turn on this management. In this
14480
+ # case, you can't specify `MasterUserPassword`.
14481
+ #
14482
+ # If the DB cluster already manages the master user password with Amazon
14483
+ # Web Services Secrets Manager, and you specify that the master user
14484
+ # password is not managed with Amazon Web Services Secrets Manager, then
14485
+ # you must specify `MasterUserPassword`. In this case, RDS deletes the
14486
+ # secret and uses the new password for the master user specified by
14487
+ # `MasterUserPassword`.
14488
+ #
14489
+ # For more information, see [Password management with Amazon Web
14490
+ # Services Secrets Manager][1] in the *Amazon RDS User Guide* and
14491
+ # [Password management with Amazon Web Services Secrets Manager][2] in
14492
+ # the *Amazon Aurora User Guide.*
14493
+ #
14494
+ # Valid for: Aurora DB clusters and Multi-AZ DB clusters
14495
+ #
14496
+ #
14497
+ #
14498
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
14499
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html
14500
+ #
14501
+ # @option params [Boolean] :rotate_master_user_password
14502
+ # A value that indicates whether to rotate the secret managed by Amazon
14503
+ # Web Services Secrets Manager for the master user password.
14504
+ #
14505
+ # This setting is valid only if the master user password is managed by
14506
+ # RDS in Amazon Web Services Secrets Manager for the DB cluster. The
14507
+ # secret value contains the updated password.
14508
+ #
14509
+ # For more information, see [Password management with Amazon Web
14510
+ # Services Secrets Manager][1] in the *Amazon RDS User Guide* and
14511
+ # [Password management with Amazon Web Services Secrets Manager][2] in
14512
+ # the *Amazon Aurora User Guide.*
14513
+ #
14514
+ # Constraints:
14515
+ #
14516
+ # * You must apply the change immediately when rotating the master user
14517
+ # password.
14518
+ #
14519
+ # ^
14520
+ #
14521
+ # Valid for: Aurora DB clusters and Multi-AZ DB clusters
14522
+ #
14523
+ #
14524
+ #
14525
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
14526
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html
14527
+ #
14528
+ # @option params [String] :master_user_secret_kms_key_id
14529
+ # The Amazon Web Services KMS key identifier to encrypt a secret that is
14530
+ # automatically generated and managed in Amazon Web Services Secrets
14531
+ # Manager.
14532
+ #
14533
+ # This setting is valid only if both of the following conditions are
14534
+ # met:
14535
+ #
14536
+ # * The DB cluster doesn't manage the master user password in Amazon
14537
+ # Web Services Secrets Manager.
14538
+ #
14539
+ # If the DB cluster already manages the master user password in Amazon
14540
+ # Web Services Secrets Manager, you can't change the KMS key that is
14541
+ # used to encrypt the secret.
14542
+ #
14543
+ # * You are turning on `ManageMasterUserPassword` to manage the master
14544
+ # user password in Amazon Web Services Secrets Manager.
14545
+ #
14546
+ # If you are turning on `ManageMasterUserPassword` and don't specify
14547
+ # `MasterUserSecretKmsKeyId`, then the `aws/secretsmanager` KMS key is
14548
+ # used to encrypt the secret. If the secret is in a different Amazon
14549
+ # Web Services account, then you can't use the `aws/secretsmanager`
14550
+ # KMS key to encrypt the secret, and you must use a customer managed
14551
+ # KMS key.
14552
+ #
14553
+ # The Amazon Web Services KMS key identifier is the key ARN, key ID,
14554
+ # alias ARN, or alias name for the KMS key. To use a KMS key in a
14555
+ # different Amazon Web Services account, specify the key ARN or alias
14556
+ # ARN.
14557
+ #
14558
+ # There is a default KMS key for your Amazon Web Services account. Your
14559
+ # Amazon Web Services account has a different default KMS key for each
14560
+ # Amazon Web Services Region.
14561
+ #
14562
+ # Valid for: Aurora DB clusters and Multi-AZ DB clusters
14563
+ #
14346
14564
  # @return [Types::ModifyDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14347
14565
  #
14348
14566
  # * {Types::ModifyDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
@@ -14419,6 +14637,9 @@ module Aws::RDS
14419
14637
  # max_capacity: 1.0,
14420
14638
  # },
14421
14639
  # network_type: "String",
14640
+ # manage_master_user_password: false,
14641
+ # rotate_master_user_password: false,
14642
+ # master_user_secret_kms_key_id: "String",
14422
14643
  # })
14423
14644
  #
14424
14645
  # @example Response structure
@@ -14530,6 +14751,9 @@ module Aws::RDS
14530
14751
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
14531
14752
  # resp.db_cluster.network_type #=> String
14532
14753
  # resp.db_cluster.db_system_id #=> String
14754
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
14755
+ # resp.db_cluster.master_user_secret.secret_status #=> String
14756
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
14533
14757
  #
14534
14758
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster AWS API Documentation
14535
14759
  #
@@ -14986,6 +15210,9 @@ module Aws::RDS
14986
15210
  #
14987
15211
  # Default: Uses existing setting
14988
15212
  #
15213
+ # Constraints: Can't be specified if `ManageMasterUserPassword` is
15214
+ # turned on.
15215
+ #
14989
15216
  # **MariaDB**
14990
15217
  #
14991
15218
  # Constraints: Must contain from 8 to 41 characters.
@@ -15681,6 +15908,91 @@ module Aws::RDS
15681
15908
  #
15682
15909
  # This setting doesn't apply to RDS Custom or Amazon Aurora.
15683
15910
  #
15911
+ # @option params [Boolean] :manage_master_user_password
15912
+ # A value that indicates whether to manage the master user password with
15913
+ # Amazon Web Services Secrets Manager.
15914
+ #
15915
+ # If the DB cluster doesn't manage the master user password with Amazon
15916
+ # Web Services Secrets Manager, you can turn on this management. In this
15917
+ # case, you can't specify `MasterUserPassword`.
15918
+ #
15919
+ # If the DB cluster already manages the master user password with Amazon
15920
+ # Web Services Secrets Manager, and you specify that the master user
15921
+ # password is not managed with Amazon Web Services Secrets Manager, then
15922
+ # you must specify `MasterUserPassword`. In this case, RDS deletes the
15923
+ # secret and uses the new password for the master user specified by
15924
+ # `MasterUserPassword`.
15925
+ #
15926
+ # For more information, see [Password management with Amazon Web
15927
+ # Services Secrets Manager][1] in the *Amazon RDS User Guide.*
15928
+ #
15929
+ # Constraints:
15930
+ #
15931
+ # * Can't manage the master user password with Amazon Web Services
15932
+ # Secrets Manager if `MasterUserPassword` is specified.
15933
+ #
15934
+ # ^
15935
+ #
15936
+ #
15937
+ #
15938
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
15939
+ #
15940
+ # @option params [Boolean] :rotate_master_user_password
15941
+ # A value that indicates whether to rotate the secret managed by Amazon
15942
+ # Web Services Secrets Manager for the master user password.
15943
+ #
15944
+ # This setting is valid only if the master user password is managed by
15945
+ # RDS in Amazon Web Services Secrets Manager for the DB cluster. The
15946
+ # secret value contains the updated password.
15947
+ #
15948
+ # For more information, see [Password management with Amazon Web
15949
+ # Services Secrets Manager][1] in the *Amazon RDS User Guide.*
15950
+ #
15951
+ # Constraints:
15952
+ #
15953
+ # * You must apply the change immediately when rotating the master user
15954
+ # password.
15955
+ #
15956
+ # ^
15957
+ #
15958
+ #
15959
+ #
15960
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
15961
+ #
15962
+ # @option params [String] :master_user_secret_kms_key_id
15963
+ # The Amazon Web Services KMS key identifier to encrypt a secret that is
15964
+ # automatically generated and managed in Amazon Web Services Secrets
15965
+ # Manager.
15966
+ #
15967
+ # This setting is valid only if both of the following conditions are
15968
+ # met:
15969
+ #
15970
+ # * The DB instance doesn't manage the master user password in Amazon
15971
+ # Web Services Secrets Manager.
15972
+ #
15973
+ # If the DB instance already manages the master user password in
15974
+ # Amazon Web Services Secrets Manager, you can't change the KMS key
15975
+ # used to encrypt the secret.
15976
+ #
15977
+ # * You are turning on `ManageMasterUserPassword` to manage the master
15978
+ # user password in Amazon Web Services Secrets Manager.
15979
+ #
15980
+ # If you are turning on `ManageMasterUserPassword` and don't specify
15981
+ # `MasterUserSecretKmsKeyId`, then the `aws/secretsmanager` KMS key is
15982
+ # used to encrypt the secret. If the secret is in a different Amazon
15983
+ # Web Services account, then you can't use the `aws/secretsmanager`
15984
+ # KMS key to encrypt the secret, and you must use a customer managed
15985
+ # KMS key.
15986
+ #
15987
+ # The Amazon Web Services KMS key identifier is the key ARN, key ID,
15988
+ # alias ARN, or alias name for the KMS key. To use a KMS key in a
15989
+ # different Amazon Web Services account, specify the key ARN or alias
15990
+ # ARN.
15991
+ #
15992
+ # There is a default KMS key for your Amazon Web Services account. Your
15993
+ # Amazon Web Services account has a different default KMS key for each
15994
+ # Amazon Web Services Region.
15995
+ #
15684
15996
  # @return [Types::ModifyDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15685
15997
  #
15686
15998
  # * {Types::ModifyDBInstanceResult#db_instance #db_instance} => Types::DBInstance
@@ -15767,6 +16079,9 @@ module Aws::RDS
15767
16079
  # resume_full_automation_mode_minutes: 1,
15768
16080
  # network_type: "String",
15769
16081
  # storage_throughput: 1,
16082
+ # manage_master_user_password: false,
16083
+ # rotate_master_user_password: false,
16084
+ # master_user_secret_kms_key_id: "String",
15770
16085
  # })
15771
16086
  #
15772
16087
  # @example Response structure
@@ -15914,6 +16229,9 @@ module Aws::RDS
15914
16229
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
15915
16230
  # resp.db_instance.storage_throughput #=> Integer
15916
16231
  # resp.db_instance.db_system_id #=> String
16232
+ # resp.db_instance.master_user_secret.secret_arn #=> String
16233
+ # resp.db_instance.master_user_secret.secret_status #=> String
16234
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
15917
16235
  #
15918
16236
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
15919
16237
  #
@@ -17154,6 +17472,9 @@ module Aws::RDS
17154
17472
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
17155
17473
  # resp.db_instance.storage_throughput #=> Integer
17156
17474
  # resp.db_instance.db_system_id #=> String
17475
+ # resp.db_instance.master_user_secret.secret_arn #=> String
17476
+ # resp.db_instance.master_user_secret.secret_status #=> String
17477
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
17157
17478
  #
17158
17479
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
17159
17480
  #
@@ -17297,6 +17618,9 @@ module Aws::RDS
17297
17618
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
17298
17619
  # resp.db_cluster.network_type #=> String
17299
17620
  # resp.db_cluster.db_system_id #=> String
17621
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
17622
+ # resp.db_cluster.master_user_secret.secret_status #=> String
17623
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
17300
17624
  #
17301
17625
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster AWS API Documentation
17302
17626
  #
@@ -17544,6 +17868,9 @@ module Aws::RDS
17544
17868
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
17545
17869
  # resp.db_cluster.network_type #=> String
17546
17870
  # resp.db_cluster.db_system_id #=> String
17871
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
17872
+ # resp.db_cluster.master_user_secret.secret_status #=> String
17873
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
17547
17874
  #
17548
17875
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBCluster AWS API Documentation
17549
17876
  #
@@ -17764,6 +18091,9 @@ module Aws::RDS
17764
18091
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
17765
18092
  # resp.db_instance.storage_throughput #=> Integer
17766
18093
  # resp.db_instance.db_system_id #=> String
18094
+ # resp.db_instance.master_user_secret.secret_arn #=> String
18095
+ # resp.db_instance.master_user_secret.secret_status #=> String
18096
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
17767
18097
  #
17768
18098
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
17769
18099
  #
@@ -18409,11 +18739,15 @@ module Aws::RDS
18409
18739
  #
18410
18740
  # * Can't be a reserved word for the chosen database engine.
18411
18741
  #
18412
- # @option params [required, String] :master_user_password
18742
+ # @option params [String] :master_user_password
18413
18743
  # The password for the master database user. This password can contain
18414
18744
  # any printable ASCII character except "/", """, or "@".
18415
18745
  #
18416
- # Constraints: Must contain from 8 to 41 characters.
18746
+ # Constraints:
18747
+ #
18748
+ # * Must contain from 8 to 41 characters.
18749
+ #
18750
+ # * Can't be specified if `ManageMasterUserPassword` is turned on.
18417
18751
  #
18418
18752
  # @option params [String] :option_group_name
18419
18753
  # A value that indicates that the restored DB cluster should be
@@ -18629,6 +18963,50 @@ module Aws::RDS
18629
18963
  #
18630
18964
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
18631
18965
  #
18966
+ # @option params [Boolean] :manage_master_user_password
18967
+ # A value that indicates whether to manage the master user password with
18968
+ # Amazon Web Services Secrets Manager.
18969
+ #
18970
+ # For more information, see [Password management with Amazon Web
18971
+ # Services Secrets Manager][1] in the *Amazon RDS User Guide* and
18972
+ # [Password management with Amazon Web Services Secrets Manager][2] in
18973
+ # the *Amazon Aurora User Guide.*
18974
+ #
18975
+ # Constraints:
18976
+ #
18977
+ # * Can't manage the master user password with Amazon Web Services
18978
+ # Secrets Manager if `MasterUserPassword` is specified.
18979
+ #
18980
+ # ^
18981
+ #
18982
+ #
18983
+ #
18984
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
18985
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html
18986
+ #
18987
+ # @option params [String] :master_user_secret_kms_key_id
18988
+ # The Amazon Web Services KMS key identifier to encrypt a secret that is
18989
+ # automatically generated and managed in Amazon Web Services Secrets
18990
+ # Manager.
18991
+ #
18992
+ # This setting is valid only if the master user password is managed by
18993
+ # RDS in Amazon Web Services Secrets Manager for the DB cluster.
18994
+ #
18995
+ # The Amazon Web Services KMS key identifier is the key ARN, key ID,
18996
+ # alias ARN, or alias name for the KMS key. To use a KMS key in a
18997
+ # different Amazon Web Services account, specify the key ARN or alias
18998
+ # ARN.
18999
+ #
19000
+ # If you don't specify `MasterUserSecretKmsKeyId`, then the
19001
+ # `aws/secretsmanager` KMS key is used to encrypt the secret. If the
19002
+ # secret is in a different Amazon Web Services account, then you can't
19003
+ # use the `aws/secretsmanager` KMS key to encrypt the secret, and you
19004
+ # must use a customer managed KMS key.
19005
+ #
19006
+ # There is a default KMS key for your Amazon Web Services account. Your
19007
+ # Amazon Web Services account has a different default KMS key for each
19008
+ # Amazon Web Services Region.
19009
+ #
18632
19010
  # @return [Types::RestoreDBClusterFromS3Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18633
19011
  #
18634
19012
  # * {Types::RestoreDBClusterFromS3Result#db_cluster #db_cluster} => Types::DBCluster
@@ -18648,7 +19026,7 @@ module Aws::RDS
18648
19026
  # engine_version: "String",
18649
19027
  # port: 1,
18650
19028
  # master_username: "String", # required
18651
- # master_user_password: "String", # required
19029
+ # master_user_password: "String",
18652
19030
  # option_group_name: "String",
18653
19031
  # preferred_backup_window: "String",
18654
19032
  # preferred_maintenance_window: "String",
@@ -18677,6 +19055,8 @@ module Aws::RDS
18677
19055
  # max_capacity: 1.0,
18678
19056
  # },
18679
19057
  # network_type: "String",
19058
+ # manage_master_user_password: false,
19059
+ # master_user_secret_kms_key_id: "String",
18680
19060
  # })
18681
19061
  #
18682
19062
  # @example Response structure
@@ -18788,6 +19168,9 @@ module Aws::RDS
18788
19168
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
18789
19169
  # resp.db_cluster.network_type #=> String
18790
19170
  # resp.db_cluster.db_system_id #=> String
19171
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
19172
+ # resp.db_cluster.master_user_secret.secret_status #=> String
19173
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
18791
19174
  #
18792
19175
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 AWS API Documentation
18793
19176
  #
@@ -19426,6 +19809,9 @@ module Aws::RDS
19426
19809
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
19427
19810
  # resp.db_cluster.network_type #=> String
19428
19811
  # resp.db_cluster.db_system_id #=> String
19812
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
19813
+ # resp.db_cluster.master_user_secret.secret_status #=> String
19814
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
19429
19815
  #
19430
19816
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot AWS API Documentation
19431
19817
  #
@@ -20033,6 +20419,9 @@ module Aws::RDS
20033
20419
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
20034
20420
  # resp.db_cluster.network_type #=> String
20035
20421
  # resp.db_cluster.db_system_id #=> String
20422
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
20423
+ # resp.db_cluster.master_user_secret.secret_status #=> String
20424
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
20036
20425
  #
20037
20426
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime AWS API Documentation
20038
20427
  #
@@ -20797,6 +21186,9 @@ module Aws::RDS
20797
21186
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
20798
21187
  # resp.db_instance.storage_throughput #=> Integer
20799
21188
  # resp.db_instance.db_system_id #=> String
21189
+ # resp.db_instance.master_user_secret.secret_arn #=> String
21190
+ # resp.db_instance.master_user_secret.secret_status #=> String
21191
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
20800
21192
  #
20801
21193
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
20802
21194
  #
@@ -20882,8 +21274,29 @@ module Aws::RDS
20882
21274
  # The password for the master user. The password can include any
20883
21275
  # printable ASCII character except "/", """, or "@".
20884
21276
  #
21277
+ # Constraints: Can't be specified if `ManageMasterUserPassword` is
21278
+ # turned on.
21279
+ #
21280
+ # **MariaDB**
21281
+ #
20885
21282
  # Constraints: Must contain from 8 to 41 characters.
20886
21283
  #
21284
+ # **Microsoft SQL Server**
21285
+ #
21286
+ # Constraints: Must contain from 8 to 128 characters.
21287
+ #
21288
+ # **MySQL**
21289
+ #
21290
+ # Constraints: Must contain from 8 to 41 characters.
21291
+ #
21292
+ # **Oracle**
21293
+ #
21294
+ # Constraints: Must contain from 8 to 30 characters.
21295
+ #
21296
+ # **PostgreSQL**
21297
+ #
21298
+ # Constraints: Must contain from 8 to 128 characters.
21299
+ #
20887
21300
  # @option params [Array<String>] :db_security_groups
20888
21301
  # A list of DB security groups to associate with this DB instance.
20889
21302
  #
@@ -21244,6 +21657,47 @@ module Aws::RDS
21244
21657
  #
21245
21658
  # This setting doesn't apply to RDS Custom or Amazon Aurora.
21246
21659
  #
21660
+ # @option params [Boolean] :manage_master_user_password
21661
+ # A value that indicates whether to manage the master user password with
21662
+ # Amazon Web Services Secrets Manager.
21663
+ #
21664
+ # For more information, see [Password management with Amazon Web
21665
+ # Services Secrets Manager][1] in the *Amazon RDS User Guide.*
21666
+ #
21667
+ # Constraints:
21668
+ #
21669
+ # * Can't manage the master user password with Amazon Web Services
21670
+ # Secrets Manager if `MasterUserPassword` is specified.
21671
+ #
21672
+ # ^
21673
+ #
21674
+ #
21675
+ #
21676
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
21677
+ #
21678
+ # @option params [String] :master_user_secret_kms_key_id
21679
+ # The Amazon Web Services KMS key identifier to encrypt a secret that is
21680
+ # automatically generated and managed in Amazon Web Services Secrets
21681
+ # Manager.
21682
+ #
21683
+ # This setting is valid only if the master user password is managed by
21684
+ # RDS in Amazon Web Services Secrets Manager for the DB instance.
21685
+ #
21686
+ # The Amazon Web Services KMS key identifier is the key ARN, key ID,
21687
+ # alias ARN, or alias name for the KMS key. To use a KMS key in a
21688
+ # different Amazon Web Services account, specify the key ARN or alias
21689
+ # ARN.
21690
+ #
21691
+ # If you don't specify `MasterUserSecretKmsKeyId`, then the
21692
+ # `aws/secretsmanager` KMS key is used to encrypt the secret. If the
21693
+ # secret is in a different Amazon Web Services account, then you can't
21694
+ # use the `aws/secretsmanager` KMS key to encrypt the secret, and you
21695
+ # must use a customer managed KMS key.
21696
+ #
21697
+ # There is a default KMS key for your Amazon Web Services account. Your
21698
+ # Amazon Web Services account has a different default KMS key for each
21699
+ # Amazon Web Services Region.
21700
+ #
21247
21701
  # @return [Types::RestoreDBInstanceFromS3Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
21248
21702
  #
21249
21703
  # * {Types::RestoreDBInstanceFromS3Result#db_instance #db_instance} => Types::DBInstance
@@ -21307,6 +21761,8 @@ module Aws::RDS
21307
21761
  # max_allocated_storage: 1,
21308
21762
  # network_type: "String",
21309
21763
  # storage_throughput: 1,
21764
+ # manage_master_user_password: false,
21765
+ # master_user_secret_kms_key_id: "String",
21310
21766
  # })
21311
21767
  #
21312
21768
  # @example Response structure
@@ -21454,6 +21910,9 @@ module Aws::RDS
21454
21910
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
21455
21911
  # resp.db_instance.storage_throughput #=> Integer
21456
21912
  # resp.db_instance.db_system_id #=> String
21913
+ # resp.db_instance.master_user_secret.secret_arn #=> String
21914
+ # resp.db_instance.master_user_secret.secret_status #=> String
21915
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
21457
21916
  #
21458
21917
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation
21459
21918
  #
@@ -22202,6 +22661,9 @@ module Aws::RDS
22202
22661
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
22203
22662
  # resp.db_instance.storage_throughput #=> Integer
22204
22663
  # resp.db_instance.db_system_id #=> String
22664
+ # resp.db_instance.master_user_secret.secret_arn #=> String
22665
+ # resp.db_instance.master_user_secret.secret_status #=> String
22666
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
22205
22667
  #
22206
22668
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
22207
22669
  #
@@ -22525,6 +22987,9 @@ module Aws::RDS
22525
22987
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
22526
22988
  # resp.db_cluster.network_type #=> String
22527
22989
  # resp.db_cluster.db_system_id #=> String
22990
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
22991
+ # resp.db_cluster.master_user_secret.secret_status #=> String
22992
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
22528
22993
  #
22529
22994
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBCluster AWS API Documentation
22530
22995
  #
@@ -22709,6 +23174,9 @@ module Aws::RDS
22709
23174
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
22710
23175
  # resp.db_instance.storage_throughput #=> Integer
22711
23176
  # resp.db_instance.db_system_id #=> String
23177
+ # resp.db_instance.master_user_secret.secret_arn #=> String
23178
+ # resp.db_instance.master_user_secret.secret_status #=> String
23179
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
22712
23180
  #
22713
23181
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
22714
23182
  #
@@ -23154,6 +23622,9 @@ module Aws::RDS
23154
23622
  # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
23155
23623
  # resp.db_cluster.network_type #=> String
23156
23624
  # resp.db_cluster.db_system_id #=> String
23625
+ # resp.db_cluster.master_user_secret.secret_arn #=> String
23626
+ # resp.db_cluster.master_user_secret.secret_status #=> String
23627
+ # resp.db_cluster.master_user_secret.kms_key_id #=> String
23157
23628
  #
23158
23629
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBCluster AWS API Documentation
23159
23630
  #
@@ -23345,6 +23816,9 @@ module Aws::RDS
23345
23816
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
23346
23817
  # resp.db_instance.storage_throughput #=> Integer
23347
23818
  # resp.db_instance.db_system_id #=> String
23819
+ # resp.db_instance.master_user_secret.secret_arn #=> String
23820
+ # resp.db_instance.master_user_secret.secret_status #=> String
23821
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
23348
23822
  #
23349
23823
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
23350
23824
  #
@@ -23667,6 +24141,9 @@ module Aws::RDS
23667
24141
  # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
23668
24142
  # resp.db_instance.storage_throughput #=> Integer
23669
24143
  # resp.db_instance.db_system_id #=> String
24144
+ # resp.db_instance.master_user_secret.secret_arn #=> String
24145
+ # resp.db_instance.master_user_secret.secret_status #=> String
24146
+ # resp.db_instance.master_user_secret.kms_key_id #=> String
23670
24147
  #
23671
24148
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplica AWS API Documentation
23672
24149
  #
@@ -23690,7 +24167,7 @@ module Aws::RDS
23690
24167
  params: params,
23691
24168
  config: config)
23692
24169
  context[:gem_name] = 'aws-sdk-rds'
23693
- context[:gem_version] = '1.166.0'
24170
+ context[:gem_version] = '1.167.0'
23694
24171
  Seahorse::Client::Request.new(handlers, context)
23695
24172
  end
23696
24173