aws-sdk-ec2 1.603.0 → 1.605.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +26 -2
- data/lib/aws-sdk-ec2/client_api.rb +9 -1
- data/lib/aws-sdk-ec2/types.rb +51 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64e90f774dbba7c91f648c7a2f987b161b1b96c74f4549e15c2c363d7f6906a7
|
|
4
|
+
data.tar.gz: 6fe17d8e9e5fbadba9de4612ceda640d3008b7f51026b682e51bb8475c5cd048
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6261b3d89961a9558343a352fc9e4459aa0a44eea767ad468649a5ada1e5b500cb93ee3b286ab4471c7363ea4879fc44c324209dddeea2cd67eefca62f14f78c
|
|
7
|
+
data.tar.gz: d600ff968f8eb925f3545c69ea15c114ef87fe16c9a56c97c47adfc0e6f013486c90cd4930c5952d6f41a1edf1b468d4d482b8625bce925cd05a329c8acdf8c1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.605.0 (2026-02-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add support for EC2 Capacity Blocks in Local Zones.
|
|
8
|
+
|
|
9
|
+
1.604.0 (2026-02-24)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds httpTokensEnforced property to ModifyInstanceMetadataDefaults API. Set per account or manage organization-wide using declarative policies to prevent IMDSv1-enabled instance launch and block attempts to enable IMDSv1 on existing IMDSv2-only instances.
|
|
13
|
+
|
|
4
14
|
1.603.0 (2026-02-17)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.605.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -1284,7 +1284,7 @@ module Aws::EC2
|
|
|
1284
1284
|
# client_token: "String",
|
|
1285
1285
|
# instance_type: "String",
|
|
1286
1286
|
# quantity: 1,
|
|
1287
|
-
# availability_zone: "
|
|
1287
|
+
# availability_zone: "AvailabilityZoneName",
|
|
1288
1288
|
# })
|
|
1289
1289
|
#
|
|
1290
1290
|
# @example Response structure
|
|
@@ -25430,6 +25430,7 @@ module Aws::EC2
|
|
|
25430
25430
|
# resp.capacity_block_extensions[0].capacity_block_extension_end_date #=> Time
|
|
25431
25431
|
# resp.capacity_block_extensions[0].upfront_fee #=> String
|
|
25432
25432
|
# resp.capacity_block_extensions[0].currency_code #=> String
|
|
25433
|
+
# resp.capacity_block_extensions[0].zone_type #=> String
|
|
25433
25434
|
# resp.next_token #=> String
|
|
25434
25435
|
#
|
|
25435
25436
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockExtensionHistory AWS API Documentation
|
|
@@ -25500,6 +25501,7 @@ module Aws::EC2
|
|
|
25500
25501
|
# resp.capacity_block_extension_offerings[0].upfront_fee #=> String
|
|
25501
25502
|
# resp.capacity_block_extension_offerings[0].currency_code #=> String
|
|
25502
25503
|
# resp.capacity_block_extension_offerings[0].tenancy #=> String, one of "default", "dedicated"
|
|
25504
|
+
# resp.capacity_block_extension_offerings[0].zone_type #=> String
|
|
25503
25505
|
# resp.next_token #=> String
|
|
25504
25506
|
#
|
|
25505
25507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockExtensionOfferings AWS API Documentation
|
|
@@ -25563,6 +25565,12 @@ module Aws::EC2
|
|
|
25563
25565
|
# @option params [Integer] :ultraserver_count
|
|
25564
25566
|
# The number of EC2 UltraServers in the offerings.
|
|
25565
25567
|
#
|
|
25568
|
+
# @option params [Boolean] :all_availability_zones
|
|
25569
|
+
# Include all Availability Zones and Local Zones, regardless of your
|
|
25570
|
+
# opt-in status. If you do not use this parameter, the results include
|
|
25571
|
+
# available offerings from all Availability Zones in the Amazon Web
|
|
25572
|
+
# Services Region and Local Zones you are opted into.
|
|
25573
|
+
#
|
|
25566
25574
|
# @return [Types::DescribeCapacityBlockOfferingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
25567
25575
|
#
|
|
25568
25576
|
# * {Types::DescribeCapacityBlockOfferingsResult#capacity_block_offerings #capacity_block_offerings} => Array<Types::CapacityBlockOffering>
|
|
@@ -25583,6 +25591,7 @@ module Aws::EC2
|
|
|
25583
25591
|
# max_results: 1,
|
|
25584
25592
|
# ultraserver_type: "String",
|
|
25585
25593
|
# ultraserver_count: 1,
|
|
25594
|
+
# all_availability_zones: false,
|
|
25586
25595
|
# })
|
|
25587
25596
|
#
|
|
25588
25597
|
# @example Response structure
|
|
@@ -25601,6 +25610,7 @@ module Aws::EC2
|
|
|
25601
25610
|
# resp.capacity_block_offerings[0].ultraserver_type #=> String
|
|
25602
25611
|
# resp.capacity_block_offerings[0].ultraserver_count #=> Integer
|
|
25603
25612
|
# resp.capacity_block_offerings[0].capacity_block_duration_minutes #=> Integer
|
|
25613
|
+
# resp.capacity_block_offerings[0].zone_type #=> String
|
|
25604
25614
|
# resp.next_token #=> String
|
|
25605
25615
|
#
|
|
25606
25616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferings AWS API Documentation
|
|
@@ -52357,6 +52367,7 @@ module Aws::EC2
|
|
|
52357
52367
|
# resp.account_level.instance_metadata_tags #=> String, one of "disabled", "enabled"
|
|
52358
52368
|
# resp.account_level.managed_by #=> String, one of "account", "declarative-policy"
|
|
52359
52369
|
# resp.account_level.managed_exception_message #=> String
|
|
52370
|
+
# resp.account_level.http_tokens_enforced #=> String, one of "disabled", "enabled"
|
|
52360
52371
|
#
|
|
52361
52372
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceMetadataDefaults AWS API Documentation
|
|
52362
52373
|
#
|
|
@@ -59425,6 +59436,17 @@ module Aws::EC2
|
|
|
59425
59436
|
# If you have the required permissions, the error response is
|
|
59426
59437
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
59427
59438
|
#
|
|
59439
|
+
# @option params [String] :http_tokens_enforced
|
|
59440
|
+
# Specifies whether to enforce the requirement of IMDSv2 on an instance
|
|
59441
|
+
# at the time of launch. When enforcement is enabled, the instance
|
|
59442
|
+
# can't launch unless IMDSv2 (`HttpTokens`) is set to `required`. For
|
|
59443
|
+
# more information, see [Enforce IMDSv2 at the account level][1] in the
|
|
59444
|
+
# *Amazon EC2 User Guide*.
|
|
59445
|
+
#
|
|
59446
|
+
#
|
|
59447
|
+
#
|
|
59448
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#enforce-imdsv2-at-the-account-level
|
|
59449
|
+
#
|
|
59428
59450
|
# @return [Types::ModifyInstanceMetadataDefaultsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
59429
59451
|
#
|
|
59430
59452
|
# * {Types::ModifyInstanceMetadataDefaultsResult#return #return} => Boolean
|
|
@@ -59437,6 +59459,7 @@ module Aws::EC2
|
|
|
59437
59459
|
# http_endpoint: "disabled", # accepts disabled, enabled, no-preference
|
|
59438
59460
|
# instance_metadata_tags: "disabled", # accepts disabled, enabled, no-preference
|
|
59439
59461
|
# dry_run: false,
|
|
59462
|
+
# http_tokens_enforced: "disabled", # accepts disabled, enabled, no-preference
|
|
59440
59463
|
# })
|
|
59441
59464
|
#
|
|
59442
59465
|
# @example Response structure
|
|
@@ -65451,6 +65474,7 @@ module Aws::EC2
|
|
|
65451
65474
|
# resp.capacity_block_extensions[0].capacity_block_extension_end_date #=> Time
|
|
65452
65475
|
# resp.capacity_block_extensions[0].upfront_fee #=> String
|
|
65453
65476
|
# resp.capacity_block_extensions[0].currency_code #=> String
|
|
65477
|
+
# resp.capacity_block_extensions[0].zone_type #=> String
|
|
65454
65478
|
#
|
|
65455
65479
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlockExtension AWS API Documentation
|
|
65456
65480
|
#
|
|
@@ -73029,7 +73053,7 @@ module Aws::EC2
|
|
|
73029
73053
|
tracer: tracer
|
|
73030
73054
|
)
|
|
73031
73055
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
73032
|
-
context[:gem_version] = '1.
|
|
73056
|
+
context[:gem_version] = '1.605.0'
|
|
73033
73057
|
Seahorse::Client::Request.new(handlers, context)
|
|
73034
73058
|
end
|
|
73035
73059
|
|
|
@@ -736,6 +736,7 @@ module Aws::EC2
|
|
|
736
736
|
DedicatedHostId = Shapes::StringShape.new(name: 'DedicatedHostId')
|
|
737
737
|
DedicatedHostIdList = Shapes::ListShape.new(name: 'DedicatedHostIdList')
|
|
738
738
|
DefaultEnaQueueCountPerInterface = Shapes::IntegerShape.new(name: 'DefaultEnaQueueCountPerInterface')
|
|
739
|
+
DefaultHttpTokensEnforcedState = Shapes::StringShape.new(name: 'DefaultHttpTokensEnforcedState')
|
|
739
740
|
DefaultInstanceMetadataEndpointState = Shapes::StringShape.new(name: 'DefaultInstanceMetadataEndpointState')
|
|
740
741
|
DefaultInstanceMetadataTagsState = Shapes::StringShape.new(name: 'DefaultInstanceMetadataTagsState')
|
|
741
742
|
DefaultNetworkCardIndex = Shapes::IntegerShape.new(name: 'DefaultNetworkCardIndex')
|
|
@@ -1950,6 +1951,7 @@ module Aws::EC2
|
|
|
1950
1951
|
HostTenancy = Shapes::StringShape.new(name: 'HostTenancy')
|
|
1951
1952
|
HostnameType = Shapes::StringShape.new(name: 'HostnameType')
|
|
1952
1953
|
Hour = Shapes::IntegerShape.new(name: 'Hour')
|
|
1954
|
+
HttpTokensEnforcedState = Shapes::StringShape.new(name: 'HttpTokensEnforcedState')
|
|
1953
1955
|
HttpTokensState = Shapes::StringShape.new(name: 'HttpTokensState')
|
|
1954
1956
|
HypervisorType = Shapes::StringShape.new(name: 'HypervisorType')
|
|
1955
1957
|
IKEVersionsList = Shapes::ListShape.new(name: 'IKEVersionsList')
|
|
@@ -4225,7 +4227,7 @@ module Aws::EC2
|
|
|
4225
4227
|
AllocateHostsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
4226
4228
|
AllocateHostsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
4227
4229
|
AllocateHostsRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Integer, location_name: "quantity"))
|
|
4228
|
-
AllocateHostsRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape:
|
|
4230
|
+
AllocateHostsRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "availabilityZone"))
|
|
4229
4231
|
AllocateHostsRequest.struct_class = Types::AllocateHostsRequest
|
|
4230
4232
|
|
|
4231
4233
|
AllocateHostsResult.add_member(:host_ids, Shapes::ShapeRef.new(shape: ResponseHostIdList, location_name: "hostIdSet"))
|
|
@@ -5007,6 +5009,7 @@ module Aws::EC2
|
|
|
5007
5009
|
CapacityBlockExtension.add_member(:capacity_block_extension_end_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "capacityBlockExtensionEndDate"))
|
|
5008
5010
|
CapacityBlockExtension.add_member(:upfront_fee, Shapes::ShapeRef.new(shape: String, location_name: "upfrontFee"))
|
|
5009
5011
|
CapacityBlockExtension.add_member(:currency_code, Shapes::ShapeRef.new(shape: String, location_name: "currencyCode"))
|
|
5012
|
+
CapacityBlockExtension.add_member(:zone_type, Shapes::ShapeRef.new(shape: String, location_name: "zoneType"))
|
|
5010
5013
|
CapacityBlockExtension.struct_class = Types::CapacityBlockExtension
|
|
5011
5014
|
|
|
5012
5015
|
CapacityBlockExtensionOffering.add_member(:capacity_block_extension_offering_id, Shapes::ShapeRef.new(shape: OfferingId, location_name: "capacityBlockExtensionOfferingId"))
|
|
@@ -5021,6 +5024,7 @@ module Aws::EC2
|
|
|
5021
5024
|
CapacityBlockExtensionOffering.add_member(:upfront_fee, Shapes::ShapeRef.new(shape: String, location_name: "upfrontFee"))
|
|
5022
5025
|
CapacityBlockExtensionOffering.add_member(:currency_code, Shapes::ShapeRef.new(shape: String, location_name: "currencyCode"))
|
|
5023
5026
|
CapacityBlockExtensionOffering.add_member(:tenancy, Shapes::ShapeRef.new(shape: CapacityReservationTenancy, location_name: "tenancy"))
|
|
5027
|
+
CapacityBlockExtensionOffering.add_member(:zone_type, Shapes::ShapeRef.new(shape: String, location_name: "zoneType"))
|
|
5024
5028
|
CapacityBlockExtensionOffering.struct_class = Types::CapacityBlockExtensionOffering
|
|
5025
5029
|
|
|
5026
5030
|
CapacityBlockExtensionOfferingSet.member = Shapes::ShapeRef.new(shape: CapacityBlockExtensionOffering, location_name: "item")
|
|
@@ -5042,6 +5046,7 @@ module Aws::EC2
|
|
|
5042
5046
|
CapacityBlockOffering.add_member(:ultraserver_type, Shapes::ShapeRef.new(shape: String, location_name: "ultraserverType"))
|
|
5043
5047
|
CapacityBlockOffering.add_member(:ultraserver_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "ultraserverCount"))
|
|
5044
5048
|
CapacityBlockOffering.add_member(:capacity_block_duration_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "capacityBlockDurationMinutes"))
|
|
5049
|
+
CapacityBlockOffering.add_member(:zone_type, Shapes::ShapeRef.new(shape: String, location_name: "zoneType"))
|
|
5045
5050
|
CapacityBlockOffering.struct_class = Types::CapacityBlockOffering
|
|
5046
5051
|
|
|
5047
5052
|
CapacityBlockOfferingSet.member = Shapes::ShapeRef.new(shape: CapacityBlockOffering, location_name: "item")
|
|
@@ -7905,6 +7910,7 @@ module Aws::EC2
|
|
|
7905
7910
|
DescribeCapacityBlockOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityBlockOfferingsMaxResults, location_name: "MaxResults"))
|
|
7906
7911
|
DescribeCapacityBlockOfferingsRequest.add_member(:ultraserver_type, Shapes::ShapeRef.new(shape: String, location_name: "UltraserverType"))
|
|
7907
7912
|
DescribeCapacityBlockOfferingsRequest.add_member(:ultraserver_count, Shapes::ShapeRef.new(shape: Integer, location_name: "UltraserverCount"))
|
|
7913
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:all_availability_zones, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllAvailabilityZones"))
|
|
7908
7914
|
DescribeCapacityBlockOfferingsRequest.struct_class = Types::DescribeCapacityBlockOfferingsRequest
|
|
7909
7915
|
|
|
7910
7916
|
DescribeCapacityBlockOfferingsResult.add_member(:capacity_block_offerings, Shapes::ShapeRef.new(shape: CapacityBlockOfferingSet, location_name: "capacityBlockOfferingSet"))
|
|
@@ -12675,6 +12681,7 @@ module Aws::EC2
|
|
|
12675
12681
|
InstanceMetadataDefaultsResponse.add_member(:instance_metadata_tags, Shapes::ShapeRef.new(shape: InstanceMetadataTagsState, location_name: "instanceMetadataTags"))
|
|
12676
12682
|
InstanceMetadataDefaultsResponse.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "managedBy"))
|
|
12677
12683
|
InstanceMetadataDefaultsResponse.add_member(:managed_exception_message, Shapes::ShapeRef.new(shape: String, location_name: "managedExceptionMessage"))
|
|
12684
|
+
InstanceMetadataDefaultsResponse.add_member(:http_tokens_enforced, Shapes::ShapeRef.new(shape: HttpTokensEnforcedState, location_name: "httpTokensEnforced"))
|
|
12678
12685
|
InstanceMetadataDefaultsResponse.struct_class = Types::InstanceMetadataDefaultsResponse
|
|
12679
12686
|
|
|
12680
12687
|
InstanceMetadataOptionsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: HttpTokensState, location_name: "HttpTokens"))
|
|
@@ -14479,6 +14486,7 @@ module Aws::EC2
|
|
|
14479
14486
|
ModifyInstanceMetadataDefaultsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: DefaultInstanceMetadataEndpointState, location_name: "HttpEndpoint"))
|
|
14480
14487
|
ModifyInstanceMetadataDefaultsRequest.add_member(:instance_metadata_tags, Shapes::ShapeRef.new(shape: DefaultInstanceMetadataTagsState, location_name: "InstanceMetadataTags"))
|
|
14481
14488
|
ModifyInstanceMetadataDefaultsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
14489
|
+
ModifyInstanceMetadataDefaultsRequest.add_member(:http_tokens_enforced, Shapes::ShapeRef.new(shape: DefaultHttpTokensEnforcedState, location_name: "HttpTokensEnforced"))
|
|
14482
14490
|
ModifyInstanceMetadataDefaultsRequest.struct_class = Types::ModifyInstanceMetadataDefaultsRequest
|
|
14483
14491
|
|
|
14484
14492
|
ModifyInstanceMetadataDefaultsResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -5148,6 +5148,10 @@ module Aws::EC2
|
|
|
5148
5148
|
# The currency of the payment for the Capacity Block extension.
|
|
5149
5149
|
# @return [String]
|
|
5150
5150
|
#
|
|
5151
|
+
# @!attribute [rw] zone_type
|
|
5152
|
+
# The type of zone where the Capacity Block extension is located.
|
|
5153
|
+
# @return [String]
|
|
5154
|
+
#
|
|
5151
5155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockExtension AWS API Documentation
|
|
5152
5156
|
#
|
|
5153
5157
|
class CapacityBlockExtension < Struct.new(
|
|
@@ -5163,7 +5167,8 @@ module Aws::EC2
|
|
|
5163
5167
|
:capacity_block_extension_start_date,
|
|
5164
5168
|
:capacity_block_extension_end_date,
|
|
5165
5169
|
:upfront_fee,
|
|
5166
|
-
:currency_code
|
|
5170
|
+
:currency_code,
|
|
5171
|
+
:zone_type)
|
|
5167
5172
|
SENSITIVE = []
|
|
5168
5173
|
include Aws::Structure
|
|
5169
5174
|
end
|
|
@@ -5236,6 +5241,11 @@ module Aws::EC2
|
|
|
5236
5241
|
# account.
|
|
5237
5242
|
# @return [String]
|
|
5238
5243
|
#
|
|
5244
|
+
# @!attribute [rw] zone_type
|
|
5245
|
+
# The type of zone where the Capacity Block extension offering is
|
|
5246
|
+
# available.
|
|
5247
|
+
# @return [String]
|
|
5248
|
+
#
|
|
5239
5249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockExtensionOffering AWS API Documentation
|
|
5240
5250
|
#
|
|
5241
5251
|
class CapacityBlockExtensionOffering < Struct.new(
|
|
@@ -5250,7 +5260,8 @@ module Aws::EC2
|
|
|
5250
5260
|
:capacity_block_extension_duration_hours,
|
|
5251
5261
|
:upfront_fee,
|
|
5252
5262
|
:currency_code,
|
|
5253
|
-
:tenancy
|
|
5263
|
+
:tenancy,
|
|
5264
|
+
:zone_type)
|
|
5254
5265
|
SENSITIVE = []
|
|
5255
5266
|
include Aws::Structure
|
|
5256
5267
|
end
|
|
@@ -5315,6 +5326,10 @@ module Aws::EC2
|
|
|
5315
5326
|
# minutes field would be **35**.
|
|
5316
5327
|
# @return [Integer]
|
|
5317
5328
|
#
|
|
5329
|
+
# @!attribute [rw] zone_type
|
|
5330
|
+
# The type of zone where the Capacity Block offering is available.
|
|
5331
|
+
# @return [String]
|
|
5332
|
+
#
|
|
5318
5333
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockOffering AWS API Documentation
|
|
5319
5334
|
#
|
|
5320
5335
|
class CapacityBlockOffering < Struct.new(
|
|
@@ -5330,7 +5345,8 @@ module Aws::EC2
|
|
|
5330
5345
|
:tenancy,
|
|
5331
5346
|
:ultraserver_type,
|
|
5332
5347
|
:ultraserver_count,
|
|
5333
|
-
:capacity_block_duration_minutes
|
|
5348
|
+
:capacity_block_duration_minutes,
|
|
5349
|
+
:zone_type)
|
|
5334
5350
|
SENSITIVE = []
|
|
5335
5351
|
include Aws::Structure
|
|
5336
5352
|
end
|
|
@@ -21856,6 +21872,13 @@ module Aws::EC2
|
|
|
21856
21872
|
# The number of EC2 UltraServers in the offerings.
|
|
21857
21873
|
# @return [Integer]
|
|
21858
21874
|
#
|
|
21875
|
+
# @!attribute [rw] all_availability_zones
|
|
21876
|
+
# Include all Availability Zones and Local Zones, regardless of your
|
|
21877
|
+
# opt-in status. If you do not use this parameter, the results include
|
|
21878
|
+
# available offerings from all Availability Zones in the Amazon Web
|
|
21879
|
+
# Services Region and Local Zones you are opted into.
|
|
21880
|
+
# @return [Boolean]
|
|
21881
|
+
#
|
|
21859
21882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferingsRequest AWS API Documentation
|
|
21860
21883
|
#
|
|
21861
21884
|
class DescribeCapacityBlockOfferingsRequest < Struct.new(
|
|
@@ -21868,7 +21891,8 @@ module Aws::EC2
|
|
|
21868
21891
|
:next_token,
|
|
21869
21892
|
:max_results,
|
|
21870
21893
|
:ultraserver_type,
|
|
21871
|
-
:ultraserver_count
|
|
21894
|
+
:ultraserver_count,
|
|
21895
|
+
:all_availability_zones)
|
|
21872
21896
|
SENSITIVE = []
|
|
21873
21897
|
include Aws::Structure
|
|
21874
21898
|
end
|
|
@@ -50792,6 +50816,13 @@ module Aws::EC2
|
|
|
50792
50816
|
# declarative policy.
|
|
50793
50817
|
# @return [String]
|
|
50794
50818
|
#
|
|
50819
|
+
# @!attribute [rw] http_tokens_enforced
|
|
50820
|
+
# Indicates whether to enforce the requirement of IMDSv2 on an
|
|
50821
|
+
# instance at the time of launch. When enforcement is enabled, the
|
|
50822
|
+
# instance can't launch unless IMDSv2 (`HttpTokens`) is set to
|
|
50823
|
+
# `required`.
|
|
50824
|
+
# @return [String]
|
|
50825
|
+
#
|
|
50795
50826
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMetadataDefaultsResponse AWS API Documentation
|
|
50796
50827
|
#
|
|
50797
50828
|
class InstanceMetadataDefaultsResponse < Struct.new(
|
|
@@ -50800,7 +50831,8 @@ module Aws::EC2
|
|
|
50800
50831
|
:http_endpoint,
|
|
50801
50832
|
:instance_metadata_tags,
|
|
50802
50833
|
:managed_by,
|
|
50803
|
-
:managed_exception_message
|
|
50834
|
+
:managed_exception_message,
|
|
50835
|
+
:http_tokens_enforced)
|
|
50804
50836
|
SENSITIVE = []
|
|
50805
50837
|
include Aws::Structure
|
|
50806
50838
|
end
|
|
@@ -61456,6 +61488,18 @@ module Aws::EC2
|
|
|
61456
61488
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
61457
61489
|
# @return [Boolean]
|
|
61458
61490
|
#
|
|
61491
|
+
# @!attribute [rw] http_tokens_enforced
|
|
61492
|
+
# Specifies whether to enforce the requirement of IMDSv2 on an
|
|
61493
|
+
# instance at the time of launch. When enforcement is enabled, the
|
|
61494
|
+
# instance can't launch unless IMDSv2 (`HttpTokens`) is set to
|
|
61495
|
+
# `required`. For more information, see [Enforce IMDSv2 at the account
|
|
61496
|
+
# level][1] in the *Amazon EC2 User Guide*.
|
|
61497
|
+
#
|
|
61498
|
+
#
|
|
61499
|
+
#
|
|
61500
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#enforce-imdsv2-at-the-account-level
|
|
61501
|
+
# @return [String]
|
|
61502
|
+
#
|
|
61459
61503
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMetadataDefaultsRequest AWS API Documentation
|
|
61460
61504
|
#
|
|
61461
61505
|
class ModifyInstanceMetadataDefaultsRequest < Struct.new(
|
|
@@ -61463,7 +61507,8 @@ module Aws::EC2
|
|
|
61463
61507
|
:http_put_response_hop_limit,
|
|
61464
61508
|
:http_endpoint,
|
|
61465
61509
|
:instance_metadata_tags,
|
|
61466
|
-
:dry_run
|
|
61510
|
+
:dry_run,
|
|
61511
|
+
:http_tokens_enforced)
|
|
61467
61512
|
SENSITIVE = []
|
|
61468
61513
|
include Aws::Structure
|
|
61469
61514
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -6169,7 +6169,8 @@ module Aws
|
|
|
6169
6169
|
?next_token: ::String,
|
|
6170
6170
|
?max_results: ::Integer,
|
|
6171
6171
|
?ultraserver_type: ::String,
|
|
6172
|
-
?ultraserver_count: ::Integer
|
|
6172
|
+
?ultraserver_count: ::Integer,
|
|
6173
|
+
?all_availability_zones: bool
|
|
6173
6174
|
) -> _DescribeCapacityBlockOfferingsResponseSuccess
|
|
6174
6175
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityBlockOfferingsResponseSuccess
|
|
6175
6176
|
|
|
@@ -12523,7 +12524,8 @@ module Aws
|
|
|
12523
12524
|
?http_put_response_hop_limit: ::Integer,
|
|
12524
12525
|
?http_endpoint: ("disabled" | "enabled" | "no-preference"),
|
|
12525
12526
|
?instance_metadata_tags: ("disabled" | "enabled" | "no-preference"),
|
|
12526
|
-
?dry_run: bool
|
|
12527
|
+
?dry_run: bool,
|
|
12528
|
+
?http_tokens_enforced: ("disabled" | "enabled" | "no-preference")
|
|
12527
12529
|
) -> _ModifyInstanceMetadataDefaultsResponseSuccess
|
|
12528
12530
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceMetadataDefaultsResponseSuccess
|
|
12529
12531
|
|
data/sig/types.rbs
CHANGED
|
@@ -1268,6 +1268,7 @@ module Aws::EC2
|
|
|
1268
1268
|
attr_accessor capacity_block_extension_end_date: ::Time
|
|
1269
1269
|
attr_accessor upfront_fee: ::String
|
|
1270
1270
|
attr_accessor currency_code: ::String
|
|
1271
|
+
attr_accessor zone_type: ::String
|
|
1271
1272
|
SENSITIVE: []
|
|
1272
1273
|
end
|
|
1273
1274
|
|
|
@@ -1284,6 +1285,7 @@ module Aws::EC2
|
|
|
1284
1285
|
attr_accessor upfront_fee: ::String
|
|
1285
1286
|
attr_accessor currency_code: ::String
|
|
1286
1287
|
attr_accessor tenancy: ("default" | "dedicated")
|
|
1288
|
+
attr_accessor zone_type: ::String
|
|
1287
1289
|
SENSITIVE: []
|
|
1288
1290
|
end
|
|
1289
1291
|
|
|
@@ -1301,6 +1303,7 @@ module Aws::EC2
|
|
|
1301
1303
|
attr_accessor ultraserver_type: ::String
|
|
1302
1304
|
attr_accessor ultraserver_count: ::Integer
|
|
1303
1305
|
attr_accessor capacity_block_duration_minutes: ::Integer
|
|
1306
|
+
attr_accessor zone_type: ::String
|
|
1304
1307
|
SENSITIVE: []
|
|
1305
1308
|
end
|
|
1306
1309
|
|
|
@@ -5084,6 +5087,7 @@ module Aws::EC2
|
|
|
5084
5087
|
attr_accessor max_results: ::Integer
|
|
5085
5088
|
attr_accessor ultraserver_type: ::String
|
|
5086
5089
|
attr_accessor ultraserver_count: ::Integer
|
|
5090
|
+
attr_accessor all_availability_zones: bool
|
|
5087
5091
|
SENSITIVE: []
|
|
5088
5092
|
end
|
|
5089
5093
|
|
|
@@ -11194,6 +11198,7 @@ module Aws::EC2
|
|
|
11194
11198
|
attr_accessor instance_metadata_tags: ("disabled" | "enabled")
|
|
11195
11199
|
attr_accessor managed_by: ("account" | "declarative-policy")
|
|
11196
11200
|
attr_accessor managed_exception_message: ::String
|
|
11201
|
+
attr_accessor http_tokens_enforced: ("disabled" | "enabled")
|
|
11197
11202
|
SENSITIVE: []
|
|
11198
11203
|
end
|
|
11199
11204
|
|
|
@@ -13174,6 +13179,7 @@ module Aws::EC2
|
|
|
13174
13179
|
attr_accessor http_endpoint: ("disabled" | "enabled" | "no-preference")
|
|
13175
13180
|
attr_accessor instance_metadata_tags: ("disabled" | "enabled" | "no-preference")
|
|
13176
13181
|
attr_accessor dry_run: bool
|
|
13182
|
+
attr_accessor http_tokens_enforced: ("disabled" | "enabled" | "no-preference")
|
|
13177
13183
|
SENSITIVE: []
|
|
13178
13184
|
end
|
|
13179
13185
|
|