aws-sdk-ec2 1.448.0 → 1.449.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e89268ba1b843d283a19bc7a7e79a45d068eb12d203b4a3acdcf002d5bd2c7fa
4
- data.tar.gz: d7193012a038c55ac2c7fe9ac12ff7c7cc12071c152b9a10014a1e022bbc8dd6
3
+ metadata.gz: 3e6b6a6c6c8ab0b164813b4bc035fec85bfccfb2c3f6e9a392b993579163fa0d
4
+ data.tar.gz: 98c822436272e2d1c7306a531d32f4ac4520bca0565db9b85d1342300a74fc84
5
5
  SHA512:
6
- metadata.gz: f22dcd3b31834698822801cc6a8029bc7564b3417060aba2adc39cd0b22aaf18e6e5007b271c82587a0b6eab9fc68ccd20806d2d42d95b70f0266c51cbe542ca
7
- data.tar.gz: a9a158bbfd8274c9db946f1a0a58d203bc3be37671477d83c117426a7590a5296a6fcc150522600a87c17eb583f06fa30b340c9854ec71233fa1efe907e6b565
6
+ metadata.gz: b9615c6985562faa58e8ff255265b2a2c130d77d13f868d7b3c98b945f07f87c4846d3aedc6bfa97401ccf67e046e855169943edb6e150e6d2a347dc9ed4dccc
7
+ data.tar.gz: 766f0167d59d766e1676157e6d053fc89880b372b341d29e56d487dce2a5587df30166c984c2e900f3e866c0f54e7c2bad344a336934e80355dc103544c79402
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.449.0 (2024-04-16)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.448.1 (2024-04-12)
10
+ ------------------
11
+
12
+ * Issue - Add default max_results value to Resource methods for legacy APIs that support un-paginated calls by default.
13
+
4
14
  1.448.0 (2024-04-04)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.448.0
1
+ 1.449.0
@@ -59115,7 +59115,7 @@ module Aws::EC2
59115
59115
  params: params,
59116
59116
  config: config)
59117
59117
  context[:gem_name] = 'aws-sdk-ec2'
59118
- context[:gem_version] = '1.448.0'
59118
+ context[:gem_version] = '1.449.0'
59119
59119
  Seahorse::Client::Request.new(handlers, context)
59120
59120
  end
59121
59121
 
@@ -1640,7 +1640,7 @@ module Aws::EC2
1640
1640
  InferenceAcceleratorInfo = Shapes::StructureShape.new(name: 'InferenceAcceleratorInfo')
1641
1641
  InferenceDeviceCount = Shapes::IntegerShape.new(name: 'InferenceDeviceCount')
1642
1642
  InferenceDeviceInfo = Shapes::StructureShape.new(name: 'InferenceDeviceInfo')
1643
- InferenceDeviceInfoList = Shapes::ListShape.new(name: 'InferenceDeviceInfoList')
1643
+ InferenceDeviceInfoList = Shapes::ListShape.new(name: 'InferenceDeviceInfoList', locationName: "item")
1644
1644
  InferenceDeviceManufacturerName = Shapes::StringShape.new(name: 'InferenceDeviceManufacturerName')
1645
1645
  InferenceDeviceMemoryInfo = Shapes::StructureShape.new(name: 'InferenceDeviceMemoryInfo')
1646
1646
  InferenceDeviceMemorySize = Shapes::IntegerShape.new(name: 'InferenceDeviceMemorySize')
@@ -2523,7 +2523,7 @@ module Aws::EC2
2523
2523
  RequestFilterPortRange = Shapes::StructureShape.new(name: 'RequestFilterPortRange')
2524
2524
  RequestHostIdList = Shapes::ListShape.new(name: 'RequestHostIdList')
2525
2525
  RequestHostIdSet = Shapes::ListShape.new(name: 'RequestHostIdSet')
2526
- RequestInstanceTypeList = Shapes::ListShape.new(name: 'RequestInstanceTypeList')
2526
+ RequestInstanceTypeList = Shapes::ListShape.new(name: 'RequestInstanceTypeList', locationName: "InstanceType")
2527
2527
  RequestIpamResourceTag = Shapes::StructureShape.new(name: 'RequestIpamResourceTag')
2528
2528
  RequestIpamResourceTagList = Shapes::ListShape.new(name: 'RequestIpamResourceTagList')
2529
2529
  RequestLaunchTemplateData = Shapes::StructureShape.new(name: 'RequestLaunchTemplateData')
@@ -2,8 +2,35 @@
2
2
 
3
3
  module Aws
4
4
  module EC2
5
- class Resource
6
5
 
6
+ # 5 of EC2's old APIs DescribeInstances, DescribeImages, DescribeSnapshots, DescribeVolumes and DescribeTag
7
+ # support paginated calls and will not paginate server side unless max_results is set to a non-nil value.
8
+ # This module customizes the resource association methods by adding a default value of 1000 to max_results
9
+ # to ensure results are paginated.
10
+ module ResourcePaginationFix
11
+ def images(options = {})
12
+ options[:max_results] ||= 1000
13
+ super(options)
14
+ end
15
+
16
+ def instances(options = {})
17
+ options[:max_results] ||= 1000
18
+ super(options)
19
+ end
20
+
21
+ def snapshots(options = {})
22
+ options[:max_results] ||= 1000
23
+ super(options)
24
+ end
25
+
26
+ def volumes(options = {})
27
+ options[:max_results] ||= 1000
28
+ super(options)
29
+ end
30
+ end
31
+
32
+ class Resource
33
+ prepend ResourcePaginationFix
7
34
  def create_tags(options)
8
35
  resp = Aws::Plugins::UserAgent.feature('resource') do
9
36
  @client.create_tags(options)
@@ -16,7 +43,7 @@ module Aws
16
43
  end
17
44
  Tag::Collection.new([tags], size: tags.size)
18
45
  end
19
-
20
46
  end
47
+
21
48
  end
22
49
  end
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.448.0'
79
+ GEM_VERSION = '1.449.0'
80
80
 
81
81
  end
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.448.0
4
+ version: 1.449.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: 2024-04-04 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core