aws-sdk-rds 1.87.0 → 1.88.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 -6
- data/lib/aws-sdk-rds/client_api.rb +48 -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 +7 -5
- 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: df4848c136aec96e2f05d8ddf3f22ef3570a0a97321529c9dbeccf3e7b3da1b1
|
4
|
+
data.tar.gz: 8e4f70ded8f848152152595417aec00070c62cf170716c049d9d1309b46a9660
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44ea4444e7470076ea082a6fd02cbad0eb89f225ff8872afef8d1939cc0d12a08b54a4e479a66233acd7bbc8e321ca54aaf16949b2f6409678ca4dda58f26da2
|
7
|
+
data.tar.gz: c17ba200b7b7470847f84792220abd882f9bac90c255029ce47a56616aa143514903497f114e29fd9e6a75ae2f896f449302550d6efb81702ab39ff6a03d9301
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -6528,6 +6528,8 @@ module Aws::RDS
|
|
6528
6528
|
# * {Types::CertificateMessage#certificates #certificates} => Array<Types::Certificate>
|
6529
6529
|
# * {Types::CertificateMessage#marker #marker} => String
|
6530
6530
|
#
|
6531
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6532
|
+
#
|
6531
6533
|
#
|
6532
6534
|
# @example Example: To list certificates
|
6533
6535
|
#
|
@@ -6745,6 +6747,8 @@ module Aws::RDS
|
|
6745
6747
|
# * {Types::DBClusterBacktrackMessage#marker #marker} => String
|
6746
6748
|
# * {Types::DBClusterBacktrackMessage#db_cluster_backtracks #db_cluster_backtracks} => Array<Types::DBClusterBacktrack>
|
6747
6749
|
#
|
6750
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6751
|
+
#
|
6748
6752
|
# @example Request syntax with placeholder values
|
6749
6753
|
#
|
6750
6754
|
# resp = client.describe_db_cluster_backtracks({
|
@@ -6828,6 +6832,8 @@ module Aws::RDS
|
|
6828
6832
|
# * {Types::DBClusterEndpointMessage#marker #marker} => String
|
6829
6833
|
# * {Types::DBClusterEndpointMessage#db_cluster_endpoints #db_cluster_endpoints} => Array<Types::DBClusterEndpoint>
|
6830
6834
|
#
|
6835
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6836
|
+
#
|
6831
6837
|
# @example Request syntax with placeholder values
|
6832
6838
|
#
|
6833
6839
|
# resp = client.describe_db_cluster_endpoints({
|
@@ -6920,6 +6926,8 @@ module Aws::RDS
|
|
6920
6926
|
# * {Types::DBClusterParameterGroupsMessage#marker #marker} => String
|
6921
6927
|
# * {Types::DBClusterParameterGroupsMessage#db_cluster_parameter_groups #db_cluster_parameter_groups} => Array<Types::DBClusterParameterGroup>
|
6922
6928
|
#
|
6929
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6930
|
+
#
|
6923
6931
|
#
|
6924
6932
|
# @example Example: To list DB cluster parameter group settings
|
6925
6933
|
#
|
@@ -7018,6 +7026,8 @@ module Aws::RDS
|
|
7018
7026
|
# * {Types::DBClusterParameterGroupDetails#parameters #parameters} => Array<Types::Parameter>
|
7019
7027
|
# * {Types::DBClusterParameterGroupDetails#marker #marker} => String
|
7020
7028
|
#
|
7029
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7030
|
+
#
|
7021
7031
|
#
|
7022
7032
|
# @example Example: To list DB cluster parameters
|
7023
7033
|
#
|
@@ -7257,6 +7267,8 @@ module Aws::RDS
|
|
7257
7267
|
# * {Types::DBClusterSnapshotMessage#marker #marker} => String
|
7258
7268
|
# * {Types::DBClusterSnapshotMessage#db_cluster_snapshots #db_cluster_snapshots} => Array<Types::DBClusterSnapshot>
|
7259
7269
|
#
|
7270
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7271
|
+
#
|
7260
7272
|
#
|
7261
7273
|
# @example Example: To list DB cluster snapshots
|
7262
7274
|
#
|
@@ -10128,6 +10140,8 @@ module Aws::RDS
|
|
10128
10140
|
# * {Types::PendingMaintenanceActionsMessage#pending_maintenance_actions #pending_maintenance_actions} => Array<Types::ResourcePendingMaintenanceActions>
|
10129
10141
|
# * {Types::PendingMaintenanceActionsMessage#marker #marker} => String
|
10130
10142
|
#
|
10143
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
10144
|
+
#
|
10131
10145
|
#
|
10132
10146
|
# @example Example: To list information about pending maintenance actions
|
10133
10147
|
#
|
@@ -10482,6 +10496,8 @@ module Aws::RDS
|
|
10482
10496
|
# * {Types::SourceRegionMessage#marker #marker} => String
|
10483
10497
|
# * {Types::SourceRegionMessage#source_regions #source_regions} => Array<Types::SourceRegion>
|
10484
10498
|
#
|
10499
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
10500
|
+
#
|
10485
10501
|
#
|
10486
10502
|
# @example Example: To describe source regions
|
10487
10503
|
#
|
@@ -14806,7 +14822,7 @@ module Aws::RDS
|
|
14806
14822
|
#
|
14807
14823
|
# @option params [required, String] :db_cluster_identifier
|
14808
14824
|
# The name of the DB cluster to create from the source data in the
|
14809
|
-
# Amazon S3 bucket. This parameter
|
14825
|
+
# Amazon S3 bucket. This parameter isn't case-sensitive.
|
14810
14826
|
#
|
14811
14827
|
# Constraints:
|
14812
14828
|
#
|
@@ -14999,9 +15015,9 @@ module Aws::RDS
|
|
14999
15015
|
# @option params [required, String] :source_engine_version
|
15000
15016
|
# The version of the database that the backup files were created from.
|
15001
15017
|
#
|
15002
|
-
# MySQL
|
15018
|
+
# MySQL versions 5.5, 5.6, and 5.7 are supported.
|
15003
15019
|
#
|
15004
|
-
# Example: `5.6.
|
15020
|
+
# Example: `5.6.40`
|
15005
15021
|
#
|
15006
15022
|
# @option params [required, String] :s3_bucket_name
|
15007
15023
|
# The name of the Amazon S3 bucket that contains the data used to create
|
@@ -16832,9 +16848,11 @@ module Aws::RDS
|
|
16832
16848
|
# Valid Values: `mysql`
|
16833
16849
|
#
|
16834
16850
|
# @option params [required, String] :source_engine_version
|
16835
|
-
# The
|
16851
|
+
# The version of the database that the backup files were created from.
|
16852
|
+
#
|
16853
|
+
# MySQL versions 5.6 and 5.7 are supported.
|
16836
16854
|
#
|
16837
|
-
#
|
16855
|
+
# Example: `5.6.40`
|
16838
16856
|
#
|
16839
16857
|
# @option params [required, String] :s3_bucket_name
|
16840
16858
|
# The name of your Amazon S3 bucket that contains your database backup
|
@@ -18544,7 +18562,7 @@ module Aws::RDS
|
|
18544
18562
|
params: params,
|
18545
18563
|
config: config)
|
18546
18564
|
context[:gem_name] = 'aws-sdk-rds'
|
18547
|
-
context[:gem_version] = '1.
|
18565
|
+
context[:gem_version] = '1.88.0'
|
18548
18566
|
Seahorse::Client::Request.new(handlers, context)
|
18549
18567
|
end
|
18550
18568
|
|
@@ -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|
|
@@ -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
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -1704,8 +1704,6 @@ module Aws::RDS
|
|
1704
1704
|
# values: ["String"], # required
|
1705
1705
|
# },
|
1706
1706
|
# ],
|
1707
|
-
# max_records: 1,
|
1708
|
-
# marker: "String",
|
1709
1707
|
# })
|
1710
1708
|
# @param [Hash] options ({})
|
1711
1709
|
# @option options [String] :certificate_identifier
|
@@ -1720,33 +1718,21 @@ module Aws::RDS
|
|
1720
1718
|
# ^
|
1721
1719
|
# @option options [Array<Types::Filter>] :filters
|
1722
1720
|
# This parameter isn't currently supported.
|
1723
|
-
# @option options [Integer] :max_records
|
1724
|
-
# The maximum number of records to include in the response. If more
|
1725
|
-
# records exist than the specified `MaxRecords` value, a pagination
|
1726
|
-
# token called a marker is included in the response so you can retrieve
|
1727
|
-
# the remaining results.
|
1728
|
-
#
|
1729
|
-
# Default: 100
|
1730
|
-
#
|
1731
|
-
# Constraints: Minimum 20, maximum 100.
|
1732
|
-
# @option options [String] :marker
|
1733
|
-
# An optional pagination token provided by a previous
|
1734
|
-
# `DescribeCertificates` request. If this parameter is specified, the
|
1735
|
-
# response includes only records beyond the marker, up to the value
|
1736
|
-
# specified by `MaxRecords`.
|
1737
1721
|
# @return [Certificate::Collection]
|
1738
1722
|
def certificates(options = {})
|
1739
1723
|
batches = Enumerator.new do |y|
|
1740
|
-
batch = []
|
1741
1724
|
resp = @client.describe_certificates(options)
|
1742
|
-
resp.
|
1743
|
-
batch
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
|
1725
|
+
resp.each_page do |page|
|
1726
|
+
batch = []
|
1727
|
+
page.data.certificates.each do |c|
|
1728
|
+
batch << Certificate.new(
|
1729
|
+
id: c.certificate_identifier,
|
1730
|
+
data: c,
|
1731
|
+
client: @client
|
1732
|
+
)
|
1733
|
+
end
|
1734
|
+
y.yield(batch)
|
1748
1735
|
end
|
1749
|
-
y.yield(batch)
|
1750
1736
|
end
|
1751
1737
|
Certificate::Collection.new(batches)
|
1752
1738
|
end
|
@@ -1779,8 +1765,6 @@ module Aws::RDS
|
|
1779
1765
|
# values: ["String"], # required
|
1780
1766
|
# },
|
1781
1767
|
# ],
|
1782
|
-
# max_records: 1,
|
1783
|
-
# marker: "String",
|
1784
1768
|
# })
|
1785
1769
|
# @param [Hash] options ({})
|
1786
1770
|
# @option options [String] :db_cluster_parameter_group_name
|
@@ -1795,33 +1779,21 @@ module Aws::RDS
|
|
1795
1779
|
# ^
|
1796
1780
|
# @option options [Array<Types::Filter>] :filters
|
1797
1781
|
# This parameter isn't currently supported.
|
1798
|
-
# @option options [Integer] :max_records
|
1799
|
-
# The maximum number of records to include in the response. If more
|
1800
|
-
# records exist than the specified `MaxRecords` value, a pagination
|
1801
|
-
# token called a marker is included in the response so you can retrieve
|
1802
|
-
# the remaining results.
|
1803
|
-
#
|
1804
|
-
# Default: 100
|
1805
|
-
#
|
1806
|
-
# Constraints: Minimum 20, maximum 100.
|
1807
|
-
# @option options [String] :marker
|
1808
|
-
# An optional pagination token provided by a previous
|
1809
|
-
# `DescribeDBClusterParameterGroups` request. If this parameter is
|
1810
|
-
# specified, the response includes only records beyond the marker, up to
|
1811
|
-
# the value specified by `MaxRecords`.
|
1812
1782
|
# @return [DBClusterParameterGroup::Collection]
|
1813
1783
|
def db_cluster_parameter_groups(options = {})
|
1814
1784
|
batches = Enumerator.new do |y|
|
1815
|
-
batch = []
|
1816
1785
|
resp = @client.describe_db_cluster_parameter_groups(options)
|
1817
|
-
resp.
|
1818
|
-
batch
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1786
|
+
resp.each_page do |page|
|
1787
|
+
batch = []
|
1788
|
+
page.data.db_cluster_parameter_groups.each do |d|
|
1789
|
+
batch << DBClusterParameterGroup.new(
|
1790
|
+
name: d.db_cluster_parameter_group_name,
|
1791
|
+
data: d,
|
1792
|
+
client: @client
|
1793
|
+
)
|
1794
|
+
end
|
1795
|
+
y.yield(batch)
|
1823
1796
|
end
|
1824
|
-
y.yield(batch)
|
1825
1797
|
end
|
1826
1798
|
DBClusterParameterGroup::Collection.new(batches)
|
1827
1799
|
end
|
@@ -2754,8 +2726,6 @@ module Aws::RDS
|
|
2754
2726
|
# values: ["String"], # required
|
2755
2727
|
# },
|
2756
2728
|
# ],
|
2757
|
-
# marker: "String",
|
2758
|
-
# max_records: 1,
|
2759
2729
|
# })
|
2760
2730
|
# @param [Hash] options ({})
|
2761
2731
|
# @option options [String] :resource_identifier
|
@@ -2774,33 +2744,21 @@ module Aws::RDS
|
|
2774
2744
|
# * `db-instance-id` - Accepts DB instance identifiers and DB instance
|
2775
2745
|
# ARNs. The results list will only include pending maintenance actions
|
2776
2746
|
# for the DB instances identified by these ARNs.
|
2777
|
-
# @option options [String] :marker
|
2778
|
-
# An optional pagination token provided by a previous
|
2779
|
-
# `DescribePendingMaintenanceActions` request. If this parameter is
|
2780
|
-
# specified, the response includes only records beyond the marker, up to
|
2781
|
-
# a number of records specified by `MaxRecords`.
|
2782
|
-
# @option options [Integer] :max_records
|
2783
|
-
# The maximum number of records to include in the response. If more
|
2784
|
-
# records exist than the specified `MaxRecords` value, a pagination
|
2785
|
-
# token called a marker is included in the response so that you can
|
2786
|
-
# retrieve the remaining results.
|
2787
|
-
#
|
2788
|
-
# Default: 100
|
2789
|
-
#
|
2790
|
-
# Constraints: Minimum 20, maximum 100.
|
2791
2747
|
# @return [ResourcePendingMaintenanceActionList::Collection]
|
2792
2748
|
def resources_with_pending_maintenance_actions(options = {})
|
2793
2749
|
batches = Enumerator.new do |y|
|
2794
|
-
batch = []
|
2795
2750
|
resp = @client.describe_pending_maintenance_actions(options)
|
2796
|
-
resp.
|
2797
|
-
batch
|
2798
|
-
|
2799
|
-
|
2800
|
-
|
2801
|
-
|
2751
|
+
resp.each_page do |page|
|
2752
|
+
batch = []
|
2753
|
+
page.data.pending_maintenance_actions.each do |p|
|
2754
|
+
batch << ResourcePendingMaintenanceActionList.new(
|
2755
|
+
arn: p.resource_identifier,
|
2756
|
+
data: p,
|
2757
|
+
client: @client
|
2758
|
+
)
|
2759
|
+
end
|
2760
|
+
y.yield(batch)
|
2802
2761
|
end
|
2803
|
-
y.yield(batch)
|
2804
2762
|
end
|
2805
2763
|
ResourcePendingMaintenanceActionList::Collection.new(batches)
|
2806
2764
|
end
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -16206,7 +16206,7 @@ module Aws::RDS
|
|
16206
16206
|
#
|
16207
16207
|
# @!attribute [rw] db_cluster_identifier
|
16208
16208
|
# The name of the DB cluster to create from the source data in the
|
16209
|
-
# Amazon S3 bucket. This parameter
|
16209
|
+
# Amazon S3 bucket. This parameter isn't case-sensitive.
|
16210
16210
|
#
|
16211
16211
|
# Constraints:
|
16212
16212
|
#
|
@@ -16416,9 +16416,9 @@ module Aws::RDS
|
|
16416
16416
|
# @!attribute [rw] source_engine_version
|
16417
16417
|
# The version of the database that the backup files were created from.
|
16418
16418
|
#
|
16419
|
-
# MySQL
|
16419
|
+
# MySQL versions 5.5, 5.6, and 5.7 are supported.
|
16420
16420
|
#
|
16421
|
-
# Example: `5.6.
|
16421
|
+
# Example: `5.6.40`
|
16422
16422
|
# @return [String]
|
16423
16423
|
#
|
16424
16424
|
# @!attribute [rw] s3_bucket_name
|
@@ -17943,9 +17943,11 @@ module Aws::RDS
|
|
17943
17943
|
# @return [String]
|
17944
17944
|
#
|
17945
17945
|
# @!attribute [rw] source_engine_version
|
17946
|
-
# The
|
17946
|
+
# The version of the database that the backup files were created from.
|
17947
|
+
#
|
17948
|
+
# MySQL versions 5.6 and 5.7 are supported.
|
17947
17949
|
#
|
17948
|
-
#
|
17950
|
+
# Example: `5.6.40`
|
17949
17951
|
# @return [String]
|
17950
17952
|
#
|
17951
17953
|
# @!attribute [rw] s3_bucket_name
|
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.88.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: 2020-06-
|
11
|
+
date: 2020-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|