aws-sdk-rds 1.318.0 → 1.320.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 +261 -3
- data/lib/aws-sdk-rds/client_api.rb +23 -2
- data/lib/aws-sdk-rds/db_cluster.rb +29 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +15 -0
- data/lib/aws-sdk-rds/db_instance.rb +25 -0
- data/lib/aws-sdk-rds/resource.rb +14 -0
- data/lib/aws-sdk-rds/types.rb +121 -4
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +26 -2
- data/sig/db_cluster.rbs +13 -1
- data/sig/db_cluster_snapshot.rbs +7 -1
- data/sig/db_instance.rbs +6 -0
- data/sig/resource.rbs +6 -0
- data/sig/types.rbs +14 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7aee1a677cd07033f092dc68a8f9c01270ec382751ae809ebd28a16f86d2b32
|
|
4
|
+
data.tar.gz: 131bb0ac127eeffbd30594587995b30f3108d40354717e1b6ac305508fc21c3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1af368af28de94a04fc58b0f778a221ef082654735330659549cd69d0b37ff75ca005cf79bf1468abcc78370415f2c46a4640993dbcaee12983365d6e7ffb64c
|
|
7
|
+
data.tar.gz: 5b834b5c9b2a314c8702ff6e3fe51ea18613ad86f4254a10728bddf027e7fefaa4e0ca89e9a0e175cf0bef7e7081d8bd299c554617761c96df012340bdf3a851
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.320.0 (2026-07-31)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds StorageOperationStatus and StorageOperationPercentProgress to DescribeDBInstances, letting you monitor RDS storage initialization and optimization progress.
|
|
8
|
+
|
|
9
|
+
1.319.0 (2026-07-17)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds the AssociatedRoles parameter to CreateDBCluster, RestoreDBClusterFromSnapshot, RestoreDBClusterToPointInTime, and RestoreDBClusterFromS3, letting customers associate IAM roles with an Aurora DB cluster at create or restore time instead of calling AddRoleToDBCluster afterward.
|
|
13
|
+
|
|
4
14
|
1.318.0 (2026-07-15)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.320.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
|
@@ -508,7 +508,7 @@ module Aws::RDS
|
|
|
508
508
|
#
|
|
509
509
|
# resp = client.add_role_to_db_cluster({
|
|
510
510
|
# db_cluster_identifier: "String", # required
|
|
511
|
-
# role_arn: "
|
|
511
|
+
# role_arn: "IAMRoleArn", # required
|
|
512
512
|
# feature_name: "String",
|
|
513
513
|
# })
|
|
514
514
|
#
|
|
@@ -2754,6 +2754,13 @@ module Aws::RDS
|
|
|
2754
2754
|
# instance and feature specific values set to all other input parameters
|
|
2755
2755
|
# of this API.
|
|
2756
2756
|
#
|
|
2757
|
+
# You can use the `AssociatedRoles` parameter to associate one or more
|
|
2758
|
+
# Amazon Web Services Identity and Access Management (IAM) roles with an
|
|
2759
|
+
# Aurora DB cluster. Each associated role lets the DB cluster access
|
|
2760
|
+
# other Amazon Web Services on your behalf, such as Amazon S3 for data
|
|
2761
|
+
# import and export, or Amazon Web Services Lambda for invoking
|
|
2762
|
+
# functions.
|
|
2763
|
+
#
|
|
2757
2764
|
#
|
|
2758
2765
|
#
|
|
2759
2766
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html
|
|
@@ -3713,6 +3720,15 @@ module Aws::RDS
|
|
|
3713
3720
|
#
|
|
3714
3721
|
# Valid for Cluster Type: Aurora DB clusters
|
|
3715
3722
|
#
|
|
3723
|
+
# @option params [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
3724
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
3725
|
+
# roles to associate with the DB cluster. Each role grants the DB
|
|
3726
|
+
# cluster permission to access other Amazon Web Services on your behalf.
|
|
3727
|
+
# For each role, specify a role ARN and, optionally, the feature name
|
|
3728
|
+
# (such as `s3Import`, `s3Export`, or `Lambda`).
|
|
3729
|
+
#
|
|
3730
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
3731
|
+
#
|
|
3716
3732
|
# @option params [String] :source_region
|
|
3717
3733
|
# The source region of the snapshot. This is only needed when the
|
|
3718
3734
|
# shapshot is encrypted and in a different region.
|
|
@@ -3921,6 +3937,73 @@ module Aws::RDS
|
|
|
3921
3937
|
# },
|
|
3922
3938
|
# }
|
|
3923
3939
|
#
|
|
3940
|
+
# @example Example: To create an Aurora DB cluster with an associated IAM role for Amazon S3 import
|
|
3941
|
+
#
|
|
3942
|
+
# # The following example creates an Aurora PostgreSQL-compatible DB cluster and associates an IAM role for Amazon S3 import
|
|
3943
|
+
# # in a single call.
|
|
3944
|
+
#
|
|
3945
|
+
# resp = client.create_db_cluster({
|
|
3946
|
+
# associated_roles: [
|
|
3947
|
+
# {
|
|
3948
|
+
# feature_name: "s3Import",
|
|
3949
|
+
# role_arn: "arn:aws:iam::123456789012:role/RDSLoadFromS3",
|
|
3950
|
+
# },
|
|
3951
|
+
# ],
|
|
3952
|
+
# db_cluster_identifier: "sample-cluster",
|
|
3953
|
+
# engine: "aurora-postgresql",
|
|
3954
|
+
# master_user_password: "mypassword",
|
|
3955
|
+
# master_username: "admin",
|
|
3956
|
+
# })
|
|
3957
|
+
#
|
|
3958
|
+
# resp.to_h outputs the following:
|
|
3959
|
+
# {
|
|
3960
|
+
# db_cluster: {
|
|
3961
|
+
# allocated_storage: 1,
|
|
3962
|
+
# associated_roles: [
|
|
3963
|
+
# {
|
|
3964
|
+
# feature_name: "s3Import",
|
|
3965
|
+
# role_arn: "arn:aws:iam::123456789012:role/RDSLoadFromS3",
|
|
3966
|
+
# status: "ACTIVE",
|
|
3967
|
+
# },
|
|
3968
|
+
# ],
|
|
3969
|
+
# availability_zones: [
|
|
3970
|
+
# "us-east-1a",
|
|
3971
|
+
# "us-east-1b",
|
|
3972
|
+
# "us-east-1c",
|
|
3973
|
+
# ],
|
|
3974
|
+
# backup_retention_period: 1,
|
|
3975
|
+
# cluster_create_time: Time.parse("2024-06-07T23:26:08.371Z"),
|
|
3976
|
+
# copy_tags_to_snapshot: false,
|
|
3977
|
+
# db_cluster_arn: "arn:aws:rds:us-east-1:123456789012:cluster:sample-cluster",
|
|
3978
|
+
# db_cluster_identifier: "sample-cluster",
|
|
3979
|
+
# db_cluster_members: [
|
|
3980
|
+
# ],
|
|
3981
|
+
# db_cluster_parameter_group: "default.aurora-postgresql17",
|
|
3982
|
+
# db_subnet_group: "default",
|
|
3983
|
+
# db_cluster_resource_id: "cluster-ANPAJ4AE5446DAEXAMPLE",
|
|
3984
|
+
# deletion_protection: false,
|
|
3985
|
+
# endpoint: "sample-cluster.cluster-cnpexample.us-east-1.rds.amazonaws.com",
|
|
3986
|
+
# engine: "aurora-postgresql",
|
|
3987
|
+
# engine_mode: "provisioned",
|
|
3988
|
+
# engine_version: "17.7",
|
|
3989
|
+
# hosted_zone_id: "Z2R2ITUGPM61AM",
|
|
3990
|
+
# http_endpoint_enabled: false,
|
|
3991
|
+
# iam_database_authentication_enabled: false,
|
|
3992
|
+
# master_username: "admin",
|
|
3993
|
+
# multi_az: false,
|
|
3994
|
+
# port: 5432,
|
|
3995
|
+
# preferred_backup_window: "09:56-10:26",
|
|
3996
|
+
# preferred_maintenance_window: "wed:03:33-wed:04:03",
|
|
3997
|
+
# read_replica_identifiers: [
|
|
3998
|
+
# ],
|
|
3999
|
+
# reader_endpoint: "sample-cluster.cluster-ro-cnpexample.us-east-1.rds.amazonaws.com",
|
|
4000
|
+
# status: "creating",
|
|
4001
|
+
# storage_encrypted: false,
|
|
4002
|
+
# vpc_security_groups: [
|
|
4003
|
+
# ],
|
|
4004
|
+
# },
|
|
4005
|
+
# }
|
|
4006
|
+
#
|
|
3924
4007
|
# @example Request syntax with placeholder values
|
|
3925
4008
|
#
|
|
3926
4009
|
# resp = client.create_db_cluster({
|
|
@@ -4013,6 +4096,12 @@ module Aws::RDS
|
|
|
4013
4096
|
# ],
|
|
4014
4097
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
4015
4098
|
# with_express_configuration: false,
|
|
4099
|
+
# associated_roles: [
|
|
4100
|
+
# {
|
|
4101
|
+
# role_arn: "IAMRoleArn", # required
|
|
4102
|
+
# feature_name: "String",
|
|
4103
|
+
# },
|
|
4104
|
+
# ],
|
|
4016
4105
|
# source_region: "String",
|
|
4017
4106
|
# })
|
|
4018
4107
|
#
|
|
@@ -6353,12 +6442,16 @@ module Aws::RDS
|
|
|
6353
6442
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
6354
6443
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
6355
6444
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
6445
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
6446
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
6356
6447
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
6357
6448
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
6358
6449
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
6359
6450
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
6360
6451
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
6361
6452
|
# resp.db_instance.storage_volume_status #=> String
|
|
6453
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
6454
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
6362
6455
|
#
|
|
6363
6456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
|
|
6364
6457
|
#
|
|
@@ -7421,12 +7514,16 @@ module Aws::RDS
|
|
|
7421
7514
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
7422
7515
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
7423
7516
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
7517
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
7518
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
7424
7519
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
7425
7520
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
7426
7521
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
7427
7522
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
7428
7523
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
7429
7524
|
# resp.db_instance.storage_volume_status #=> String
|
|
7525
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
7526
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
7430
7527
|
#
|
|
7431
7528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
|
|
7432
7529
|
#
|
|
@@ -10527,12 +10624,16 @@ module Aws::RDS
|
|
|
10527
10624
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
10528
10625
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
10529
10626
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
10627
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
10628
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
10530
10629
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
10531
10630
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
10532
10631
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
10533
10632
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
10534
10633
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
10535
10634
|
# resp.db_instance.storage_volume_status #=> String
|
|
10635
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
10636
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
10536
10637
|
#
|
|
10537
10638
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
|
|
10538
10639
|
#
|
|
@@ -14272,12 +14373,16 @@ module Aws::RDS
|
|
|
14272
14373
|
# resp.db_instances[0].additional_storage_volumes #=> Array
|
|
14273
14374
|
# resp.db_instances[0].additional_storage_volumes[0].volume_name #=> String
|
|
14274
14375
|
# resp.db_instances[0].additional_storage_volumes[0].storage_volume_status #=> String
|
|
14376
|
+
# resp.db_instances[0].additional_storage_volumes[0].storage_operation_status #=> String
|
|
14377
|
+
# resp.db_instances[0].additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
14275
14378
|
# resp.db_instances[0].additional_storage_volumes[0].allocated_storage #=> Integer
|
|
14276
14379
|
# resp.db_instances[0].additional_storage_volumes[0].iops #=> Integer
|
|
14277
14380
|
# resp.db_instances[0].additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
14278
14381
|
# resp.db_instances[0].additional_storage_volumes[0].storage_throughput #=> Integer
|
|
14279
14382
|
# resp.db_instances[0].additional_storage_volumes[0].storage_type #=> String
|
|
14280
14383
|
# resp.db_instances[0].storage_volume_status #=> String
|
|
14384
|
+
# resp.db_instances[0].storage_operation_status #=> String
|
|
14385
|
+
# resp.db_instances[0].storage_operation_percent_progress #=> Integer
|
|
14281
14386
|
#
|
|
14282
14387
|
#
|
|
14283
14388
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -22881,12 +22986,16 @@ module Aws::RDS
|
|
|
22881
22986
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
22882
22987
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
22883
22988
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
22989
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
22990
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
22884
22991
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
22885
22992
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
22886
22993
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
22887
22994
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
22888
22995
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
22889
22996
|
# resp.db_instance.storage_volume_status #=> String
|
|
22997
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
22998
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
22890
22999
|
#
|
|
22891
23000
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
|
|
22892
23001
|
#
|
|
@@ -24879,12 +24988,16 @@ module Aws::RDS
|
|
|
24879
24988
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
24880
24989
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
24881
24990
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
24991
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
24992
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
24882
24993
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
24883
24994
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
24884
24995
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
24885
24996
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
24886
24997
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
24887
24998
|
# resp.db_instance.storage_volume_status #=> String
|
|
24999
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
25000
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
24888
25001
|
#
|
|
24889
25002
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
|
|
24890
25003
|
#
|
|
@@ -25635,12 +25748,16 @@ module Aws::RDS
|
|
|
25635
25748
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
25636
25749
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
25637
25750
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
25751
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
25752
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
25638
25753
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
25639
25754
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
25640
25755
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
25641
25756
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
25642
25757
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
25643
25758
|
# resp.db_instance.storage_volume_status #=> String
|
|
25759
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
25760
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
25644
25761
|
#
|
|
25645
25762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
|
|
25646
25763
|
#
|
|
@@ -25908,7 +26025,7 @@ module Aws::RDS
|
|
|
25908
26025
|
#
|
|
25909
26026
|
# resp = client.remove_role_from_db_cluster({
|
|
25910
26027
|
# db_cluster_identifier: "String", # required
|
|
25911
|
-
# role_arn: "
|
|
26028
|
+
# role_arn: "IAMRoleArn", # required
|
|
25912
26029
|
# feature_name: "String",
|
|
25913
26030
|
# })
|
|
25914
26031
|
#
|
|
@@ -26307,6 +26424,10 @@ module Aws::RDS
|
|
|
26307
26424
|
#
|
|
26308
26425
|
# </note>
|
|
26309
26426
|
#
|
|
26427
|
+
# You can use the `AssociatedRoles` parameter to associate one or more
|
|
26428
|
+
# Amazon Web Services Identity and Access Management (IAM) roles with
|
|
26429
|
+
# the Aurora DB cluster when you restore it from Amazon S3.
|
|
26430
|
+
#
|
|
26310
26431
|
#
|
|
26311
26432
|
#
|
|
26312
26433
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Migrating.ExtMySQL.html#AuroraMySQL.Migrating.ExtMySQL.S3
|
|
@@ -26740,6 +26861,14 @@ module Aws::RDS
|
|
|
26740
26861
|
#
|
|
26741
26862
|
# ^
|
|
26742
26863
|
#
|
|
26864
|
+
# @option params [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
26865
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
26866
|
+
# roles to associate with the DB cluster when it's restored from Amazon
|
|
26867
|
+
# S3. Each role grants the DB cluster permission to access other Amazon
|
|
26868
|
+
# Web Services on your behalf. For each role, specify a role ARN and,
|
|
26869
|
+
# optionally, the feature name (such as `s3Import`, `s3Export`, or
|
|
26870
|
+
# `Lambda`).
|
|
26871
|
+
#
|
|
26743
26872
|
# @return [Types::RestoreDBClusterFromS3Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
26744
26873
|
#
|
|
26745
26874
|
# * {Types::RestoreDBClusterFromS3Result#db_cluster #db_cluster} => Types::DBCluster
|
|
@@ -26873,6 +27002,12 @@ module Aws::RDS
|
|
|
26873
27002
|
# ],
|
|
26874
27003
|
# },
|
|
26875
27004
|
# ],
|
|
27005
|
+
# associated_roles: [
|
|
27006
|
+
# {
|
|
27007
|
+
# role_arn: "IAMRoleArn", # required
|
|
27008
|
+
# feature_name: "String",
|
|
27009
|
+
# },
|
|
27010
|
+
# ],
|
|
26876
27011
|
# })
|
|
26877
27012
|
#
|
|
26878
27013
|
# @example Response structure
|
|
@@ -27051,6 +27186,10 @@ module Aws::RDS
|
|
|
27051
27186
|
# need to modify the DB cluster to update `MasterUserAuthenticationType`
|
|
27052
27187
|
# to `iam-db-auth`.
|
|
27053
27188
|
#
|
|
27189
|
+
# You can use the `AssociatedRoles` parameter to associate one or more
|
|
27190
|
+
# Amazon Web Services Identity and Access Management (IAM) roles with an
|
|
27191
|
+
# Aurora DB cluster when you restore it from a snapshot.
|
|
27192
|
+
#
|
|
27054
27193
|
# <note markdown="1"> This operation only restores the DB cluster, not the DB instances for
|
|
27055
27194
|
# that DB cluster. You must invoke the `CreateDBInstance` operation to
|
|
27056
27195
|
# create DB instances for the restored DB cluster, specifying the
|
|
@@ -27660,6 +27799,16 @@ module Aws::RDS
|
|
|
27660
27799
|
#
|
|
27661
27800
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
27662
27801
|
#
|
|
27802
|
+
# @option params [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
27803
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
27804
|
+
# roles to associate with the DB cluster when it's restored from a
|
|
27805
|
+
# snapshot. Each role grants the DB cluster permission to access other
|
|
27806
|
+
# Amazon Web Services on your behalf. For each role, specify a role ARN
|
|
27807
|
+
# and, optionally, the feature name (such as `s3Import`, `s3Export`, or
|
|
27808
|
+
# `Lambda`).
|
|
27809
|
+
#
|
|
27810
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
27811
|
+
#
|
|
27663
27812
|
# @return [Types::RestoreDBClusterFromSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
27664
27813
|
#
|
|
27665
27814
|
# * {Types::RestoreDBClusterFromSnapshotResult#db_cluster #db_cluster} => Types::DBCluster
|
|
@@ -27790,6 +27939,65 @@ module Aws::RDS
|
|
|
27790
27939
|
# },
|
|
27791
27940
|
# }
|
|
27792
27941
|
#
|
|
27942
|
+
# @example Example: To restore a DB cluster from a snapshot with an associated IAM role
|
|
27943
|
+
#
|
|
27944
|
+
# # The following example restores an Aurora PostgreSQL DB cluster from a snapshot and associates an IAM role for Amazon S3
|
|
27945
|
+
# # import in a single call.
|
|
27946
|
+
#
|
|
27947
|
+
# resp = client.restore_db_cluster_from_snapshot({
|
|
27948
|
+
# associated_roles: [
|
|
27949
|
+
# {
|
|
27950
|
+
# feature_name: "s3Import",
|
|
27951
|
+
# role_arn: "arn:aws:iam::123456789012:role/RDSLoadFromS3",
|
|
27952
|
+
# },
|
|
27953
|
+
# ],
|
|
27954
|
+
# db_cluster_identifier: "restored-cluster",
|
|
27955
|
+
# engine: "aurora-postgresql",
|
|
27956
|
+
# snapshot_identifier: "test-instance-snapshot",
|
|
27957
|
+
# })
|
|
27958
|
+
#
|
|
27959
|
+
# resp.to_h outputs the following:
|
|
27960
|
+
# {
|
|
27961
|
+
# db_cluster: {
|
|
27962
|
+
# associated_roles: [
|
|
27963
|
+
# {
|
|
27964
|
+
# feature_name: "s3Import",
|
|
27965
|
+
# role_arn: "arn:aws:iam::123456789012:role/RDSLoadFromS3",
|
|
27966
|
+
# status: "ACTIVE",
|
|
27967
|
+
# },
|
|
27968
|
+
# ],
|
|
27969
|
+
# cluster_create_time: Time.parse("2024-06-05T15:06:58.634Z"),
|
|
27970
|
+
# copy_tags_to_snapshot: false,
|
|
27971
|
+
# cross_account_clone: false,
|
|
27972
|
+
# db_cluster_arn: "arn:aws:rds:us-west-2:123456789012:cluster:restored-cluster",
|
|
27973
|
+
# db_cluster_identifier: "restored-cluster",
|
|
27974
|
+
# db_cluster_members: [
|
|
27975
|
+
# ],
|
|
27976
|
+
# db_cluster_parameter_group: "default.aurora-postgresql17",
|
|
27977
|
+
# database_name: "",
|
|
27978
|
+
# db_cluster_resource_id: "cluster-5DSB5IFQDDUVAWOUWM1EXAMPLE",
|
|
27979
|
+
# deletion_protection: false,
|
|
27980
|
+
# domain_memberships: [
|
|
27981
|
+
# ],
|
|
27982
|
+
# engine: "aurora-postgresql",
|
|
27983
|
+
# engine_mode: "provisioned",
|
|
27984
|
+
# engine_version: "17.7",
|
|
27985
|
+
# http_endpoint_enabled: false,
|
|
27986
|
+
# iam_database_authentication_enabled: true,
|
|
27987
|
+
# master_username: "postgres",
|
|
27988
|
+
# multi_az: false,
|
|
27989
|
+
# port: 5432,
|
|
27990
|
+
# preferred_backup_window: "09:33-10:03",
|
|
27991
|
+
# preferred_maintenance_window: "sun:12:22-sun:12:52",
|
|
27992
|
+
# read_replica_identifiers: [
|
|
27993
|
+
# ],
|
|
27994
|
+
# status: "creating",
|
|
27995
|
+
# storage_encrypted: false,
|
|
27996
|
+
# vpc_security_groups: [
|
|
27997
|
+
# ],
|
|
27998
|
+
# },
|
|
27999
|
+
# }
|
|
28000
|
+
#
|
|
27793
28001
|
# @example Request syntax with placeholder values
|
|
27794
28002
|
#
|
|
27795
28003
|
# resp = client.restore_db_cluster_from_snapshot({
|
|
@@ -27863,6 +28071,12 @@ module Aws::RDS
|
|
|
27863
28071
|
# ],
|
|
27864
28072
|
# enable_vpc_networking: false,
|
|
27865
28073
|
# enable_internet_access_gateway: false,
|
|
28074
|
+
# associated_roles: [
|
|
28075
|
+
# {
|
|
28076
|
+
# role_arn: "IAMRoleArn", # required
|
|
28077
|
+
# feature_name: "String",
|
|
28078
|
+
# },
|
|
28079
|
+
# ],
|
|
27866
28080
|
# })
|
|
27867
28081
|
#
|
|
27868
28082
|
# @example Response structure
|
|
@@ -28045,6 +28259,10 @@ module Aws::RDS
|
|
|
28045
28259
|
# need to modify the DB cluster to update `MasterUserAuthenticationType`
|
|
28046
28260
|
# to `iam-db-auth`.
|
|
28047
28261
|
#
|
|
28262
|
+
# You can use the `AssociatedRoles` parameter to associate one or more
|
|
28263
|
+
# Amazon Web Services Identity and Access Management (IAM) roles with an
|
|
28264
|
+
# Aurora DB cluster when you restore it to a point in time.
|
|
28265
|
+
#
|
|
28048
28266
|
# <note markdown="1"> For Aurora, this operation only restores the DB cluster, not the DB
|
|
28049
28267
|
# instances for that DB cluster. You must invoke the `CreateDBInstance`
|
|
28050
28268
|
# operation to create DB instances for the restored DB cluster,
|
|
@@ -28634,6 +28852,16 @@ module Aws::RDS
|
|
|
28634
28852
|
#
|
|
28635
28853
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
28636
28854
|
#
|
|
28855
|
+
# @option params [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
28856
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
28857
|
+
# roles to associate with the DB cluster when it's restored to a point
|
|
28858
|
+
# in time. Each role grants the DB cluster permission to access other
|
|
28859
|
+
# Amazon Web Services on your behalf. For each role, specify a role ARN
|
|
28860
|
+
# and, optionally, the feature name (such as `s3Import`, `s3Export`, or
|
|
28861
|
+
# `Lambda`).
|
|
28862
|
+
#
|
|
28863
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
28864
|
+
#
|
|
28637
28865
|
# @return [Types::RestoreDBClusterToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
28638
28866
|
#
|
|
28639
28867
|
# * {Types::RestoreDBClusterToPointInTimeResult#db_cluster #db_cluster} => Types::DBCluster
|
|
@@ -28835,6 +29063,12 @@ module Aws::RDS
|
|
|
28835
29063
|
# ],
|
|
28836
29064
|
# enable_vpc_networking: false,
|
|
28837
29065
|
# enable_internet_access_gateway: false,
|
|
29066
|
+
# associated_roles: [
|
|
29067
|
+
# {
|
|
29068
|
+
# role_arn: "IAMRoleArn", # required
|
|
29069
|
+
# feature_name: "String",
|
|
29070
|
+
# },
|
|
29071
|
+
# ],
|
|
28838
29072
|
# })
|
|
28839
29073
|
#
|
|
28840
29074
|
# @example Response structure
|
|
@@ -30035,12 +30269,16 @@ module Aws::RDS
|
|
|
30035
30269
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
30036
30270
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
30037
30271
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
30272
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
30273
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
30038
30274
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
30039
30275
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
30040
30276
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
30041
30277
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
30042
30278
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
30043
30279
|
# resp.db_instance.storage_volume_status #=> String
|
|
30280
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
30281
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
30044
30282
|
#
|
|
30045
30283
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
|
|
30046
30284
|
#
|
|
@@ -30908,12 +31146,16 @@ module Aws::RDS
|
|
|
30908
31146
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
30909
31147
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
30910
31148
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
31149
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
31150
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
30911
31151
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
30912
31152
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
30913
31153
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
30914
31154
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
30915
31155
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
30916
31156
|
# resp.db_instance.storage_volume_status #=> String
|
|
31157
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
31158
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
30917
31159
|
#
|
|
30918
31160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation
|
|
30919
31161
|
#
|
|
@@ -32031,12 +32273,16 @@ module Aws::RDS
|
|
|
32031
32273
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
32032
32274
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
32033
32275
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
32276
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
32277
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
32034
32278
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
32035
32279
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
32036
32280
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
32037
32281
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
32038
32282
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
32039
32283
|
# resp.db_instance.storage_volume_status #=> String
|
|
32284
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
32285
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
32040
32286
|
#
|
|
32041
32287
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
|
|
32042
32288
|
#
|
|
@@ -32678,12 +32924,16 @@ module Aws::RDS
|
|
|
32678
32924
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
32679
32925
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
32680
32926
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
32927
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
32928
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
32681
32929
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
32682
32930
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
32683
32931
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
32684
32932
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
32685
32933
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
32686
32934
|
# resp.db_instance.storage_volume_status #=> String
|
|
32935
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
32936
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
32687
32937
|
#
|
|
32688
32938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
|
|
32689
32939
|
#
|
|
@@ -33565,12 +33815,16 @@ module Aws::RDS
|
|
|
33565
33815
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
33566
33816
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
33567
33817
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
33818
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
33819
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
33568
33820
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
33569
33821
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
33570
33822
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
33571
33823
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
33572
33824
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
33573
33825
|
# resp.db_instance.storage_volume_status #=> String
|
|
33826
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
33827
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
33574
33828
|
#
|
|
33575
33829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
|
|
33576
33830
|
#
|
|
@@ -34203,12 +34457,16 @@ module Aws::RDS
|
|
|
34203
34457
|
# resp.db_instance.additional_storage_volumes #=> Array
|
|
34204
34458
|
# resp.db_instance.additional_storage_volumes[0].volume_name #=> String
|
|
34205
34459
|
# resp.db_instance.additional_storage_volumes[0].storage_volume_status #=> String
|
|
34460
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_status #=> String
|
|
34461
|
+
# resp.db_instance.additional_storage_volumes[0].storage_operation_percent_progress #=> Integer
|
|
34206
34462
|
# resp.db_instance.additional_storage_volumes[0].allocated_storage #=> Integer
|
|
34207
34463
|
# resp.db_instance.additional_storage_volumes[0].iops #=> Integer
|
|
34208
34464
|
# resp.db_instance.additional_storage_volumes[0].max_allocated_storage #=> Integer
|
|
34209
34465
|
# resp.db_instance.additional_storage_volumes[0].storage_throughput #=> Integer
|
|
34210
34466
|
# resp.db_instance.additional_storage_volumes[0].storage_type #=> String
|
|
34211
34467
|
# resp.db_instance.storage_volume_status #=> String
|
|
34468
|
+
# resp.db_instance.storage_operation_status #=> String
|
|
34469
|
+
# resp.db_instance.storage_operation_percent_progress #=> Integer
|
|
34212
34470
|
#
|
|
34213
34471
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplica AWS API Documentation
|
|
34214
34472
|
#
|
|
@@ -34237,7 +34495,7 @@ module Aws::RDS
|
|
|
34237
34495
|
tracer: tracer
|
|
34238
34496
|
)
|
|
34239
34497
|
context[:gem_name] = 'aws-sdk-rds'
|
|
34240
|
-
context[:gem_version] = '1.
|
|
34498
|
+
context[:gem_version] = '1.320.0'
|
|
34241
34499
|
Seahorse::Client::Request.new(handlers, context)
|
|
34242
34500
|
end
|
|
34243
34501
|
|
|
@@ -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
|
|
|
@@ -845,6 +848,8 @@ module Aws::RDS
|
|
|
845
848
|
|
|
846
849
|
AdditionalStorageVolumeOutput.add_member(:volume_name, Shapes::ShapeRef.new(shape: String, location_name: "VolumeName"))
|
|
847
850
|
AdditionalStorageVolumeOutput.add_member(:storage_volume_status, Shapes::ShapeRef.new(shape: String, location_name: "StorageVolumeStatus"))
|
|
851
|
+
AdditionalStorageVolumeOutput.add_member(:storage_operation_status, Shapes::ShapeRef.new(shape: String, location_name: "StorageOperationStatus"))
|
|
852
|
+
AdditionalStorageVolumeOutput.add_member(:storage_operation_percent_progress, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageOperationPercentProgress"))
|
|
848
853
|
AdditionalStorageVolumeOutput.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: Integer, location_name: "AllocatedStorage"))
|
|
849
854
|
AdditionalStorageVolumeOutput.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "IOPS"))
|
|
850
855
|
AdditionalStorageVolumeOutput.add_member(:max_allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxAllocatedStorage"))
|
|
@@ -1170,6 +1175,7 @@ module Aws::RDS
|
|
|
1170
1175
|
CreateDBClusterMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
1171
1176
|
CreateDBClusterMessage.add_member(:master_user_authentication_type, Shapes::ShapeRef.new(shape: MasterUserAuthenticationType, location_name: "MasterUserAuthenticationType"))
|
|
1172
1177
|
CreateDBClusterMessage.add_member(:with_express_configuration, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "WithExpressConfiguration"))
|
|
1178
|
+
CreateDBClusterMessage.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
1173
1179
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
|
1174
1180
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
|
1175
1181
|
|
|
@@ -1557,6 +1563,12 @@ module Aws::RDS
|
|
|
1557
1563
|
|
|
1558
1564
|
DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
|
|
1559
1565
|
|
|
1566
|
+
DBClusterAssociatedRole.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
|
1567
|
+
DBClusterAssociatedRole.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
|
1568
|
+
DBClusterAssociatedRole.struct_class = Types::DBClusterAssociatedRole
|
|
1569
|
+
|
|
1570
|
+
DBClusterAssociatedRoles.member = Shapes::ShapeRef.new(shape: DBClusterAssociatedRole, location_name: "DBClusterAssociatedRole")
|
|
1571
|
+
|
|
1560
1572
|
DBClusterAutomatedBackup.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
|
1561
1573
|
DBClusterAutomatedBackup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
|
|
1562
1574
|
DBClusterAutomatedBackup.add_member(:db_cluster_automated_backups_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterAutomatedBackupsArn"))
|
|
@@ -1897,6 +1909,8 @@ module Aws::RDS
|
|
|
1897
1909
|
DBInstance.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
1898
1910
|
DBInstance.add_member(:additional_storage_volumes, Shapes::ShapeRef.new(shape: AdditionalStorageVolumesOutputList, location_name: "AdditionalStorageVolumes"))
|
|
1899
1911
|
DBInstance.add_member(:storage_volume_status, Shapes::ShapeRef.new(shape: String, location_name: "StorageVolumeStatus"))
|
|
1912
|
+
DBInstance.add_member(:storage_operation_status, Shapes::ShapeRef.new(shape: String, location_name: "StorageOperationStatus"))
|
|
1913
|
+
DBInstance.add_member(:storage_operation_percent_progress, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageOperationPercentProgress"))
|
|
1900
1914
|
DBInstance.struct_class = Types::DBInstance
|
|
1901
1915
|
|
|
1902
1916
|
DBInstanceAlreadyExistsFault.struct_class = Types::DBInstanceAlreadyExistsFault
|
|
@@ -3850,7 +3864,7 @@ module Aws::RDS
|
|
|
3850
3864
|
RemoveFromGlobalClusterResult.struct_class = Types::RemoveFromGlobalClusterResult
|
|
3851
3865
|
|
|
3852
3866
|
RemoveRoleFromDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
|
3853
|
-
RemoveRoleFromDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape:
|
|
3867
|
+
RemoveRoleFromDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
|
3854
3868
|
RemoveRoleFromDBClusterMessage.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
|
3855
3869
|
RemoveRoleFromDBClusterMessage.struct_class = Types::RemoveRoleFromDBClusterMessage
|
|
3856
3870
|
|
|
@@ -3974,6 +3988,7 @@ module Aws::RDS
|
|
|
3974
3988
|
RestoreDBClusterFromS3Message.add_member(:master_user_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserSecretKmsKeyId"))
|
|
3975
3989
|
RestoreDBClusterFromS3Message.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
3976
3990
|
RestoreDBClusterFromS3Message.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
3991
|
+
RestoreDBClusterFromS3Message.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
3977
3992
|
RestoreDBClusterFromS3Message.struct_class = Types::RestoreDBClusterFromS3Message
|
|
3978
3993
|
|
|
3979
3994
|
RestoreDBClusterFromS3Result.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4019,6 +4034,7 @@ module Aws::RDS
|
|
|
4019
4034
|
RestoreDBClusterFromSnapshotMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
4020
4035
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_vpc_networking, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableVPCNetworking"))
|
|
4021
4036
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_internet_access_gateway, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableInternetAccessGateway"))
|
|
4037
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
4022
4038
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
|
4023
4039
|
|
|
4024
4040
|
RestoreDBClusterFromSnapshotResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4064,6 +4080,7 @@ module Aws::RDS
|
|
|
4064
4080
|
RestoreDBClusterToPointInTimeMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
4065
4081
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_vpc_networking, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableVPCNetworking"))
|
|
4066
4082
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_internet_access_gateway, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableInternetAccessGateway"))
|
|
4083
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
4067
4084
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
|
4068
4085
|
|
|
4069
4086
|
RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4844,6 +4861,7 @@ module Aws::RDS
|
|
|
4844
4861
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
|
4845
4862
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
|
4846
4863
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
4864
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
4847
4865
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
|
4848
4866
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBSubnetGroupStateFault)
|
|
4849
4867
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
|
@@ -6563,6 +6581,7 @@ module Aws::RDS
|
|
|
6563
6581
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
|
6564
6582
|
o.errors << Shapes::ShapeRef.new(shape: StorageTypeNotSupportedFault)
|
|
6565
6583
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
6584
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
6566
6585
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
|
6567
6586
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterAlreadyExistsFault)
|
|
6568
6587
|
o.errors << Shapes::ShapeRef.new(shape: NetworkTypeNotSupported)
|
|
@@ -6598,6 +6617,7 @@ module Aws::RDS
|
|
|
6598
6617
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
|
6599
6618
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
|
6600
6619
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
6620
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
6601
6621
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
|
6602
6622
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRestoreFault)
|
|
6603
6623
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterQuotaExceededFault)
|
|
@@ -6628,6 +6648,7 @@ module Aws::RDS
|
|
|
6628
6648
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
|
6629
6649
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupNotFoundFault)
|
|
6630
6650
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
6651
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
6631
6652
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
|
6632
6653
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
|
6633
6654
|
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 ({})
|
|
@@ -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.
|
|
@@ -2932,6 +2946,12 @@ module Aws::RDS
|
|
|
2932
2946
|
# ],
|
|
2933
2947
|
# enable_vpc_networking: false,
|
|
2934
2948
|
# enable_internet_access_gateway: false,
|
|
2949
|
+
# associated_roles: [
|
|
2950
|
+
# {
|
|
2951
|
+
# role_arn: "IAMRoleArn", # required
|
|
2952
|
+
# feature_name: "String",
|
|
2953
|
+
# },
|
|
2954
|
+
# ],
|
|
2935
2955
|
# })
|
|
2936
2956
|
# @param [Hash] options ({})
|
|
2937
2957
|
# @option options [required, String] :db_cluster_identifier
|
|
@@ -3452,6 +3472,15 @@ module Aws::RDS
|
|
|
3452
3472
|
# `EnableIAMDatabaseAuthentication`.
|
|
3453
3473
|
#
|
|
3454
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
|
|
3455
3484
|
# @return [DBCluster]
|
|
3456
3485
|
def restore(options = {})
|
|
3457
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
|
|
@@ -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)
|
|
@@ -861,6 +861,31 @@ module Aws::RDS
|
|
|
861
861
|
data[:storage_volume_status]
|
|
862
862
|
end
|
|
863
863
|
|
|
864
|
+
# The status of an in-progress storage operation on the DB instance.
|
|
865
|
+
# This field appears only while a storage operation is in progress. It
|
|
866
|
+
# isn't present when no storage operation is active. Possible values:
|
|
867
|
+
#
|
|
868
|
+
# * `Initializing` - The volume is initializing from a snapshot, such as
|
|
869
|
+
# during a snapshot restore, point-in-time restore, read replica
|
|
870
|
+
# creation, or blue/green deployment. Performance can be lower than
|
|
871
|
+
# provisioned until initialization completes.
|
|
872
|
+
#
|
|
873
|
+
# * `Optimizing` - The volume is optimizing following a storage scaling
|
|
874
|
+
# or modification operation.
|
|
875
|
+
# @return [String]
|
|
876
|
+
def storage_operation_status
|
|
877
|
+
data[:storage_operation_status]
|
|
878
|
+
end
|
|
879
|
+
|
|
880
|
+
# The percentage of the in-progress storage operation on the DB instance
|
|
881
|
+
# that has completed, from `0` to `100`. This field appears only while a
|
|
882
|
+
# storage operation is in progress. It isn't present when no storage
|
|
883
|
+
# operation is active.
|
|
884
|
+
# @return [Integer]
|
|
885
|
+
def storage_operation_percent_progress
|
|
886
|
+
data[:storage_operation_percent_progress]
|
|
887
|
+
end
|
|
888
|
+
|
|
864
889
|
# @!endgroup
|
|
865
890
|
|
|
866
891
|
# @return [Client]
|
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 ({})
|
|
@@ -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.
|
data/lib/aws-sdk-rds/types.rb
CHANGED
|
@@ -337,6 +337,28 @@ module Aws::RDS
|
|
|
337
337
|
# | STORAGE-OPTIMIZATION | VOLUME-FULL`
|
|
338
338
|
# @return [String]
|
|
339
339
|
#
|
|
340
|
+
# @!attribute [rw] storage_operation_status
|
|
341
|
+
# The status of an in-progress storage operation on the additional
|
|
342
|
+
# storage volume. This field appears only while a storage operation is
|
|
343
|
+
# in progress. It isn't present when no storage operation is active.
|
|
344
|
+
# Possible values:
|
|
345
|
+
#
|
|
346
|
+
# * `Initializing` - The volume is initializing from a snapshot, such
|
|
347
|
+
# as during a snapshot restore, point-in-time restore, read replica
|
|
348
|
+
# creation, or blue/green deployment. Performance can be lower than
|
|
349
|
+
# provisioned until initialization completes.
|
|
350
|
+
#
|
|
351
|
+
# * `Optimizing` - The volume is optimizing following a storage
|
|
352
|
+
# scaling or modification operation.
|
|
353
|
+
# @return [String]
|
|
354
|
+
#
|
|
355
|
+
# @!attribute [rw] storage_operation_percent_progress
|
|
356
|
+
# The percentage of the in-progress storage operation on the
|
|
357
|
+
# additional storage volume that has completed, from `0` to `100`.
|
|
358
|
+
# This field appears only while a storage operation is in progress. It
|
|
359
|
+
# isn't present when no storage operation is active.
|
|
360
|
+
# @return [Integer]
|
|
361
|
+
#
|
|
340
362
|
# @!attribute [rw] allocated_storage
|
|
341
363
|
# The amount of storage allocated for the additional storage volume,
|
|
342
364
|
# in gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB
|
|
@@ -369,6 +391,8 @@ module Aws::RDS
|
|
|
369
391
|
class AdditionalStorageVolumeOutput < Struct.new(
|
|
370
392
|
:volume_name,
|
|
371
393
|
:storage_volume_status,
|
|
394
|
+
:storage_operation_status,
|
|
395
|
+
:storage_operation_percent_progress,
|
|
372
396
|
:allocated_storage,
|
|
373
397
|
:iops,
|
|
374
398
|
:max_allocated_storage,
|
|
@@ -3442,6 +3466,16 @@ module Aws::RDS
|
|
|
3442
3466
|
# Valid for Cluster Type: Aurora DB clusters
|
|
3443
3467
|
# @return [Boolean]
|
|
3444
3468
|
#
|
|
3469
|
+
# @!attribute [rw] associated_roles
|
|
3470
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
3471
|
+
# roles to associate with the DB cluster. Each role grants the DB
|
|
3472
|
+
# cluster permission to access other Amazon Web Services on your
|
|
3473
|
+
# behalf. For each role, specify a role ARN and, optionally, the
|
|
3474
|
+
# feature name (such as `s3Import`, `s3Export`, or `Lambda`).
|
|
3475
|
+
#
|
|
3476
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
3477
|
+
# @return [Array<Types::DBClusterAssociatedRole>]
|
|
3478
|
+
#
|
|
3445
3479
|
# @!attribute [rw] source_region
|
|
3446
3480
|
# The source region of the snapshot. This is only needed when the
|
|
3447
3481
|
# shapshot is encrypted and in a different region.
|
|
@@ -3509,6 +3543,7 @@ module Aws::RDS
|
|
|
3509
3543
|
:tag_specifications,
|
|
3510
3544
|
:master_user_authentication_type,
|
|
3511
3545
|
:with_express_configuration,
|
|
3546
|
+
:associated_roles,
|
|
3512
3547
|
:source_region)
|
|
3513
3548
|
SENSITIVE = [:master_user_password, :pre_signed_url]
|
|
3514
3549
|
include Aws::Structure
|
|
@@ -8100,6 +8135,31 @@ module Aws::RDS
|
|
|
8100
8135
|
#
|
|
8101
8136
|
class DBClusterAlreadyExistsFault < Aws::EmptyStructure; end
|
|
8102
8137
|
|
|
8138
|
+
# Contains information about an Amazon Web Services Identity and Access
|
|
8139
|
+
# Management (IAM) role to associate with a DB cluster. You can specify
|
|
8140
|
+
# this structure in the `AssociatedRoles` parameter of CreateDBCluster,
|
|
8141
|
+
# RestoreDBClusterFromS3, RestoreDBClusterFromSnapshot, and
|
|
8142
|
+
# RestoreDBClusterToPointInTime.
|
|
8143
|
+
#
|
|
8144
|
+
# @!attribute [rw] role_arn
|
|
8145
|
+
# The Amazon Resource Name (ARN) of the IAM role to associate with the
|
|
8146
|
+
# DB cluster.
|
|
8147
|
+
# @return [String]
|
|
8148
|
+
#
|
|
8149
|
+
# @!attribute [rw] feature_name
|
|
8150
|
+
# The name of the feature associated with the IAM role. For
|
|
8151
|
+
# information about supported feature names, see DBEngineVersion.
|
|
8152
|
+
# @return [String]
|
|
8153
|
+
#
|
|
8154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterAssociatedRole AWS API Documentation
|
|
8155
|
+
#
|
|
8156
|
+
class DBClusterAssociatedRole < Struct.new(
|
|
8157
|
+
:role_arn,
|
|
8158
|
+
:feature_name)
|
|
8159
|
+
SENSITIVE = []
|
|
8160
|
+
include Aws::Structure
|
|
8161
|
+
end
|
|
8162
|
+
|
|
8103
8163
|
# An automated backup of a DB cluster. It consists of system backups,
|
|
8104
8164
|
# transaction logs, and the database cluster properties that existed at
|
|
8105
8165
|
# the time you deleted the source cluster.
|
|
@@ -10145,6 +10205,27 @@ module Aws::RDS
|
|
|
10145
10205
|
# volume is causing the instance to be in a storage-full state.
|
|
10146
10206
|
# @return [String]
|
|
10147
10207
|
#
|
|
10208
|
+
# @!attribute [rw] storage_operation_status
|
|
10209
|
+
# The status of an in-progress storage operation on the DB instance.
|
|
10210
|
+
# This field appears only while a storage operation is in progress. It
|
|
10211
|
+
# isn't present when no storage operation is active. Possible values:
|
|
10212
|
+
#
|
|
10213
|
+
# * `Initializing` - The volume is initializing from a snapshot, such
|
|
10214
|
+
# as during a snapshot restore, point-in-time restore, read replica
|
|
10215
|
+
# creation, or blue/green deployment. Performance can be lower than
|
|
10216
|
+
# provisioned until initialization completes.
|
|
10217
|
+
#
|
|
10218
|
+
# * `Optimizing` - The volume is optimizing following a storage
|
|
10219
|
+
# scaling or modification operation.
|
|
10220
|
+
# @return [String]
|
|
10221
|
+
#
|
|
10222
|
+
# @!attribute [rw] storage_operation_percent_progress
|
|
10223
|
+
# The percentage of the in-progress storage operation on the DB
|
|
10224
|
+
# instance that has completed, from `0` to `100`. This field appears
|
|
10225
|
+
# only while a storage operation is in progress. It isn't present
|
|
10226
|
+
# when no storage operation is active.
|
|
10227
|
+
# @return [Integer]
|
|
10228
|
+
#
|
|
10148
10229
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
|
|
10149
10230
|
#
|
|
10150
10231
|
class DBInstance < Struct.new(
|
|
@@ -10238,7 +10319,9 @@ module Aws::RDS
|
|
|
10238
10319
|
:is_storage_config_upgrade_available,
|
|
10239
10320
|
:engine_lifecycle_support,
|
|
10240
10321
|
:additional_storage_volumes,
|
|
10241
|
-
:storage_volume_status
|
|
10322
|
+
:storage_volume_status,
|
|
10323
|
+
:storage_operation_status,
|
|
10324
|
+
:storage_operation_percent_progress)
|
|
10242
10325
|
SENSITIVE = []
|
|
10243
10326
|
include Aws::Structure
|
|
10244
10327
|
end
|
|
@@ -24740,6 +24823,15 @@ module Aws::RDS
|
|
|
24740
24823
|
# ^
|
|
24741
24824
|
# @return [Array<Types::TagSpecification>]
|
|
24742
24825
|
#
|
|
24826
|
+
# @!attribute [rw] associated_roles
|
|
24827
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
24828
|
+
# roles to associate with the DB cluster when it's restored from
|
|
24829
|
+
# Amazon S3. Each role grants the DB cluster permission to access
|
|
24830
|
+
# other Amazon Web Services on your behalf. For each role, specify a
|
|
24831
|
+
# role ARN and, optionally, the feature name (such as `s3Import`,
|
|
24832
|
+
# `s3Export`, or `Lambda`).
|
|
24833
|
+
# @return [Array<Types::DBClusterAssociatedRole>]
|
|
24834
|
+
#
|
|
24743
24835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Message AWS API Documentation
|
|
24744
24836
|
#
|
|
24745
24837
|
class RestoreDBClusterFromS3Message < Struct.new(
|
|
@@ -24780,7 +24872,8 @@ module Aws::RDS
|
|
|
24780
24872
|
:manage_master_user_password,
|
|
24781
24873
|
:master_user_secret_kms_key_id,
|
|
24782
24874
|
:engine_lifecycle_support,
|
|
24783
|
-
:tag_specifications
|
|
24875
|
+
:tag_specifications,
|
|
24876
|
+
:associated_roles)
|
|
24784
24877
|
SENSITIVE = [:master_user_password]
|
|
24785
24878
|
include Aws::Structure
|
|
24786
24879
|
end
|
|
@@ -25461,6 +25554,17 @@ module Aws::RDS
|
|
|
25461
25554
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
25462
25555
|
# @return [Boolean]
|
|
25463
25556
|
#
|
|
25557
|
+
# @!attribute [rw] associated_roles
|
|
25558
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
25559
|
+
# roles to associate with the DB cluster when it's restored from a
|
|
25560
|
+
# snapshot. Each role grants the DB cluster permission to access other
|
|
25561
|
+
# Amazon Web Services on your behalf. For each role, specify a role
|
|
25562
|
+
# ARN and, optionally, the feature name (such as `s3Import`,
|
|
25563
|
+
# `s3Export`, or `Lambda`).
|
|
25564
|
+
#
|
|
25565
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
25566
|
+
# @return [Array<Types::DBClusterAssociatedRole>]
|
|
25567
|
+
#
|
|
25464
25568
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotMessage AWS API Documentation
|
|
25465
25569
|
#
|
|
25466
25570
|
class RestoreDBClusterFromSnapshotMessage < Struct.new(
|
|
@@ -25503,7 +25607,8 @@ module Aws::RDS
|
|
|
25503
25607
|
:engine_lifecycle_support,
|
|
25504
25608
|
:tag_specifications,
|
|
25505
25609
|
:enable_vpc_networking,
|
|
25506
|
-
:enable_internet_access_gateway
|
|
25610
|
+
:enable_internet_access_gateway,
|
|
25611
|
+
:associated_roles)
|
|
25507
25612
|
SENSITIVE = []
|
|
25508
25613
|
include Aws::Structure
|
|
25509
25614
|
end
|
|
@@ -26161,6 +26266,17 @@ module Aws::RDS
|
|
|
26161
26266
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
26162
26267
|
# @return [Boolean]
|
|
26163
26268
|
#
|
|
26269
|
+
# @!attribute [rw] associated_roles
|
|
26270
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
26271
|
+
# roles to associate with the DB cluster when it's restored to a
|
|
26272
|
+
# point in time. Each role grants the DB cluster permission to access
|
|
26273
|
+
# other Amazon Web Services on your behalf. For each role, specify a
|
|
26274
|
+
# role ARN and, optionally, the feature name (such as `s3Import`,
|
|
26275
|
+
# `s3Export`, or `Lambda`).
|
|
26276
|
+
#
|
|
26277
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
26278
|
+
# @return [Array<Types::DBClusterAssociatedRole>]
|
|
26279
|
+
#
|
|
26164
26280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage AWS API Documentation
|
|
26165
26281
|
#
|
|
26166
26282
|
class RestoreDBClusterToPointInTimeMessage < Struct.new(
|
|
@@ -26203,7 +26319,8 @@ module Aws::RDS
|
|
|
26203
26319
|
:engine_lifecycle_support,
|
|
26204
26320
|
:tag_specifications,
|
|
26205
26321
|
:enable_vpc_networking,
|
|
26206
|
-
:enable_internet_access_gateway
|
|
26322
|
+
:enable_internet_access_gateway,
|
|
26323
|
+
:associated_roles)
|
|
26207
26324
|
SENSITIVE = []
|
|
26208
26325
|
include Aws::Structure
|
|
26209
26326
|
end
|
data/lib/aws-sdk-rds.rb
CHANGED
|
@@ -80,7 +80,7 @@ module Aws::RDS
|
|
|
80
80
|
autoload :ReservedDBInstancesOffering, 'aws-sdk-rds/reserved_db_instances_offering'
|
|
81
81
|
autoload :ResourcePendingMaintenanceActionList, 'aws-sdk-rds/resource_pending_maintenance_action_list'
|
|
82
82
|
|
|
83
|
-
GEM_VERSION = '1.
|
|
83
|
+
GEM_VERSION = '1.320.0'
|
|
84
84
|
|
|
85
85
|
end
|
|
86
86
|
|
data/sig/client.rbs
CHANGED
|
@@ -463,6 +463,12 @@ module Aws
|
|
|
463
463
|
],
|
|
464
464
|
?master_user_authentication_type: ("password" | "iam-db-auth"),
|
|
465
465
|
?with_express_configuration: bool,
|
|
466
|
+
?associated_roles: Array[
|
|
467
|
+
{
|
|
468
|
+
role_arn: ::String,
|
|
469
|
+
feature_name: ::String?
|
|
470
|
+
}
|
|
471
|
+
],
|
|
466
472
|
?source_region: ::String
|
|
467
473
|
) -> _CreateDBClusterResponseSuccess
|
|
468
474
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDBClusterResponseSuccess
|
|
@@ -3041,6 +3047,12 @@ module Aws
|
|
|
3041
3047
|
}
|
|
3042
3048
|
]?
|
|
3043
3049
|
}
|
|
3050
|
+
],
|
|
3051
|
+
?associated_roles: Array[
|
|
3052
|
+
{
|
|
3053
|
+
role_arn: ::String,
|
|
3054
|
+
feature_name: ::String?
|
|
3055
|
+
}
|
|
3044
3056
|
]
|
|
3045
3057
|
) -> _RestoreDBClusterFromS3ResponseSuccess
|
|
3046
3058
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreDBClusterFromS3ResponseSuccess
|
|
@@ -3113,7 +3125,13 @@ module Aws
|
|
|
3113
3125
|
}
|
|
3114
3126
|
],
|
|
3115
3127
|
?enable_vpc_networking: bool,
|
|
3116
|
-
?enable_internet_access_gateway: bool
|
|
3128
|
+
?enable_internet_access_gateway: bool,
|
|
3129
|
+
?associated_roles: Array[
|
|
3130
|
+
{
|
|
3131
|
+
role_arn: ::String,
|
|
3132
|
+
feature_name: ::String?
|
|
3133
|
+
}
|
|
3134
|
+
]
|
|
3117
3135
|
) -> _RestoreDBClusterFromSnapshotResponseSuccess
|
|
3118
3136
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreDBClusterFromSnapshotResponseSuccess
|
|
3119
3137
|
|
|
@@ -3185,7 +3203,13 @@ module Aws
|
|
|
3185
3203
|
}
|
|
3186
3204
|
],
|
|
3187
3205
|
?enable_vpc_networking: bool,
|
|
3188
|
-
?enable_internet_access_gateway: bool
|
|
3206
|
+
?enable_internet_access_gateway: bool,
|
|
3207
|
+
?associated_roles: Array[
|
|
3208
|
+
{
|
|
3209
|
+
role_arn: ::String,
|
|
3210
|
+
feature_name: ::String?
|
|
3211
|
+
}
|
|
3212
|
+
]
|
|
3189
3213
|
) -> _RestoreDBClusterToPointInTimeResponseSuccess
|
|
3190
3214
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreDBClusterToPointInTimeResponseSuccess
|
|
3191
3215
|
|
data/sig/db_cluster.rbs
CHANGED
|
@@ -382,6 +382,12 @@ module Aws
|
|
|
382
382
|
],
|
|
383
383
|
?master_user_authentication_type: ("password" | "iam-db-auth"),
|
|
384
384
|
?with_express_configuration: bool,
|
|
385
|
+
?associated_roles: Array[
|
|
386
|
+
{
|
|
387
|
+
role_arn: ::String,
|
|
388
|
+
feature_name: ::String?
|
|
389
|
+
}
|
|
390
|
+
],
|
|
385
391
|
?source_region: ::String
|
|
386
392
|
) -> DBCluster
|
|
387
393
|
| (?Hash[Symbol, untyped]) -> DBCluster
|
|
@@ -548,7 +554,13 @@ module Aws
|
|
|
548
554
|
}
|
|
549
555
|
],
|
|
550
556
|
?enable_vpc_networking: bool,
|
|
551
|
-
?enable_internet_access_gateway: bool
|
|
557
|
+
?enable_internet_access_gateway: bool,
|
|
558
|
+
?associated_roles: Array[
|
|
559
|
+
{
|
|
560
|
+
role_arn: ::String,
|
|
561
|
+
feature_name: ::String?
|
|
562
|
+
}
|
|
563
|
+
]
|
|
552
564
|
) -> DBCluster
|
|
553
565
|
| (?Hash[Symbol, untyped]) -> DBCluster
|
|
554
566
|
|
data/sig/db_cluster_snapshot.rbs
CHANGED
|
@@ -218,7 +218,13 @@ module Aws
|
|
|
218
218
|
}
|
|
219
219
|
],
|
|
220
220
|
?enable_vpc_networking: bool,
|
|
221
|
-
?enable_internet_access_gateway: bool
|
|
221
|
+
?enable_internet_access_gateway: bool,
|
|
222
|
+
?associated_roles: Array[
|
|
223
|
+
{
|
|
224
|
+
role_arn: ::String,
|
|
225
|
+
feature_name: ::String?
|
|
226
|
+
}
|
|
227
|
+
]
|
|
222
228
|
) -> DBCluster
|
|
223
229
|
| (?Hash[Symbol, untyped]) -> DBCluster
|
|
224
230
|
|
data/sig/db_instance.rbs
CHANGED
|
@@ -288,6 +288,12 @@ module Aws
|
|
|
288
288
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBInstance.html#storage_volume_status-instance_method
|
|
289
289
|
def storage_volume_status: () -> ::String
|
|
290
290
|
|
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBInstance.html#storage_operation_status-instance_method
|
|
292
|
+
def storage_operation_status: () -> ::String
|
|
293
|
+
|
|
294
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBInstance.html#storage_operation_percent_progress-instance_method
|
|
295
|
+
def storage_operation_percent_progress: () -> ::Integer
|
|
296
|
+
|
|
291
297
|
def client: () -> Client
|
|
292
298
|
|
|
293
299
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBInstance.html#load-instance_method
|
data/sig/resource.rbs
CHANGED
|
@@ -171,6 +171,12 @@ module Aws
|
|
|
171
171
|
],
|
|
172
172
|
?master_user_authentication_type: ("password" | "iam-db-auth"),
|
|
173
173
|
?with_express_configuration: bool,
|
|
174
|
+
?associated_roles: Array[
|
|
175
|
+
{
|
|
176
|
+
role_arn: ::String,
|
|
177
|
+
feature_name: ::String?
|
|
178
|
+
}
|
|
179
|
+
],
|
|
174
180
|
?source_region: ::String
|
|
175
181
|
) -> DBCluster
|
|
176
182
|
| (?Hash[Symbol, untyped]) -> DBCluster
|
data/sig/types.rbs
CHANGED
|
@@ -64,6 +64,8 @@ module Aws::RDS
|
|
|
64
64
|
class AdditionalStorageVolumeOutput
|
|
65
65
|
attr_accessor volume_name: ::String
|
|
66
66
|
attr_accessor storage_volume_status: ::String
|
|
67
|
+
attr_accessor storage_operation_status: ::String
|
|
68
|
+
attr_accessor storage_operation_percent_progress: ::Integer
|
|
67
69
|
attr_accessor allocated_storage: ::Integer
|
|
68
70
|
attr_accessor iops: ::Integer
|
|
69
71
|
attr_accessor max_allocated_storage: ::Integer
|
|
@@ -443,6 +445,7 @@ module Aws::RDS
|
|
|
443
445
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
444
446
|
attr_accessor master_user_authentication_type: ("password" | "iam-db-auth")
|
|
445
447
|
attr_accessor with_express_configuration: bool
|
|
448
|
+
attr_accessor associated_roles: ::Array[Types::DBClusterAssociatedRole]
|
|
446
449
|
attr_accessor source_region: ::String
|
|
447
450
|
SENSITIVE: [:master_user_password, :pre_signed_url]
|
|
448
451
|
end
|
|
@@ -902,6 +905,12 @@ module Aws::RDS
|
|
|
902
905
|
class DBClusterAlreadyExistsFault < Aws::EmptyStructure
|
|
903
906
|
end
|
|
904
907
|
|
|
908
|
+
class DBClusterAssociatedRole
|
|
909
|
+
attr_accessor role_arn: ::String
|
|
910
|
+
attr_accessor feature_name: ::String
|
|
911
|
+
SENSITIVE: []
|
|
912
|
+
end
|
|
913
|
+
|
|
905
914
|
class DBClusterAutomatedBackup
|
|
906
915
|
attr_accessor engine: ::String
|
|
907
916
|
attr_accessor vpc_id: ::String
|
|
@@ -1277,6 +1286,8 @@ module Aws::RDS
|
|
|
1277
1286
|
attr_accessor engine_lifecycle_support: ::String
|
|
1278
1287
|
attr_accessor additional_storage_volumes: ::Array[Types::AdditionalStorageVolumeOutput]
|
|
1279
1288
|
attr_accessor storage_volume_status: ::String
|
|
1289
|
+
attr_accessor storage_operation_status: ::String
|
|
1290
|
+
attr_accessor storage_operation_percent_progress: ::Integer
|
|
1280
1291
|
SENSITIVE: []
|
|
1281
1292
|
end
|
|
1282
1293
|
|
|
@@ -3832,6 +3843,7 @@ module Aws::RDS
|
|
|
3832
3843
|
attr_accessor master_user_secret_kms_key_id: ::String
|
|
3833
3844
|
attr_accessor engine_lifecycle_support: ::String
|
|
3834
3845
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3846
|
+
attr_accessor associated_roles: ::Array[Types::DBClusterAssociatedRole]
|
|
3835
3847
|
SENSITIVE: [:master_user_password]
|
|
3836
3848
|
end
|
|
3837
3849
|
|
|
@@ -3881,6 +3893,7 @@ module Aws::RDS
|
|
|
3881
3893
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3882
3894
|
attr_accessor enable_vpc_networking: bool
|
|
3883
3895
|
attr_accessor enable_internet_access_gateway: bool
|
|
3896
|
+
attr_accessor associated_roles: ::Array[Types::DBClusterAssociatedRole]
|
|
3884
3897
|
SENSITIVE: []
|
|
3885
3898
|
end
|
|
3886
3899
|
|
|
@@ -3930,6 +3943,7 @@ module Aws::RDS
|
|
|
3930
3943
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3931
3944
|
attr_accessor enable_vpc_networking: bool
|
|
3932
3945
|
attr_accessor enable_internet_access_gateway: bool
|
|
3946
|
+
attr_accessor associated_roles: ::Array[Types::DBClusterAssociatedRole]
|
|
3933
3947
|
SENSITIVE: []
|
|
3934
3948
|
end
|
|
3935
3949
|
|