aws-sdk-rds 1.25.0 → 1.26.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 +1 -1
- data/lib/aws-sdk-rds/client_api.rb +6 -0
- data/lib/aws-sdk-rds/resource.rb +10 -23
- 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: 5791d2cbfbb25f3235c6781a7c69b3187e6d266d
|
4
|
+
data.tar.gz: 999900e254e0bd75a6fc8841bb57996b9cf304dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 596ad4d04447b63851eabd64cf2e48ed11c78c4636b1c477d3b506a125ed7d246ad11620d9890e8a885029068c4431cffad992d208d010808f45e9d5e9fe1b43
|
7
|
+
data.tar.gz: 48bff802f62c3b25e459304d210bb99d48460889bee79919ed2dcb84fedb07a3d52396b5acbb2c082d1ee9e68c1dec9b320422a133a6aa8570f33c800df7343b
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -14216,7 +14216,7 @@ module Aws::RDS
|
|
14216
14216
|
params: params,
|
14217
14217
|
config: config)
|
14218
14218
|
context[:gem_name] = 'aws-sdk-rds'
|
14219
|
-
context[:gem_version] = '1.
|
14219
|
+
context[:gem_version] = '1.26.0'
|
14220
14220
|
Seahorse::Client::Request.new(handlers, context)
|
14221
14221
|
end
|
14222
14222
|
|
@@ -2707,6 +2707,12 @@ module Aws::RDS
|
|
2707
2707
|
o.input = Shapes::ShapeRef.new(shape: DescribeDBClustersMessage)
|
2708
2708
|
o.output = Shapes::ShapeRef.new(shape: DBClusterMessage)
|
2709
2709
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
2710
|
+
o[:pager] = Aws::Pager.new(
|
2711
|
+
limit_key: "max_records",
|
2712
|
+
tokens: {
|
2713
|
+
"marker" => "marker"
|
2714
|
+
}
|
2715
|
+
)
|
2710
2716
|
end)
|
2711
2717
|
|
2712
2718
|
api.add_operation(:describe_db_engine_versions, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -1663,8 +1663,6 @@ module Aws::RDS
|
|
1663
1663
|
# values: ["String"], # required
|
1664
1664
|
# },
|
1665
1665
|
# ],
|
1666
|
-
# max_records: 1,
|
1667
|
-
# marker: "String",
|
1668
1666
|
# })
|
1669
1667
|
# @param [Hash] options ({})
|
1670
1668
|
# @option options [String] :db_cluster_identifier
|
@@ -1687,32 +1685,21 @@ module Aws::RDS
|
|
1687
1685
|
# information about the DB clusters identified by these ARNs.
|
1688
1686
|
#
|
1689
1687
|
# ^
|
1690
|
-
# @option options [Integer] :max_records
|
1691
|
-
# The maximum number of records to include in the response. If more
|
1692
|
-
# records exist than the specified `MaxRecords` value, a pagination
|
1693
|
-
# token called a marker is included in the response so that the
|
1694
|
-
# remaining results can be retrieved.
|
1695
|
-
#
|
1696
|
-
# Default: 100
|
1697
|
-
#
|
1698
|
-
# Constraints: Minimum 20, maximum 100.
|
1699
|
-
# @option options [String] :marker
|
1700
|
-
# An optional pagination token provided by a previous DescribeDBClusters
|
1701
|
-
# request. If this parameter is specified, the response includes only
|
1702
|
-
# records beyond the marker, up to the value specified by `MaxRecords`.
|
1703
1688
|
# @return [DBCluster::Collection]
|
1704
1689
|
def db_clusters(options = {})
|
1705
1690
|
batches = Enumerator.new do |y|
|
1706
|
-
batch = []
|
1707
1691
|
resp = @client.describe_db_clusters(options)
|
1708
|
-
resp.
|
1709
|
-
batch
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1692
|
+
resp.each_page do |page|
|
1693
|
+
batch = []
|
1694
|
+
page.data.db_clusters.each do |d|
|
1695
|
+
batch << DBCluster.new(
|
1696
|
+
id: d.db_cluster_identifier,
|
1697
|
+
data: d,
|
1698
|
+
client: @client
|
1699
|
+
)
|
1700
|
+
end
|
1701
|
+
y.yield(batch)
|
1714
1702
|
end
|
1715
|
-
y.yield(batch)
|
1716
1703
|
end
|
1717
1704
|
DBCluster::Collection.new(batches)
|
1718
1705
|
end
|
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.26.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: 2018-08-
|
11
|
+
date: 2018-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|