aws-sdk-ec2 1.486.0 → 1.488.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 +41 -40
- 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 +11 -12
- data/lib/aws-sdk-ec2/types.rb +61 -22
- data/lib/aws-sdk-ec2/vpc.rb +2 -2
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/image.rbs +6 -0
- 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: 285bd62292ca1f25d244da816efccdb4a913fa499c12f55603fd1c016708beb2
|
4
|
+
data.tar.gz: 8b6fbe3c742516ca5d75c819534d718b44d674733d1179f195203b566bee8a45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b48410932c807cc5bf32942022a30ced70d51223a6df90f1ff345e826e4429cde38a7a7065cce00a17bfa5e90a2d93e73923c4739cab54a17cc3df0ef5318ddc
|
7
|
+
data.tar.gz: 90845d6c9594ff6bf61870704d646565d4735aa7ea44b08cf4f65219a4fb645ccbaedf41e186f9523d1414a6f156eea7ed5a6c270ab1a50c00e8e0452d08a290
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.488.0 (2024-11-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the source AMI details in DescribeImages API
|
8
|
+
|
9
|
+
1.487.0 (2024-11-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.486.0 (2024-10-30)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.488.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.
|
@@ -7072,7 +7072,7 @@ module Aws::EC2
|
|
7072
7072
|
# VPC User Guide* or [Transit Gateway Flow Log records][2] in the
|
7073
7073
|
# *Amazon Web Services Transit Gateway Guide*.
|
7074
7074
|
#
|
7075
|
-
# Specify the fields using the
|
7075
|
+
# Specify the fields using the `${field-id}` format, separated by
|
7076
7076
|
# spaces.
|
7077
7077
|
#
|
7078
7078
|
#
|
@@ -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
|
@@ -11849,7 +11847,7 @@ module Aws::EC2
|
|
11849
11847
|
# Constraints: Up to 255 characters in length
|
11850
11848
|
#
|
11851
11849
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
11852
|
-
# .\_-:/()#,@\[\]+=&
|
11850
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
11853
11851
|
#
|
11854
11852
|
# @option params [required, String] :group_name
|
11855
11853
|
# The name of the security group.
|
@@ -11857,7 +11855,7 @@ module Aws::EC2
|
|
11857
11855
|
# Constraints: Up to 255 characters in length. Cannot start with `sg-`.
|
11858
11856
|
#
|
11859
11857
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
11860
|
-
# .\_-:/()#,@\[\]+=&
|
11858
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
11861
11859
|
#
|
11862
11860
|
# @option params [String] :vpc_id
|
11863
11861
|
# The ID of the VPC. Required for a nondefault VPC.
|
@@ -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.488.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
@@ -1162,14 +1162,14 @@ module Aws::EC2
|
|
1162
1162
|
# Constraints: Up to 255 characters in length
|
1163
1163
|
#
|
1164
1164
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
1165
|
-
# .\_-:/()#,@\[\]+=&
|
1165
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
1166
1166
|
# @option options [required, String] :group_name
|
1167
1167
|
# The name of the security group.
|
1168
1168
|
#
|
1169
1169
|
# Constraints: Up to 255 characters in length. Cannot start with `sg-`.
|
1170
1170
|
#
|
1171
1171
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
1172
|
-
# .\_-:/()#,@\[\]+=&
|
1172
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
1173
1173
|
# @option options [String] :vpc_id
|
1174
1174
|
# The ID of the VPC. Required for a nondefault VPC.
|
1175
1175
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -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
|
@@ -8312,7 +8312,7 @@ module Aws::EC2
|
|
8312
8312
|
# VPC User Guide* or [Transit Gateway Flow Log records][2] in the
|
8313
8313
|
# *Amazon Web Services Transit Gateway Guide*.
|
8314
8314
|
#
|
8315
|
-
# Specify the fields using the
|
8315
|
+
# Specify the fields using the `${field-id}` format, separated by
|
8316
8316
|
# spaces.
|
8317
8317
|
#
|
8318
8318
|
#
|
@@ -10835,7 +10835,7 @@ module Aws::EC2
|
|
10835
10835
|
# Constraints: Up to 255 characters in length
|
10836
10836
|
#
|
10837
10837
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
10838
|
-
# .\_-:/()#,@\[\]+=&
|
10838
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
10839
10839
|
# @return [String]
|
10840
10840
|
#
|
10841
10841
|
# @!attribute [rw] group_name
|
@@ -10845,7 +10845,7 @@ module Aws::EC2
|
|
10845
10845
|
# `sg-`.
|
10846
10846
|
#
|
10847
10847
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
10848
|
-
# .\_-:/()#,@\[\]+=&
|
10848
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
10849
10849
|
# @return [String]
|
10850
10850
|
#
|
10851
10851
|
# @!attribute [rw] vpc_id
|
@@ -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
|
@@ -43262,7 +43297,7 @@ module Aws::EC2
|
|
43262
43297
|
# address range.
|
43263
43298
|
#
|
43264
43299
|
# Constraints: Up to 255 characters in length. Allowed characters are
|
43265
|
-
# a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=&
|
43300
|
+
# a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=&;\{}!$*
|
43266
43301
|
# @return [String]
|
43267
43302
|
#
|
43268
43303
|
# @!attribute [rw] cidr_ip
|
@@ -44928,7 +44963,7 @@ module Aws::EC2
|
|
44928
44963
|
# address range.
|
44929
44964
|
#
|
44930
44965
|
# Constraints: Up to 255 characters in length. Allowed characters are
|
44931
|
-
# a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=&
|
44966
|
+
# a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=&;\{}!$*
|
44932
44967
|
# @return [String]
|
44933
44968
|
#
|
44934
44969
|
# @!attribute [rw] cidr_ipv_6
|
@@ -55387,7 +55422,7 @@ module Aws::EC2
|
|
55387
55422
|
# prefix list ID.
|
55388
55423
|
#
|
55389
55424
|
# Constraints: Up to 255 characters in length. Allowed characters are
|
55390
|
-
# a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]
|
55425
|
+
# a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=;\{}!$*
|
55391
55426
|
# @return [String]
|
55392
55427
|
#
|
55393
55428
|
# @!attribute [rw] prefix_list_id
|
@@ -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
|
@@ -68245,7 +68284,7 @@ module Aws::EC2
|
|
68245
68284
|
# ID group pair.
|
68246
68285
|
#
|
68247
68286
|
# Constraints: Up to 255 characters in length. Allowed characters are
|
68248
|
-
# a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]
|
68287
|
+
# a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=;\{}!$*
|
68249
68288
|
# @return [String]
|
68250
68289
|
#
|
68251
68290
|
# @!attribute [rw] user_id
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -470,14 +470,14 @@ module Aws::EC2
|
|
470
470
|
# Constraints: Up to 255 characters in length
|
471
471
|
#
|
472
472
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
473
|
-
# .\_-:/()#,@\[\]+=&
|
473
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
474
474
|
# @option options [required, String] :group_name
|
475
475
|
# The name of the security group.
|
476
476
|
#
|
477
477
|
# Constraints: Up to 255 characters in length. Cannot start with `sg-`.
|
478
478
|
#
|
479
479
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
480
|
-
# .\_-:/()#,@\[\]+=&
|
480
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
481
481
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
482
482
|
# The tags to assign to the security group.
|
483
483
|
# @option options [Boolean] :dry_run
|
data/lib/aws-sdk-ec2.rb
CHANGED
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
@@ -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.488.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-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|