aws-sdk-ec2 1.439.0 → 1.441.0
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 +131 -15
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/resource.rb +22 -0
- data/lib/aws-sdk-ec2/types.rb +101 -39
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +24 -2
- data/sig/resource.rbs +12 -1
- data/sig/types.rbs +2 -0
- 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: 8351b64e436d0f6c1d3929e0755607e1ac8f83de6fea4ac3c78f66eb167b0767
|
4
|
+
data.tar.gz: 7839f528024bfa4a6a8659effb647ca8dfa2d2f5abeb80143bc5f4d0c3986ad5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93ac18dbf8ea0747a93c84b623fb2124d73cdba96f9e5b380bc275b30733b5f432be6ba41a905b187711a9a4491c6dcefe3c03fe8b30c2da42df6624b96b1877
|
7
|
+
data.tar.gz: a385cb4b4b690ce72a70a3e677bafe03e7d962319c1958f6bfecae605ad96f342f29d7d75126c715252c4fe130ab203e0da4656cf68b65620597d1524c4b1479
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.441.0 (2024-03-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds an optional parameter to RegisterImage and CopyImage APIs to support tagging AMIs at the time of creation.
|
8
|
+
|
9
|
+
1.440.0 (2024-03-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - With this release, Amazon EC2 Auto Scaling groups, EC2 Fleet, and Spot Fleet improve the default price protection behavior of attribute-based instance type selection of Spot Instances, to consistently select from a wide range of instance types.
|
13
|
+
|
4
14
|
1.439.0 (2024-02-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.441.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3759,12 +3759,8 @@ module Aws::EC2
|
|
3759
3759
|
# @option params [required, String] :instance_id
|
3760
3760
|
# The ID of the instance to bundle.
|
3761
3761
|
#
|
3762
|
-
# Type: String
|
3763
|
-
#
|
3764
3762
|
# Default: None
|
3765
3763
|
#
|
3766
|
-
# Required: Yes
|
3767
|
-
#
|
3768
3764
|
# @option params [required, Types::Storage] :storage
|
3769
3765
|
# The bucket in which to store the AMI. You can specify a bucket that
|
3770
3766
|
# you already own or a new bucket that Amazon EC2 creates on your
|
@@ -4584,6 +4580,24 @@ module Aws::EC2
|
|
4584
4580
|
#
|
4585
4581
|
# Default: Your user-defined AMI tags are not copied.
|
4586
4582
|
#
|
4583
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
4584
|
+
# The tags to apply to the new AMI and new snapshots. You can tag the
|
4585
|
+
# AMI, the snapshots, or both.
|
4586
|
+
#
|
4587
|
+
# * To tag the new AMI, the value for `ResourceType` must be `image`.
|
4588
|
+
#
|
4589
|
+
# * To tag the new snapshots, the value for `ResourceType` must be
|
4590
|
+
# `snapshot`. The same tag is applied to all the new snapshots.
|
4591
|
+
#
|
4592
|
+
# If you specify other values for `ResourceType`, the request fails.
|
4593
|
+
#
|
4594
|
+
# To tag an AMI or snapshot after it has been created, see
|
4595
|
+
# [CreateTags][1].
|
4596
|
+
#
|
4597
|
+
#
|
4598
|
+
#
|
4599
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
4600
|
+
#
|
4587
4601
|
# @return [Types::CopyImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4588
4602
|
#
|
4589
4603
|
# * {Types::CopyImageResult#image_id #image_id} => String
|
@@ -4618,6 +4632,17 @@ module Aws::EC2
|
|
4618
4632
|
# destination_outpost_arn: "String",
|
4619
4633
|
# dry_run: false,
|
4620
4634
|
# copy_image_tags: false,
|
4635
|
+
# tag_specifications: [
|
4636
|
+
# {
|
4637
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
|
4638
|
+
# tags: [
|
4639
|
+
# {
|
4640
|
+
# key: "String",
|
4641
|
+
# value: "String",
|
4642
|
+
# },
|
4643
|
+
# ],
|
4644
|
+
# },
|
4645
|
+
# ],
|
4621
4646
|
# })
|
4622
4647
|
#
|
4623
4648
|
# @example Response structure
|
@@ -20027,6 +20052,12 @@ module Aws::EC2
|
|
20027
20052
|
#
|
20028
20053
|
# </note>
|
20029
20054
|
#
|
20055
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
20056
|
+
# nested structures, might vary. Applications should not assume the
|
20057
|
+
# elements appear in a particular order.
|
20058
|
+
#
|
20059
|
+
# </note>
|
20060
|
+
#
|
20030
20061
|
# @option params [Array<String>] :bundle_ids
|
20031
20062
|
# The bundle task IDs.
|
20032
20063
|
#
|
@@ -20172,9 +20203,9 @@ module Aws::EC2
|
|
20172
20203
|
req.send_request(options)
|
20173
20204
|
end
|
20174
20205
|
|
20175
|
-
# Describes Capacity Block offerings available for purchase
|
20176
|
-
#
|
20177
|
-
# time.
|
20206
|
+
# Describes Capacity Block offerings available for purchase in the
|
20207
|
+
# Amazon Web Services Region that you're currently using. With Capacity
|
20208
|
+
# Blocks, you purchase a specific instance type for a period of time.
|
20178
20209
|
#
|
20179
20210
|
# @option params [Boolean] :dry_run
|
20180
20211
|
# Checks whether you have the required permissions for the action,
|
@@ -22073,7 +22104,13 @@ module Aws::EC2
|
|
22073
22104
|
|
22074
22105
|
# Describes the running instances for the specified EC2 Fleet.
|
22075
22106
|
#
|
22076
|
-
#
|
22107
|
+
# <note markdown="1"> Currently, `DescribeFleetInstances` does not support fleets of type
|
22108
|
+
# `instant`. Instead, use `DescribeFleets`, specifying the `instant`
|
22109
|
+
# fleet ID in the request.
|
22110
|
+
#
|
22111
|
+
# </note>
|
22112
|
+
#
|
22113
|
+
# For more information, see [Describe your EC2 Fleet][1] in the *Amazon
|
22077
22114
|
# EC2 User Guide*.
|
22078
22115
|
#
|
22079
22116
|
#
|
@@ -22149,9 +22186,12 @@ module Aws::EC2
|
|
22149
22186
|
req.send_request(options)
|
22150
22187
|
end
|
22151
22188
|
|
22152
|
-
# Describes the specified EC2
|
22189
|
+
# Describes the specified EC2 Fleet or all of your EC2 Fleets.
|
22153
22190
|
#
|
22154
|
-
#
|
22191
|
+
# If a fleet is of type `instant`, you must specify the fleet ID in the
|
22192
|
+
# request, otherwise the fleet does not appear in the response.
|
22193
|
+
#
|
22194
|
+
# For more information, see [Describe your EC2 Fleet][1] in the *Amazon
|
22155
22195
|
# EC2 User Guide*.
|
22156
22196
|
#
|
22157
22197
|
#
|
@@ -23259,6 +23299,12 @@ module Aws::EC2
|
|
23259
23299
|
# Describes the specified attribute of the specified AMI. You can
|
23260
23300
|
# specify only one attribute at a time.
|
23261
23301
|
#
|
23302
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
23303
|
+
# nested structures, might vary. Applications should not assume the
|
23304
|
+
# elements appear in a particular order.
|
23305
|
+
#
|
23306
|
+
# </note>
|
23307
|
+
#
|
23262
23308
|
# @option params [required, String] :attribute
|
23263
23309
|
# The AMI attribute.
|
23264
23310
|
#
|
@@ -23376,6 +23422,12 @@ module Aws::EC2
|
|
23376
23422
|
# image will eventually return an error indicating that the AMI ID
|
23377
23423
|
# cannot be found.
|
23378
23424
|
#
|
23425
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
23426
|
+
# nested structures, might vary. Applications should not assume the
|
23427
|
+
# elements appear in a particular order.
|
23428
|
+
#
|
23429
|
+
# </note>
|
23430
|
+
#
|
23379
23431
|
# @option params [Array<String>] :executable_users
|
23380
23432
|
# Scopes the images by users with explicit launch permissions. Specify
|
23381
23433
|
# an Amazon Web Services account ID, `self` (the sender of the request),
|
@@ -24406,6 +24458,12 @@ module Aws::EC2
|
|
24406
24458
|
# you launch them through their termination. For more information, see
|
24407
24459
|
# [Instance lifecycle][4] in the *Amazon EC2 User Guide*.
|
24408
24460
|
#
|
24461
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
24462
|
+
# nested structures, might vary. Applications should not assume the
|
24463
|
+
# elements appear in a particular order.
|
24464
|
+
#
|
24465
|
+
# </note>
|
24466
|
+
#
|
24409
24467
|
#
|
24410
24468
|
#
|
24411
24469
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html
|
@@ -25148,6 +25206,12 @@ module Aws::EC2
|
|
25148
25206
|
# the call fails. If you describe instances and specify only instance
|
25149
25207
|
# IDs that are in an unaffected zone, the call works normally.
|
25150
25208
|
#
|
25209
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
25210
|
+
# nested structures, might vary. Applications should not assume the
|
25211
|
+
# elements appear in a particular order.
|
25212
|
+
#
|
25213
|
+
# </note>
|
25214
|
+
#
|
25151
25215
|
# @option params [Array<Types::Filter>] :filters
|
25152
25216
|
# The filters.
|
25153
25217
|
#
|
@@ -30468,6 +30532,12 @@ module Aws::EC2
|
|
30468
30532
|
# For more information about Reserved Instances, see [Reserved
|
30469
30533
|
# Instances][1] in the *Amazon EC2 User Guide*.
|
30470
30534
|
#
|
30535
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
30536
|
+
# nested structures, might vary. Applications should not assume the
|
30537
|
+
# elements appear in a particular order.
|
30538
|
+
#
|
30539
|
+
# </note>
|
30540
|
+
#
|
30471
30541
|
#
|
30472
30542
|
#
|
30473
30543
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html
|
@@ -30620,6 +30690,12 @@ module Aws::EC2
|
|
30620
30690
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
30621
30691
|
# *Amazon EC2 User Guide*.
|
30622
30692
|
#
|
30693
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
30694
|
+
# nested structures, might vary. Applications should not assume the
|
30695
|
+
# elements appear in a particular order.
|
30696
|
+
#
|
30697
|
+
# </note>
|
30698
|
+
#
|
30623
30699
|
#
|
30624
30700
|
#
|
30625
30701
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
|
@@ -30699,6 +30775,12 @@ module Aws::EC2
|
|
30699
30775
|
# For more information, see [Modifying Reserved Instances][1] in the
|
30700
30776
|
# *Amazon EC2 User Guide*.
|
30701
30777
|
#
|
30778
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
30779
|
+
# nested structures, might vary. Applications should not assume the
|
30780
|
+
# elements appear in a particular order.
|
30781
|
+
#
|
30782
|
+
# </note>
|
30783
|
+
#
|
30702
30784
|
#
|
30703
30785
|
#
|
30704
30786
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html
|
@@ -30809,6 +30891,12 @@ module Aws::EC2
|
|
30809
30891
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
30810
30892
|
# *Amazon EC2 User Guide*.
|
30811
30893
|
#
|
30894
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
30895
|
+
# nested structures, might vary. Applications should not assume the
|
30896
|
+
# elements appear in a particular order.
|
30897
|
+
#
|
30898
|
+
# </note>
|
30899
|
+
#
|
30812
30900
|
#
|
30813
30901
|
#
|
30814
30902
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
|
@@ -47224,7 +47312,7 @@ module Aws::EC2
|
|
47224
47312
|
# * Modify the affinity between an instance and a [Dedicated Host][1].
|
47225
47313
|
# When affinity is set to `host` and the instance is not associated
|
47226
47314
|
# with a specific Dedicated Host, the next time the instance is
|
47227
|
-
#
|
47315
|
+
# started, it is automatically associated with the host on which it
|
47228
47316
|
# lands. If the instance is restarted or rebooted, this relationship
|
47229
47317
|
# persists.
|
47230
47318
|
#
|
@@ -47247,7 +47335,12 @@ module Aws::EC2
|
|
47247
47335
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
|
47248
47336
|
#
|
47249
47337
|
# @option params [String] :affinity
|
47250
|
-
# The affinity setting for the instance.
|
47338
|
+
# The affinity setting for the instance. For more information, see [Host
|
47339
|
+
# affinity][1] in the *Amazon EC2 User Guide*.
|
47340
|
+
#
|
47341
|
+
#
|
47342
|
+
#
|
47343
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-affinity
|
47251
47344
|
#
|
47252
47345
|
# @option params [String] :group_name
|
47253
47346
|
# The name of the placement group in which to place the instance. For
|
@@ -52105,8 +52198,8 @@ module Aws::EC2
|
|
52105
52198
|
req.send_request(options)
|
52106
52199
|
end
|
52107
52200
|
|
52108
|
-
# Registers an AMI. When you're creating an AMI,
|
52109
|
-
#
|
52201
|
+
# Registers an AMI. When you're creating an instance-store backed AMI,
|
52202
|
+
# registering the AMI is the final step in the creation process. For
|
52110
52203
|
# more information about creating AMIs, see [Create your own AMI][1] in
|
52111
52204
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
52112
52205
|
#
|
@@ -52319,6 +52412,18 @@ module Aws::EC2
|
|
52319
52412
|
#
|
52320
52413
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
|
52321
52414
|
#
|
52415
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
52416
|
+
# The tags to apply to the AMI.
|
52417
|
+
#
|
52418
|
+
# To tag the AMI, the value for `ResourceType` must be `image`. If you
|
52419
|
+
# specify another value for `ResourceType`, the request fails.
|
52420
|
+
#
|
52421
|
+
# To tag an AMI after it has been registered, see [CreateTags][1].
|
52422
|
+
#
|
52423
|
+
#
|
52424
|
+
#
|
52425
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
52426
|
+
#
|
52322
52427
|
# @return [Types::RegisterImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
52323
52428
|
#
|
52324
52429
|
# * {Types::RegisterImageResult#image_id #image_id} => String
|
@@ -52360,6 +52465,17 @@ module Aws::EC2
|
|
52360
52465
|
# tpm_support: "v2.0", # accepts v2.0
|
52361
52466
|
# uefi_data: "StringType",
|
52362
52467
|
# imds_support: "v2.0", # accepts v2.0
|
52468
|
+
# tag_specifications: [
|
52469
|
+
# {
|
52470
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
|
52471
|
+
# tags: [
|
52472
|
+
# {
|
52473
|
+
# key: "String",
|
52474
|
+
# value: "String",
|
52475
|
+
# },
|
52476
|
+
# ],
|
52477
|
+
# },
|
52478
|
+
# ],
|
52363
52479
|
# })
|
52364
52480
|
#
|
52365
52481
|
# @example Response structure
|
@@ -58776,7 +58892,7 @@ module Aws::EC2
|
|
58776
58892
|
params: params,
|
58777
58893
|
config: config)
|
58778
58894
|
context[:gem_name] = 'aws-sdk-ec2'
|
58779
|
-
context[:gem_version] = '1.
|
58895
|
+
context[:gem_version] = '1.441.0'
|
58780
58896
|
Seahorse::Client::Request.new(handlers, context)
|
58781
58897
|
end
|
58782
58898
|
|
@@ -4423,6 +4423,7 @@ module Aws::EC2
|
|
4423
4423
|
CopyImageRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
|
4424
4424
|
CopyImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4425
4425
|
CopyImageRequest.add_member(:copy_image_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "CopyImageTags"))
|
4426
|
+
CopyImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4426
4427
|
CopyImageRequest.struct_class = Types::CopyImageRequest
|
4427
4428
|
|
4428
4429
|
CopyImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
@@ -12816,6 +12817,7 @@ module Aws::EC2
|
|
12816
12817
|
RegisterImageRequest.add_member(:tpm_support, Shapes::ShapeRef.new(shape: TpmSupportValues, location_name: "TpmSupport"))
|
12817
12818
|
RegisterImageRequest.add_member(:uefi_data, Shapes::ShapeRef.new(shape: StringType, location_name: "UefiData"))
|
12818
12819
|
RegisterImageRequest.add_member(:imds_support, Shapes::ShapeRef.new(shape: ImdsSupportValues, location_name: "ImdsSupport"))
|
12820
|
+
RegisterImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
12819
12821
|
RegisterImageRequest.struct_class = Types::RegisterImageRequest
|
12820
12822
|
|
12821
12823
|
RegisterImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1902,6 +1902,17 @@ module Aws::EC2
|
|
1902
1902
|
# tpm_support: "v2.0", # accepts v2.0
|
1903
1903
|
# uefi_data: "StringType",
|
1904
1904
|
# imds_support: "v2.0", # accepts v2.0
|
1905
|
+
# tag_specifications: [
|
1906
|
+
# {
|
1907
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
|
1908
|
+
# tags: [
|
1909
|
+
# {
|
1910
|
+
# key: "String",
|
1911
|
+
# value: "String",
|
1912
|
+
# },
|
1913
|
+
# ],
|
1914
|
+
# },
|
1915
|
+
# ],
|
1905
1916
|
# })
|
1906
1917
|
# @param [Hash] options ({})
|
1907
1918
|
# @option options [String] :image_location
|
@@ -2036,6 +2047,17 @@ module Aws::EC2
|
|
2036
2047
|
#
|
2037
2048
|
#
|
2038
2049
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
|
2050
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
2051
|
+
# The tags to apply to the AMI.
|
2052
|
+
#
|
2053
|
+
# To tag the AMI, the value for `ResourceType` must be `image`. If you
|
2054
|
+
# specify another value for `ResourceType`, the request fails.
|
2055
|
+
#
|
2056
|
+
# To tag an AMI after it has been registered, see [CreateTags][1].
|
2057
|
+
#
|
2058
|
+
#
|
2059
|
+
#
|
2060
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
2039
2061
|
# @return [Image]
|
2040
2062
|
def register_image(options = {})
|
2041
2063
|
resp = Aws::Plugins::UserAgent.feature('resource') do
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -3674,11 +3674,7 @@ module Aws::EC2
|
|
3674
3674
|
# @!attribute [rw] instance_id
|
3675
3675
|
# The ID of the instance to bundle.
|
3676
3676
|
#
|
3677
|
-
# Type: String
|
3678
|
-
#
|
3679
3677
|
# Default: None
|
3680
|
-
#
|
3681
|
-
# Required: Yes
|
3682
3678
|
# @return [String]
|
3683
3679
|
#
|
3684
3680
|
# @!attribute [rw] storage
|
@@ -6448,6 +6444,25 @@ module Aws::EC2
|
|
6448
6444
|
# Default: Your user-defined AMI tags are not copied.
|
6449
6445
|
# @return [Boolean]
|
6450
6446
|
#
|
6447
|
+
# @!attribute [rw] tag_specifications
|
6448
|
+
# The tags to apply to the new AMI and new snapshots. You can tag the
|
6449
|
+
# AMI, the snapshots, or both.
|
6450
|
+
#
|
6451
|
+
# * To tag the new AMI, the value for `ResourceType` must be `image`.
|
6452
|
+
#
|
6453
|
+
# * To tag the new snapshots, the value for `ResourceType` must be
|
6454
|
+
# `snapshot`. The same tag is applied to all the new snapshots.
|
6455
|
+
#
|
6456
|
+
# If you specify other values for `ResourceType`, the request fails.
|
6457
|
+
#
|
6458
|
+
# To tag an AMI or snapshot after it has been created, see
|
6459
|
+
# [CreateTags][1].
|
6460
|
+
#
|
6461
|
+
#
|
6462
|
+
#
|
6463
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
6464
|
+
# @return [Array<Types::TagSpecification>]
|
6465
|
+
#
|
6451
6466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageRequest AWS API Documentation
|
6452
6467
|
#
|
6453
6468
|
class CopyImageRequest < Struct.new(
|
@@ -6460,7 +6475,8 @@ module Aws::EC2
|
|
6460
6475
|
:source_region,
|
6461
6476
|
:destination_outpost_arn,
|
6462
6477
|
:dry_run,
|
6463
|
-
:copy_image_tags
|
6478
|
+
:copy_image_tags,
|
6479
|
+
:tag_specifications)
|
6464
6480
|
SENSITIVE = []
|
6465
6481
|
include Aws::Structure
|
6466
6482
|
end
|
@@ -25098,7 +25114,8 @@ module Aws::EC2
|
|
25098
25114
|
#
|
25099
25115
|
# @!attribute [rw] next_token
|
25100
25116
|
# The token to include in another request to get the next page of
|
25101
|
-
# items. This value is `null` when there are
|
25117
|
+
# items. This value is an empty string (`""`) or `null` when there are
|
25118
|
+
# no more items to return.
|
25102
25119
|
# @return [String]
|
25103
25120
|
#
|
25104
25121
|
# @!attribute [rw] spot_price_history
|
@@ -33023,6 +33040,15 @@ module Aws::EC2
|
|
33023
33040
|
#
|
33024
33041
|
# @!attribute [rw] weighted_capacity
|
33025
33042
|
# The number of units provided by the specified instance type.
|
33043
|
+
#
|
33044
|
+
# <note markdown="1"> When specifying weights, the price used in the `lowest-price` and
|
33045
|
+
# `price-capacity-optimized` allocation strategies is per *unit* hour
|
33046
|
+
# (where the instance price is divided by the specified weight).
|
33047
|
+
# However, if all the specified weights are above the requested
|
33048
|
+
# `TargetCapacity`, resulting in only 1 instance being launched, the
|
33049
|
+
# price used is per *instance* hour.
|
33050
|
+
#
|
33051
|
+
# </note>
|
33026
33052
|
# @return [Float]
|
33027
33053
|
#
|
33028
33054
|
# @!attribute [rw] priority
|
@@ -33118,6 +33144,15 @@ module Aws::EC2
|
|
33118
33144
|
#
|
33119
33145
|
# @!attribute [rw] weighted_capacity
|
33120
33146
|
# The number of units provided by the specified instance type.
|
33147
|
+
#
|
33148
|
+
# <note markdown="1"> When specifying weights, the price used in the `lowest-price` and
|
33149
|
+
# `price-capacity-optimized` allocation strategies is per *unit* hour
|
33150
|
+
# (where the instance price is divided by the specified weight).
|
33151
|
+
# However, if all the specified weights are above the requested
|
33152
|
+
# `TargetCapacity`, resulting in only 1 instance being launched, the
|
33153
|
+
# price used is per *instance* hour.
|
33154
|
+
#
|
33155
|
+
# </note>
|
33121
33156
|
# @return [Float]
|
33122
33157
|
#
|
33123
33158
|
# @!attribute [rw] priority
|
@@ -40212,9 +40247,6 @@ module Aws::EC2
|
|
40212
40247
|
# The parameter accepts an integer, which Amazon EC2 interprets as a
|
40213
40248
|
# percentage.
|
40214
40249
|
#
|
40215
|
-
# To indicate no price protection threshold, specify a high value,
|
40216
|
-
# such as `999999`.
|
40217
|
-
#
|
40218
40250
|
# If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
|
40219
40251
|
# price protection threshold is applied based on the per-vCPU or
|
40220
40252
|
# per-memory price instead of the per-instance price.
|
@@ -40224,9 +40256,12 @@ module Aws::EC2
|
|
40224
40256
|
#
|
40225
40257
|
# <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
|
40226
40258
|
# `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
|
40227
|
-
# If you don't specify either,
|
40228
|
-
#
|
40229
|
-
#
|
40259
|
+
# If you don't specify either, Amazon EC2 will automatically apply
|
40260
|
+
# optimal price protection to consistently select from a wide range of
|
40261
|
+
# instance types. To indicate no price protection threshold for Spot
|
40262
|
+
# Instances, meaning you want to consider all instance types that
|
40263
|
+
# match your attributes, include one of these parameters and specify a
|
40264
|
+
# high value, such as `999999`.
|
40230
40265
|
#
|
40231
40266
|
# </note>
|
40232
40267
|
#
|
@@ -40497,18 +40532,18 @@ module Aws::EC2
|
|
40497
40532
|
# The parameter accepts an integer, which Amazon EC2 interprets as a
|
40498
40533
|
# percentage.
|
40499
40534
|
#
|
40500
|
-
# To indicate no price protection threshold, specify a high value,
|
40501
|
-
# such as `999999`.
|
40502
|
-
#
|
40503
40535
|
# If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
|
40504
40536
|
# price protection threshold is based on the per vCPU or per memory
|
40505
40537
|
# price instead of the per instance price.
|
40506
40538
|
#
|
40507
40539
|
# <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
|
40508
40540
|
# `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
|
40509
|
-
# If you don't specify either,
|
40510
|
-
#
|
40511
|
-
#
|
40541
|
+
# If you don't specify either, Amazon EC2 will automatically apply
|
40542
|
+
# optimal price protection to consistently select from a wide range of
|
40543
|
+
# instance types. To indicate no price protection threshold for Spot
|
40544
|
+
# Instances, meaning you want to consider all instance types that
|
40545
|
+
# match your attributes, include one of these parameters and specify a
|
40546
|
+
# high value, such as `999999`.
|
40512
40547
|
#
|
40513
40548
|
# </note>
|
40514
40549
|
# @return [Integer]
|
@@ -40682,9 +40717,6 @@ module Aws::EC2
|
|
40682
40717
|
# The parameter accepts an integer, which Amazon EC2 interprets as a
|
40683
40718
|
# percentage.
|
40684
40719
|
#
|
40685
|
-
# To indicate no price protection threshold, specify a high value,
|
40686
|
-
# such as `999999`.
|
40687
|
-
#
|
40688
40720
|
# If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
|
40689
40721
|
# price protection threshold is applied based on the per-vCPU or
|
40690
40722
|
# per-memory price instead of the per-instance price.
|
@@ -40694,9 +40726,12 @@ module Aws::EC2
|
|
40694
40726
|
#
|
40695
40727
|
# <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
|
40696
40728
|
# `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
|
40697
|
-
# If you don't specify either,
|
40698
|
-
#
|
40699
|
-
#
|
40729
|
+
# If you don't specify either, Amazon EC2 will automatically apply
|
40730
|
+
# optimal price protection to consistently select from a wide range of
|
40731
|
+
# instance types. To indicate no price protection threshold for Spot
|
40732
|
+
# Instances, meaning you want to consider all instance types that
|
40733
|
+
# match your attributes, include one of these parameters and specify a
|
40734
|
+
# high value, such as `999999`.
|
40700
40735
|
#
|
40701
40736
|
# </note>
|
40702
40737
|
#
|
@@ -40972,18 +41007,18 @@ module Aws::EC2
|
|
40972
41007
|
# The parameter accepts an integer, which Amazon EC2 interprets as a
|
40973
41008
|
# percentage.
|
40974
41009
|
#
|
40975
|
-
# To indicate no price protection threshold, specify a high value,
|
40976
|
-
# such as `999999`.
|
40977
|
-
#
|
40978
41010
|
# If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
|
40979
41011
|
# price protection threshold is based on the per vCPU or per memory
|
40980
41012
|
# price instead of the per instance price.
|
40981
41013
|
#
|
40982
41014
|
# <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
|
40983
41015
|
# `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
|
40984
|
-
# If you don't specify either,
|
40985
|
-
#
|
40986
|
-
#
|
41016
|
+
# If you don't specify either, Amazon EC2 will automatically apply
|
41017
|
+
# optimal price protection to consistently select from a wide range of
|
41018
|
+
# instance types. To indicate no price protection threshold for Spot
|
41019
|
+
# Instances, meaning you want to consider all instance types that
|
41020
|
+
# match your attributes, include one of these parameters and specify a
|
41021
|
+
# high value, such as `999999`.
|
40987
41022
|
#
|
40988
41023
|
# </note>
|
40989
41024
|
# @return [Integer]
|
@@ -41350,8 +41385,8 @@ module Aws::EC2
|
|
41350
41385
|
#
|
41351
41386
|
# @!attribute [rw] network_nodes
|
41352
41387
|
# The network nodes. The nodes are hashed based on your account.
|
41353
|
-
# Instances from different accounts running under the same
|
41354
|
-
#
|
41388
|
+
# Instances from different accounts running under the same server will
|
41389
|
+
# return a different hashed list of strings.
|
41355
41390
|
# @return [Array<String>]
|
41356
41391
|
#
|
41357
41392
|
# @!attribute [rw] availability_zone
|
@@ -44857,6 +44892,15 @@ module Aws::EC2
|
|
44857
44892
|
#
|
44858
44893
|
# @!attribute [rw] weighted_capacity
|
44859
44894
|
# The number of units provided by the specified instance type.
|
44895
|
+
#
|
44896
|
+
# <note markdown="1"> When specifying weights, the price used in the `lowest-price` and
|
44897
|
+
# `price-capacity-optimized` allocation strategies is per *unit* hour
|
44898
|
+
# (where the instance price is divided by the specified weight).
|
44899
|
+
# However, if all the specified weights are above the requested
|
44900
|
+
# `TargetCapacity`, resulting in only 1 instance being launched, the
|
44901
|
+
# price used is per *instance* hour.
|
44902
|
+
#
|
44903
|
+
# </note>
|
44860
44904
|
# @return [Float]
|
44861
44905
|
#
|
44862
44906
|
# @!attribute [rw] priority
|
@@ -47742,7 +47786,12 @@ module Aws::EC2
|
|
47742
47786
|
end
|
47743
47787
|
|
47744
47788
|
# @!attribute [rw] affinity
|
47745
|
-
# The affinity setting for the instance.
|
47789
|
+
# The affinity setting for the instance. For more information, see
|
47790
|
+
# [Host affinity][1] in the *Amazon EC2 User Guide*.
|
47791
|
+
#
|
47792
|
+
#
|
47793
|
+
#
|
47794
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-affinity
|
47746
47795
|
# @return [String]
|
47747
47796
|
#
|
47748
47797
|
# @!attribute [rw] group_name
|
@@ -54659,6 +54708,19 @@ module Aws::EC2
|
|
54659
54708
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
|
54660
54709
|
# @return [String]
|
54661
54710
|
#
|
54711
|
+
# @!attribute [rw] tag_specifications
|
54712
|
+
# The tags to apply to the AMI.
|
54713
|
+
#
|
54714
|
+
# To tag the AMI, the value for `ResourceType` must be `image`. If you
|
54715
|
+
# specify another value for `ResourceType`, the request fails.
|
54716
|
+
#
|
54717
|
+
# To tag an AMI after it has been registered, see [CreateTags][1].
|
54718
|
+
#
|
54719
|
+
#
|
54720
|
+
#
|
54721
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
54722
|
+
# @return [Array<Types::TagSpecification>]
|
54723
|
+
#
|
54662
54724
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageRequest AWS API Documentation
|
54663
54725
|
#
|
54664
54726
|
class RegisterImageRequest < Struct.new(
|
@@ -54678,7 +54740,8 @@ module Aws::EC2
|
|
54678
54740
|
:boot_mode,
|
54679
54741
|
:tpm_support,
|
54680
54742
|
:uefi_data,
|
54681
|
-
:imds_support
|
54743
|
+
:imds_support,
|
54744
|
+
:tag_specifications)
|
54682
54745
|
SENSITIVE = []
|
54683
54746
|
include Aws::Structure
|
54684
54747
|
end
|
@@ -59388,11 +59451,10 @@ module Aws::EC2
|
|
59388
59451
|
# one network interface in the request. If launching into a default
|
59389
59452
|
# subnet, the default value is `true`.
|
59390
59453
|
#
|
59391
|
-
#
|
59392
|
-
#
|
59393
|
-
#
|
59394
|
-
#
|
59395
|
-
# pricing page][1].
|
59454
|
+
# Amazon Web Services charges for all public IPv4 addresses, including
|
59455
|
+
# public IPv4 addresses associated with running instances and Elastic
|
59456
|
+
# IP addresses. For more information, see the *Public IPv4 Address*
|
59457
|
+
# tab on the [Amazon VPC pricing page][1].
|
59396
59458
|
#
|
59397
59459
|
#
|
59398
59460
|
#
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -967,7 +967,18 @@ module Aws
|
|
967
967
|
source_region: ::String,
|
968
968
|
?destination_outpost_arn: ::String,
|
969
969
|
?dry_run: bool,
|
970
|
-
?copy_image_tags: bool
|
970
|
+
?copy_image_tags: bool,
|
971
|
+
?tag_specifications: Array[
|
972
|
+
{
|
973
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
974
|
+
tags: Array[
|
975
|
+
{
|
976
|
+
key: ::String?,
|
977
|
+
value: ::String?
|
978
|
+
},
|
979
|
+
]?
|
980
|
+
},
|
981
|
+
]
|
971
982
|
) -> _CopyImageResponseSuccess
|
972
983
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyImageResponseSuccess
|
973
984
|
|
@@ -11199,7 +11210,18 @@ module Aws
|
|
11199
11210
|
?boot_mode: ("legacy-bios" | "uefi" | "uefi-preferred"),
|
11200
11211
|
?tpm_support: ("v2.0"),
|
11201
11212
|
?uefi_data: ::String,
|
11202
|
-
?imds_support: ("v2.0")
|
11213
|
+
?imds_support: ("v2.0"),
|
11214
|
+
?tag_specifications: Array[
|
11215
|
+
{
|
11216
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
11217
|
+
tags: Array[
|
11218
|
+
{
|
11219
|
+
key: ::String?,
|
11220
|
+
value: ::String?
|
11221
|
+
},
|
11222
|
+
]?
|
11223
|
+
},
|
11224
|
+
]
|
11203
11225
|
) -> _RegisterImageResponseSuccess
|
11204
11226
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterImageResponseSuccess
|
11205
11227
|
|
data/sig/resource.rbs
CHANGED
@@ -703,7 +703,18 @@ module Aws
|
|
703
703
|
?boot_mode: ("legacy-bios" | "uefi" | "uefi-preferred"),
|
704
704
|
?tpm_support: ("v2.0"),
|
705
705
|
?uefi_data: ::String,
|
706
|
-
?imds_support: ("v2.0")
|
706
|
+
?imds_support: ("v2.0"),
|
707
|
+
?tag_specifications: Array[
|
708
|
+
{
|
709
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
710
|
+
tags: Array[
|
711
|
+
{
|
712
|
+
key: ::String?,
|
713
|
+
value: ::String?
|
714
|
+
},
|
715
|
+
]?
|
716
|
+
},
|
717
|
+
]
|
707
718
|
) -> Image
|
708
719
|
| (?Hash[Symbol, untyped]) -> Image
|
709
720
|
|
data/sig/types.rbs
CHANGED
@@ -1542,6 +1542,7 @@ module Aws::EC2
|
|
1542
1542
|
attr_accessor destination_outpost_arn: ::String
|
1543
1543
|
attr_accessor dry_run: bool
|
1544
1544
|
attr_accessor copy_image_tags: bool
|
1545
|
+
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
1545
1546
|
SENSITIVE: []
|
1546
1547
|
end
|
1547
1548
|
|
@@ -12049,6 +12050,7 @@ module Aws::EC2
|
|
12049
12050
|
attr_accessor tpm_support: ("v2.0")
|
12050
12051
|
attr_accessor uefi_data: ::String
|
12051
12052
|
attr_accessor imds_support: ("v2.0")
|
12053
|
+
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
12052
12054
|
SENSITIVE: []
|
12053
12055
|
end
|
12054
12056
|
|
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.441.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-
|
11
|
+
date: 2024-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|