aws-sdk-ec2 1.367.0 → 1.368.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2a2dd338104c4059633cbf5848a7ded37485c569a8fa594bf161d8f541df9b9
4
- data.tar.gz: 61e7b7ba487ec89c2af3f06cfeef39fbab1b88dce117094abed7efd817069d3b
3
+ metadata.gz: 98fe3a39c9dccbd22051b3b8545785d35eef24963b3c2ec237831120efd5a426
4
+ data.tar.gz: 13aba7b938b9f0b03ad74b4bb10bf1604b84a1704f74c239d27e1b7d99183dad
5
5
  SHA512:
6
- metadata.gz: ddb30ad4ad309cd7e2c8efc37240f31f0430ae28f15c4120c8d1b839d7c38370adec39d90abf0830f6aafcd5c9a1165e6232049303a1f316ff47d3f17e62d76c
7
- data.tar.gz: fd79d456c9616f017c5df6046718ab20840bc3bdb934189264a6f1749d86879cbe4736c3cdaafa9db555ae2b6f28401b2bbfa302b4fe514617546f36b1cbcf6d
6
+ metadata.gz: 11315d9761d8d581ed607b94059166c30d8a7db539d9e00c7daca3d26af93cc2cdf44b7779b3b9811212b2b8b895ec1f2e49bfc7cde7d6f3fb18e8e39acdc83d
7
+ data.tar.gz: a5167f056c8c8916b2b12ed8d078dba49e99eb484b9cf5c17e0402cf2d6e2f1592c20d3646e91ef2342e9d714a3eb4febf9e376148e60b4ad3a78f3e0cd595cd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.368.0 (2023-03-03)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for a new boot mode for EC2 instances called 'UEFI Preferred'.
8
+
4
9
  1.367.0 (2023-02-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.367.0
1
+ 1.368.0
@@ -5651,7 +5651,7 @@ module Aws::EC2
5651
5651
  #
5652
5652
  # [1]: https://docs.aws.amazon.com/vpn/latest/s2svpn/cgw-options.html
5653
5653
  #
5654
- # @option params [required, Integer] :bgp_asn
5654
+ # @option params [Integer] :bgp_asn
5655
5655
  # For devices that support BGP, the customer gateway's BGP ASN.
5656
5656
  #
5657
5657
  # Default: 65000
@@ -5715,7 +5715,7 @@ module Aws::EC2
5715
5715
  # @example Request syntax with placeholder values
5716
5716
  #
5717
5717
  # resp = client.create_customer_gateway({
5718
- # bgp_asn: 1, # required
5718
+ # bgp_asn: 1,
5719
5719
  # public_ip: "String",
5720
5720
  # certificate_arn: "String",
5721
5721
  # type: "ipsec.1", # required, accepts ipsec.1
@@ -23064,7 +23064,7 @@ module Aws::EC2
23064
23064
  # resp.images[0].tags[0].key #=> String
23065
23065
  # resp.images[0].tags[0].value #=> String
23066
23066
  # resp.images[0].virtualization_type #=> String, one of "hvm", "paravirtual"
23067
- # resp.images[0].boot_mode #=> String, one of "legacy-bios", "uefi"
23067
+ # resp.images[0].boot_mode #=> String, one of "legacy-bios", "uefi", "uefi-preferred"
23068
23068
  # resp.images[0].tpm_support #=> String, one of "v2.0"
23069
23069
  # resp.images[0].deprecation_time #=> String
23070
23070
  # resp.images[0].imds_support #=> String, one of "v2.0"
@@ -23162,7 +23162,7 @@ module Aws::EC2
23162
23162
  # resp.import_image_tasks[0].license_specifications #=> Array
23163
23163
  # resp.import_image_tasks[0].license_specifications[0].license_configuration_arn #=> String
23164
23164
  # resp.import_image_tasks[0].usage_operation #=> String
23165
- # resp.import_image_tasks[0].boot_mode #=> String, one of "legacy-bios", "uefi"
23165
+ # resp.import_image_tasks[0].boot_mode #=> String, one of "legacy-bios", "uefi", "uefi-preferred"
23166
23166
  # resp.next_token #=> String
23167
23167
  #
23168
23168
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks AWS API Documentation
@@ -24820,7 +24820,7 @@ module Aws::EC2
24820
24820
  # resp.reservations[0].instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
24821
24821
  # resp.reservations[0].instances[0].metadata_options.instance_metadata_tags #=> String, one of "disabled", "enabled"
24822
24822
  # resp.reservations[0].instances[0].enclave_options.enabled #=> Boolean
24823
- # resp.reservations[0].instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
24823
+ # resp.reservations[0].instances[0].boot_mode #=> String, one of "legacy-bios", "uefi", "uefi-preferred"
24824
24824
  # resp.reservations[0].instances[0].platform_details #=> String
24825
24825
  # resp.reservations[0].instances[0].usage_operation #=> String
24826
24826
  # resp.reservations[0].instances[0].usage_operation_update_time #=> Time
@@ -24830,6 +24830,7 @@ module Aws::EC2
24830
24830
  # resp.reservations[0].instances[0].ipv_6_address #=> String
24831
24831
  # resp.reservations[0].instances[0].tpm_support #=> String
24832
24832
  # resp.reservations[0].instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
24833
+ # resp.reservations[0].instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
24833
24834
  # resp.reservations[0].owner_id #=> String
24834
24835
  # resp.reservations[0].requester_id #=> String
24835
24836
  # resp.reservations[0].reservation_id #=> String
@@ -42504,7 +42505,7 @@ module Aws::EC2
42504
42505
  # },
42505
42506
  # ],
42506
42507
  # usage_operation: "String",
42507
- # boot_mode: "legacy-bios", # accepts legacy-bios, uefi
42508
+ # boot_mode: "legacy-bios", # accepts legacy-bios, uefi, uefi-preferred
42508
42509
  # })
42509
42510
  #
42510
42511
  # @example Response structure
@@ -49823,8 +49824,16 @@ module Aws::EC2
49823
49824
  # Default: `paravirtual`
49824
49825
  #
49825
49826
  # @option params [String] :boot_mode
49826
- # The boot mode of the AMI. For more information, see [Boot modes][1] in
49827
- # the *Amazon EC2 User Guide*.
49827
+ # The boot mode of the AMI. A value of `uefi-preferred` indicates that
49828
+ # the AMI supports both UEFI and Legacy BIOS.
49829
+ #
49830
+ # <note markdown="1"> The operating system contained in the AMI must be configured to
49831
+ # support the specified boot mode.
49832
+ #
49833
+ # </note>
49834
+ #
49835
+ # For more information, see [Boot modes][1] in the *Amazon EC2 User
49836
+ # Guide*.
49828
49837
  #
49829
49838
  #
49830
49839
  #
@@ -49905,7 +49914,7 @@ module Aws::EC2
49905
49914
  # root_device_name: "String",
49906
49915
  # sriov_net_support: "String",
49907
49916
  # virtualization_type: "String",
49908
- # boot_mode: "legacy-bios", # accepts legacy-bios, uefi
49917
+ # boot_mode: "legacy-bios", # accepts legacy-bios, uefi, uefi-preferred
49909
49918
  # tpm_support: "v2.0", # accepts v2.0
49910
49919
  # uefi_data: "StringType",
49911
49920
  # imds_support: "v2.0", # accepts v2.0
@@ -53775,7 +53784,7 @@ module Aws::EC2
53775
53784
  # resp.instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
53776
53785
  # resp.instances[0].metadata_options.instance_metadata_tags #=> String, one of "disabled", "enabled"
53777
53786
  # resp.instances[0].enclave_options.enabled #=> Boolean
53778
- # resp.instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
53787
+ # resp.instances[0].boot_mode #=> String, one of "legacy-bios", "uefi", "uefi-preferred"
53779
53788
  # resp.instances[0].platform_details #=> String
53780
53789
  # resp.instances[0].usage_operation #=> String
53781
53790
  # resp.instances[0].usage_operation_update_time #=> Time
@@ -53785,6 +53794,7 @@ module Aws::EC2
53785
53794
  # resp.instances[0].ipv_6_address #=> String
53786
53795
  # resp.instances[0].tpm_support #=> String
53787
53796
  # resp.instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
53797
+ # resp.instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
53788
53798
  # resp.owner_id #=> String
53789
53799
  # resp.requester_id #=> String
53790
53800
  # resp.reservation_id #=> String
@@ -56098,7 +56108,7 @@ module Aws::EC2
56098
56108
  params: params,
56099
56109
  config: config)
56100
56110
  context[:gem_name] = 'aws-sdk-ec2'
56101
- context[:gem_version] = '1.367.0'
56111
+ context[:gem_version] = '1.368.0'
56102
56112
  Seahorse::Client::Request.new(handlers, context)
56103
56113
  end
56104
56114
 
@@ -1560,6 +1560,7 @@ module Aws::EC2
1560
1560
  InstanceBlockDeviceMappingList = Shapes::ListShape.new(name: 'InstanceBlockDeviceMappingList')
1561
1561
  InstanceBlockDeviceMappingSpecification = Shapes::StructureShape.new(name: 'InstanceBlockDeviceMappingSpecification')
1562
1562
  InstanceBlockDeviceMappingSpecificationList = Shapes::ListShape.new(name: 'InstanceBlockDeviceMappingSpecificationList')
1563
+ InstanceBootModeValues = Shapes::StringShape.new(name: 'InstanceBootModeValues')
1563
1564
  InstanceCapacity = Shapes::StructureShape.new(name: 'InstanceCapacity')
1564
1565
  InstanceCount = Shapes::StructureShape.new(name: 'InstanceCount')
1565
1566
  InstanceCountList = Shapes::ListShape.new(name: 'InstanceCountList')
@@ -4310,7 +4311,7 @@ module Aws::EC2
4310
4311
  CreateCoipPoolResult.add_member(:coip_pool, Shapes::ShapeRef.new(shape: CoipPool, location_name: "coipPool"))
4311
4312
  CreateCoipPoolResult.struct_class = Types::CreateCoipPoolResult
4312
4313
 
4313
- CreateCustomerGatewayRequest.add_member(:bgp_asn, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "BgpAsn"))
4314
+ CreateCustomerGatewayRequest.add_member(:bgp_asn, Shapes::ShapeRef.new(shape: Integer, location_name: "BgpAsn"))
4314
4315
  CreateCustomerGatewayRequest.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "PublicIp"))
4315
4316
  CreateCustomerGatewayRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "CertificateArn"))
4316
4317
  CreateCustomerGatewayRequest.add_member(:type, Shapes::ShapeRef.new(shape: GatewayType, required: true, location_name: "Type"))
@@ -9323,6 +9324,7 @@ module Aws::EC2
9323
9324
  Instance.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
9324
9325
  Instance.add_member(:tpm_support, Shapes::ShapeRef.new(shape: String, location_name: "tpmSupport"))
9325
9326
  Instance.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: InstanceMaintenanceOptions, location_name: "maintenanceOptions"))
9327
+ Instance.add_member(:current_instance_boot_mode, Shapes::ShapeRef.new(shape: InstanceBootModeValues, location_name: "currentInstanceBootMode"))
9326
9328
  Instance.struct_class = Types::Instance
9327
9329
 
9328
9330
  InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
@@ -338,8 +338,18 @@ module Aws::EC2
338
338
  data[:enclave_options]
339
339
  end
340
340
 
341
- # The boot mode of the instance. For more information, see [Boot
342
- # modes][1] in the *Amazon EC2 User Guide*.
341
+ # The boot mode that was specified by the AMI. If the value is
342
+ # `uefi-preferred`, the AMI supports both UEFI and Legacy BIOS. The
343
+ # `currentInstanceBootMode` parameter is the boot mode that is used to
344
+ # boot the instance at launch or start.
345
+ #
346
+ # <note markdown="1"> The operating system contained in the AMI must be configured to
347
+ # support the specified boot mode.
348
+ #
349
+ # </note>
350
+ #
351
+ # For more information, see [Boot modes][1] in the *Amazon EC2 User
352
+ # Guide*.
343
353
  #
344
354
  #
345
355
  #
@@ -408,6 +418,18 @@ module Aws::EC2
408
418
  data[:maintenance_options]
409
419
  end
410
420
 
421
+ # The boot mode that is used to boot the instance at launch or start.
422
+ # For more information, see [Boot modes][1] in the *Amazon EC2 User
423
+ # Guide*.
424
+ #
425
+ #
426
+ #
427
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
428
+ # @return [String]
429
+ def current_instance_boot_mode
430
+ data[:current_instance_boot_mode]
431
+ end
432
+
411
433
  # @!endgroup
412
434
 
413
435
  # @return [Client]
@@ -1770,7 +1770,7 @@ module Aws::EC2
1770
1770
  # root_device_name: "String",
1771
1771
  # sriov_net_support: "String",
1772
1772
  # virtualization_type: "String",
1773
- # boot_mode: "legacy-bios", # accepts legacy-bios, uefi
1773
+ # boot_mode: "legacy-bios", # accepts legacy-bios, uefi, uefi-preferred
1774
1774
  # tpm_support: "v2.0", # accepts v2.0
1775
1775
  # uefi_data: "StringType",
1776
1776
  # imds_support: "v2.0", # accepts v2.0
@@ -1859,8 +1859,16 @@ module Aws::EC2
1859
1859
  #
1860
1860
  # Default: `paravirtual`
1861
1861
  # @option options [String] :boot_mode
1862
- # The boot mode of the AMI. For more information, see [Boot modes][1] in
1863
- # the *Amazon EC2 User Guide*.
1862
+ # The boot mode of the AMI. A value of `uefi-preferred` indicates that
1863
+ # the AMI supports both UEFI and Legacy BIOS.
1864
+ #
1865
+ # <note markdown="1"> The operating system contained in the AMI must be configured to
1866
+ # support the specified boot mode.
1867
+ #
1868
+ # </note>
1869
+ #
1870
+ # For more information, see [Boot modes][1] in the *Amazon EC2 User
1871
+ # Guide*.
1864
1872
  #
1865
1873
  #
1866
1874
  #
@@ -36309,8 +36309,18 @@ module Aws::EC2
36309
36309
  # @return [Types::EnclaveOptions]
36310
36310
  #
36311
36311
  # @!attribute [rw] boot_mode
36312
- # The boot mode of the instance. For more information, see [Boot
36313
- # modes][1] in the *Amazon EC2 User Guide*.
36312
+ # The boot mode that was specified by the AMI. If the value is
36313
+ # `uefi-preferred`, the AMI supports both UEFI and Legacy BIOS. The
36314
+ # `currentInstanceBootMode` parameter is the boot mode that is used to
36315
+ # boot the instance at launch or start.
36316
+ #
36317
+ # <note markdown="1"> The operating system contained in the AMI must be configured to
36318
+ # support the specified boot mode.
36319
+ #
36320
+ # </note>
36321
+ #
36322
+ # For more information, see [Boot modes][1] in the *Amazon EC2 User
36323
+ # Guide*.
36314
36324
  #
36315
36325
  #
36316
36326
  #
@@ -36364,6 +36374,16 @@ module Aws::EC2
36364
36374
  # instance.
36365
36375
  # @return [Types::InstanceMaintenanceOptions]
36366
36376
  #
36377
+ # @!attribute [rw] current_instance_boot_mode
36378
+ # The boot mode that is used to boot the instance at launch or start.
36379
+ # For more information, see [Boot modes][1] in the *Amazon EC2 User
36380
+ # Guide*.
36381
+ #
36382
+ #
36383
+ #
36384
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
36385
+ # @return [String]
36386
+ #
36367
36387
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance AWS API Documentation
36368
36388
  #
36369
36389
  class Instance < Struct.new(
@@ -36422,7 +36442,8 @@ module Aws::EC2
36422
36442
  :private_dns_name_options,
36423
36443
  :ipv_6_address,
36424
36444
  :tpm_support,
36425
- :maintenance_options)
36445
+ :maintenance_options,
36446
+ :current_instance_boot_mode)
36426
36447
  SENSITIVE = []
36427
36448
  include Aws::Structure
36428
36449
  end
@@ -50805,8 +50826,16 @@ module Aws::EC2
50805
50826
  # @return [String]
50806
50827
  #
50807
50828
  # @!attribute [rw] boot_mode
50808
- # The boot mode of the AMI. For more information, see [Boot modes][1]
50809
- # in the *Amazon EC2 User Guide*.
50829
+ # The boot mode of the AMI. A value of `uefi-preferred` indicates that
50830
+ # the AMI supports both UEFI and Legacy BIOS.
50831
+ #
50832
+ # <note markdown="1"> The operating system contained in the AMI must be configured to
50833
+ # support the specified boot mode.
50834
+ #
50835
+ # </note>
50836
+ #
50837
+ # For more information, see [Boot modes][1] in the *Amazon EC2 User
50838
+ # Guide*.
50810
50839
  #
50811
50840
  #
50812
50841
  #
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.367.0'
79
+ GEM_VERSION = '1.368.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.367.0
4
+ version: 1.368.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: 2023-02-28 00:00:00.000000000 Z
11
+ date: 2023-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4