aws-sdk-ec2 1.365.0 → 1.366.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +24 -1
- data/lib/aws-sdk-ec2/client_api.rb +4 -0
- data/lib/aws-sdk-ec2/types.rb +33 -3
- 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: a58793c2dcaf6a07ba8068a7bd46f4a0fb8b04788ee512a66fb339712549d8fa
|
4
|
+
data.tar.gz: e69cf2f7da32da03a01060cc2b759f3ce1e48c3106b5bd27782e73cab783b7c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ea5968db1c67ed2c81290f89442661364861604df8bc7dbc5537af59bc3d140a5fac786cbd09deb3e306f074d2dd71d509b9d4b97a67b28c1b6b118bcb67b8b
|
7
|
+
data.tar.gz: 076561f452667019fb22e2fad39174ec25de8f5705cec2ef3269362bf65a724cd793e994c78c88d50d16c0f25476bfc873bf0265d38d3cc8969e333442d59cb1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.366.0 (2023-02-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - With this release customers can turn host maintenance on or off when allocating or modifying a supported dedicated host. Host maintenance is turned on by default for supported hosts.
|
8
|
+
|
4
9
|
1.365.0 (2023-02-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.366.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -1057,6 +1057,17 @@ module Aws::EC2
|
|
1057
1057
|
# The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
|
1058
1058
|
# which to allocate the Dedicated Host.
|
1059
1059
|
#
|
1060
|
+
# @option params [String] :host_maintenance
|
1061
|
+
# Indicates whether to enable or disable host maintenance for the
|
1062
|
+
# Dedicated Host. For more information, see [ Host maintenance][1] in
|
1063
|
+
# the *Amazon EC2 User Guide*.
|
1064
|
+
#
|
1065
|
+
# Default: `on`
|
1066
|
+
#
|
1067
|
+
#
|
1068
|
+
#
|
1069
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
|
1070
|
+
#
|
1060
1071
|
# @return [Types::AllocateHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1061
1072
|
#
|
1062
1073
|
# * {Types::AllocateHostsResult#host_ids #host_ids} => Array<String>
|
@@ -1083,6 +1094,7 @@ module Aws::EC2
|
|
1083
1094
|
# ],
|
1084
1095
|
# host_recovery: "on", # accepts on, off
|
1085
1096
|
# outpost_arn: "String",
|
1097
|
+
# host_maintenance: "on", # accepts on, off
|
1086
1098
|
# })
|
1087
1099
|
#
|
1088
1100
|
# @example Response structure
|
@@ -22398,6 +22410,7 @@ module Aws::EC2
|
|
22398
22410
|
# resp.hosts[0].availability_zone_id #=> String
|
22399
22411
|
# resp.hosts[0].member_of_service_linked_resource_group #=> Boolean
|
22400
22412
|
# resp.hosts[0].outpost_arn #=> String
|
22413
|
+
# resp.hosts[0].host_maintenance #=> String, one of "on", "off"
|
22401
22414
|
# resp.next_token #=> String
|
22402
22415
|
#
|
22403
22416
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts AWS API Documentation
|
@@ -43905,6 +43918,15 @@ module Aws::EC2
|
|
43905
43918
|
# You cannot specify **InstanceFamily** and **InstanceType** in the same
|
43906
43919
|
# request.
|
43907
43920
|
#
|
43921
|
+
# @option params [String] :host_maintenance
|
43922
|
+
# Indicates whether to enable or disable host maintenance for the
|
43923
|
+
# Dedicated Host. For more information, see [ Host maintenance][1] in
|
43924
|
+
# the *Amazon EC2 User Guide*.
|
43925
|
+
#
|
43926
|
+
#
|
43927
|
+
#
|
43928
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
|
43929
|
+
#
|
43908
43930
|
# @return [Types::ModifyHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
43909
43931
|
#
|
43910
43932
|
# * {Types::ModifyHostsResult#successful #successful} => Array<String>
|
@@ -43918,6 +43940,7 @@ module Aws::EC2
|
|
43918
43940
|
# host_recovery: "on", # accepts on, off
|
43919
43941
|
# instance_type: "String",
|
43920
43942
|
# instance_family: "String",
|
43943
|
+
# host_maintenance: "on", # accepts on, off
|
43921
43944
|
# })
|
43922
43945
|
#
|
43923
43946
|
# @example Response structure
|
@@ -55983,7 +56006,7 @@ module Aws::EC2
|
|
55983
56006
|
params: params,
|
55984
56007
|
config: config)
|
55985
56008
|
context[:gem_name] = 'aws-sdk-ec2'
|
55986
|
-
context[:gem_version] = '1.
|
56009
|
+
context[:gem_version] = '1.366.0'
|
55987
56010
|
Seahorse::Client::Request.new(handlers, context)
|
55988
56011
|
end
|
55989
56012
|
|
@@ -1472,6 +1472,7 @@ module Aws::EC2
|
|
1472
1472
|
HostInstance = Shapes::StructureShape.new(name: 'HostInstance')
|
1473
1473
|
HostInstanceList = Shapes::ListShape.new(name: 'HostInstanceList')
|
1474
1474
|
HostList = Shapes::ListShape.new(name: 'HostList')
|
1475
|
+
HostMaintenance = Shapes::StringShape.new(name: 'HostMaintenance')
|
1475
1476
|
HostOffering = Shapes::StructureShape.new(name: 'HostOffering')
|
1476
1477
|
HostOfferingSet = Shapes::ListShape.new(name: 'HostOfferingSet')
|
1477
1478
|
HostProperties = Shapes::StructureShape.new(name: 'HostProperties')
|
@@ -3193,6 +3194,7 @@ module Aws::EC2
|
|
3193
3194
|
AllocateHostsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3194
3195
|
AllocateHostsRequest.add_member(:host_recovery, Shapes::ShapeRef.new(shape: HostRecovery, location_name: "HostRecovery"))
|
3195
3196
|
AllocateHostsRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
3197
|
+
AllocateHostsRequest.add_member(:host_maintenance, Shapes::ShapeRef.new(shape: HostMaintenance, location_name: "HostMaintenance"))
|
3196
3198
|
AllocateHostsRequest.struct_class = Types::AllocateHostsRequest
|
3197
3199
|
|
3198
3200
|
AllocateHostsResult.add_member(:host_ids, Shapes::ShapeRef.new(shape: ResponseHostIdList, location_name: "hostIdSet"))
|
@@ -8919,6 +8921,7 @@ module Aws::EC2
|
|
8919
8921
|
Host.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
8920
8922
|
Host.add_member(:member_of_service_linked_resource_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "memberOfServiceLinkedResourceGroup"))
|
8921
8923
|
Host.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
8924
|
+
Host.add_member(:host_maintenance, Shapes::ShapeRef.new(shape: HostMaintenance, location_name: "hostMaintenance"))
|
8922
8925
|
Host.struct_class = Types::Host
|
8923
8926
|
|
8924
8927
|
HostInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
@@ -10658,6 +10661,7 @@ module Aws::EC2
|
|
10658
10661
|
ModifyHostsRequest.add_member(:host_recovery, Shapes::ShapeRef.new(shape: HostRecovery, location_name: "HostRecovery"))
|
10659
10662
|
ModifyHostsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
|
10660
10663
|
ModifyHostsRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "InstanceFamily"))
|
10664
|
+
ModifyHostsRequest.add_member(:host_maintenance, Shapes::ShapeRef.new(shape: HostMaintenance, location_name: "HostMaintenance"))
|
10661
10665
|
ModifyHostsRequest.struct_class = Types::ModifyHostsRequest
|
10662
10666
|
|
10663
10667
|
ModifyHostsResult.add_member(:successful, Shapes::ShapeRef.new(shape: ResponseHostIdList, location_name: "successful"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -992,6 +992,18 @@ module Aws::EC2
|
|
992
992
|
# which to allocate the Dedicated Host.
|
993
993
|
# @return [String]
|
994
994
|
#
|
995
|
+
# @!attribute [rw] host_maintenance
|
996
|
+
# Indicates whether to enable or disable host maintenance for the
|
997
|
+
# Dedicated Host. For more information, see [ Host maintenance][1] in
|
998
|
+
# the *Amazon EC2 User Guide*.
|
999
|
+
#
|
1000
|
+
# Default: `on`
|
1001
|
+
#
|
1002
|
+
#
|
1003
|
+
#
|
1004
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
|
1005
|
+
# @return [String]
|
1006
|
+
#
|
995
1007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest AWS API Documentation
|
996
1008
|
#
|
997
1009
|
class AllocateHostsRequest < Struct.new(
|
@@ -1003,7 +1015,8 @@ module Aws::EC2
|
|
1003
1015
|
:quantity,
|
1004
1016
|
:tag_specifications,
|
1005
1017
|
:host_recovery,
|
1006
|
-
:outpost_arn
|
1018
|
+
:outpost_arn,
|
1019
|
+
:host_maintenance)
|
1007
1020
|
SENSITIVE = []
|
1008
1021
|
include Aws::Structure
|
1009
1022
|
end
|
@@ -34256,6 +34269,11 @@ module Aws::EC2
|
|
34256
34269
|
# which the Dedicated Host is allocated.
|
34257
34270
|
# @return [String]
|
34258
34271
|
#
|
34272
|
+
# @!attribute [rw] host_maintenance
|
34273
|
+
# Indicates whether host maintenance is enabled or disabled for the
|
34274
|
+
# Dedicated Host.
|
34275
|
+
# @return [String]
|
34276
|
+
#
|
34259
34277
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host AWS API Documentation
|
34260
34278
|
#
|
34261
34279
|
class Host < Struct.new(
|
@@ -34276,7 +34294,8 @@ module Aws::EC2
|
|
34276
34294
|
:owner_id,
|
34277
34295
|
:availability_zone_id,
|
34278
34296
|
:member_of_service_linked_resource_group,
|
34279
|
-
:outpost_arn
|
34297
|
+
:outpost_arn,
|
34298
|
+
:host_maintenance)
|
34280
34299
|
SENSITIVE = []
|
34281
34300
|
include Aws::Structure
|
34282
34301
|
end
|
@@ -43561,6 +43580,16 @@ module Aws::EC2
|
|
43561
43580
|
# in the same request.
|
43562
43581
|
# @return [String]
|
43563
43582
|
#
|
43583
|
+
# @!attribute [rw] host_maintenance
|
43584
|
+
# Indicates whether to enable or disable host maintenance for the
|
43585
|
+
# Dedicated Host. For more information, see [ Host maintenance][1] in
|
43586
|
+
# the *Amazon EC2 User Guide*.
|
43587
|
+
#
|
43588
|
+
#
|
43589
|
+
#
|
43590
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
|
43591
|
+
# @return [String]
|
43592
|
+
#
|
43564
43593
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHostsRequest AWS API Documentation
|
43565
43594
|
#
|
43566
43595
|
class ModifyHostsRequest < Struct.new(
|
@@ -43568,7 +43597,8 @@ module Aws::EC2
|
|
43568
43597
|
:host_ids,
|
43569
43598
|
:host_recovery,
|
43570
43599
|
:instance_type,
|
43571
|
-
:instance_family
|
43600
|
+
:instance_family,
|
43601
|
+
:host_maintenance)
|
43572
43602
|
SENSITIVE = []
|
43573
43603
|
include Aws::Structure
|
43574
43604
|
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.366.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: 2023-02-
|
11
|
+
date: 2023-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|