aws-sdk-rds 1.87.0 → 1.92.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/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +24 -51
- data/lib/aws-sdk-rds/client_api.rb +50 -0
- data/lib/aws-sdk-rds/db_cluster.rb +11 -25
- data/lib/aws-sdk-rds/db_instance.rb +11 -25
- data/lib/aws-sdk-rds/resource.rb +30 -72
- data/lib/aws-sdk-rds/types.rb +330 -49
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75854db2dafe34cc6c38c25d3bdb5ef7594219cbe4c1aedf83761bdd6e9ab77f
|
4
|
+
data.tar.gz: 216f544dffdfe22b45213a83045c7c4a01bf70e92211d88d3fc7196408674da2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 166d328338be59abebc5b59cd01d8f1cdee36e38cf08f11720cb7614a115fb9275e8005c2c51bb41452e3236895f312358835296366414132d2af31d2611ff63
|
7
|
+
data.tar.gz: 9c463ae6d5d03b57c2f3bb813cdff29dd02325c321bab7c2fe9abfe17111485b5bdffe34a5ca7d4c08f687c7707f2e887a510ba380f7380aad33aea24613f332
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -4504,11 +4504,6 @@ module Aws::RDS
|
|
4504
4504
|
req.send_request(options)
|
4505
4505
|
end
|
4506
4506
|
|
4507
|
-
# <note markdown="1"> This is prerelease documentation for the RDS Database Proxy feature in
|
4508
|
-
# preview release. It is subject to change.
|
4509
|
-
#
|
4510
|
-
# </note>
|
4511
|
-
#
|
4512
4507
|
# Creates a new DB proxy.
|
4513
4508
|
#
|
4514
4509
|
# @option params [required, String] :db_proxy_name
|
@@ -6000,11 +5995,6 @@ module Aws::RDS
|
|
6000
5995
|
req.send_request(options)
|
6001
5996
|
end
|
6002
5997
|
|
6003
|
-
# <note markdown="1"> This is prerelease documentation for the RDS Database Proxy feature in
|
6004
|
-
# preview release. It is subject to change.
|
6005
|
-
#
|
6006
|
-
# </note>
|
6007
|
-
#
|
6008
5998
|
# Deletes an existing proxy.
|
6009
5999
|
#
|
6010
6000
|
# @option params [required, String] :db_proxy_name
|
@@ -6410,11 +6400,6 @@ module Aws::RDS
|
|
6410
6400
|
req.send_request(options)
|
6411
6401
|
end
|
6412
6402
|
|
6413
|
-
# <note markdown="1"> This is prerelease documentation for the RDS Database Proxy feature in
|
6414
|
-
# preview release. It is subject to change.
|
6415
|
-
#
|
6416
|
-
# </note>
|
6417
|
-
#
|
6418
6403
|
# Remove the association between one or more `DBProxyTarget` data
|
6419
6404
|
# structures and a `DBProxyTargetGroup`.
|
6420
6405
|
#
|
@@ -6528,6 +6513,8 @@ module Aws::RDS
|
|
6528
6513
|
# * {Types::CertificateMessage#certificates #certificates} => Array<Types::Certificate>
|
6529
6514
|
# * {Types::CertificateMessage#marker #marker} => String
|
6530
6515
|
#
|
6516
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6517
|
+
#
|
6531
6518
|
#
|
6532
6519
|
# @example Example: To list certificates
|
6533
6520
|
#
|
@@ -6745,6 +6732,8 @@ module Aws::RDS
|
|
6745
6732
|
# * {Types::DBClusterBacktrackMessage#marker #marker} => String
|
6746
6733
|
# * {Types::DBClusterBacktrackMessage#db_cluster_backtracks #db_cluster_backtracks} => Array<Types::DBClusterBacktrack>
|
6747
6734
|
#
|
6735
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6736
|
+
#
|
6748
6737
|
# @example Request syntax with placeholder values
|
6749
6738
|
#
|
6750
6739
|
# resp = client.describe_db_cluster_backtracks({
|
@@ -6828,6 +6817,8 @@ module Aws::RDS
|
|
6828
6817
|
# * {Types::DBClusterEndpointMessage#marker #marker} => String
|
6829
6818
|
# * {Types::DBClusterEndpointMessage#db_cluster_endpoints #db_cluster_endpoints} => Array<Types::DBClusterEndpoint>
|
6830
6819
|
#
|
6820
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6821
|
+
#
|
6831
6822
|
# @example Request syntax with placeholder values
|
6832
6823
|
#
|
6833
6824
|
# resp = client.describe_db_cluster_endpoints({
|
@@ -6920,6 +6911,8 @@ module Aws::RDS
|
|
6920
6911
|
# * {Types::DBClusterParameterGroupsMessage#marker #marker} => String
|
6921
6912
|
# * {Types::DBClusterParameterGroupsMessage#db_cluster_parameter_groups #db_cluster_parameter_groups} => Array<Types::DBClusterParameterGroup>
|
6922
6913
|
#
|
6914
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6915
|
+
#
|
6923
6916
|
#
|
6924
6917
|
# @example Example: To list DB cluster parameter group settings
|
6925
6918
|
#
|
@@ -7018,6 +7011,8 @@ module Aws::RDS
|
|
7018
7011
|
# * {Types::DBClusterParameterGroupDetails#parameters #parameters} => Array<Types::Parameter>
|
7019
7012
|
# * {Types::DBClusterParameterGroupDetails#marker #marker} => String
|
7020
7013
|
#
|
7014
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7015
|
+
#
|
7021
7016
|
#
|
7022
7017
|
# @example Example: To list DB cluster parameters
|
7023
7018
|
#
|
@@ -7257,6 +7252,8 @@ module Aws::RDS
|
|
7257
7252
|
# * {Types::DBClusterSnapshotMessage#marker #marker} => String
|
7258
7253
|
# * {Types::DBClusterSnapshotMessage#db_cluster_snapshots #db_cluster_snapshots} => Array<Types::DBClusterSnapshot>
|
7259
7254
|
#
|
7255
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7256
|
+
#
|
7260
7257
|
#
|
7261
7258
|
# @example Example: To list DB cluster snapshots
|
7262
7259
|
#
|
@@ -8287,11 +8284,6 @@ module Aws::RDS
|
|
8287
8284
|
req.send_request(options)
|
8288
8285
|
end
|
8289
8286
|
|
8290
|
-
# <note markdown="1"> This is prerelease documentation for the RDS Database Proxy feature in
|
8291
|
-
# preview release. It is subject to change.
|
8292
|
-
#
|
8293
|
-
# </note>
|
8294
|
-
#
|
8295
8287
|
# Returns information about DB proxies.
|
8296
8288
|
#
|
8297
8289
|
# @option params [String] :db_proxy_name
|
@@ -8371,11 +8363,6 @@ module Aws::RDS
|
|
8371
8363
|
req.send_request(options)
|
8372
8364
|
end
|
8373
8365
|
|
8374
|
-
# <note markdown="1"> This is prerelease documentation for the RDS Database Proxy feature in
|
8375
|
-
# preview release. It is subject to change.
|
8376
|
-
#
|
8377
|
-
# </note>
|
8378
|
-
#
|
8379
8366
|
# Returns information about DB proxy target groups, represented by
|
8380
8367
|
# `DBProxyTargetGroup` data structures.
|
8381
8368
|
#
|
@@ -8452,11 +8439,6 @@ module Aws::RDS
|
|
8452
8439
|
req.send_request(options)
|
8453
8440
|
end
|
8454
8441
|
|
8455
|
-
# <note markdown="1"> This is prerelease documentation for the RDS Database Proxy feature in
|
8456
|
-
# preview release. It is subject to change.
|
8457
|
-
#
|
8458
|
-
# </note>
|
8459
|
-
#
|
8460
8442
|
# Returns information about `DBProxyTarget` objects. This API supports
|
8461
8443
|
# pagination.
|
8462
8444
|
#
|
@@ -10128,6 +10110,8 @@ module Aws::RDS
|
|
10128
10110
|
# * {Types::PendingMaintenanceActionsMessage#pending_maintenance_actions #pending_maintenance_actions} => Array<Types::ResourcePendingMaintenanceActions>
|
10129
10111
|
# * {Types::PendingMaintenanceActionsMessage#marker #marker} => String
|
10130
10112
|
#
|
10113
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
10114
|
+
#
|
10131
10115
|
#
|
10132
10116
|
# @example Example: To list information about pending maintenance actions
|
10133
10117
|
#
|
@@ -10482,6 +10466,8 @@ module Aws::RDS
|
|
10482
10466
|
# * {Types::SourceRegionMessage#marker #marker} => String
|
10483
10467
|
# * {Types::SourceRegionMessage#source_regions #source_regions} => Array<Types::SourceRegion>
|
10484
10468
|
#
|
10469
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
10470
|
+
#
|
10485
10471
|
#
|
10486
10472
|
# @example Example: To describe source regions
|
10487
10473
|
#
|
@@ -12883,11 +12869,6 @@ module Aws::RDS
|
|
12883
12869
|
req.send_request(options)
|
12884
12870
|
end
|
12885
12871
|
|
12886
|
-
# <note markdown="1"> This is prerelease documentation for the RDS Database Proxy feature in
|
12887
|
-
# preview release. It is subject to change.
|
12888
|
-
#
|
12889
|
-
# </note>
|
12890
|
-
#
|
12891
12872
|
# Changes the settings for an existing DB proxy.
|
12892
12873
|
#
|
12893
12874
|
# @option params [required, String] :db_proxy_name
|
@@ -12986,11 +12967,6 @@ module Aws::RDS
|
|
12986
12967
|
req.send_request(options)
|
12987
12968
|
end
|
12988
12969
|
|
12989
|
-
# <note markdown="1"> This is prerelease documentation for the RDS Database Proxy feature in
|
12990
|
-
# preview release. It is subject to change.
|
12991
|
-
#
|
12992
|
-
# </note>
|
12993
|
-
#
|
12994
12970
|
# Modifies the properties of a `DBProxyTargetGroup`.
|
12995
12971
|
#
|
12996
12972
|
# @option params [required, String] :target_group_name
|
@@ -14255,11 +14231,6 @@ module Aws::RDS
|
|
14255
14231
|
req.send_request(options)
|
14256
14232
|
end
|
14257
14233
|
|
14258
|
-
# <note markdown="1"> This is prerelease documentation for the RDS Database Proxy feature in
|
14259
|
-
# preview release. It is subject to change.
|
14260
|
-
#
|
14261
|
-
# </note>
|
14262
|
-
#
|
14263
14234
|
# Associate one or more `DBProxyTarget` data structures with a
|
14264
14235
|
# `DBProxyTargetGroup`.
|
14265
14236
|
#
|
@@ -14806,7 +14777,7 @@ module Aws::RDS
|
|
14806
14777
|
#
|
14807
14778
|
# @option params [required, String] :db_cluster_identifier
|
14808
14779
|
# The name of the DB cluster to create from the source data in the
|
14809
|
-
# Amazon S3 bucket. This parameter
|
14780
|
+
# Amazon S3 bucket. This parameter isn't case-sensitive.
|
14810
14781
|
#
|
14811
14782
|
# Constraints:
|
14812
14783
|
#
|
@@ -14999,9 +14970,9 @@ module Aws::RDS
|
|
14999
14970
|
# @option params [required, String] :source_engine_version
|
15000
14971
|
# The version of the database that the backup files were created from.
|
15001
14972
|
#
|
15002
|
-
# MySQL
|
14973
|
+
# MySQL versions 5.5, 5.6, and 5.7 are supported.
|
15003
14974
|
#
|
15004
|
-
# Example: `5.6.
|
14975
|
+
# Example: `5.6.40`
|
15005
14976
|
#
|
15006
14977
|
# @option params [required, String] :s3_bucket_name
|
15007
14978
|
# The name of the Amazon S3 bucket that contains the data used to create
|
@@ -16832,9 +16803,11 @@ module Aws::RDS
|
|
16832
16803
|
# Valid Values: `mysql`
|
16833
16804
|
#
|
16834
16805
|
# @option params [required, String] :source_engine_version
|
16835
|
-
# The
|
16806
|
+
# The version of the database that the backup files were created from.
|
16807
|
+
#
|
16808
|
+
# MySQL versions 5.6 and 5.7 are supported.
|
16836
16809
|
#
|
16837
|
-
#
|
16810
|
+
# Example: `5.6.40`
|
16838
16811
|
#
|
16839
16812
|
# @option params [required, String] :s3_bucket_name
|
16840
16813
|
# The name of your Amazon S3 bucket that contains your database backup
|
@@ -18544,7 +18517,7 @@ module Aws::RDS
|
|
18544
18517
|
params: params,
|
18545
18518
|
config: config)
|
18546
18519
|
context[:gem_name] = 'aws-sdk-rds'
|
18547
|
-
context[:gem_version] = '1.
|
18520
|
+
context[:gem_version] = '1.92.0'
|
18548
18521
|
Seahorse::Client::Request.new(handlers, context)
|
18549
18522
|
end
|
18550
18523
|
|
@@ -3776,6 +3776,12 @@ module Aws::RDS
|
|
3776
3776
|
o.input = Shapes::ShapeRef.new(shape: DescribeCertificatesMessage)
|
3777
3777
|
o.output = Shapes::ShapeRef.new(shape: CertificateMessage)
|
3778
3778
|
o.errors << Shapes::ShapeRef.new(shape: CertificateNotFoundFault)
|
3779
|
+
o[:pager] = Aws::Pager.new(
|
3780
|
+
limit_key: "max_records",
|
3781
|
+
tokens: {
|
3782
|
+
"marker" => "marker"
|
3783
|
+
}
|
3784
|
+
)
|
3779
3785
|
end)
|
3780
3786
|
|
3781
3787
|
api.add_operation(:describe_custom_availability_zones, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3801,6 +3807,12 @@ module Aws::RDS
|
|
3801
3807
|
o.output = Shapes::ShapeRef.new(shape: DBClusterBacktrackMessage)
|
3802
3808
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
3803
3809
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterBacktrackNotFoundFault)
|
3810
|
+
o[:pager] = Aws::Pager.new(
|
3811
|
+
limit_key: "max_records",
|
3812
|
+
tokens: {
|
3813
|
+
"marker" => "marker"
|
3814
|
+
}
|
3815
|
+
)
|
3804
3816
|
end)
|
3805
3817
|
|
3806
3818
|
api.add_operation(:describe_db_cluster_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3810,6 +3822,12 @@ module Aws::RDS
|
|
3810
3822
|
o.input = Shapes::ShapeRef.new(shape: DescribeDBClusterEndpointsMessage)
|
3811
3823
|
o.output = Shapes::ShapeRef.new(shape: DBClusterEndpointMessage)
|
3812
3824
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
3825
|
+
o[:pager] = Aws::Pager.new(
|
3826
|
+
limit_key: "max_records",
|
3827
|
+
tokens: {
|
3828
|
+
"marker" => "marker"
|
3829
|
+
}
|
3830
|
+
)
|
3813
3831
|
end)
|
3814
3832
|
|
3815
3833
|
api.add_operation(:describe_db_cluster_parameter_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3819,6 +3837,12 @@ module Aws::RDS
|
|
3819
3837
|
o.input = Shapes::ShapeRef.new(shape: DescribeDBClusterParameterGroupsMessage)
|
3820
3838
|
o.output = Shapes::ShapeRef.new(shape: DBClusterParameterGroupsMessage)
|
3821
3839
|
o.errors << Shapes::ShapeRef.new(shape: DBParameterGroupNotFoundFault)
|
3840
|
+
o[:pager] = Aws::Pager.new(
|
3841
|
+
limit_key: "max_records",
|
3842
|
+
tokens: {
|
3843
|
+
"marker" => "marker"
|
3844
|
+
}
|
3845
|
+
)
|
3822
3846
|
end)
|
3823
3847
|
|
3824
3848
|
api.add_operation(:describe_db_cluster_parameters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3828,6 +3852,12 @@ module Aws::RDS
|
|
3828
3852
|
o.input = Shapes::ShapeRef.new(shape: DescribeDBClusterParametersMessage)
|
3829
3853
|
o.output = Shapes::ShapeRef.new(shape: DBClusterParameterGroupDetails)
|
3830
3854
|
o.errors << Shapes::ShapeRef.new(shape: DBParameterGroupNotFoundFault)
|
3855
|
+
o[:pager] = Aws::Pager.new(
|
3856
|
+
limit_key: "max_records",
|
3857
|
+
tokens: {
|
3858
|
+
"marker" => "marker"
|
3859
|
+
}
|
3860
|
+
)
|
3831
3861
|
end)
|
3832
3862
|
|
3833
3863
|
api.add_operation(:describe_db_cluster_snapshot_attributes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3846,6 +3876,12 @@ module Aws::RDS
|
|
3846
3876
|
o.input = Shapes::ShapeRef.new(shape: DescribeDBClusterSnapshotsMessage)
|
3847
3877
|
o.output = Shapes::ShapeRef.new(shape: DBClusterSnapshotMessage)
|
3848
3878
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterSnapshotNotFoundFault)
|
3879
|
+
o[:pager] = Aws::Pager.new(
|
3880
|
+
limit_key: "max_records",
|
3881
|
+
tokens: {
|
3882
|
+
"marker" => "marker"
|
3883
|
+
}
|
3884
|
+
)
|
3849
3885
|
end)
|
3850
3886
|
|
3851
3887
|
api.add_operation(:describe_db_clusters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4210,6 +4246,12 @@ module Aws::RDS
|
|
4210
4246
|
o.input = Shapes::ShapeRef.new(shape: DescribePendingMaintenanceActionsMessage)
|
4211
4247
|
o.output = Shapes::ShapeRef.new(shape: PendingMaintenanceActionsMessage)
|
4212
4248
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
4249
|
+
o[:pager] = Aws::Pager.new(
|
4250
|
+
limit_key: "max_records",
|
4251
|
+
tokens: {
|
4252
|
+
"marker" => "marker"
|
4253
|
+
}
|
4254
|
+
)
|
4213
4255
|
end)
|
4214
4256
|
|
4215
4257
|
api.add_operation(:describe_reserved_db_instances, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4248,6 +4290,12 @@ module Aws::RDS
|
|
4248
4290
|
o.http_request_uri = "/"
|
4249
4291
|
o.input = Shapes::ShapeRef.new(shape: DescribeSourceRegionsMessage)
|
4250
4292
|
o.output = Shapes::ShapeRef.new(shape: SourceRegionMessage)
|
4293
|
+
o[:pager] = Aws::Pager.new(
|
4294
|
+
limit_key: "max_records",
|
4295
|
+
tokens: {
|
4296
|
+
"marker" => "marker"
|
4297
|
+
}
|
4298
|
+
)
|
4251
4299
|
end)
|
4252
4300
|
|
4253
4301
|
api.add_operation(:describe_valid_db_instance_modifications, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4408,6 +4456,8 @@ module Aws::RDS
|
|
4408
4456
|
o.errors << Shapes::ShapeRef.new(shape: CertificateNotFoundFault)
|
4409
4457
|
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
4410
4458
|
o.errors << Shapes::ShapeRef.new(shape: BackupPolicyNotFoundFault)
|
4459
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
4460
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
4411
4461
|
end)
|
4412
4462
|
|
4413
4463
|
api.add_operation(:modify_db_parameter_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1721,8 +1721,6 @@ module Aws::RDS
|
|
1721
1721
|
# values: ["String"], # required
|
1722
1722
|
# },
|
1723
1723
|
# ],
|
1724
|
-
# max_records: 1,
|
1725
|
-
# marker: "String",
|
1726
1724
|
# include_shared: false,
|
1727
1725
|
# include_public: false,
|
1728
1726
|
# })
|
@@ -1779,20 +1777,6 @@ module Aws::RDS
|
|
1779
1777
|
# * `snapshot-type` - Accepts types of DB cluster snapshots.
|
1780
1778
|
#
|
1781
1779
|
# * `engine` - Accepts names of database engines.
|
1782
|
-
# @option options [Integer] :max_records
|
1783
|
-
# The maximum number of records to include in the response. If more
|
1784
|
-
# records exist than the specified `MaxRecords` value, a pagination
|
1785
|
-
# token called a marker is included in the response so you can retrieve
|
1786
|
-
# the remaining results.
|
1787
|
-
#
|
1788
|
-
# Default: 100
|
1789
|
-
#
|
1790
|
-
# Constraints: Minimum 20, maximum 100.
|
1791
|
-
# @option options [String] :marker
|
1792
|
-
# An optional pagination token provided by a previous
|
1793
|
-
# `DescribeDBClusterSnapshots` request. If this parameter is specified,
|
1794
|
-
# the response includes only records beyond the marker, up to the value
|
1795
|
-
# specified by `MaxRecords`.
|
1796
1780
|
# @option options [Boolean] :include_shared
|
1797
1781
|
# A value that indicates whether to include shared manual DB cluster
|
1798
1782
|
# snapshots from other AWS accounts that this AWS account has been given
|
@@ -1812,18 +1796,20 @@ module Aws::RDS
|
|
1812
1796
|
# @return [DBClusterSnapshot::Collection]
|
1813
1797
|
def snapshots(options = {})
|
1814
1798
|
batches = Enumerator.new do |y|
|
1815
|
-
batch = []
|
1816
1799
|
options = options.merge(db_cluster_identifier: @id)
|
1817
1800
|
resp = @client.describe_db_cluster_snapshots(options)
|
1818
|
-
resp.
|
1819
|
-
batch
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1801
|
+
resp.each_page do |page|
|
1802
|
+
batch = []
|
1803
|
+
page.data.db_cluster_snapshots.each do |d|
|
1804
|
+
batch << DBClusterSnapshot.new(
|
1805
|
+
cluster_id: @id,
|
1806
|
+
snapshot_id: d.db_cluster_snapshot_identifier,
|
1807
|
+
data: d,
|
1808
|
+
client: @client
|
1809
|
+
)
|
1810
|
+
end
|
1811
|
+
y.yield(batch)
|
1825
1812
|
end
|
1826
|
-
y.yield(batch)
|
1827
1813
|
end
|
1828
1814
|
DBClusterSnapshot::Collection.new(batches)
|
1829
1815
|
end
|
@@ -3224,8 +3224,6 @@ module Aws::RDS
|
|
3224
3224
|
# values: ["String"], # required
|
3225
3225
|
# },
|
3226
3226
|
# ],
|
3227
|
-
# marker: "String",
|
3228
|
-
# max_records: 1,
|
3229
3227
|
# })
|
3230
3228
|
# @param [Hash] options ({})
|
3231
3229
|
# @option options [String] :resource_identifier
|
@@ -3244,38 +3242,26 @@ module Aws::RDS
|
|
3244
3242
|
# * `db-instance-id` - Accepts DB instance identifiers and DB instance
|
3245
3243
|
# ARNs. The results list will only include pending maintenance actions
|
3246
3244
|
# for the DB instances identified by these ARNs.
|
3247
|
-
# @option options [String] :marker
|
3248
|
-
# An optional pagination token provided by a previous
|
3249
|
-
# `DescribePendingMaintenanceActions` request. If this parameter is
|
3250
|
-
# specified, the response includes only records beyond the marker, up to
|
3251
|
-
# a number of records specified by `MaxRecords`.
|
3252
|
-
# @option options [Integer] :max_records
|
3253
|
-
# The maximum number of records to include in the response. If more
|
3254
|
-
# records exist than the specified `MaxRecords` value, a pagination
|
3255
|
-
# token called a marker is included in the response so that you can
|
3256
|
-
# retrieve the remaining results.
|
3257
|
-
#
|
3258
|
-
# Default: 100
|
3259
|
-
#
|
3260
|
-
# Constraints: Minimum 20, maximum 100.
|
3261
3245
|
# @return [PendingMaintenanceAction::Collection]
|
3262
3246
|
def pending_maintenance_actions(options = {})
|
3263
3247
|
batches = Enumerator.new do |y|
|
3264
|
-
batch = []
|
3265
3248
|
options = Aws::Util.deep_merge(options, filters: [{
|
3266
3249
|
name: "db-instance-id",
|
3267
3250
|
values: [@id]
|
3268
3251
|
}])
|
3269
3252
|
resp = @client.describe_pending_maintenance_actions(options)
|
3270
|
-
resp.
|
3271
|
-
batch
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3253
|
+
resp.each_page do |page|
|
3254
|
+
batch = []
|
3255
|
+
page.data.pending_maintenance_actions_0.pending_maintenance_action_details.each do |p|
|
3256
|
+
batch << PendingMaintenanceAction.new(
|
3257
|
+
target_arn: resp.data.pending_maintenance_actions[0].resource_identifier,
|
3258
|
+
name: p.action,
|
3259
|
+
data: p,
|
3260
|
+
client: @client
|
3261
|
+
)
|
3262
|
+
end
|
3263
|
+
y.yield(batch)
|
3277
3264
|
end
|
3278
|
-
y.yield(batch)
|
3279
3265
|
end
|
3280
3266
|
PendingMaintenanceAction::Collection.new(batches)
|
3281
3267
|
end
|