aws-sdk-ec2 1.456.0 → 1.457.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +4 -3
- data/lib/aws-sdk-ec2/customizations/resource.rb +20 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- 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: 192e93e7d59303757b0c7d124faa0c9a028a11924181479371209e1ae118de3c
|
4
|
+
data.tar.gz: 967aebd6e34ea5787ec7b038ecc791c00c049143e72689bec5a959752090b64f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ef2a88c376d88d476e94650543e7f04e5507d12fc3008051a29c01e8f6c75d39a45b8dfed17d44c195baff58fdd186321e7f1c1a9727eef36e182bda686a488
|
7
|
+
data.tar.gz: a69c8498cfa8b87bdc6f785253731682154f3450220ffa84925333fb7edb4aca1eb417a757c9713d722b0d795a3d3932e4598b0e1200baeade7dcd293cea3fa0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.457.1 (2024-05-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Fix Aws::EC2::Resource not to set max_results automatically when the options contains the parameter that cannot be used with the parameter max_results.
|
8
|
+
|
9
|
+
1.457.0 (2024-05-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.456.0 (2024-05-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.457.1
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -305,8 +305,9 @@ module Aws::EC2
|
|
305
305
|
#
|
306
306
|
# @option options [String] :sdk_ua_app_id
|
307
307
|
# A unique and opaque application ID that is appended to the
|
308
|
-
# User-Agent header as app
|
309
|
-
# maximum length of 50.
|
308
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
309
|
+
# maximum length of 50. This variable is sourced from environment
|
310
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
310
311
|
#
|
311
312
|
# @option options [String] :secret_access_key
|
312
313
|
#
|
@@ -59356,7 +59357,7 @@ module Aws::EC2
|
|
59356
59357
|
params: params,
|
59357
59358
|
config: config)
|
59358
59359
|
context[:gem_name] = 'aws-sdk-ec2'
|
59359
|
-
context[:gem_version] = '1.
|
59360
|
+
context[:gem_version] = '1.457.1'
|
59360
59361
|
Seahorse::Client::Request.new(handlers, context)
|
59361
59362
|
end
|
59362
59363
|
|
@@ -9,22 +9,38 @@ module Aws
|
|
9
9
|
# to ensure results are paginated.
|
10
10
|
module ResourcePaginationFix
|
11
11
|
def images(options = {})
|
12
|
-
|
12
|
+
# Prevent the error:
|
13
|
+
# The parameter imageIdsSet cannot be used with the parameter maxResults
|
14
|
+
if options[:image_ids].nil? || options[:image_ids].empty?
|
15
|
+
options[:max_results] ||= 1000
|
16
|
+
end
|
13
17
|
super(options)
|
14
18
|
end
|
15
19
|
|
16
20
|
def instances(options = {})
|
17
|
-
|
21
|
+
# Prevent the error:
|
22
|
+
# The parameter instancesSet cannot be used with the parameter maxResults
|
23
|
+
if options[:instance_ids].nil? || options[:instance_ids].empty?
|
24
|
+
options[:max_results] ||= 1000
|
25
|
+
end
|
18
26
|
super(options)
|
19
27
|
end
|
20
28
|
|
21
29
|
def snapshots(options = {})
|
22
|
-
|
30
|
+
# Prevent the error:
|
31
|
+
# The parameter snapshotSet cannot be used with the parameter maxResults
|
32
|
+
if options[:snapshot_ids].nil? || options[:snapshot_ids].empty?
|
33
|
+
options[:max_results] ||= 1000
|
34
|
+
end
|
23
35
|
super(options)
|
24
36
|
end
|
25
37
|
|
26
38
|
def volumes(options = {})
|
27
|
-
|
39
|
+
# Prevent the error:
|
40
|
+
# The parameter volumeIdsSet cannot be used with the parameter maxResults
|
41
|
+
if options[:volume_ids].nil? || options[:volume_ids].empty?
|
42
|
+
options[:max_results] ||= 1000
|
43
|
+
end
|
28
44
|
super(options)
|
29
45
|
end
|
30
46
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.457.1
|
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: 2024-05-
|
11
|
+
date: 2024-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|