aws-sdk-ec2 1.487.0 → 1.489.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 +40 -39
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/image.rb +34 -1
- data/lib/aws-sdk-ec2/instance.rb +3 -1
- data/lib/aws-sdk-ec2/resource.rb +9 -10
- data/lib/aws-sdk-ec2/types.rb +54 -15
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +1 -1
- data/sig/image.rbs +6 -0
- data/sig/types.rbs +4 -2
- 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: 868519b55d21d0cd883b7e9d330f6d3b79f1cbf37e9bd4843a0bf095f2989cef
|
4
|
+
data.tar.gz: 4789f5c52065d6892589697159a4ab9f57846c7a301d97f78dfcb1e43c14428b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 224f811ff95fde6a1bc797d6ffff72fe79726cabdec6f90152a93ee16f15af8f22a540cccff7b7995a80172f70961d528bb79bfe6fb57c36063278496778a9e6
|
7
|
+
data.tar.gz: 9371e7aee23d0b9360a65b396780683e6829f9a7fc1253fe83223012eaba552c1a71cf72c53e7e52df4cd6b7ad98c0ab656148095e8aad813bbfd96a9650437f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.489.0 (2024-11-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Remove non-functional enum variants for FleetCapacityReservationUsageStrategy
|
8
|
+
|
9
|
+
1.488.0 (2024-11-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds the source AMI details in DescribeImages API
|
13
|
+
|
4
14
|
1.487.0 (2024-11-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.489.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -5296,9 +5296,9 @@ module Aws::EC2
|
|
5296
5296
|
req.send_request(options)
|
5297
5297
|
end
|
5298
5298
|
|
5299
|
-
# Create a new Capacity Reservation by splitting the
|
5300
|
-
#
|
5301
|
-
#
|
5299
|
+
# Create a new Capacity Reservation by splitting the capacity of the
|
5300
|
+
# source Capacity Reservation. The new Capacity Reservation will have
|
5301
|
+
# the same attributes as the source Capacity Reservation except for
|
5302
5302
|
# tags. The source Capacity Reservation must be `active` and owned by
|
5303
5303
|
# your Amazon Web Services account.
|
5304
5304
|
#
|
@@ -5322,7 +5322,7 @@ module Aws::EC2
|
|
5322
5322
|
#
|
5323
5323
|
# @option params [required, String] :source_capacity_reservation_id
|
5324
5324
|
# The ID of the Capacity Reservation from which you want to split the
|
5325
|
-
#
|
5325
|
+
# capacity.
|
5326
5326
|
#
|
5327
5327
|
# @option params [required, Integer] :instance_count
|
5328
5328
|
# The number of instances to split from the source Capacity Reservation.
|
@@ -6717,7 +6717,7 @@ module Aws::EC2
|
|
6717
6717
|
# on_demand_options: {
|
6718
6718
|
# allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
|
6719
6719
|
# capacity_reservation_options: {
|
6720
|
-
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
6720
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
6721
6721
|
# },
|
6722
6722
|
# single_instance_type: false,
|
6723
6723
|
# single_availability_zone: false,
|
@@ -8445,12 +8445,11 @@ module Aws::EC2
|
|
8445
8445
|
end
|
8446
8446
|
|
8447
8447
|
# Creates an ED25519 or 2048-bit RSA key pair with the specified name
|
8448
|
-
# and in the specified
|
8449
|
-
#
|
8450
|
-
#
|
8451
|
-
#
|
8452
|
-
#
|
8453
|
-
# error.
|
8448
|
+
# and in the specified format. Amazon EC2 stores the public key and
|
8449
|
+
# displays the private key for you to save to a file. The private key is
|
8450
|
+
# returned as an unencrypted PEM encoded PKCS#1 private key or an
|
8451
|
+
# unencrypted PPK formatted private key for use with PuTTY. If a key
|
8452
|
+
# with the specified name already exists, Amazon EC2 returns an error.
|
8454
8453
|
#
|
8455
8454
|
# The key pair returned to you is available only in the Amazon Web
|
8456
8455
|
# Services Region in which you create it. If you prefer, you can create
|
@@ -8459,8 +8458,8 @@ module Aws::EC2
|
|
8459
8458
|
#
|
8460
8459
|
# You can have up to 5,000 key pairs per Amazon Web Services Region.
|
8461
8460
|
#
|
8462
|
-
# For more information, see [Amazon EC2 key pairs][1] in the *Amazon
|
8463
|
-
#
|
8461
|
+
# For more information, see [Amazon EC2 key pairs][1] in the *Amazon EC2
|
8462
|
+
# User Guide*.
|
8464
8463
|
#
|
8465
8464
|
#
|
8466
8465
|
#
|
@@ -11816,9 +11815,8 @@ module Aws::EC2
|
|
11816
11815
|
#
|
11817
11816
|
# A security group acts as a virtual firewall for your instance to
|
11818
11817
|
# control inbound and outbound traffic. For more information, see
|
11819
|
-
# [Amazon EC2 security groups][1] in the *Amazon
|
11820
|
-
#
|
11821
|
-
# Virtual Private Cloud User Guide*.
|
11818
|
+
# [Amazon EC2 security groups][1] in the *Amazon EC2 User Guide* and
|
11819
|
+
# [Security groups for your VPC][2] in the *Amazon VPC User Guide*.
|
11822
11820
|
#
|
11823
11821
|
# When you create a security group, you specify a friendly name of your
|
11824
11822
|
# choice. You can't have two security groups for the same VPC with the
|
@@ -23024,7 +23022,7 @@ module Aws::EC2
|
|
23024
23022
|
# resp.fleets[0].spot_options.min_target_capacity #=> Integer
|
23025
23023
|
# resp.fleets[0].spot_options.max_total_price #=> String
|
23026
23024
|
# resp.fleets[0].on_demand_options.allocation_strategy #=> String, one of "lowest-price", "prioritized"
|
23027
|
-
# resp.fleets[0].on_demand_options.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
|
23025
|
+
# resp.fleets[0].on_demand_options.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
|
23028
23026
|
# resp.fleets[0].on_demand_options.single_instance_type #=> Boolean
|
23029
23027
|
# resp.fleets[0].on_demand_options.single_availability_zone #=> Boolean
|
23030
23028
|
# resp.fleets[0].on_demand_options.min_target_capacity #=> Integer
|
@@ -24130,9 +24128,9 @@ module Aws::EC2
|
|
24130
24128
|
# @option params [Array<String>] :owners
|
24131
24129
|
# Scopes the results to images with the specified owners. You can
|
24132
24130
|
# specify a combination of Amazon Web Services account IDs, `self`,
|
24133
|
-
# `amazon`, and `aws-marketplace`. If you omit this
|
24134
|
-
# results include all images for which you have launch
|
24135
|
-
# regardless of ownership.
|
24131
|
+
# `amazon`, `aws-backup-vault`, and `aws-marketplace`. If you omit this
|
24132
|
+
# parameter, the results include all images for which you have launch
|
24133
|
+
# permissions, regardless of ownership.
|
24136
24134
|
#
|
24137
24135
|
# @option params [Boolean] :include_deprecated
|
24138
24136
|
# Specifies whether to include deprecated AMIs.
|
@@ -24219,11 +24217,11 @@ module Aws::EC2
|
|
24219
24217
|
#
|
24220
24218
|
# * `name` - The name of the AMI (provided during image creation).
|
24221
24219
|
#
|
24222
|
-
# * `owner-alias` - The owner alias (`amazon` \| `aws-
|
24223
|
-
# valid aliases are defined in an
|
24224
|
-
#
|
24225
|
-
# console. We recommend that you
|
24226
|
-
# instead of this filter.
|
24220
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-backup-vault` \|
|
24221
|
+
# `aws-marketplace`). The valid aliases are defined in an
|
24222
|
+
# Amazon-maintained list. This is not the Amazon Web Services account
|
24223
|
+
# alias that can be set using the IAM console. We recommend that you
|
24224
|
+
# use the **Owner** request parameter instead of this filter.
|
24227
24225
|
#
|
24228
24226
|
# * `owner-id` - The Amazon Web Services account ID of the owner. We
|
24229
24227
|
# recommend that you use the **Owner** request parameter instead of
|
@@ -24384,6 +24382,8 @@ module Aws::EC2
|
|
24384
24382
|
# resp.images[0].source_instance_id #=> String
|
24385
24383
|
# resp.images[0].deregistration_protection #=> String
|
24386
24384
|
# resp.images[0].last_launched_time #=> String
|
24385
|
+
# resp.images[0].source_image_id #=> String
|
24386
|
+
# resp.images[0].source_image_region #=> String
|
24387
24387
|
# resp.images[0].image_id #=> String
|
24388
24388
|
# resp.images[0].image_location #=> String
|
24389
24389
|
# resp.images[0].state #=> String, one of "pending", "available", "invalid", "deregistered", "transient", "failed", "error", "disabled"
|
@@ -27552,7 +27552,7 @@ module Aws::EC2
|
|
27552
27552
|
# Describes the specified key pairs or all of your key pairs.
|
27553
27553
|
#
|
27554
27554
|
# For more information about key pairs, see [Amazon EC2 key pairs][1] in
|
27555
|
-
# the *Amazon
|
27555
|
+
# the *Amazon EC2 User Guide*.
|
27556
27556
|
#
|
27557
27557
|
#
|
27558
27558
|
#
|
@@ -46402,19 +46402,17 @@ module Aws::EC2
|
|
46402
46402
|
end
|
46403
46403
|
|
46404
46404
|
# Imports the public key from an RSA or ED25519 key pair that you
|
46405
|
-
# created
|
46406
|
-
#
|
46407
|
-
#
|
46408
|
-
# ImportKeyPair, you create the key pair and give Amazon Web Services
|
46409
|
-
# just the public key. The private key is never transferred between you
|
46410
|
-
# and Amazon Web Services.
|
46405
|
+
# created using a third-party tool. You give Amazon Web Services only
|
46406
|
+
# the public key. The private key is never transferred between you and
|
46407
|
+
# Amazon Web Services.
|
46411
46408
|
#
|
46412
|
-
# For more information about
|
46413
|
-
# the
|
46409
|
+
# For more information about the requirements for importing a key pair,
|
46410
|
+
# see [Create a key pair and import the public key to Amazon EC2][1] in
|
46411
|
+
# the *Amazon EC2 User Guide*.
|
46414
46412
|
#
|
46415
46413
|
#
|
46416
46414
|
#
|
46417
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
46415
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws
|
46418
46416
|
#
|
46419
46417
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
46420
46418
|
# The tags to apply to the imported key pair.
|
@@ -46429,8 +46427,7 @@ module Aws::EC2
|
|
46429
46427
|
# A unique name for the key pair.
|
46430
46428
|
#
|
46431
46429
|
# @option params [required, String, StringIO, File] :public_key_material
|
46432
|
-
# The public key.
|
46433
|
-
# command line tools, base64 encoding is performed for you.
|
46430
|
+
# The public key.
|
46434
46431
|
#
|
46435
46432
|
# @return [Types::ImportKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
46436
46433
|
#
|
@@ -57139,7 +57136,11 @@ module Aws::EC2
|
|
57139
57136
|
# The ID of the Active Directory group for which to revoke access.
|
57140
57137
|
#
|
57141
57138
|
# @option params [Boolean] :revoke_all_groups
|
57142
|
-
# Indicates whether access should be revoked for all
|
57139
|
+
# Indicates whether access should be revoked for all groups for a single
|
57140
|
+
# `TargetNetworkCidr` that earlier authorized ingress for all groups
|
57141
|
+
# using `AuthorizeAllGroups`. This does not impact other authorization
|
57142
|
+
# rules that allowed ingress to the same `TargetNetworkCidr` with a
|
57143
|
+
# specific `AccessGroupId`.
|
57143
57144
|
#
|
57144
57145
|
# @option params [Boolean] :dry_run
|
57145
57146
|
# Checks whether you have the required permissions for the action,
|
@@ -60848,7 +60849,7 @@ module Aws::EC2
|
|
60848
60849
|
tracer: tracer
|
60849
60850
|
)
|
60850
60851
|
context[:gem_name] = 'aws-sdk-ec2'
|
60851
|
-
context[:gem_version] = '1.
|
60852
|
+
context[:gem_version] = '1.489.0'
|
60852
60853
|
Seahorse::Client::Request.new(handlers, context)
|
60853
60854
|
end
|
60854
60855
|
|
@@ -9872,6 +9872,8 @@ module Aws::EC2
|
|
9872
9872
|
Image.add_member(:source_instance_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceInstanceId"))
|
9873
9873
|
Image.add_member(:deregistration_protection, Shapes::ShapeRef.new(shape: String, location_name: "deregistrationProtection"))
|
9874
9874
|
Image.add_member(:last_launched_time, Shapes::ShapeRef.new(shape: String, location_name: "lastLaunchedTime"))
|
9875
|
+
Image.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageId"))
|
9876
|
+
Image.add_member(:source_image_region, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageRegion"))
|
9875
9877
|
Image.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
9876
9878
|
Image.add_member(:image_location, Shapes::ShapeRef.new(shape: String, location_name: "imageLocation"))
|
9877
9879
|
Image.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "imageState"))
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -92,7 +92,7 @@ module Aws::EC2
|
|
92
92
|
data[:hypervisor]
|
93
93
|
end
|
94
94
|
|
95
|
-
# The owner alias (`amazon` \| `aws-marketplace`).
|
95
|
+
# The owner alias (`amazon` \| `aws-backup-vault` \| `aws-marketplace`).
|
96
96
|
# @return [String]
|
97
97
|
def image_owner_alias
|
98
98
|
data[:image_owner_alias]
|
@@ -222,6 +222,39 @@ module Aws::EC2
|
|
222
222
|
data[:last_launched_time]
|
223
223
|
end
|
224
224
|
|
225
|
+
# The ID of the source AMI from which the AMI was created.
|
226
|
+
#
|
227
|
+
# The ID only appears if the AMI was created using CreateImage,
|
228
|
+
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
229
|
+
# AMI was created using any other API. For some older AMIs, the ID might
|
230
|
+
# not be available. For more information, see [Identify the source AMI
|
231
|
+
# used to create a new AMI][1] in the *Amazon EC2 User Guide*.
|
232
|
+
#
|
233
|
+
#
|
234
|
+
#
|
235
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
236
|
+
# @return [String]
|
237
|
+
def source_image_id
|
238
|
+
data[:source_image_id]
|
239
|
+
end
|
240
|
+
|
241
|
+
# The Region of the source AMI.
|
242
|
+
#
|
243
|
+
# The Region only appears if the AMI was created using CreateImage,
|
244
|
+
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
245
|
+
# the AMI was created using any other API. For some older AMIs, the
|
246
|
+
# Region might not be available. For more information, see [Identify the
|
247
|
+
# source AMI used to create a new AMI][1] in the *Amazon EC2 User
|
248
|
+
# Guide*.
|
249
|
+
#
|
250
|
+
#
|
251
|
+
#
|
252
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
253
|
+
# @return [String]
|
254
|
+
def source_image_region
|
255
|
+
data[:source_image_region]
|
256
|
+
end
|
257
|
+
|
225
258
|
# The location of the AMI.
|
226
259
|
# @return [String]
|
227
260
|
def image_location
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -373,7 +373,9 @@ module Aws::EC2
|
|
373
373
|
data[:instance_type]
|
374
374
|
end
|
375
375
|
|
376
|
-
# The time the instance was launched.
|
376
|
+
# The time that the instance was last launched. To determine the time
|
377
|
+
# that instance was first launched, see the attachment time for the
|
378
|
+
# primary network interface.
|
377
379
|
# @return [Time]
|
378
380
|
def launch_time
|
379
381
|
data[:launch_time]
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1840,8 +1840,7 @@ module Aws::EC2
|
|
1840
1840
|
# @option options [required, String] :key_name
|
1841
1841
|
# A unique name for the key pair.
|
1842
1842
|
# @option options [required, String, StringIO, File] :public_key_material
|
1843
|
-
# The public key.
|
1844
|
-
# command line tools, base64 encoding is performed for you.
|
1843
|
+
# The public key.
|
1845
1844
|
# @return [KeyPairInfo]
|
1846
1845
|
def import_key_pair(options = {})
|
1847
1846
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -2261,9 +2260,9 @@ module Aws::EC2
|
|
2261
2260
|
# @option options [Array<String>] :owners
|
2262
2261
|
# Scopes the results to images with the specified owners. You can
|
2263
2262
|
# specify a combination of Amazon Web Services account IDs, `self`,
|
2264
|
-
# `amazon`, and `aws-marketplace`. If you omit this
|
2265
|
-
# results include all images for which you have launch
|
2266
|
-
# regardless of ownership.
|
2263
|
+
# `amazon`, `aws-backup-vault`, and `aws-marketplace`. If you omit this
|
2264
|
+
# parameter, the results include all images for which you have launch
|
2265
|
+
# permissions, regardless of ownership.
|
2267
2266
|
# @option options [Boolean] :include_deprecated
|
2268
2267
|
# Specifies whether to include deprecated AMIs.
|
2269
2268
|
#
|
@@ -2333,11 +2332,11 @@ module Aws::EC2
|
|
2333
2332
|
#
|
2334
2333
|
# * `name` - The name of the AMI (provided during image creation).
|
2335
2334
|
#
|
2336
|
-
# * `owner-alias` - The owner alias (`amazon` \| `aws-
|
2337
|
-
# valid aliases are defined in an
|
2338
|
-
#
|
2339
|
-
# console. We recommend that you
|
2340
|
-
# instead of this filter.
|
2335
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-backup-vault` \|
|
2336
|
+
# `aws-marketplace`). The valid aliases are defined in an
|
2337
|
+
# Amazon-maintained list. This is not the Amazon Web Services account
|
2338
|
+
# alias that can be set using the IAM console. We recommend that you
|
2339
|
+
# use the **Owner** request parameter instead of this filter.
|
2341
2340
|
#
|
2342
2341
|
# * `owner-id` - The Amazon Web Services account ID of the owner. We
|
2343
2342
|
# recommend that you use the **Owner** request parameter instead of
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -6933,7 +6933,7 @@ module Aws::EC2
|
|
6933
6933
|
#
|
6934
6934
|
# @!attribute [rw] source_capacity_reservation_id
|
6935
6935
|
# The ID of the Capacity Reservation from which you want to split the
|
6936
|
-
#
|
6936
|
+
# capacity.
|
6937
6937
|
# @return [String]
|
6938
6938
|
#
|
6939
6939
|
# @!attribute [rw] instance_count
|
@@ -19757,9 +19757,9 @@ module Aws::EC2
|
|
19757
19757
|
# @!attribute [rw] owners
|
19758
19758
|
# Scopes the results to images with the specified owners. You can
|
19759
19759
|
# specify a combination of Amazon Web Services account IDs, `self`,
|
19760
|
-
# `amazon`, and `aws-marketplace`. If you omit
|
19761
|
-
# results include all images for which you have
|
19762
|
-
# regardless of ownership.
|
19760
|
+
# `amazon`, `aws-backup-vault`, and `aws-marketplace`. If you omit
|
19761
|
+
# this parameter, the results include all images for which you have
|
19762
|
+
# launch permissions, regardless of ownership.
|
19763
19763
|
# @return [Array<String>]
|
19764
19764
|
#
|
19765
19765
|
# @!attribute [rw] include_deprecated
|
@@ -19855,11 +19855,12 @@ module Aws::EC2
|
|
19855
19855
|
#
|
19856
19856
|
# * `name` - The name of the AMI (provided during image creation).
|
19857
19857
|
#
|
19858
|
-
# * `owner-alias` - The owner alias (`amazon` \| `aws-
|
19859
|
-
# The valid aliases are defined in an
|
19860
|
-
# is not the Amazon Web Services
|
19861
|
-
# the IAM console. We recommend
|
19862
|
-
# parameter instead of this
|
19858
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-backup-vault` \|
|
19859
|
+
# `aws-marketplace`). The valid aliases are defined in an
|
19860
|
+
# Amazon-maintained list. This is not the Amazon Web Services
|
19861
|
+
# account alias that can be set using the IAM console. We recommend
|
19862
|
+
# that you use the **Owner** request parameter instead of this
|
19863
|
+
# filter.
|
19863
19864
|
#
|
19864
19865
|
# * `owner-id` - The Amazon Web Services account ID of the owner. We
|
19865
19866
|
# recommend that you use the **Owner** request parameter instead of
|
@@ -38382,7 +38383,8 @@ module Aws::EC2
|
|
38382
38383
|
# @return [String]
|
38383
38384
|
#
|
38384
38385
|
# @!attribute [rw] image_owner_alias
|
38385
|
-
# The owner alias (`amazon` \| `aws-
|
38386
|
+
# The owner alias (`amazon` \| `aws-backup-vault` \|
|
38387
|
+
# `aws-marketplace`).
|
38386
38388
|
# @return [String]
|
38387
38389
|
#
|
38388
38390
|
# @!attribute [rw] name
|
@@ -38484,6 +38486,36 @@ module Aws::EC2
|
|
38484
38486
|
# [1]: http://www.iso.org/iso/iso8601
|
38485
38487
|
# @return [String]
|
38486
38488
|
#
|
38489
|
+
# @!attribute [rw] source_image_id
|
38490
|
+
# The ID of the source AMI from which the AMI was created.
|
38491
|
+
#
|
38492
|
+
# The ID only appears if the AMI was created using CreateImage,
|
38493
|
+
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
38494
|
+
# AMI was created using any other API. For some older AMIs, the ID
|
38495
|
+
# might not be available. For more information, see [Identify the
|
38496
|
+
# source AMI used to create a new AMI][1] in the *Amazon EC2 User
|
38497
|
+
# Guide*.
|
38498
|
+
#
|
38499
|
+
#
|
38500
|
+
#
|
38501
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
38502
|
+
# @return [String]
|
38503
|
+
#
|
38504
|
+
# @!attribute [rw] source_image_region
|
38505
|
+
# The Region of the source AMI.
|
38506
|
+
#
|
38507
|
+
# The Region only appears if the AMI was created using CreateImage,
|
38508
|
+
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
38509
|
+
# the AMI was created using any other API. For some older AMIs, the
|
38510
|
+
# Region might not be available. For more information, see [Identify
|
38511
|
+
# the source AMI used to create a new AMI][1] in the *Amazon EC2 User
|
38512
|
+
# Guide*.
|
38513
|
+
#
|
38514
|
+
#
|
38515
|
+
#
|
38516
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
38517
|
+
# @return [String]
|
38518
|
+
#
|
38487
38519
|
# @!attribute [rw] image_id
|
38488
38520
|
# The ID of the AMI.
|
38489
38521
|
# @return [String]
|
@@ -38562,6 +38594,8 @@ module Aws::EC2
|
|
38562
38594
|
:source_instance_id,
|
38563
38595
|
:deregistration_protection,
|
38564
38596
|
:last_launched_time,
|
38597
|
+
:source_image_id,
|
38598
|
+
:source_image_region,
|
38565
38599
|
:image_id,
|
38566
38600
|
:image_location,
|
38567
38601
|
:state,
|
@@ -38754,7 +38788,7 @@ module Aws::EC2
|
|
38754
38788
|
# @!attribute [rw] image_owner_alias
|
38755
38789
|
# The alias of the AMI owner.
|
38756
38790
|
#
|
38757
|
-
# Valid values: `amazon` \| `aws-marketplace`
|
38791
|
+
# Valid values: `amazon` \| `aws-backup-vault` \| `aws-marketplace`
|
38758
38792
|
# @return [String]
|
38759
38793
|
#
|
38760
38794
|
# @!attribute [rw] creation_date
|
@@ -39465,8 +39499,7 @@ module Aws::EC2
|
|
39465
39499
|
# @return [String]
|
39466
39500
|
#
|
39467
39501
|
# @!attribute [rw] public_key_material
|
39468
|
-
# The public key.
|
39469
|
-
# command line tools, base64 encoding is performed for you.
|
39502
|
+
# The public key.
|
39470
39503
|
# @return [String]
|
39471
39504
|
#
|
39472
39505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPairRequest AWS API Documentation
|
@@ -40090,7 +40123,9 @@ module Aws::EC2
|
|
40090
40123
|
# @return [String]
|
40091
40124
|
#
|
40092
40125
|
# @!attribute [rw] launch_time
|
40093
|
-
# The time the instance was launched.
|
40126
|
+
# The time that the instance was last launched. To determine the time
|
40127
|
+
# that instance was first launched, see the attachment time for the
|
40128
|
+
# primary network interface.
|
40094
40129
|
# @return [Time]
|
40095
40130
|
#
|
40096
40131
|
# @!attribute [rw] placement
|
@@ -59931,7 +59966,11 @@ module Aws::EC2
|
|
59931
59966
|
# @return [String]
|
59932
59967
|
#
|
59933
59968
|
# @!attribute [rw] revoke_all_groups
|
59934
|
-
# Indicates whether access should be revoked for all
|
59969
|
+
# Indicates whether access should be revoked for all groups for a
|
59970
|
+
# single `TargetNetworkCidr` that earlier authorized ingress for all
|
59971
|
+
# groups using `AuthorizeAllGroups`. This does not impact other
|
59972
|
+
# authorization rules that allowed ingress to the same
|
59973
|
+
# `TargetNetworkCidr` with a specific `AccessGroupId`.
|
59935
59974
|
# @return [Boolean]
|
59936
59975
|
#
|
59937
59976
|
# @!attribute [rw] dry_run
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1424,7 +1424,7 @@ module Aws
|
|
1424
1424
|
?on_demand_options: {
|
1425
1425
|
allocation_strategy: ("lowest-price" | "prioritized")?,
|
1426
1426
|
capacity_reservation_options: {
|
1427
|
-
usage_strategy: ("use-capacity-reservations-first"
|
1427
|
+
usage_strategy: ("use-capacity-reservations-first")?
|
1428
1428
|
}?,
|
1429
1429
|
single_instance_type: bool?,
|
1430
1430
|
single_availability_zone: bool?,
|
data/sig/image.rbs
CHANGED
@@ -81,6 +81,12 @@ module Aws
|
|
81
81
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#last_launched_time-instance_method
|
82
82
|
def last_launched_time: () -> ::String
|
83
83
|
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#source_image_id-instance_method
|
85
|
+
def source_image_id: () -> ::String
|
86
|
+
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#source_image_region-instance_method
|
88
|
+
def source_image_region: () -> ::String
|
89
|
+
|
84
90
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#image_location-instance_method
|
85
91
|
def image_location: () -> ::String
|
86
92
|
|
data/sig/types.rbs
CHANGED
@@ -1228,12 +1228,12 @@ module Aws::EC2
|
|
1228
1228
|
end
|
1229
1229
|
|
1230
1230
|
class CapacityReservationOptions
|
1231
|
-
attr_accessor usage_strategy: ("use-capacity-reservations-first"
|
1231
|
+
attr_accessor usage_strategy: ("use-capacity-reservations-first")
|
1232
1232
|
SENSITIVE: []
|
1233
1233
|
end
|
1234
1234
|
|
1235
1235
|
class CapacityReservationOptionsRequest
|
1236
|
-
attr_accessor usage_strategy: ("use-capacity-reservations-first"
|
1236
|
+
attr_accessor usage_strategy: ("use-capacity-reservations-first")
|
1237
1237
|
SENSITIVE: []
|
1238
1238
|
end
|
1239
1239
|
|
@@ -8642,6 +8642,8 @@ module Aws::EC2
|
|
8642
8642
|
attr_accessor source_instance_id: ::String
|
8643
8643
|
attr_accessor deregistration_protection: ::String
|
8644
8644
|
attr_accessor last_launched_time: ::String
|
8645
|
+
attr_accessor source_image_id: ::String
|
8646
|
+
attr_accessor source_image_region: ::String
|
8645
8647
|
attr_accessor image_id: ::String
|
8646
8648
|
attr_accessor image_location: ::String
|
8647
8649
|
attr_accessor state: ("pending" | "available" | "invalid" | "deregistered" | "transient" | "failed" | "error" | "disabled")
|
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.489.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-
|
11
|
+
date: 2024-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|