aws-sdk-ec2 1.355.0 → 1.356.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d97645d2defb5677269d063c3d87d03876fbc0351827646364580c038d3a4958
4
- data.tar.gz: 9d8917a1da1d754a30448c973365d705b53333bba34c92a85a43674d5e265655
3
+ metadata.gz: c487729ebc3fa654bea92fd240a11240856928f6d514344199d7c08f83552b46
4
+ data.tar.gz: 62a0815d15a4d46fb27518d6f9320d81443e32d96a29422d59f8d9bb85d264f0
5
5
  SHA512:
6
- metadata.gz: 11f6f36e3f483649bd5fe670e71d8fe91d8f646a732576cfa190b750c232e6d9a28fe3aa92c038f2dcff92391d25661115bb4ab75f293f79459582090f3a5da0
7
- data.tar.gz: 51e1aec955fe843f89ee46b957a0bd236fcc95d088ecf77e1595387add9edf02afc40b7e0ed26071124c8843d3b16945677bc43eb5d93b8a5b10ae5c58f12bfe
6
+ metadata.gz: 74debc28588f84a691b58ff6405341ae78771b44e9e333b1cd124bcf454a2637fe735246546db2506b9b43156af6384b32e28de6d89eae5b21f3880e57ad92dd
7
+ data.tar.gz: 562bfcfa054304652558844f8ba2e5447f67d0898f44281a4f3c5d8245e54c8e1e5b38f591254e342a64193baae656e3b36428c5755124a1d9fe092dfc7c860a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.356.0 (2022-12-20)
5
+ ------------------
6
+
7
+ * Feature - Adds support for pagination in the EC2 DescribeImages API.
8
+
4
9
  1.355.0 (2022-12-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.355.0
1
+ 1.356.0
@@ -3737,8 +3737,8 @@ module Aws::EC2
3737
3737
 
3738
3738
  # Removes your Amazon Web Services account from the launch permissions
3739
3739
  # for the specified AMI. For more information, see [Cancel having an AMI
3740
- # shared with your Amazon Web Services account][1] in the *Amazon
3741
- # Elastic Compute Cloud User Guide*.
3740
+ # shared with your Amazon Web Services account][1] in the *Amazon EC2
3741
+ # User Guide*.
3742
3742
  #
3743
3743
  #
3744
3744
  #
@@ -4173,11 +4173,10 @@ module Aws::EC2
4173
4173
  # encryption key for the Region, or a different key that you specify in
4174
4174
  # the request using **KmsKeyId**. Outposts do not support unencrypted
4175
4175
  # snapshots. For more information, [ Amazon EBS local snapshots on
4176
- # Outposts][2] in the *Amazon Elastic Compute Cloud User Guide*.
4176
+ # Outposts][2] in the *Amazon EC2 User Guide*.
4177
4177
  #
4178
4178
  # For more information about the prerequisites and limits when copying
4179
- # an AMI, see [Copy an AMI][3] in the *Amazon Elastic Compute Cloud User
4180
- # Guide*.
4179
+ # an AMI, see [Copy an AMI][3] in the *Amazon EC2 User Guide*.
4181
4180
  #
4182
4181
  #
4183
4182
  #
@@ -4203,8 +4202,8 @@ module Aws::EC2
4203
4202
  # you cannot create an unencrypted copy of an encrypted snapshot. The
4204
4203
  # default KMS key for Amazon EBS is used unless you specify a
4205
4204
  # non-default Key Management Service (KMS) KMS key using `KmsKeyId`. For
4206
- # more information, see [Amazon EBS encryption][1] in the *Amazon
4207
- # Elastic Compute Cloud User Guide*.
4205
+ # more information, see [Amazon EBS encryption][1] in the *Amazon EC2
4206
+ # User Guide*.
4208
4207
  #
4209
4208
  #
4210
4209
  #
@@ -4254,8 +4253,7 @@ module Aws::EC2
4254
4253
  # Region, from one Outpost to another, or within the same Outpost.
4255
4254
  #
4256
4255
  # For more information, see [ Copy AMIs from an Amazon Web Services
4257
- # Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
4258
- # Guide*.
4256
+ # Region to an Outpost][1] in the *Amazon EC2 User Guide*.
4259
4257
  #
4260
4258
  #
4261
4259
  #
@@ -10264,10 +10262,10 @@ module Aws::EC2
10264
10262
  #
10265
10263
  # To use this API, you must have the required permissions. For more
10266
10264
  # information, see [Permissions for storing and restoring AMIs using
10267
- # Amazon S3][2] in the *Amazon Elastic Compute Cloud User Guide*.
10265
+ # Amazon S3][2] in the *Amazon EC2 User Guide*.
10268
10266
  #
10269
10267
  # For more information, see [Store and restore an AMI using Amazon
10270
- # S3][3] in the *Amazon Elastic Compute Cloud User Guide*.
10268
+ # S3][3] in the *Amazon EC2 User Guide*.
10271
10269
  #
10272
10270
  #
10273
10271
  #
@@ -11103,10 +11101,10 @@ module Aws::EC2
11103
11101
  #
11104
11102
  # To use this API, you must have the required permissions. For more
11105
11103
  # information, see [Permissions for storing and restoring AMIs using
11106
- # Amazon S3][1] in the *Amazon Elastic Compute Cloud User Guide*.
11104
+ # Amazon S3][1] in the *Amazon EC2 User Guide*.
11107
11105
  #
11108
11106
  # For more information, see [Store and restore an AMI using Amazon
11109
- # S3][2] in the *Amazon Elastic Compute Cloud User Guide*.
11107
+ # S3][2] in the *Amazon EC2 User Guide*.
11110
11108
  #
11111
11109
  #
11112
11110
  #
@@ -18152,8 +18150,8 @@ module Aws::EC2
18152
18150
  #
18153
18151
  # If you deregister an AMI that matches a Recycle Bin retention rule,
18154
18152
  # the AMI is retained in the Recycle Bin for the specified retention
18155
- # period. For more information, see [Recycle Bin][1] in the *Amazon
18156
- # Elastic Compute Cloud User Guide*.
18153
+ # period. For more information, see [Recycle Bin][1] in the *Amazon EC2
18154
+ # User Guide*.
18157
18155
  #
18158
18156
  # When you deregister an AMI, it doesn't affect any instances that
18159
18157
  # you've already launched from the AMI. You'll continue to incur usage
@@ -22459,9 +22457,20 @@ module Aws::EC2
22459
22457
  # If you have the required permissions, the error response is
22460
22458
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22461
22459
  #
22460
+ # @option params [Integer] :max_results
22461
+ # The maximum number of results to return with a single call. To
22462
+ # retrieve the remaining results, make another call with the returned
22463
+ # `nextToken` value.
22464
+ #
22465
+ # @option params [String] :next_token
22466
+ # The token for the next page of results.
22467
+ #
22462
22468
  # @return [Types::DescribeImagesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
22463
22469
  #
22464
22470
  # * {Types::DescribeImagesResult#images #images} => Array<Types::Image>
22471
+ # * {Types::DescribeImagesResult#next_token #next_token} => String
22472
+ #
22473
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
22465
22474
  #
22466
22475
  #
22467
22476
  # @example Example: To describe an AMI
@@ -22521,6 +22530,8 @@ module Aws::EC2
22521
22530
  # owners: ["String"],
22522
22531
  # include_deprecated: false,
22523
22532
  # dry_run: false,
22533
+ # max_results: 1,
22534
+ # next_token: "String",
22524
22535
  # })
22525
22536
  #
22526
22537
  # @example Response structure
@@ -22573,6 +22584,7 @@ module Aws::EC2
22573
22584
  # resp.images[0].tpm_support #=> String, one of "v2.0"
22574
22585
  # resp.images[0].deprecation_time #=> String
22575
22586
  # resp.images[0].imds_support #=> String, one of "v2.0"
22587
+ # resp.next_token #=> String
22576
22588
  #
22577
22589
  #
22578
22590
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -31379,10 +31391,10 @@ module Aws::EC2
31379
31391
  #
31380
31392
  # To use this API, you must have the required permissions. For more
31381
31393
  # information, see [Permissions for storing and restoring AMIs using
31382
- # Amazon S3][1] in the *Amazon Elastic Compute Cloud User Guide*.
31394
+ # Amazon S3][1] in the *Amazon EC2 User Guide*.
31383
31395
  #
31384
31396
  # For more information, see [Store and restore an AMI using Amazon
31385
- # S3][2] in the *Amazon Elastic Compute Cloud User Guide*.
31397
+ # S3][2] in the *Amazon EC2 User Guide*.
31386
31398
  #
31387
31399
  #
31388
31400
  #
@@ -35738,8 +35750,8 @@ module Aws::EC2
35738
35750
  # resp = client.detach_volume({
35739
35751
  # device: "String",
35740
35752
  # force: false,
35741
- # instance_id: "InstanceId",
35742
- # volume_id: "VolumeId", # required
35753
+ # instance_id: "InstanceIdForResolver",
35754
+ # volume_id: "VolumeIdWithResolver", # required
35743
35755
  # dry_run: false,
35744
35756
  # })
35745
35757
  #
@@ -36071,8 +36083,8 @@ module Aws::EC2
36071
36083
 
36072
36084
  # Cancels the deprecation of the specified AMI.
36073
36085
  #
36074
- # For more information, see [Deprecate an AMI][1] in the *Amazon Elastic
36075
- # Compute Cloud User Guide*.
36086
+ # For more information, see [Deprecate an AMI][1] in the *Amazon EC2
36087
+ # User Guide*.
36076
36088
  #
36077
36089
  #
36078
36090
  #
@@ -37323,8 +37335,8 @@ module Aws::EC2
37323
37335
  # Enables deprecation of the specified AMI at the specified date and
37324
37336
  # time.
37325
37337
  #
37326
- # For more information, see [Deprecate an AMI][1] in the *Amazon Elastic
37327
- # Compute Cloud User Guide*.
37338
+ # For more information, see [Deprecate an AMI][1] in the *Amazon EC2
37339
+ # User Guide*.
37328
37340
  #
37329
37341
  #
37330
37342
  #
@@ -41908,8 +41920,7 @@ module Aws::EC2
41908
41920
  end
41909
41921
 
41910
41922
  # Lists one or more AMIs that are currently in the Recycle Bin. For more
41911
- # information, see [Recycle Bin][1] in the Amazon Elastic Compute Cloud
41912
- # User Guide.
41923
+ # information, see [Recycle Bin][1] in the *Amazon EC2 User Guide*.
41913
41924
  #
41914
41925
  #
41915
41926
  #
@@ -48469,7 +48480,7 @@ module Aws::EC2
48469
48480
  # code, the Reserved Instance will not be applied to the On-Demand
48470
48481
  # Instance. For information about how to obtain the platform details and
48471
48482
  # billing information of an AMI, see [Understand AMI billing
48472
- # information][4] in the *Amazon Elastic Compute Cloud User Guide*.
48483
+ # information][4] in the *Amazon EC2 User Guide*.
48473
48484
  #
48474
48485
  #
48475
48486
  #
@@ -48503,9 +48514,8 @@ module Aws::EC2
48503
48514
  # If you create an AMI on an Outpost, then all backing snapshots must be
48504
48515
  # on the same Outpost or in the Region of that Outpost. AMIs on an
48505
48516
  # Outpost that include local snapshots can be used to launch instances
48506
- # on the same Outpost only. For more information, [ Amazon EBS local
48507
- # snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
48508
- # Guide*.
48517
+ # on the same Outpost only. For more information, [Amazon EBS local
48518
+ # snapshots on Outposts][1] in the *Amazon EC2 User Guide*.
48509
48519
  #
48510
48520
  #
48511
48521
  #
@@ -48539,8 +48549,19 @@ module Aws::EC2
48539
48549
  #
48540
48550
  # @option params [Array<String>] :billing_products
48541
48551
  # The billing product codes. Your account must be authorized to specify
48542
- # billing product codes. Otherwise, you can use the Amazon Web Services
48543
- # Marketplace to bill for the use of an AMI.
48552
+ # billing product codes.
48553
+ #
48554
+ # If your account is not authorized to specify billing product codes,
48555
+ # you can publish AMIs that include billable software and list them on
48556
+ # the Amazon Web Services Marketplace. You must first register as a
48557
+ # seller on the Amazon Web Services Marketplace. For more information,
48558
+ # see [Getting started as a seller][1] and [AMI-based products][2] in
48559
+ # the *Amazon Web Services Marketplace Seller Guide*.
48560
+ #
48561
+ #
48562
+ #
48563
+ # [1]: https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html
48564
+ # [2]: https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html
48544
48565
  #
48545
48566
  # @option params [String] :ramdisk_id
48546
48567
  # The ID of the RAM disk.
@@ -48565,7 +48586,7 @@ module Aws::EC2
48565
48586
  #
48566
48587
  # @option params [String] :boot_mode
48567
48588
  # The boot mode of the AMI. For more information, see [Boot modes][1] in
48568
- # the *Amazon Elastic Compute Cloud User Guide*.
48589
+ # the *Amazon EC2 User Guide*.
48569
48590
  #
48570
48591
  #
48571
48592
  #
@@ -48573,8 +48594,7 @@ module Aws::EC2
48573
48594
  #
48574
48595
  # @option params [String] :tpm_support
48575
48596
  # Set to `v2.0` to enable Trusted Platform Module (TPM) support. For
48576
- # more information, see [NitroTPM][1] in the *Amazon Elastic Compute
48577
- # Cloud User Guide*.
48597
+ # more information, see [NitroTPM][1] in the *Amazon EC2 User Guide*.
48578
48598
  #
48579
48599
  #
48580
48600
  #
@@ -48585,7 +48605,7 @@ module Aws::EC2
48585
48605
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
48586
48606
  # can inspect and modify the UEFI data by using the [python-uefivars
48587
48607
  # tool][2] on GitHub. For more information, see [UEFI Secure Boot][3] in
48588
- # the *Amazon Elastic Compute Cloud User Guide*.
48608
+ # the *Amazon EC2 User Guide*.
48589
48609
  #
48590
48610
  #
48591
48611
  #
@@ -48599,8 +48619,7 @@ module Aws::EC2
48599
48619
  # set to `required` so that, by default, the instance requires that
48600
48620
  # IMDSv2 is used when requesting instance metadata. In addition,
48601
48621
  # `HttpPutResponseHopLimit` is set to `2`. For more information, see
48602
- # [Configure the AMI][1] in the *Amazon Elastic Compute Cloud User
48603
- # Guide*.
48622
+ # [Configure the AMI][1] in the *Amazon EC2 User Guide*.
48604
48623
  #
48605
48624
  # <note markdown="1"> If you set the value to `v2.0`, make sure that your AMI software can
48606
48625
  # support IMDSv2.
@@ -51105,7 +51124,7 @@ module Aws::EC2
51105
51124
  end
51106
51125
 
51107
51126
  # Restores an AMI from the Recycle Bin. For more information, see
51108
- # [Recycle Bin][1] in the Amazon Elastic Compute Cloud User Guide.
51127
+ # [Recycle Bin][1] in the *Amazon EC2 User Guide*.
51109
51128
  #
51110
51129
  #
51111
51130
  #
@@ -54762,7 +54781,7 @@ module Aws::EC2
54762
54781
  params: params,
54763
54782
  config: config)
54764
54783
  context[:gem_name] = 'aws-sdk-ec2'
54765
- context[:gem_version] = '1.355.0'
54784
+ context[:gem_version] = '1.356.0'
54766
54785
  Seahorse::Client::Request.new(handlers, context)
54767
54786
  end
54768
54787
 
@@ -1560,6 +1560,7 @@ module Aws::EC2
1560
1560
  InstanceGenerationSet = Shapes::ListShape.new(name: 'InstanceGenerationSet')
1561
1561
  InstanceHealthStatus = Shapes::StringShape.new(name: 'InstanceHealthStatus')
1562
1562
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
1563
+ InstanceIdForResolver = Shapes::StringShape.new(name: 'InstanceIdForResolver')
1563
1564
  InstanceIdList = Shapes::ListShape.new(name: 'InstanceIdList')
1564
1565
  InstanceIdSet = Shapes::ListShape.new(name: 'InstanceIdSet')
1565
1566
  InstanceIdStringList = Shapes::ListShape.new(name: 'InstanceIdStringList')
@@ -2830,6 +2831,7 @@ module Aws::EC2
2830
2831
  VolumeDetail = Shapes::StructureShape.new(name: 'VolumeDetail')
2831
2832
  VolumeId = Shapes::StringShape.new(name: 'VolumeId')
2832
2833
  VolumeIdStringList = Shapes::ListShape.new(name: 'VolumeIdStringList')
2834
+ VolumeIdWithResolver = Shapes::StringShape.new(name: 'VolumeIdWithResolver')
2833
2835
  VolumeList = Shapes::ListShape.new(name: 'VolumeList')
2834
2836
  VolumeModification = Shapes::StructureShape.new(name: 'VolumeModification')
2835
2837
  VolumeModificationList = Shapes::ListShape.new(name: 'VolumeModificationList')
@@ -6200,9 +6202,12 @@ module Aws::EC2
6200
6202
  DescribeImagesRequest.add_member(:owners, Shapes::ShapeRef.new(shape: OwnerStringList, location_name: "Owner"))
6201
6203
  DescribeImagesRequest.add_member(:include_deprecated, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeDeprecated"))
6202
6204
  DescribeImagesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6205
+ DescribeImagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
6206
+ DescribeImagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
6203
6207
  DescribeImagesRequest.struct_class = Types::DescribeImagesRequest
6204
6208
 
6205
6209
  DescribeImagesResult.add_member(:images, Shapes::ShapeRef.new(shape: ImageList, location_name: "imagesSet"))
6210
+ DescribeImagesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
6206
6211
  DescribeImagesResult.struct_class = Types::DescribeImagesResult
6207
6212
 
6208
6213
  DescribeImportImageTasksRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -7335,8 +7340,8 @@ module Aws::EC2
7335
7340
 
7336
7341
  DetachVolumeRequest.add_member(:device, Shapes::ShapeRef.new(shape: String, location_name: "Device"))
7337
7342
  DetachVolumeRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
7338
- DetachVolumeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
7339
- DetachVolumeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
7343
+ DetachVolumeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdForResolver, location_name: "InstanceId"))
7344
+ DetachVolumeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeIdWithResolver, required: true, location_name: "VolumeId"))
7340
7345
  DetachVolumeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
7341
7346
  DetachVolumeRequest.struct_class = Types::DetachVolumeRequest
7342
7347
 
@@ -16629,6 +16634,12 @@ module Aws::EC2
16629
16634
  o.http_request_uri = "/"
16630
16635
  o.input = Shapes::ShapeRef.new(shape: DescribeImagesRequest)
16631
16636
  o.output = Shapes::ShapeRef.new(shape: DescribeImagesResult)
16637
+ o[:pager] = Aws::Pager.new(
16638
+ limit_key: "max_results",
16639
+ tokens: {
16640
+ "next_token" => "next_token"
16641
+ }
16642
+ )
16632
16643
  end)
16633
16644
 
16634
16645
  api.add_operation(:describe_import_image_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -89,7 +89,7 @@ module Aws::EC2
89
89
 
90
90
  # The platform details associated with the billing code of the AMI. For
91
91
  # more information, see [Understand AMI billing information][1] in the
92
- # *Amazon Elastic Compute Cloud User Guide*.
92
+ # *Amazon EC2 User Guide*.
93
93
  #
94
94
  #
95
95
  #
@@ -215,7 +215,7 @@ module Aws::EC2
215
215
  end
216
216
 
217
217
  # The boot mode of the image. For more information, see [Boot modes][1]
218
- # in the *Amazon Elastic Compute Cloud User Guide*.
218
+ # in the *Amazon EC2 User Guide*.
219
219
  #
220
220
  #
221
221
  #
@@ -226,8 +226,8 @@ module Aws::EC2
226
226
  end
227
227
 
228
228
  # If the image is configured for NitroTPM support, the value is `v2.0`.
229
- # For more information, see [NitroTPM][1] in the *Amazon Elastic Compute
230
- # Cloud User Guide*.
229
+ # For more information, see [NitroTPM][1] in the *Amazon EC2 User
230
+ # Guide*.
231
231
  #
232
232
  #
233
233
  #
@@ -250,8 +250,7 @@ module Aws::EC2
250
250
  # `required` so that, by default, the instance requires that IMDSv2 is
251
251
  # used when requesting instance metadata. In addition,
252
252
  # `HttpPutResponseHopLimit` is set to `2`. For more information, see
253
- # [Configure the AMI][1] in the *Amazon Elastic Compute Cloud User
254
- # Guide*.
253
+ # [Configure the AMI][1] in the *Amazon EC2 User Guide*.
255
254
  #
256
255
  #
257
256
  #
@@ -930,7 +930,7 @@ module Aws::EC2
930
930
  # instance.detach_volume({
931
931
  # device: "String",
932
932
  # force: false,
933
- # volume_id: "VolumeId", # required
933
+ # volume_id: "VolumeIdWithResolver", # required
934
934
  # dry_run: false,
935
935
  # })
936
936
  # @param [Hash] options ({})
@@ -1769,9 +1769,8 @@ module Aws::EC2
1769
1769
  # If you create an AMI on an Outpost, then all backing snapshots must be
1770
1770
  # on the same Outpost or in the Region of that Outpost. AMIs on an
1771
1771
  # Outpost that include local snapshots can be used to launch instances
1772
- # on the same Outpost only. For more information, [ Amazon EBS local
1773
- # snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
1774
- # Guide*.
1772
+ # on the same Outpost only. For more information, [Amazon EBS local
1773
+ # snapshots on Outposts][1] in the *Amazon EC2 User Guide*.
1775
1774
  #
1776
1775
  #
1777
1776
  #
@@ -1799,8 +1798,19 @@ module Aws::EC2
1799
1798
  # single quotes ('), at-signs (@), or underscores(\_)
1800
1799
  # @option options [Array<String>] :billing_products
1801
1800
  # The billing product codes. Your account must be authorized to specify
1802
- # billing product codes. Otherwise, you can use the Amazon Web Services
1803
- # Marketplace to bill for the use of an AMI.
1801
+ # billing product codes.
1802
+ #
1803
+ # If your account is not authorized to specify billing product codes,
1804
+ # you can publish AMIs that include billable software and list them on
1805
+ # the Amazon Web Services Marketplace. You must first register as a
1806
+ # seller on the Amazon Web Services Marketplace. For more information,
1807
+ # see [Getting started as a seller][1] and [AMI-based products][2] in
1808
+ # the *Amazon Web Services Marketplace Seller Guide*.
1809
+ #
1810
+ #
1811
+ #
1812
+ # [1]: https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html
1813
+ # [2]: https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html
1804
1814
  # @option options [String] :ramdisk_id
1805
1815
  # The ID of the RAM disk.
1806
1816
  # @option options [String] :root_device_name
@@ -1820,15 +1830,14 @@ module Aws::EC2
1820
1830
  # Default: `paravirtual`
1821
1831
  # @option options [String] :boot_mode
1822
1832
  # The boot mode of the AMI. For more information, see [Boot modes][1] in
1823
- # the *Amazon Elastic Compute Cloud User Guide*.
1833
+ # the *Amazon EC2 User Guide*.
1824
1834
  #
1825
1835
  #
1826
1836
  #
1827
1837
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
1828
1838
  # @option options [String] :tpm_support
1829
1839
  # Set to `v2.0` to enable Trusted Platform Module (TPM) support. For
1830
- # more information, see [NitroTPM][1] in the *Amazon Elastic Compute
1831
- # Cloud User Guide*.
1840
+ # more information, see [NitroTPM][1] in the *Amazon EC2 User Guide*.
1832
1841
  #
1833
1842
  #
1834
1843
  #
@@ -1838,7 +1847,7 @@ module Aws::EC2
1838
1847
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
1839
1848
  # can inspect and modify the UEFI data by using the [python-uefivars
1840
1849
  # tool][2] on GitHub. For more information, see [UEFI Secure Boot][3] in
1841
- # the *Amazon Elastic Compute Cloud User Guide*.
1850
+ # the *Amazon EC2 User Guide*.
1842
1851
  #
1843
1852
  #
1844
1853
  #
@@ -1851,8 +1860,7 @@ module Aws::EC2
1851
1860
  # set to `required` so that, by default, the instance requires that
1852
1861
  # IMDSv2 is used when requesting instance metadata. In addition,
1853
1862
  # `HttpPutResponseHopLimit` is set to `2`. For more information, see
1854
- # [Configure the AMI][1] in the *Amazon Elastic Compute Cloud User
1855
- # Guide*.
1863
+ # [Configure the AMI][1] in the *Amazon EC2 User Guide*.
1856
1864
  #
1857
1865
  # <note markdown="1"> If you set the value to `v2.0`, make sure that your AMI software can
1858
1866
  # support IMDSv2.
@@ -2192,16 +2200,18 @@ module Aws::EC2
2192
2200
  # @return [Image::Collection]
2193
2201
  def images(options = {})
2194
2202
  batches = Enumerator.new do |y|
2195
- batch = []
2196
2203
  resp = @client.describe_images(options)
2197
- resp.data.images.each do |i|
2198
- batch << Image.new(
2199
- id: i.image_id,
2200
- data: i,
2201
- client: @client
2202
- )
2204
+ resp.each_page do |page|
2205
+ batch = []
2206
+ page.data.images.each do |i|
2207
+ batch << Image.new(
2208
+ id: i.image_id,
2209
+ data: i,
2210
+ client: @client
2211
+ )
2212
+ end
2213
+ y.yield(batch)
2203
2214
  end
2204
- y.yield(batch)
2205
2215
  end
2206
2216
  Image::Collection.new(batches)
2207
2217
  end
@@ -5719,7 +5719,7 @@ module Aws::EC2
5719
5719
  # snapshot. The default KMS key for Amazon EBS is used unless you
5720
5720
  # specify a non-default Key Management Service (KMS) KMS key using
5721
5721
  # `KmsKeyId`. For more information, see [Amazon EBS encryption][1] in
5722
- # the *Amazon Elastic Compute Cloud User Guide*.
5722
+ # the *Amazon EC2 User Guide*.
5723
5723
  #
5724
5724
  #
5725
5725
  #
@@ -5774,8 +5774,7 @@ module Aws::EC2
5774
5774
  # Region, from one Outpost to another, or within the same Outpost.
5775
5775
  #
5776
5776
  # For more information, see [ Copy AMIs from an Amazon Web Services
5777
- # Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
5778
- # Guide*.
5777
+ # Region to an Outpost][1] in the *Amazon EC2 User Guide*.
5779
5778
  #
5780
5779
  #
5781
5780
  #
@@ -18031,6 +18030,16 @@ module Aws::EC2
18031
18030
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18032
18031
  # @return [Boolean]
18033
18032
  #
18033
+ # @!attribute [rw] max_results
18034
+ # The maximum number of results to return with a single call. To
18035
+ # retrieve the remaining results, make another call with the returned
18036
+ # `nextToken` value.
18037
+ # @return [Integer]
18038
+ #
18039
+ # @!attribute [rw] next_token
18040
+ # The token for the next page of results.
18041
+ # @return [String]
18042
+ #
18034
18043
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesRequest AWS API Documentation
18035
18044
  #
18036
18045
  class DescribeImagesRequest < Struct.new(
@@ -18039,7 +18048,9 @@ module Aws::EC2
18039
18048
  :image_ids,
18040
18049
  :owners,
18041
18050
  :include_deprecated,
18042
- :dry_run)
18051
+ :dry_run,
18052
+ :max_results,
18053
+ :next_token)
18043
18054
  SENSITIVE = []
18044
18055
  include Aws::Structure
18045
18056
  end
@@ -18048,10 +18059,16 @@ module Aws::EC2
18048
18059
  # Information about the images.
18049
18060
  # @return [Array<Types::Image>]
18050
18061
  #
18062
+ # @!attribute [rw] next_token
18063
+ # The token to use to retrieve the next page of results. This value is
18064
+ # `null` when there are no more results to return.
18065
+ # @return [String]
18066
+ #
18051
18067
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesResult AWS API Documentation
18052
18068
  #
18053
18069
  class DescribeImagesResult < Struct.new(
18054
- :images)
18070
+ :images,
18071
+ :next_token)
18055
18072
  SENSITIVE = []
18056
18073
  include Aws::Structure
18057
18074
  end
@@ -33831,7 +33848,7 @@ module Aws::EC2
33831
33848
  # @!attribute [rw] platform_details
33832
33849
  # The platform details associated with the billing code of the AMI.
33833
33850
  # For more information, see [Understand AMI billing information][1] in
33834
- # the *Amazon Elastic Compute Cloud User Guide*.
33851
+ # the *Amazon EC2 User Guide*.
33835
33852
  #
33836
33853
  #
33837
33854
  #
@@ -33924,7 +33941,7 @@ module Aws::EC2
33924
33941
  #
33925
33942
  # @!attribute [rw] boot_mode
33926
33943
  # The boot mode of the image. For more information, see [Boot
33927
- # modes][1] in the *Amazon Elastic Compute Cloud User Guide*.
33944
+ # modes][1] in the *Amazon EC2 User Guide*.
33928
33945
  #
33929
33946
  #
33930
33947
  #
@@ -33933,8 +33950,8 @@ module Aws::EC2
33933
33950
  #
33934
33951
  # @!attribute [rw] tpm_support
33935
33952
  # If the image is configured for NitroTPM support, the value is
33936
- # `v2.0`. For more information, see [NitroTPM][1] in the *Amazon
33937
- # Elastic Compute Cloud User Guide*.
33953
+ # `v2.0`. For more information, see [NitroTPM][1] in the *Amazon EC2
33954
+ # User Guide*.
33938
33955
  #
33939
33956
  #
33940
33957
  #
@@ -33953,8 +33970,8 @@ module Aws::EC2
33953
33970
  # automatically set to `required` so that, by default, the instance
33954
33971
  # requires that IMDSv2 is used when requesting instance metadata. In
33955
33972
  # addition, `HttpPutResponseHopLimit` is set to `2`. For more
33956
- # information, see [Configure the AMI][1] in the *Amazon Elastic
33957
- # Compute Cloud User Guide*.
33973
+ # information, see [Configure the AMI][1] in the *Amazon EC2 User
33974
+ # Guide*.
33958
33975
  #
33959
33976
  #
33960
33977
  #
@@ -34047,7 +34064,7 @@ module Aws::EC2
34047
34064
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
34048
34065
  # You can inspect and modify the UEFI data by using the
34049
34066
  # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
34050
- # Secure Boot][3] in the *Amazon Elastic Compute Cloud User Guide*.
34067
+ # Secure Boot][3] in the *Amazon EC2 User Guide*.
34051
34068
  #
34052
34069
  #
34053
34070
  #
@@ -34077,8 +34094,8 @@ module Aws::EC2
34077
34094
  # automatically set to `required` so that, by default, the instance
34078
34095
  # requires that IMDSv2 is used when requesting instance metadata. In
34079
34096
  # addition, `HttpPutResponseHopLimit` is set to `2`. For more
34080
- # information, see [Configure the AMI][1] in the *Amazon Elastic
34081
- # Compute Cloud User Guide*.
34097
+ # information, see [Configure the AMI][1] in the *Amazon EC2 User
34098
+ # Guide*.
34082
34099
  #
34083
34100
  #
34084
34101
  #
@@ -49223,9 +49240,8 @@ module Aws::EC2
49223
49240
  # If you create an AMI on an Outpost, then all backing snapshots must
49224
49241
  # be on the same Outpost or in the Region of that Outpost. AMIs on an
49225
49242
  # Outpost that include local snapshots can be used to launch instances
49226
- # on the same Outpost only. For more information, [ Amazon EBS local
49227
- # snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
49228
- # Guide*.
49243
+ # on the same Outpost only. For more information, [Amazon EBS local
49244
+ # snapshots on Outposts][1] in the *Amazon EC2 User Guide*.
49229
49245
  #
49230
49246
  #
49231
49247
  #
@@ -49265,8 +49281,19 @@ module Aws::EC2
49265
49281
  #
49266
49282
  # @!attribute [rw] billing_products
49267
49283
  # The billing product codes. Your account must be authorized to
49268
- # specify billing product codes. Otherwise, you can use the Amazon Web
49269
- # Services Marketplace to bill for the use of an AMI.
49284
+ # specify billing product codes.
49285
+ #
49286
+ # If your account is not authorized to specify billing product codes,
49287
+ # you can publish AMIs that include billable software and list them on
49288
+ # the Amazon Web Services Marketplace. You must first register as a
49289
+ # seller on the Amazon Web Services Marketplace. For more information,
49290
+ # see [Getting started as a seller][1] and [AMI-based products][2] in
49291
+ # the *Amazon Web Services Marketplace Seller Guide*.
49292
+ #
49293
+ #
49294
+ #
49295
+ # [1]: https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html
49296
+ # [2]: https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html
49270
49297
  # @return [Array<String>]
49271
49298
  #
49272
49299
  # @!attribute [rw] ramdisk_id
@@ -49297,7 +49324,7 @@ module Aws::EC2
49297
49324
  #
49298
49325
  # @!attribute [rw] boot_mode
49299
49326
  # The boot mode of the AMI. For more information, see [Boot modes][1]
49300
- # in the *Amazon Elastic Compute Cloud User Guide*.
49327
+ # in the *Amazon EC2 User Guide*.
49301
49328
  #
49302
49329
  #
49303
49330
  #
@@ -49306,8 +49333,7 @@ module Aws::EC2
49306
49333
  #
49307
49334
  # @!attribute [rw] tpm_support
49308
49335
  # Set to `v2.0` to enable Trusted Platform Module (TPM) support. For
49309
- # more information, see [NitroTPM][1] in the *Amazon Elastic Compute
49310
- # Cloud User Guide*.
49336
+ # more information, see [NitroTPM][1] in the *Amazon EC2 User Guide*.
49311
49337
  #
49312
49338
  #
49313
49339
  #
@@ -49319,7 +49345,7 @@ module Aws::EC2
49319
49345
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
49320
49346
  # You can inspect and modify the UEFI data by using the
49321
49347
  # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
49322
- # Secure Boot][3] in the *Amazon Elastic Compute Cloud User Guide*.
49348
+ # Secure Boot][3] in the *Amazon EC2 User Guide*.
49323
49349
  #
49324
49350
  #
49325
49351
  #
@@ -49334,8 +49360,8 @@ module Aws::EC2
49334
49360
  # automatically set to `required` so that, by default, the instance
49335
49361
  # requires that IMDSv2 is used when requesting instance metadata. In
49336
49362
  # addition, `HttpPutResponseHopLimit` is set to `2`. For more
49337
- # information, see [Configure the AMI][1] in the *Amazon Elastic
49338
- # Compute Cloud User Guide*.
49363
+ # information, see [Configure the AMI][1] in the *Amazon EC2 User
49364
+ # Guide*.
49339
49365
  #
49340
49366
  # <note markdown="1"> If you set the value to `v2.0`, make sure that your AMI software can
49341
49367
  # support IMDSv2.
@@ -550,7 +550,7 @@ module Aws::EC2
550
550
  # volume.detach_from_instance({
551
551
  # device: "String",
552
552
  # force: false,
553
- # instance_id: "InstanceId",
553
+ # instance_id: "InstanceIdForResolver",
554
554
  # dry_run: false,
555
555
  # })
556
556
  # @param [Hash] options ({})
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.355.0'
79
+ GEM_VERSION = '1.356.0'
80
80
 
81
81
  end
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.355.0
4
+ version: 1.356.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: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2022-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4