aws-sdk-rds 1.318.0 → 1.319.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +209 -3
- data/lib/aws-sdk-rds/client_api.rb +19 -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/resource.rb +14 -0
- data/lib/aws-sdk-rds/types.rb +73 -3
- 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/resource.rbs +6 -0
- data/sig/types.rbs +10 -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: eff1c3033ca31c7f383a9cbb825bf5e20d093e06520d3d1e7dab4d7368141fc8
|
|
4
|
+
data.tar.gz: 4d8c5b23edda5ae3e8eab57c400fdffdb290fdea4e9107de471d959c2d1f900d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab76c3dcd501a30c377bc1d86bea27ceefdea44cd99013e4e5e2c5bcb18b875bfdc9ee867b7e9510d22cda4ee0b17d39b03402ec6732f4eaf0cff48c3a2e518d
|
|
7
|
+
data.tar.gz: 853dfa1c4768cfa7eabd55e314115c77910a3a674defd3f2f7e29ead58042e2f591b1e54ae2ef093f7c8f9df2d83d1827d2f958b6620cce58542285fe7d4256f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.319.0 (2026-07-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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.
|
|
8
|
+
|
|
4
9
|
1.318.0 (2026-07-15)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.319.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
|
#
|
|
@@ -25908,7 +25997,7 @@ module Aws::RDS
|
|
|
25908
25997
|
#
|
|
25909
25998
|
# resp = client.remove_role_from_db_cluster({
|
|
25910
25999
|
# db_cluster_identifier: "String", # required
|
|
25911
|
-
# role_arn: "
|
|
26000
|
+
# role_arn: "IAMRoleArn", # required
|
|
25912
26001
|
# feature_name: "String",
|
|
25913
26002
|
# })
|
|
25914
26003
|
#
|
|
@@ -26307,6 +26396,10 @@ module Aws::RDS
|
|
|
26307
26396
|
#
|
|
26308
26397
|
# </note>
|
|
26309
26398
|
#
|
|
26399
|
+
# You can use the `AssociatedRoles` parameter to associate one or more
|
|
26400
|
+
# Amazon Web Services Identity and Access Management (IAM) roles with
|
|
26401
|
+
# the Aurora DB cluster when you restore it from Amazon S3.
|
|
26402
|
+
#
|
|
26310
26403
|
#
|
|
26311
26404
|
#
|
|
26312
26405
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Migrating.ExtMySQL.html#AuroraMySQL.Migrating.ExtMySQL.S3
|
|
@@ -26740,6 +26833,14 @@ module Aws::RDS
|
|
|
26740
26833
|
#
|
|
26741
26834
|
# ^
|
|
26742
26835
|
#
|
|
26836
|
+
# @option params [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
26837
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
26838
|
+
# roles to associate with the DB cluster when it's restored from Amazon
|
|
26839
|
+
# S3. Each role grants the DB cluster permission to access other Amazon
|
|
26840
|
+
# Web Services on your behalf. For each role, specify a role ARN and,
|
|
26841
|
+
# optionally, the feature name (such as `s3Import`, `s3Export`, or
|
|
26842
|
+
# `Lambda`).
|
|
26843
|
+
#
|
|
26743
26844
|
# @return [Types::RestoreDBClusterFromS3Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
26744
26845
|
#
|
|
26745
26846
|
# * {Types::RestoreDBClusterFromS3Result#db_cluster #db_cluster} => Types::DBCluster
|
|
@@ -26873,6 +26974,12 @@ module Aws::RDS
|
|
|
26873
26974
|
# ],
|
|
26874
26975
|
# },
|
|
26875
26976
|
# ],
|
|
26977
|
+
# associated_roles: [
|
|
26978
|
+
# {
|
|
26979
|
+
# role_arn: "IAMRoleArn", # required
|
|
26980
|
+
# feature_name: "String",
|
|
26981
|
+
# },
|
|
26982
|
+
# ],
|
|
26876
26983
|
# })
|
|
26877
26984
|
#
|
|
26878
26985
|
# @example Response structure
|
|
@@ -27051,6 +27158,10 @@ module Aws::RDS
|
|
|
27051
27158
|
# need to modify the DB cluster to update `MasterUserAuthenticationType`
|
|
27052
27159
|
# to `iam-db-auth`.
|
|
27053
27160
|
#
|
|
27161
|
+
# You can use the `AssociatedRoles` parameter to associate one or more
|
|
27162
|
+
# Amazon Web Services Identity and Access Management (IAM) roles with an
|
|
27163
|
+
# Aurora DB cluster when you restore it from a snapshot.
|
|
27164
|
+
#
|
|
27054
27165
|
# <note markdown="1"> This operation only restores the DB cluster, not the DB instances for
|
|
27055
27166
|
# that DB cluster. You must invoke the `CreateDBInstance` operation to
|
|
27056
27167
|
# create DB instances for the restored DB cluster, specifying the
|
|
@@ -27660,6 +27771,16 @@ module Aws::RDS
|
|
|
27660
27771
|
#
|
|
27661
27772
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
27662
27773
|
#
|
|
27774
|
+
# @option params [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
27775
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
27776
|
+
# roles to associate with the DB cluster when it's restored from a
|
|
27777
|
+
# snapshot. Each role grants the DB cluster permission to access other
|
|
27778
|
+
# Amazon Web Services on your behalf. For each role, specify a role ARN
|
|
27779
|
+
# and, optionally, the feature name (such as `s3Import`, `s3Export`, or
|
|
27780
|
+
# `Lambda`).
|
|
27781
|
+
#
|
|
27782
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
27783
|
+
#
|
|
27663
27784
|
# @return [Types::RestoreDBClusterFromSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
27664
27785
|
#
|
|
27665
27786
|
# * {Types::RestoreDBClusterFromSnapshotResult#db_cluster #db_cluster} => Types::DBCluster
|
|
@@ -27790,6 +27911,65 @@ module Aws::RDS
|
|
|
27790
27911
|
# },
|
|
27791
27912
|
# }
|
|
27792
27913
|
#
|
|
27914
|
+
# @example Example: To restore a DB cluster from a snapshot with an associated IAM role
|
|
27915
|
+
#
|
|
27916
|
+
# # The following example restores an Aurora PostgreSQL DB cluster from a snapshot and associates an IAM role for Amazon S3
|
|
27917
|
+
# # import in a single call.
|
|
27918
|
+
#
|
|
27919
|
+
# resp = client.restore_db_cluster_from_snapshot({
|
|
27920
|
+
# associated_roles: [
|
|
27921
|
+
# {
|
|
27922
|
+
# feature_name: "s3Import",
|
|
27923
|
+
# role_arn: "arn:aws:iam::123456789012:role/RDSLoadFromS3",
|
|
27924
|
+
# },
|
|
27925
|
+
# ],
|
|
27926
|
+
# db_cluster_identifier: "restored-cluster",
|
|
27927
|
+
# engine: "aurora-postgresql",
|
|
27928
|
+
# snapshot_identifier: "test-instance-snapshot",
|
|
27929
|
+
# })
|
|
27930
|
+
#
|
|
27931
|
+
# resp.to_h outputs the following:
|
|
27932
|
+
# {
|
|
27933
|
+
# db_cluster: {
|
|
27934
|
+
# associated_roles: [
|
|
27935
|
+
# {
|
|
27936
|
+
# feature_name: "s3Import",
|
|
27937
|
+
# role_arn: "arn:aws:iam::123456789012:role/RDSLoadFromS3",
|
|
27938
|
+
# status: "ACTIVE",
|
|
27939
|
+
# },
|
|
27940
|
+
# ],
|
|
27941
|
+
# cluster_create_time: Time.parse("2024-06-05T15:06:58.634Z"),
|
|
27942
|
+
# copy_tags_to_snapshot: false,
|
|
27943
|
+
# cross_account_clone: false,
|
|
27944
|
+
# db_cluster_arn: "arn:aws:rds:us-west-2:123456789012:cluster:restored-cluster",
|
|
27945
|
+
# db_cluster_identifier: "restored-cluster",
|
|
27946
|
+
# db_cluster_members: [
|
|
27947
|
+
# ],
|
|
27948
|
+
# db_cluster_parameter_group: "default.aurora-postgresql17",
|
|
27949
|
+
# database_name: "",
|
|
27950
|
+
# db_cluster_resource_id: "cluster-5DSB5IFQDDUVAWOUWM1EXAMPLE",
|
|
27951
|
+
# deletion_protection: false,
|
|
27952
|
+
# domain_memberships: [
|
|
27953
|
+
# ],
|
|
27954
|
+
# engine: "aurora-postgresql",
|
|
27955
|
+
# engine_mode: "provisioned",
|
|
27956
|
+
# engine_version: "17.7",
|
|
27957
|
+
# http_endpoint_enabled: false,
|
|
27958
|
+
# iam_database_authentication_enabled: true,
|
|
27959
|
+
# master_username: "postgres",
|
|
27960
|
+
# multi_az: false,
|
|
27961
|
+
# port: 5432,
|
|
27962
|
+
# preferred_backup_window: "09:33-10:03",
|
|
27963
|
+
# preferred_maintenance_window: "sun:12:22-sun:12:52",
|
|
27964
|
+
# read_replica_identifiers: [
|
|
27965
|
+
# ],
|
|
27966
|
+
# status: "creating",
|
|
27967
|
+
# storage_encrypted: false,
|
|
27968
|
+
# vpc_security_groups: [
|
|
27969
|
+
# ],
|
|
27970
|
+
# },
|
|
27971
|
+
# }
|
|
27972
|
+
#
|
|
27793
27973
|
# @example Request syntax with placeholder values
|
|
27794
27974
|
#
|
|
27795
27975
|
# resp = client.restore_db_cluster_from_snapshot({
|
|
@@ -27863,6 +28043,12 @@ module Aws::RDS
|
|
|
27863
28043
|
# ],
|
|
27864
28044
|
# enable_vpc_networking: false,
|
|
27865
28045
|
# enable_internet_access_gateway: false,
|
|
28046
|
+
# associated_roles: [
|
|
28047
|
+
# {
|
|
28048
|
+
# role_arn: "IAMRoleArn", # required
|
|
28049
|
+
# feature_name: "String",
|
|
28050
|
+
# },
|
|
28051
|
+
# ],
|
|
27866
28052
|
# })
|
|
27867
28053
|
#
|
|
27868
28054
|
# @example Response structure
|
|
@@ -28045,6 +28231,10 @@ module Aws::RDS
|
|
|
28045
28231
|
# need to modify the DB cluster to update `MasterUserAuthenticationType`
|
|
28046
28232
|
# to `iam-db-auth`.
|
|
28047
28233
|
#
|
|
28234
|
+
# You can use the `AssociatedRoles` parameter to associate one or more
|
|
28235
|
+
# Amazon Web Services Identity and Access Management (IAM) roles with an
|
|
28236
|
+
# Aurora DB cluster when you restore it to a point in time.
|
|
28237
|
+
#
|
|
28048
28238
|
# <note markdown="1"> For Aurora, this operation only restores the DB cluster, not the DB
|
|
28049
28239
|
# instances for that DB cluster. You must invoke the `CreateDBInstance`
|
|
28050
28240
|
# operation to create DB instances for the restored DB cluster,
|
|
@@ -28634,6 +28824,16 @@ module Aws::RDS
|
|
|
28634
28824
|
#
|
|
28635
28825
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
28636
28826
|
#
|
|
28827
|
+
# @option params [Array<Types::DBClusterAssociatedRole>] :associated_roles
|
|
28828
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
28829
|
+
# roles to associate with the DB cluster when it's restored to a point
|
|
28830
|
+
# in time. Each role grants the DB cluster permission to access other
|
|
28831
|
+
# Amazon Web Services on your behalf. For each role, specify a role ARN
|
|
28832
|
+
# and, optionally, the feature name (such as `s3Import`, `s3Export`, or
|
|
28833
|
+
# `Lambda`).
|
|
28834
|
+
#
|
|
28835
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
28836
|
+
#
|
|
28637
28837
|
# @return [Types::RestoreDBClusterToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
28638
28838
|
#
|
|
28639
28839
|
# * {Types::RestoreDBClusterToPointInTimeResult#db_cluster #db_cluster} => Types::DBCluster
|
|
@@ -28835,6 +29035,12 @@ module Aws::RDS
|
|
|
28835
29035
|
# ],
|
|
28836
29036
|
# enable_vpc_networking: false,
|
|
28837
29037
|
# enable_internet_access_gateway: false,
|
|
29038
|
+
# associated_roles: [
|
|
29039
|
+
# {
|
|
29040
|
+
# role_arn: "IAMRoleArn", # required
|
|
29041
|
+
# feature_name: "String",
|
|
29042
|
+
# },
|
|
29043
|
+
# ],
|
|
28838
29044
|
# })
|
|
28839
29045
|
#
|
|
28840
29046
|
# @example Response structure
|
|
@@ -34237,7 +34443,7 @@ module Aws::RDS
|
|
|
34237
34443
|
tracer: tracer
|
|
34238
34444
|
)
|
|
34239
34445
|
context[:gem_name] = 'aws-sdk-rds'
|
|
34240
|
-
context[:gem_version] = '1.
|
|
34446
|
+
context[:gem_version] = '1.319.0'
|
|
34241
34447
|
Seahorse::Client::Request.new(handlers, context)
|
|
34242
34448
|
end
|
|
34243
34449
|
|
|
@@ -143,6 +143,8 @@ module Aws::RDS
|
|
|
143
143
|
CustomEngineVersionStatus = Shapes::StringShape.new(name: 'CustomEngineVersionStatus')
|
|
144
144
|
DBCluster = Shapes::StructureShape.new(name: 'DBCluster')
|
|
145
145
|
DBClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBClusterAlreadyExistsFault', error: {"code" => "DBClusterAlreadyExistsFault", "httpStatusCode" => 400, "senderFault" => true})
|
|
146
|
+
DBClusterAssociatedRole = Shapes::StructureShape.new(name: 'DBClusterAssociatedRole')
|
|
147
|
+
DBClusterAssociatedRoles = Shapes::ListShape.new(name: 'DBClusterAssociatedRoles')
|
|
146
148
|
DBClusterAutomatedBackup = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackup')
|
|
147
149
|
DBClusterAutomatedBackupList = Shapes::ListShape.new(name: 'DBClusterAutomatedBackupList')
|
|
148
150
|
DBClusterAutomatedBackupMessage = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackupMessage')
|
|
@@ -453,6 +455,7 @@ module Aws::RDS
|
|
|
453
455
|
GlobalClusterQuotaExceededFault = Shapes::StructureShape.new(name: 'GlobalClusterQuotaExceededFault', error: {"code" => "GlobalClusterQuotaExceededFault", "httpStatusCode" => 400, "senderFault" => true})
|
|
454
456
|
GlobalClustersMessage = Shapes::StructureShape.new(name: 'GlobalClustersMessage')
|
|
455
457
|
IAMAuthMode = Shapes::StringShape.new(name: 'IAMAuthMode')
|
|
458
|
+
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
|
456
459
|
IPRange = Shapes::StructureShape.new(name: 'IPRange')
|
|
457
460
|
IPRangeList = Shapes::ListShape.new(name: 'IPRangeList')
|
|
458
461
|
IamRoleMissingPermissionsFault = Shapes::StructureShape.new(name: 'IamRoleMissingPermissionsFault', error: {"code" => "IamRoleMissingPermissions", "httpStatusCode" => 400, "senderFault" => true})
|
|
@@ -815,7 +818,7 @@ module Aws::RDS
|
|
|
815
818
|
ActivityStreamModeList.member = Shapes::ShapeRef.new(shape: String)
|
|
816
819
|
|
|
817
820
|
AddRoleToDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
|
818
|
-
AddRoleToDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape:
|
|
821
|
+
AddRoleToDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
|
819
822
|
AddRoleToDBClusterMessage.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
|
820
823
|
AddRoleToDBClusterMessage.struct_class = Types::AddRoleToDBClusterMessage
|
|
821
824
|
|
|
@@ -1170,6 +1173,7 @@ module Aws::RDS
|
|
|
1170
1173
|
CreateDBClusterMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
1171
1174
|
CreateDBClusterMessage.add_member(:master_user_authentication_type, Shapes::ShapeRef.new(shape: MasterUserAuthenticationType, location_name: "MasterUserAuthenticationType"))
|
|
1172
1175
|
CreateDBClusterMessage.add_member(:with_express_configuration, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "WithExpressConfiguration"))
|
|
1176
|
+
CreateDBClusterMessage.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
1173
1177
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
|
1174
1178
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
|
1175
1179
|
|
|
@@ -1557,6 +1561,12 @@ module Aws::RDS
|
|
|
1557
1561
|
|
|
1558
1562
|
DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
|
|
1559
1563
|
|
|
1564
|
+
DBClusterAssociatedRole.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
|
1565
|
+
DBClusterAssociatedRole.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
|
1566
|
+
DBClusterAssociatedRole.struct_class = Types::DBClusterAssociatedRole
|
|
1567
|
+
|
|
1568
|
+
DBClusterAssociatedRoles.member = Shapes::ShapeRef.new(shape: DBClusterAssociatedRole, location_name: "DBClusterAssociatedRole")
|
|
1569
|
+
|
|
1560
1570
|
DBClusterAutomatedBackup.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
|
1561
1571
|
DBClusterAutomatedBackup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
|
|
1562
1572
|
DBClusterAutomatedBackup.add_member(:db_cluster_automated_backups_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterAutomatedBackupsArn"))
|
|
@@ -3850,7 +3860,7 @@ module Aws::RDS
|
|
|
3850
3860
|
RemoveFromGlobalClusterResult.struct_class = Types::RemoveFromGlobalClusterResult
|
|
3851
3861
|
|
|
3852
3862
|
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:
|
|
3863
|
+
RemoveRoleFromDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
|
|
3854
3864
|
RemoveRoleFromDBClusterMessage.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
|
3855
3865
|
RemoveRoleFromDBClusterMessage.struct_class = Types::RemoveRoleFromDBClusterMessage
|
|
3856
3866
|
|
|
@@ -3974,6 +3984,7 @@ module Aws::RDS
|
|
|
3974
3984
|
RestoreDBClusterFromS3Message.add_member(:master_user_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserSecretKmsKeyId"))
|
|
3975
3985
|
RestoreDBClusterFromS3Message.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
3976
3986
|
RestoreDBClusterFromS3Message.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
3987
|
+
RestoreDBClusterFromS3Message.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
3977
3988
|
RestoreDBClusterFromS3Message.struct_class = Types::RestoreDBClusterFromS3Message
|
|
3978
3989
|
|
|
3979
3990
|
RestoreDBClusterFromS3Result.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4019,6 +4030,7 @@ module Aws::RDS
|
|
|
4019
4030
|
RestoreDBClusterFromSnapshotMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
4020
4031
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_vpc_networking, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableVPCNetworking"))
|
|
4021
4032
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_internet_access_gateway, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableInternetAccessGateway"))
|
|
4033
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
4022
4034
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
|
4023
4035
|
|
|
4024
4036
|
RestoreDBClusterFromSnapshotResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4064,6 +4076,7 @@ module Aws::RDS
|
|
|
4064
4076
|
RestoreDBClusterToPointInTimeMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
4065
4077
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_vpc_networking, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableVPCNetworking"))
|
|
4066
4078
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_internet_access_gateway, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableInternetAccessGateway"))
|
|
4079
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterAssociatedRoles, location_name: "AssociatedRoles"))
|
|
4067
4080
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
|
4068
4081
|
|
|
4069
4082
|
RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
|
@@ -4844,6 +4857,7 @@ module Aws::RDS
|
|
|
4844
4857
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
|
4845
4858
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
|
4846
4859
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
4860
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
4847
4861
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
|
4848
4862
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBSubnetGroupStateFault)
|
|
4849
4863
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
|
@@ -6563,6 +6577,7 @@ module Aws::RDS
|
|
|
6563
6577
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
|
6564
6578
|
o.errors << Shapes::ShapeRef.new(shape: StorageTypeNotSupportedFault)
|
|
6565
6579
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
6580
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
6566
6581
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
|
6567
6582
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterAlreadyExistsFault)
|
|
6568
6583
|
o.errors << Shapes::ShapeRef.new(shape: NetworkTypeNotSupported)
|
|
@@ -6598,6 +6613,7 @@ module Aws::RDS
|
|
|
6598
6613
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
|
6599
6614
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
|
6600
6615
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
6616
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
6601
6617
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
|
6602
6618
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRestoreFault)
|
|
6603
6619
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterQuotaExceededFault)
|
|
@@ -6628,6 +6644,7 @@ module Aws::RDS
|
|
|
6628
6644
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
|
6629
6645
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupNotFoundFault)
|
|
6630
6646
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
|
6647
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
|
|
6631
6648
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
|
6632
6649
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
|
6633
6650
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRestoreFault)
|
|
@@ -1054,6 +1054,12 @@ module Aws::RDS
|
|
|
1054
1054
|
# ],
|
|
1055
1055
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
1056
1056
|
# with_express_configuration: false,
|
|
1057
|
+
# associated_roles: [
|
|
1058
|
+
# {
|
|
1059
|
+
# role_arn: "IAMRoleArn", # required
|
|
1060
|
+
# feature_name: "String",
|
|
1061
|
+
# },
|
|
1062
|
+
# ],
|
|
1057
1063
|
# source_region: "String",
|
|
1058
1064
|
# })
|
|
1059
1065
|
# @param [Hash] options ({})
|
|
@@ -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)
|
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
|
@@ -3442,6 +3442,16 @@ module Aws::RDS
|
|
|
3442
3442
|
# Valid for Cluster Type: Aurora DB clusters
|
|
3443
3443
|
# @return [Boolean]
|
|
3444
3444
|
#
|
|
3445
|
+
# @!attribute [rw] associated_roles
|
|
3446
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
3447
|
+
# roles to associate with the DB cluster. Each role grants the DB
|
|
3448
|
+
# cluster permission to access other Amazon Web Services on your
|
|
3449
|
+
# behalf. For each role, specify a role ARN and, optionally, the
|
|
3450
|
+
# feature name (such as `s3Import`, `s3Export`, or `Lambda`).
|
|
3451
|
+
#
|
|
3452
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
3453
|
+
# @return [Array<Types::DBClusterAssociatedRole>]
|
|
3454
|
+
#
|
|
3445
3455
|
# @!attribute [rw] source_region
|
|
3446
3456
|
# The source region of the snapshot. This is only needed when the
|
|
3447
3457
|
# shapshot is encrypted and in a different region.
|
|
@@ -3509,6 +3519,7 @@ module Aws::RDS
|
|
|
3509
3519
|
:tag_specifications,
|
|
3510
3520
|
:master_user_authentication_type,
|
|
3511
3521
|
:with_express_configuration,
|
|
3522
|
+
:associated_roles,
|
|
3512
3523
|
:source_region)
|
|
3513
3524
|
SENSITIVE = [:master_user_password, :pre_signed_url]
|
|
3514
3525
|
include Aws::Structure
|
|
@@ -8100,6 +8111,31 @@ module Aws::RDS
|
|
|
8100
8111
|
#
|
|
8101
8112
|
class DBClusterAlreadyExistsFault < Aws::EmptyStructure; end
|
|
8102
8113
|
|
|
8114
|
+
# Contains information about an Amazon Web Services Identity and Access
|
|
8115
|
+
# Management (IAM) role to associate with a DB cluster. You can specify
|
|
8116
|
+
# this structure in the `AssociatedRoles` parameter of CreateDBCluster,
|
|
8117
|
+
# RestoreDBClusterFromS3, RestoreDBClusterFromSnapshot, and
|
|
8118
|
+
# RestoreDBClusterToPointInTime.
|
|
8119
|
+
#
|
|
8120
|
+
# @!attribute [rw] role_arn
|
|
8121
|
+
# The Amazon Resource Name (ARN) of the IAM role to associate with the
|
|
8122
|
+
# DB cluster.
|
|
8123
|
+
# @return [String]
|
|
8124
|
+
#
|
|
8125
|
+
# @!attribute [rw] feature_name
|
|
8126
|
+
# The name of the feature associated with the IAM role. For
|
|
8127
|
+
# information about supported feature names, see DBEngineVersion.
|
|
8128
|
+
# @return [String]
|
|
8129
|
+
#
|
|
8130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterAssociatedRole AWS API Documentation
|
|
8131
|
+
#
|
|
8132
|
+
class DBClusterAssociatedRole < Struct.new(
|
|
8133
|
+
:role_arn,
|
|
8134
|
+
:feature_name)
|
|
8135
|
+
SENSITIVE = []
|
|
8136
|
+
include Aws::Structure
|
|
8137
|
+
end
|
|
8138
|
+
|
|
8103
8139
|
# An automated backup of a DB cluster. It consists of system backups,
|
|
8104
8140
|
# transaction logs, and the database cluster properties that existed at
|
|
8105
8141
|
# the time you deleted the source cluster.
|
|
@@ -24740,6 +24776,15 @@ module Aws::RDS
|
|
|
24740
24776
|
# ^
|
|
24741
24777
|
# @return [Array<Types::TagSpecification>]
|
|
24742
24778
|
#
|
|
24779
|
+
# @!attribute [rw] associated_roles
|
|
24780
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
24781
|
+
# roles to associate with the DB cluster when it's restored from
|
|
24782
|
+
# Amazon S3. Each role grants the DB cluster permission to access
|
|
24783
|
+
# other Amazon Web Services on your behalf. For each role, specify a
|
|
24784
|
+
# role ARN and, optionally, the feature name (such as `s3Import`,
|
|
24785
|
+
# `s3Export`, or `Lambda`).
|
|
24786
|
+
# @return [Array<Types::DBClusterAssociatedRole>]
|
|
24787
|
+
#
|
|
24743
24788
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Message AWS API Documentation
|
|
24744
24789
|
#
|
|
24745
24790
|
class RestoreDBClusterFromS3Message < Struct.new(
|
|
@@ -24780,7 +24825,8 @@ module Aws::RDS
|
|
|
24780
24825
|
:manage_master_user_password,
|
|
24781
24826
|
:master_user_secret_kms_key_id,
|
|
24782
24827
|
:engine_lifecycle_support,
|
|
24783
|
-
:tag_specifications
|
|
24828
|
+
:tag_specifications,
|
|
24829
|
+
:associated_roles)
|
|
24784
24830
|
SENSITIVE = [:master_user_password]
|
|
24785
24831
|
include Aws::Structure
|
|
24786
24832
|
end
|
|
@@ -25461,6 +25507,17 @@ module Aws::RDS
|
|
|
25461
25507
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
25462
25508
|
# @return [Boolean]
|
|
25463
25509
|
#
|
|
25510
|
+
# @!attribute [rw] associated_roles
|
|
25511
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
25512
|
+
# roles to associate with the DB cluster when it's restored from a
|
|
25513
|
+
# snapshot. Each role grants the DB cluster permission to access other
|
|
25514
|
+
# Amazon Web Services on your behalf. For each role, specify a role
|
|
25515
|
+
# ARN and, optionally, the feature name (such as `s3Import`,
|
|
25516
|
+
# `s3Export`, or `Lambda`).
|
|
25517
|
+
#
|
|
25518
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
25519
|
+
# @return [Array<Types::DBClusterAssociatedRole>]
|
|
25520
|
+
#
|
|
25464
25521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotMessage AWS API Documentation
|
|
25465
25522
|
#
|
|
25466
25523
|
class RestoreDBClusterFromSnapshotMessage < Struct.new(
|
|
@@ -25503,7 +25560,8 @@ module Aws::RDS
|
|
|
25503
25560
|
:engine_lifecycle_support,
|
|
25504
25561
|
:tag_specifications,
|
|
25505
25562
|
:enable_vpc_networking,
|
|
25506
|
-
:enable_internet_access_gateway
|
|
25563
|
+
:enable_internet_access_gateway,
|
|
25564
|
+
:associated_roles)
|
|
25507
25565
|
SENSITIVE = []
|
|
25508
25566
|
include Aws::Structure
|
|
25509
25567
|
end
|
|
@@ -26161,6 +26219,17 @@ module Aws::RDS
|
|
|
26161
26219
|
# Valid for Cluster Type: Aurora PostgreSQL clusters
|
|
26162
26220
|
# @return [Boolean]
|
|
26163
26221
|
#
|
|
26222
|
+
# @!attribute [rw] associated_roles
|
|
26223
|
+
# A list of Amazon Web Services Identity and Access Management (IAM)
|
|
26224
|
+
# roles to associate with the DB cluster when it's restored to a
|
|
26225
|
+
# point in time. Each role grants the DB cluster permission to access
|
|
26226
|
+
# other Amazon Web Services on your behalf. For each role, specify a
|
|
26227
|
+
# role ARN and, optionally, the feature name (such as `s3Import`,
|
|
26228
|
+
# `s3Export`, or `Lambda`).
|
|
26229
|
+
#
|
|
26230
|
+
# Valid for Cluster Type: Aurora DB clusters only
|
|
26231
|
+
# @return [Array<Types::DBClusterAssociatedRole>]
|
|
26232
|
+
#
|
|
26164
26233
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage AWS API Documentation
|
|
26165
26234
|
#
|
|
26166
26235
|
class RestoreDBClusterToPointInTimeMessage < Struct.new(
|
|
@@ -26203,7 +26272,8 @@ module Aws::RDS
|
|
|
26203
26272
|
:engine_lifecycle_support,
|
|
26204
26273
|
:tag_specifications,
|
|
26205
26274
|
:enable_vpc_networking,
|
|
26206
|
-
:enable_internet_access_gateway
|
|
26275
|
+
:enable_internet_access_gateway,
|
|
26276
|
+
:associated_roles)
|
|
26207
26277
|
SENSITIVE = []
|
|
26208
26278
|
include Aws::Structure
|
|
26209
26279
|
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.319.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/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
|
@@ -443,6 +443,7 @@ module Aws::RDS
|
|
|
443
443
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
444
444
|
attr_accessor master_user_authentication_type: ("password" | "iam-db-auth")
|
|
445
445
|
attr_accessor with_express_configuration: bool
|
|
446
|
+
attr_accessor associated_roles: ::Array[Types::DBClusterAssociatedRole]
|
|
446
447
|
attr_accessor source_region: ::String
|
|
447
448
|
SENSITIVE: [:master_user_password, :pre_signed_url]
|
|
448
449
|
end
|
|
@@ -902,6 +903,12 @@ module Aws::RDS
|
|
|
902
903
|
class DBClusterAlreadyExistsFault < Aws::EmptyStructure
|
|
903
904
|
end
|
|
904
905
|
|
|
906
|
+
class DBClusterAssociatedRole
|
|
907
|
+
attr_accessor role_arn: ::String
|
|
908
|
+
attr_accessor feature_name: ::String
|
|
909
|
+
SENSITIVE: []
|
|
910
|
+
end
|
|
911
|
+
|
|
905
912
|
class DBClusterAutomatedBackup
|
|
906
913
|
attr_accessor engine: ::String
|
|
907
914
|
attr_accessor vpc_id: ::String
|
|
@@ -3832,6 +3839,7 @@ module Aws::RDS
|
|
|
3832
3839
|
attr_accessor master_user_secret_kms_key_id: ::String
|
|
3833
3840
|
attr_accessor engine_lifecycle_support: ::String
|
|
3834
3841
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3842
|
+
attr_accessor associated_roles: ::Array[Types::DBClusterAssociatedRole]
|
|
3835
3843
|
SENSITIVE: [:master_user_password]
|
|
3836
3844
|
end
|
|
3837
3845
|
|
|
@@ -3881,6 +3889,7 @@ module Aws::RDS
|
|
|
3881
3889
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3882
3890
|
attr_accessor enable_vpc_networking: bool
|
|
3883
3891
|
attr_accessor enable_internet_access_gateway: bool
|
|
3892
|
+
attr_accessor associated_roles: ::Array[Types::DBClusterAssociatedRole]
|
|
3884
3893
|
SENSITIVE: []
|
|
3885
3894
|
end
|
|
3886
3895
|
|
|
@@ -3930,6 +3939,7 @@ module Aws::RDS
|
|
|
3930
3939
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3931
3940
|
attr_accessor enable_vpc_networking: bool
|
|
3932
3941
|
attr_accessor enable_internet_access_gateway: bool
|
|
3942
|
+
attr_accessor associated_roles: ::Array[Types::DBClusterAssociatedRole]
|
|
3933
3943
|
SENSITIVE: []
|
|
3934
3944
|
end
|
|
3935
3945
|
|