aws-sdk-rds 1.66.0 → 1.67.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +116 -21
- data/lib/aws-sdk-rds/client_api.rb +9 -0
- data/lib/aws-sdk-rds/db_instance.rb +74 -12
- data/lib/aws-sdk-rds/db_snapshot.rb +20 -1
- data/lib/aws-sdk-rds/resource.rb +25 -8
- data/lib/aws-sdk-rds/types.rb +115 -16
- data/lib/aws-sdk-rds/waiters.rb +141 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3a2eb6f3375f4230e4b68f21acd0ab8cbada3b8
|
4
|
+
data.tar.gz: 2946f20dcea1cf2ee8f90ce326ec644cb6a079b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4683c23efa0d985c507d40f3ad866c19fb0256b6f398e99e759b48800d604193af1e6042e64f153d9d1ae7a506b02e542d082d6cf8e192c77e01029f1a7e45af
|
7
|
+
data.tar.gz: d79bbc04ecbacc3faae40bb3941f1e13c0cf15b4fe39a93da38ace0457d7932a23c42b47e0ca1fbe43e524e912c56674781dff9277fe8b2d9339bd562dffcf93
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -3079,17 +3079,27 @@ module Aws::RDS
|
|
3079
3079
|
# for each AWS Region.
|
3080
3080
|
#
|
3081
3081
|
# @option params [String] :domain
|
3082
|
-
#
|
3083
|
-
#
|
3084
|
-
#
|
3082
|
+
# The Active Directory directory ID to create the DB instance in.
|
3083
|
+
# Currently, only Microsoft SQL Server and Oracle DB instances can be
|
3084
|
+
# created in an Active Directory Domain.
|
3085
|
+
#
|
3086
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
3087
|
+
# Authentication to authenticate users that connect to the DB instance.
|
3088
|
+
# For more information, see [ Using Windows Authentication with an
|
3089
|
+
# Amazon RDS DB Instance Running Microsoft SQL Server][1] in the *Amazon
|
3090
|
+
# RDS User Guide*.
|
3091
|
+
#
|
3092
|
+
# For Oracle DB instance, Amazon RDS can use Kerberos Authentication to
|
3085
3093
|
# authenticate users that connect to the DB instance. For more
|
3086
|
-
# information, see [Using
|
3087
|
-
#
|
3088
|
-
#
|
3094
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
3095
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
3096
|
+
#
|
3089
3097
|
#
|
3090
3098
|
#
|
3091
3099
|
#
|
3092
|
-
#
|
3100
|
+
#
|
3101
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
3102
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
3093
3103
|
#
|
3094
3104
|
# @option params [Boolean] :copy_tags_to_snapshot
|
3095
3105
|
# A value that indicates whether to copy tags from the DB instance to
|
@@ -3804,6 +3814,22 @@ module Aws::RDS
|
|
3804
3814
|
#
|
3805
3815
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
3806
3816
|
#
|
3817
|
+
# @option params [String] :domain
|
3818
|
+
# The Active Directory directory ID to create the DB instance in.
|
3819
|
+
#
|
3820
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication to
|
3821
|
+
# authenticate users that connect to the DB instance. For more
|
3822
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
3823
|
+
# Oracle][1] in the *Amazon RDS User Guide*.
|
3824
|
+
#
|
3825
|
+
#
|
3826
|
+
#
|
3827
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
3828
|
+
#
|
3829
|
+
# @option params [String] :domain_iam_role_name
|
3830
|
+
# Specify the name of the IAM role to be used when making API calls to
|
3831
|
+
# the Directory Service.
|
3832
|
+
#
|
3807
3833
|
# @option params [String] :source_region
|
3808
3834
|
# The source region of the snapshot. This is only needed when the
|
3809
3835
|
# shapshot is encrypted and in a different region.
|
@@ -3880,6 +3906,8 @@ module Aws::RDS
|
|
3880
3906
|
# ],
|
3881
3907
|
# use_default_processor_features: false,
|
3882
3908
|
# deletion_protection: false,
|
3909
|
+
# domain: "String",
|
3910
|
+
# domain_iam_role_name: "String",
|
3883
3911
|
# source_region: "String",
|
3884
3912
|
# })
|
3885
3913
|
#
|
@@ -7008,7 +7036,14 @@ module Aws::RDS
|
|
7008
7036
|
#
|
7009
7037
|
# * `dbi-resource-id` - Accepts DB instance resource identifiers. The
|
7010
7038
|
# results list will only include information about the DB instances
|
7011
|
-
# identified by these resource identifiers.
|
7039
|
+
# identified by these DB instance resource identifiers.
|
7040
|
+
#
|
7041
|
+
# * `domain` - Accepts Active Directory directory IDs. The results list
|
7042
|
+
# will only include information about the DB instances associated with
|
7043
|
+
# these domains.
|
7044
|
+
#
|
7045
|
+
# * `engine` - Accepts engine names. The results list will only include
|
7046
|
+
# information about the DB instances for these engines.
|
7012
7047
|
#
|
7013
7048
|
# @option params [Integer] :max_records
|
7014
7049
|
# The maximum number of records to include in the response. If more
|
@@ -8799,6 +8834,7 @@ module Aws::RDS
|
|
8799
8834
|
# resp.orderable_db_instance_options[0].supported_engine_modes #=> Array
|
8800
8835
|
# resp.orderable_db_instance_options[0].supported_engine_modes[0] #=> String
|
8801
8836
|
# resp.orderable_db_instance_options[0].supports_storage_autoscaling #=> Boolean
|
8837
|
+
# resp.orderable_db_instance_options[0].supports_kerberos_authentication #=> Boolean
|
8802
8838
|
# resp.marker #=> String
|
8803
8839
|
#
|
8804
8840
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptions AWS API Documentation
|
@@ -10814,10 +10850,27 @@ module Aws::RDS
|
|
10814
10850
|
# instance.
|
10815
10851
|
#
|
10816
10852
|
# @option params [String] :domain
|
10817
|
-
# The Active Directory
|
10818
|
-
# remove the instance from its current domain. The domain must
|
10819
|
-
# created prior to this operation. Currently only
|
10820
|
-
#
|
10853
|
+
# The Active Directory directory ID to move the DB instance to. Specify
|
10854
|
+
# `none` to remove the instance from its current domain. The domain must
|
10855
|
+
# be created prior to this operation. Currently, only Microsoft SQL
|
10856
|
+
# Server and Oracle DB instances can be created in an Active Directory
|
10857
|
+
# Domain.
|
10858
|
+
#
|
10859
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
10860
|
+
# Authentication to authenticate users that connect to the DB instance.
|
10861
|
+
# For more information, see [ Using Windows Authentication with an
|
10862
|
+
# Amazon RDS DB Instance Running Microsoft SQL Server][1] in the *Amazon
|
10863
|
+
# RDS User Guide*.
|
10864
|
+
#
|
10865
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication to
|
10866
|
+
# authenticate users that connect to the DB instance. For more
|
10867
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
10868
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
10869
|
+
#
|
10870
|
+
#
|
10871
|
+
#
|
10872
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
10873
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
10821
10874
|
#
|
10822
10875
|
# @option params [Boolean] :copy_tags_to_snapshot
|
10823
10876
|
# A value that indicates whether to copy all tags from the DB instance
|
@@ -14245,7 +14298,26 @@ module Aws::RDS
|
|
14245
14298
|
# VPC.
|
14246
14299
|
#
|
14247
14300
|
# @option params [String] :domain
|
14248
|
-
# Specify the Active Directory
|
14301
|
+
# Specify the Active Directory directory ID to restore the DB instance
|
14302
|
+
# in. The domain must be created prior to this operation. Currently,
|
14303
|
+
# only Microsoft SQL Server and Oracle DB instances can be created in an
|
14304
|
+
# Active Directory Domain.
|
14305
|
+
#
|
14306
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
14307
|
+
# Authentication to authenticate users that connect to the DB instance.
|
14308
|
+
# For more information, see [ Using Windows Authentication with an
|
14309
|
+
# Amazon RDS DB Instance Running Microsoft SQL Server][1] in the *Amazon
|
14310
|
+
# RDS User Guide*.
|
14311
|
+
#
|
14312
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication to
|
14313
|
+
# authenticate users that connect to the DB instance. For more
|
14314
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
14315
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
14316
|
+
#
|
14317
|
+
#
|
14318
|
+
#
|
14319
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
14320
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
14249
14321
|
#
|
14250
14322
|
# @option params [Boolean] :copy_tags_to_snapshot
|
14251
14323
|
# A value that indicates whether to copy all tags from the restored DB
|
@@ -15351,7 +15423,26 @@ module Aws::RDS
|
|
15351
15423
|
# VPC.
|
15352
15424
|
#
|
15353
15425
|
# @option params [String] :domain
|
15354
|
-
# Specify the Active Directory
|
15426
|
+
# Specify the Active Directory directory ID to restore the DB instance
|
15427
|
+
# in. The domain must be created prior to this operation. Currently,
|
15428
|
+
# only Microsoft SQL Server and Oracle DB instances can be created in an
|
15429
|
+
# Active Directory Domain.
|
15430
|
+
#
|
15431
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
15432
|
+
# Authentication to authenticate users that connect to the DB instance.
|
15433
|
+
# For more information, see [ Using Windows Authentication with an
|
15434
|
+
# Amazon RDS DB Instance Running Microsoft SQL Server][1] in the *Amazon
|
15435
|
+
# RDS User Guide*.
|
15436
|
+
#
|
15437
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication to
|
15438
|
+
# authenticate users that connect to the DB instance. For more
|
15439
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
15440
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
15441
|
+
#
|
15442
|
+
#
|
15443
|
+
#
|
15444
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
15445
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
15355
15446
|
#
|
15356
15447
|
# @option params [String] :domain_iam_role_name
|
15357
15448
|
# Specify the name of the IAM role to be used when making API calls to
|
@@ -16440,7 +16531,7 @@ module Aws::RDS
|
|
16440
16531
|
params: params,
|
16441
16532
|
config: config)
|
16442
16533
|
context[:gem_name] = 'aws-sdk-rds'
|
16443
|
-
context[:gem_version] = '1.
|
16534
|
+
context[:gem_version] = '1.67.0'
|
16444
16535
|
Seahorse::Client::Request.new(handlers, context)
|
16445
16536
|
end
|
16446
16537
|
|
@@ -16506,12 +16597,14 @@ module Aws::RDS
|
|
16506
16597
|
# The following table lists the valid waiter names, the operations they call,
|
16507
16598
|
# and the default `:delay` and `:max_attempts` values.
|
16508
16599
|
#
|
16509
|
-
# | waiter_name
|
16510
|
-
# |
|
16511
|
-
# |
|
16512
|
-
# |
|
16513
|
-
# |
|
16514
|
-
# |
|
16600
|
+
# | waiter_name | params | :delay | :max_attempts |
|
16601
|
+
# | ----------------------------- | -------------------------------- | -------- | ------------- |
|
16602
|
+
# | db_cluster_snapshot_available | {#describe_db_cluster_snapshots} | 30 | 60 |
|
16603
|
+
# | db_cluster_snapshot_deleted | {#describe_db_cluster_snapshots} | 30 | 60 |
|
16604
|
+
# | db_instance_available | {#describe_db_instances} | 30 | 60 |
|
16605
|
+
# | db_instance_deleted | {#describe_db_instances} | 30 | 60 |
|
16606
|
+
# | db_snapshot_available | {#describe_db_snapshots} | 30 | 60 |
|
16607
|
+
# | db_snapshot_deleted | {#describe_db_snapshots} | 30 | 60 |
|
16515
16608
|
#
|
16516
16609
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
16517
16610
|
# because the waiter has entered a state that it will not transition
|
@@ -16562,6 +16655,8 @@ module Aws::RDS
|
|
16562
16655
|
|
16563
16656
|
def waiters
|
16564
16657
|
{
|
16658
|
+
db_cluster_snapshot_available: Waiters::DBClusterSnapshotAvailable,
|
16659
|
+
db_cluster_snapshot_deleted: Waiters::DBClusterSnapshotDeleted,
|
16565
16660
|
db_instance_available: Waiters::DBInstanceAvailable,
|
16566
16661
|
db_instance_deleted: Waiters::DBInstanceDeleted,
|
16567
16662
|
db_snapshot_available: Waiters::DBSnapshotAvailable,
|
@@ -764,6 +764,8 @@ module Aws::RDS
|
|
764
764
|
CreateDBInstanceReadReplicaMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
765
765
|
CreateDBInstanceReadReplicaMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
|
766
766
|
CreateDBInstanceReadReplicaMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
767
|
+
CreateDBInstanceReadReplicaMessage.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
768
|
+
CreateDBInstanceReadReplicaMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
|
767
769
|
CreateDBInstanceReadReplicaMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
|
768
770
|
CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
769
771
|
CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
|
@@ -2017,6 +2019,7 @@ module Aws::RDS
|
|
2017
2019
|
OrderableDBInstanceOption.add_member(:available_processor_features, Shapes::ShapeRef.new(shape: AvailableProcessorFeatureList, location_name: "AvailableProcessorFeatures"))
|
2018
2020
|
OrderableDBInstanceOption.add_member(:supported_engine_modes, Shapes::ShapeRef.new(shape: EngineModeList, location_name: "SupportedEngineModes"))
|
2019
2021
|
OrderableDBInstanceOption.add_member(:supports_storage_autoscaling, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsStorageAutoscaling"))
|
2022
|
+
OrderableDBInstanceOption.add_member(:supports_kerberos_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsKerberosAuthentication"))
|
2020
2023
|
OrderableDBInstanceOption.struct_class = Types::OrderableDBInstanceOption
|
2021
2024
|
|
2022
2025
|
OrderableDBInstanceOptionsList.member = Shapes::ShapeRef.new(shape: OrderableDBInstanceOption, location_name: "OrderableDBInstanceOption")
|
@@ -2740,6 +2743,7 @@ module Aws::RDS
|
|
2740
2743
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupDoesNotCoverEnoughAZs)
|
2741
2744
|
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2742
2745
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
2746
|
+
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
2743
2747
|
end)
|
2744
2748
|
|
2745
2749
|
api.add_operation(:create_db_cluster_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2830,6 +2834,7 @@ module Aws::RDS
|
|
2830
2834
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBSubnetGroupFault)
|
2831
2835
|
o.errors << Shapes::ShapeRef.new(shape: StorageTypeNotSupportedFault)
|
2832
2836
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
2837
|
+
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
2833
2838
|
end)
|
2834
2839
|
|
2835
2840
|
api.add_operation(:create_db_parameter_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3525,6 +3530,7 @@ module Aws::RDS
|
|
3525
3530
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBSecurityGroupStateFault)
|
3526
3531
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
3527
3532
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterAlreadyExistsFault)
|
3533
|
+
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
3528
3534
|
end)
|
3529
3535
|
|
3530
3536
|
api.add_operation(:modify_db_cluster_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3796,6 +3802,7 @@ module Aws::RDS
|
|
3796
3802
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterParameterGroupNotFoundFault)
|
3797
3803
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
3798
3804
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
3805
|
+
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
3799
3806
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientStorageClusterCapacityFault)
|
3800
3807
|
end)
|
3801
3808
|
|
@@ -3822,6 +3829,7 @@ module Aws::RDS
|
|
3822
3829
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSubnet)
|
3823
3830
|
o.errors << Shapes::ShapeRef.new(shape: OptionGroupNotFoundFault)
|
3824
3831
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
3832
|
+
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
3825
3833
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterParameterGroupNotFoundFault)
|
3826
3834
|
end)
|
3827
3835
|
|
@@ -3847,6 +3855,7 @@ module Aws::RDS
|
|
3847
3855
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
3848
3856
|
o.errors << Shapes::ShapeRef.new(shape: OptionGroupNotFoundFault)
|
3849
3857
|
o.errors << Shapes::ShapeRef.new(shape: StorageQuotaExceededFault)
|
3858
|
+
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
3850
3859
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterParameterGroupNotFoundFault)
|
3851
3860
|
end)
|
3852
3861
|
|
@@ -1291,17 +1291,27 @@ module Aws::RDS
|
|
1291
1291
|
# AWS account. Your AWS account has a different default encryption key
|
1292
1292
|
# for each AWS Region.
|
1293
1293
|
# @option options [String] :domain
|
1294
|
-
#
|
1295
|
-
#
|
1296
|
-
#
|
1294
|
+
# The Active Directory directory ID to create the DB instance in.
|
1295
|
+
# Currently, only Microsoft SQL Server and Oracle DB instances can be
|
1296
|
+
# created in an Active Directory Domain.
|
1297
|
+
#
|
1298
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
1299
|
+
# Authentication to authenticate users that connect to the DB instance.
|
1300
|
+
# For more information, see [ Using Windows Authentication with an
|
1301
|
+
# Amazon RDS DB Instance Running Microsoft SQL Server][1] in the *Amazon
|
1302
|
+
# RDS User Guide*.
|
1303
|
+
#
|
1304
|
+
# For Oracle DB instance, Amazon RDS can use Kerberos Authentication to
|
1297
1305
|
# authenticate users that connect to the DB instance. For more
|
1298
|
-
# information, see [Using
|
1299
|
-
#
|
1300
|
-
# Guide*.
|
1306
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
1307
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
1301
1308
|
#
|
1302
1309
|
#
|
1303
1310
|
#
|
1304
|
-
#
|
1311
|
+
#
|
1312
|
+
#
|
1313
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
1314
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
1305
1315
|
# @option options [Boolean] :copy_tags_to_snapshot
|
1306
1316
|
# A value that indicates whether to copy tags from the DB instance to
|
1307
1317
|
# snapshots of the DB instance. By default, tags are not copied.
|
@@ -1489,6 +1499,8 @@ module Aws::RDS
|
|
1489
1499
|
# ],
|
1490
1500
|
# use_default_processor_features: false,
|
1491
1501
|
# deletion_protection: false,
|
1502
|
+
# domain: "String",
|
1503
|
+
# domain_iam_role_name: "String",
|
1492
1504
|
# source_region: "String",
|
1493
1505
|
# })
|
1494
1506
|
# @param [Hash] options ({})
|
@@ -1763,6 +1775,20 @@ module Aws::RDS
|
|
1763
1775
|
#
|
1764
1776
|
#
|
1765
1777
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
1778
|
+
# @option options [String] :domain
|
1779
|
+
# The Active Directory directory ID to create the DB instance in.
|
1780
|
+
#
|
1781
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication to
|
1782
|
+
# authenticate users that connect to the DB instance. For more
|
1783
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
1784
|
+
# Oracle][1] in the *Amazon RDS User Guide*.
|
1785
|
+
#
|
1786
|
+
#
|
1787
|
+
#
|
1788
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
1789
|
+
# @option options [String] :domain_iam_role_name
|
1790
|
+
# Specify the name of the IAM role to be used when making API calls to
|
1791
|
+
# the Directory Service.
|
1766
1792
|
# @option options [String] :destination_region
|
1767
1793
|
# @option options [String] :source_region
|
1768
1794
|
# The source region of the snapshot. This is only needed when the
|
@@ -2284,10 +2310,27 @@ module Aws::RDS
|
|
2284
2310
|
# Indicates the certificate that needs to be associated with the
|
2285
2311
|
# instance.
|
2286
2312
|
# @option options [String] :domain
|
2287
|
-
# The Active Directory
|
2288
|
-
# remove the instance from its current domain. The domain must
|
2289
|
-
# created prior to this operation. Currently only
|
2290
|
-
#
|
2313
|
+
# The Active Directory directory ID to move the DB instance to. Specify
|
2314
|
+
# `none` to remove the instance from its current domain. The domain must
|
2315
|
+
# be created prior to this operation. Currently, only Microsoft SQL
|
2316
|
+
# Server and Oracle DB instances can be created in an Active Directory
|
2317
|
+
# Domain.
|
2318
|
+
#
|
2319
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
2320
|
+
# Authentication to authenticate users that connect to the DB instance.
|
2321
|
+
# For more information, see [ Using Windows Authentication with an
|
2322
|
+
# Amazon RDS DB Instance Running Microsoft SQL Server][1] in the *Amazon
|
2323
|
+
# RDS User Guide*.
|
2324
|
+
#
|
2325
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication to
|
2326
|
+
# authenticate users that connect to the DB instance. For more
|
2327
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
2328
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
2329
|
+
#
|
2330
|
+
#
|
2331
|
+
#
|
2332
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
2333
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
2291
2334
|
# @option options [Boolean] :copy_tags_to_snapshot
|
2292
2335
|
# A value that indicates whether to copy all tags from the DB instance
|
2293
2336
|
# to snapshots of the DB instance. By default, tags are not copied.
|
@@ -2762,7 +2805,26 @@ module Aws::RDS
|
|
2762
2805
|
# Default: The default EC2 VPC security group for the DB subnet group's
|
2763
2806
|
# VPC.
|
2764
2807
|
# @option options [String] :domain
|
2765
|
-
# Specify the Active Directory
|
2808
|
+
# Specify the Active Directory directory ID to restore the DB instance
|
2809
|
+
# in. The domain must be created prior to this operation. Currently,
|
2810
|
+
# only Microsoft SQL Server and Oracle DB instances can be created in an
|
2811
|
+
# Active Directory Domain.
|
2812
|
+
#
|
2813
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
2814
|
+
# Authentication to authenticate users that connect to the DB instance.
|
2815
|
+
# For more information, see [ Using Windows Authentication with an
|
2816
|
+
# Amazon RDS DB Instance Running Microsoft SQL Server][1] in the *Amazon
|
2817
|
+
# RDS User Guide*.
|
2818
|
+
#
|
2819
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication to
|
2820
|
+
# authenticate users that connect to the DB instance. For more
|
2821
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
2822
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
2823
|
+
#
|
2824
|
+
#
|
2825
|
+
#
|
2826
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
2827
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
2766
2828
|
# @option options [String] :domain_iam_role_name
|
2767
2829
|
# Specify the name of the IAM role to be used when making API calls to
|
2768
2830
|
# the Directory Service.
|
@@ -736,7 +736,26 @@ module Aws::RDS
|
|
736
736
|
# Default: The default EC2 VPC security group for the DB subnet group's
|
737
737
|
# VPC.
|
738
738
|
# @option options [String] :domain
|
739
|
-
# Specify the Active Directory
|
739
|
+
# Specify the Active Directory directory ID to restore the DB instance
|
740
|
+
# in. The domain must be created prior to this operation. Currently,
|
741
|
+
# only Microsoft SQL Server and Oracle DB instances can be created in an
|
742
|
+
# Active Directory Domain.
|
743
|
+
#
|
744
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
745
|
+
# Authentication to authenticate users that connect to the DB instance.
|
746
|
+
# For more information, see [ Using Windows Authentication with an
|
747
|
+
# Amazon RDS DB Instance Running Microsoft SQL Server][1] in the *Amazon
|
748
|
+
# RDS User Guide*.
|
749
|
+
#
|
750
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication to
|
751
|
+
# authenticate users that connect to the DB instance. For more
|
752
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
753
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
754
|
+
#
|
755
|
+
#
|
756
|
+
#
|
757
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
758
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
740
759
|
# @option options [Boolean] :copy_tags_to_snapshot
|
741
760
|
# A value that indicates whether to copy all tags from the restored DB
|
742
761
|
# instance to snapshots of the DB instance. By default, tags are not
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -1128,17 +1128,27 @@ module Aws::RDS
|
|
1128
1128
|
# AWS account. Your AWS account has a different default encryption key
|
1129
1129
|
# for each AWS Region.
|
1130
1130
|
# @option options [String] :domain
|
1131
|
-
#
|
1132
|
-
#
|
1133
|
-
#
|
1131
|
+
# The Active Directory directory ID to create the DB instance in.
|
1132
|
+
# Currently, only Microsoft SQL Server and Oracle DB instances can be
|
1133
|
+
# created in an Active Directory Domain.
|
1134
|
+
#
|
1135
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
1136
|
+
# Authentication to authenticate users that connect to the DB instance.
|
1137
|
+
# For more information, see [ Using Windows Authentication with an
|
1138
|
+
# Amazon RDS DB Instance Running Microsoft SQL Server][1] in the *Amazon
|
1139
|
+
# RDS User Guide*.
|
1140
|
+
#
|
1141
|
+
# For Oracle DB instance, Amazon RDS can use Kerberos Authentication to
|
1134
1142
|
# authenticate users that connect to the DB instance. For more
|
1135
|
-
# information, see [Using
|
1136
|
-
#
|
1137
|
-
#
|
1143
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
1144
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
1145
|
+
#
|
1138
1146
|
#
|
1139
1147
|
#
|
1140
1148
|
#
|
1141
|
-
#
|
1149
|
+
#
|
1150
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
1151
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
1142
1152
|
# @option options [Boolean] :copy_tags_to_snapshot
|
1143
1153
|
# A value that indicates whether to copy tags from the DB instance to
|
1144
1154
|
# snapshots of the DB instance. By default, tags are not copied.
|
@@ -1916,7 +1926,14 @@ module Aws::RDS
|
|
1916
1926
|
#
|
1917
1927
|
# * `dbi-resource-id` - Accepts DB instance resource identifiers. The
|
1918
1928
|
# results list will only include information about the DB instances
|
1919
|
-
# identified by these resource identifiers.
|
1929
|
+
# identified by these DB instance resource identifiers.
|
1930
|
+
#
|
1931
|
+
# * `domain` - Accepts Active Directory directory IDs. The results list
|
1932
|
+
# will only include information about the DB instances associated with
|
1933
|
+
# these domains.
|
1934
|
+
#
|
1935
|
+
# * `engine` - Accepts engine names. The results list will only include
|
1936
|
+
# information about the DB instances for these engines.
|
1920
1937
|
# @return [DBInstance::Collection]
|
1921
1938
|
def db_instances(options = {})
|
1922
1939
|
batches = Enumerator.new do |y|
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -2720,17 +2720,27 @@ module Aws::RDS
|
|
2720
2720
|
# @return [String]
|
2721
2721
|
#
|
2722
2722
|
# @!attribute [rw] domain
|
2723
|
-
#
|
2724
|
-
#
|
2725
|
-
#
|
2726
|
-
#
|
2727
|
-
#
|
2728
|
-
#
|
2729
|
-
#
|
2723
|
+
# The Active Directory directory ID to create the DB instance in.
|
2724
|
+
# Currently, only Microsoft SQL Server and Oracle DB instances can be
|
2725
|
+
# created in an Active Directory Domain.
|
2726
|
+
#
|
2727
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
2728
|
+
# Authentication to authenticate users that connect to the DB
|
2729
|
+
# instance. For more information, see [ Using Windows Authentication
|
2730
|
+
# with an Amazon RDS DB Instance Running Microsoft SQL Server][1] in
|
2731
|
+
# the *Amazon RDS User Guide*.
|
2732
|
+
#
|
2733
|
+
# For Oracle DB instance, Amazon RDS can use Kerberos Authentication
|
2734
|
+
# to authenticate users that connect to the DB instance. For more
|
2735
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
2736
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
2730
2737
|
#
|
2731
2738
|
#
|
2732
2739
|
#
|
2733
|
-
#
|
2740
|
+
#
|
2741
|
+
#
|
2742
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
2743
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
2734
2744
|
# @return [String]
|
2735
2745
|
#
|
2736
2746
|
# @!attribute [rw] copy_tags_to_snapshot
|
@@ -2991,6 +3001,8 @@ module Aws::RDS
|
|
2991
3001
|
# ],
|
2992
3002
|
# use_default_processor_features: false,
|
2993
3003
|
# deletion_protection: false,
|
3004
|
+
# domain: "String",
|
3005
|
+
# domain_iam_role_name: "String",
|
2994
3006
|
# source_region: "String",
|
2995
3007
|
# }
|
2996
3008
|
#
|
@@ -3361,6 +3373,24 @@ module Aws::RDS
|
|
3361
3373
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
3362
3374
|
# @return [Boolean]
|
3363
3375
|
#
|
3376
|
+
# @!attribute [rw] domain
|
3377
|
+
# The Active Directory directory ID to create the DB instance in.
|
3378
|
+
#
|
3379
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication
|
3380
|
+
# to authenticate users that connect to the DB instance. For more
|
3381
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
3382
|
+
# Oracle][1] in the *Amazon RDS User Guide*.
|
3383
|
+
#
|
3384
|
+
#
|
3385
|
+
#
|
3386
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
3387
|
+
# @return [String]
|
3388
|
+
#
|
3389
|
+
# @!attribute [rw] domain_iam_role_name
|
3390
|
+
# Specify the name of the IAM role to be used when making API calls to
|
3391
|
+
# the Directory Service.
|
3392
|
+
# @return [String]
|
3393
|
+
#
|
3364
3394
|
# @!attribute [rw] destination_region
|
3365
3395
|
# @return [String]
|
3366
3396
|
#
|
@@ -3400,6 +3430,8 @@ module Aws::RDS
|
|
3400
3430
|
:processor_features,
|
3401
3431
|
:use_default_processor_features,
|
3402
3432
|
:deletion_protection,
|
3433
|
+
:domain,
|
3434
|
+
:domain_iam_role_name,
|
3403
3435
|
:destination_region,
|
3404
3436
|
:source_region)
|
3405
3437
|
include Aws::Structure
|
@@ -7602,7 +7634,14 @@ module Aws::RDS
|
|
7602
7634
|
#
|
7603
7635
|
# * `dbi-resource-id` - Accepts DB instance resource identifiers. The
|
7604
7636
|
# results list will only include information about the DB instances
|
7605
|
-
# identified by these resource identifiers.
|
7637
|
+
# identified by these DB instance resource identifiers.
|
7638
|
+
#
|
7639
|
+
# * `domain` - Accepts Active Directory directory IDs. The results
|
7640
|
+
# list will only include information about the DB instances
|
7641
|
+
# associated with these domains.
|
7642
|
+
#
|
7643
|
+
# * `engine` - Accepts engine names. The results list will only
|
7644
|
+
# include information about the DB instances for these engines.
|
7606
7645
|
# @return [Array<Types::Filter>]
|
7607
7646
|
#
|
7608
7647
|
# @!attribute [rw] max_records
|
@@ -10866,10 +10905,27 @@ module Aws::RDS
|
|
10866
10905
|
# @return [String]
|
10867
10906
|
#
|
10868
10907
|
# @!attribute [rw] domain
|
10869
|
-
# The Active Directory
|
10870
|
-
# to remove the instance from its current domain. The
|
10871
|
-
# created prior to this operation. Currently only
|
10872
|
-
# Server
|
10908
|
+
# The Active Directory directory ID to move the DB instance to.
|
10909
|
+
# Specify `none` to remove the instance from its current domain. The
|
10910
|
+
# domain must be created prior to this operation. Currently, only
|
10911
|
+
# Microsoft SQL Server and Oracle DB instances can be created in an
|
10912
|
+
# Active Directory Domain.
|
10913
|
+
#
|
10914
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
10915
|
+
# Authentication to authenticate users that connect to the DB
|
10916
|
+
# instance. For more information, see [ Using Windows Authentication
|
10917
|
+
# with an Amazon RDS DB Instance Running Microsoft SQL Server][1] in
|
10918
|
+
# the *Amazon RDS User Guide*.
|
10919
|
+
#
|
10920
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication
|
10921
|
+
# to authenticate users that connect to the DB instance. For more
|
10922
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
10923
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
10924
|
+
#
|
10925
|
+
#
|
10926
|
+
#
|
10927
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
10928
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
10873
10929
|
# @return [String]
|
10874
10930
|
#
|
10875
10931
|
# @!attribute [rw] copy_tags_to_snapshot
|
@@ -12175,6 +12231,10 @@ module Aws::RDS
|
|
12175
12231
|
# instances that use the specified instance class.
|
12176
12232
|
# @return [Boolean]
|
12177
12233
|
#
|
12234
|
+
# @!attribute [rw] supports_kerberos_authentication
|
12235
|
+
# Whether a DB instance supports Kerberos Authentication.
|
12236
|
+
# @return [Boolean]
|
12237
|
+
#
|
12178
12238
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOption AWS API Documentation
|
12179
12239
|
#
|
12180
12240
|
class OrderableDBInstanceOption < Struct.new(
|
@@ -12200,7 +12260,8 @@ module Aws::RDS
|
|
12200
12260
|
:max_iops_per_gib,
|
12201
12261
|
:available_processor_features,
|
12202
12262
|
:supported_engine_modes,
|
12203
|
-
:supports_storage_autoscaling
|
12263
|
+
:supports_storage_autoscaling,
|
12264
|
+
:supports_kerberos_authentication)
|
12204
12265
|
include Aws::Structure
|
12205
12266
|
end
|
12206
12267
|
|
@@ -14565,7 +14626,26 @@ module Aws::RDS
|
|
14565
14626
|
# @return [Array<String>]
|
14566
14627
|
#
|
14567
14628
|
# @!attribute [rw] domain
|
14568
|
-
# Specify the Active Directory
|
14629
|
+
# Specify the Active Directory directory ID to restore the DB instance
|
14630
|
+
# in. The domain must be created prior to this operation. Currently,
|
14631
|
+
# only Microsoft SQL Server and Oracle DB instances can be created in
|
14632
|
+
# an Active Directory Domain.
|
14633
|
+
#
|
14634
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
14635
|
+
# Authentication to authenticate users that connect to the DB
|
14636
|
+
# instance. For more information, see [ Using Windows Authentication
|
14637
|
+
# with an Amazon RDS DB Instance Running Microsoft SQL Server][1] in
|
14638
|
+
# the *Amazon RDS User Guide*.
|
14639
|
+
#
|
14640
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication
|
14641
|
+
# to authenticate users that connect to the DB instance. For more
|
14642
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
14643
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
14644
|
+
#
|
14645
|
+
#
|
14646
|
+
#
|
14647
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
14648
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
14569
14649
|
# @return [String]
|
14570
14650
|
#
|
14571
14651
|
# @!attribute [rw] copy_tags_to_snapshot
|
@@ -15487,7 +15567,26 @@ module Aws::RDS
|
|
15487
15567
|
# @return [Array<String>]
|
15488
15568
|
#
|
15489
15569
|
# @!attribute [rw] domain
|
15490
|
-
# Specify the Active Directory
|
15570
|
+
# Specify the Active Directory directory ID to restore the DB instance
|
15571
|
+
# in. The domain must be created prior to this operation. Currently,
|
15572
|
+
# only Microsoft SQL Server and Oracle DB instances can be created in
|
15573
|
+
# an Active Directory Domain.
|
15574
|
+
#
|
15575
|
+
# For Microsoft SQL Server DB instances, Amazon RDS can use Windows
|
15576
|
+
# Authentication to authenticate users that connect to the DB
|
15577
|
+
# instance. For more information, see [ Using Windows Authentication
|
15578
|
+
# with an Amazon RDS DB Instance Running Microsoft SQL Server][1] in
|
15579
|
+
# the *Amazon RDS User Guide*.
|
15580
|
+
#
|
15581
|
+
# For Oracle DB instances, Amazon RDS can use Kerberos Authentication
|
15582
|
+
# to authenticate users that connect to the DB instance. For more
|
15583
|
+
# information, see [ Using Kerberos Authentication with Amazon RDS for
|
15584
|
+
# Oracle][2] in the *Amazon RDS User Guide*.
|
15585
|
+
#
|
15586
|
+
#
|
15587
|
+
#
|
15588
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html
|
15589
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html
|
15491
15590
|
# @return [String]
|
15492
15591
|
#
|
15493
15592
|
# @!attribute [rw] domain_iam_role_name
|
data/lib/aws-sdk-rds/waiters.rb
CHANGED
@@ -10,6 +10,141 @@ require 'aws-sdk-core/waiters'
|
|
10
10
|
module Aws::RDS
|
11
11
|
module Waiters
|
12
12
|
|
13
|
+
class DBClusterSnapshotAvailable
|
14
|
+
|
15
|
+
# @param [Hash] options
|
16
|
+
# @option options [required, Client] :client
|
17
|
+
# @option options [Integer] :max_attempts (60)
|
18
|
+
# @option options [Integer] :delay (30)
|
19
|
+
# @option options [Proc] :before_attempt
|
20
|
+
# @option options [Proc] :before_wait
|
21
|
+
def initialize(options)
|
22
|
+
@client = options.fetch(:client)
|
23
|
+
@waiter = Aws::Waiters::Waiter.new({
|
24
|
+
max_attempts: 60,
|
25
|
+
delay: 30,
|
26
|
+
poller: Aws::Waiters::Poller.new(
|
27
|
+
operation_name: :describe_db_cluster_snapshots,
|
28
|
+
acceptors: [
|
29
|
+
{
|
30
|
+
"expected" => "available",
|
31
|
+
"matcher" => "pathAll",
|
32
|
+
"state" => "success",
|
33
|
+
"argument" => "db_cluster_snapshots[].status"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"expected" => "deleted",
|
37
|
+
"matcher" => "pathAny",
|
38
|
+
"state" => "failure",
|
39
|
+
"argument" => "db_cluster_snapshots[].status"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"expected" => "deleting",
|
43
|
+
"matcher" => "pathAny",
|
44
|
+
"state" => "failure",
|
45
|
+
"argument" => "db_cluster_snapshots[].status"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"expected" => "failed",
|
49
|
+
"matcher" => "pathAny",
|
50
|
+
"state" => "failure",
|
51
|
+
"argument" => "db_cluster_snapshots[].status"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"expected" => "incompatible-restore",
|
55
|
+
"matcher" => "pathAny",
|
56
|
+
"state" => "failure",
|
57
|
+
"argument" => "db_cluster_snapshots[].status"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"expected" => "incompatible-parameters",
|
61
|
+
"matcher" => "pathAny",
|
62
|
+
"state" => "failure",
|
63
|
+
"argument" => "db_cluster_snapshots[].status"
|
64
|
+
}
|
65
|
+
]
|
66
|
+
)
|
67
|
+
}.merge(options))
|
68
|
+
end
|
69
|
+
|
70
|
+
# @option (see Client#describe_db_cluster_snapshots)
|
71
|
+
# @return (see Client#describe_db_cluster_snapshots)
|
72
|
+
def wait(params = {})
|
73
|
+
@waiter.wait(client: @client, params: params)
|
74
|
+
end
|
75
|
+
|
76
|
+
# @api private
|
77
|
+
attr_reader :waiter
|
78
|
+
|
79
|
+
end
|
80
|
+
|
81
|
+
class DBClusterSnapshotDeleted
|
82
|
+
|
83
|
+
# @param [Hash] options
|
84
|
+
# @option options [required, Client] :client
|
85
|
+
# @option options [Integer] :max_attempts (60)
|
86
|
+
# @option options [Integer] :delay (30)
|
87
|
+
# @option options [Proc] :before_attempt
|
88
|
+
# @option options [Proc] :before_wait
|
89
|
+
def initialize(options)
|
90
|
+
@client = options.fetch(:client)
|
91
|
+
@waiter = Aws::Waiters::Waiter.new({
|
92
|
+
max_attempts: 60,
|
93
|
+
delay: 30,
|
94
|
+
poller: Aws::Waiters::Poller.new(
|
95
|
+
operation_name: :describe_db_cluster_snapshots,
|
96
|
+
acceptors: [
|
97
|
+
{
|
98
|
+
"expected" => true,
|
99
|
+
"matcher" => "path",
|
100
|
+
"state" => "success",
|
101
|
+
"argument" => "length(db_cluster_snapshots) == `0`"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"expected" => "DBClusterSnapshotNotFoundFault",
|
105
|
+
"matcher" => "error",
|
106
|
+
"state" => "success"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"expected" => "creating",
|
110
|
+
"matcher" => "pathAny",
|
111
|
+
"state" => "failure",
|
112
|
+
"argument" => "db_cluster_snapshots[].status"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"expected" => "modifying",
|
116
|
+
"matcher" => "pathAny",
|
117
|
+
"state" => "failure",
|
118
|
+
"argument" => "db_cluster_snapshots[].status"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"expected" => "rebooting",
|
122
|
+
"matcher" => "pathAny",
|
123
|
+
"state" => "failure",
|
124
|
+
"argument" => "db_cluster_snapshots[].status"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"expected" => "resetting-master-credentials",
|
128
|
+
"matcher" => "pathAny",
|
129
|
+
"state" => "failure",
|
130
|
+
"argument" => "db_cluster_snapshots[].status"
|
131
|
+
}
|
132
|
+
]
|
133
|
+
)
|
134
|
+
}.merge(options))
|
135
|
+
end
|
136
|
+
|
137
|
+
# @option (see Client#describe_db_cluster_snapshots)
|
138
|
+
# @return (see Client#describe_db_cluster_snapshots)
|
139
|
+
def wait(params = {})
|
140
|
+
@waiter.wait(client: @client, params: params)
|
141
|
+
end
|
142
|
+
|
143
|
+
# @api private
|
144
|
+
attr_reader :waiter
|
145
|
+
|
146
|
+
end
|
147
|
+
|
13
148
|
class DBInstanceAvailable
|
14
149
|
|
15
150
|
# @param [Hash] options
|
@@ -95,10 +230,10 @@ module Aws::RDS
|
|
95
230
|
operation_name: :describe_db_instances,
|
96
231
|
acceptors: [
|
97
232
|
{
|
98
|
-
"expected" =>
|
99
|
-
"matcher" => "
|
233
|
+
"expected" => true,
|
234
|
+
"matcher" => "path",
|
100
235
|
"state" => "success",
|
101
|
-
"argument" => "db_instances
|
236
|
+
"argument" => "length(db_instances) == `0`"
|
102
237
|
},
|
103
238
|
{
|
104
239
|
"expected" => "DBInstanceNotFound",
|
@@ -230,10 +365,10 @@ module Aws::RDS
|
|
230
365
|
operation_name: :describe_db_snapshots,
|
231
366
|
acceptors: [
|
232
367
|
{
|
233
|
-
"expected" =>
|
234
|
-
"matcher" => "
|
368
|
+
"expected" => true,
|
369
|
+
"matcher" => "path",
|
235
370
|
"state" => "success",
|
236
|
-
"argument" => "db_snapshots
|
371
|
+
"argument" => "length(db_snapshots) == `0`"
|
237
372
|
},
|
238
373
|
{
|
239
374
|
"expected" => "DBSnapshotNotFound",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.67.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|