aws-sdk-ec2 1.312.0 → 1.313.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: 3d2c43af6428c9fd6d5056e4fc76ff60a07ce310aa865e5a59bdebe11bccef65
4
- data.tar.gz: d636f87a15c97f2cfb5710eeab4f5ecf25b82cbc3751c23f14f3c8da84ebc5c8
3
+ metadata.gz: 9e87ff32550b9190c1c9e6f7660900723d0bb1869171eb6212f2e658f2ff242d
4
+ data.tar.gz: 4326706a511f020490b5730bb0a37a7aac8ba2c181185c7a8995785ba6f52936
5
5
  SHA512:
6
- metadata.gz: a258a17066ef662555d85a4b3abd1dd45b407e750bc3a0943a7292d4c52f30508f38a7913dc1bd6066cb45eba874860041fb35f4d856424de5febab0f1b38609
7
- data.tar.gz: af7e37c75e29aa546ecad0878f2a0ac7f4de708845b84621173aed468393ed857294dff60e986d35e0b19005d2ed005faa755b8a006227ce8b10d57dc6c4a1a7
6
+ metadata.gz: 5d0a075837fba59cc40d326308d04df33849977a36c220c214fb7dd63cb63086473eb53a28e58de8435f4c440d1d9dd69c7b66d918b86ad2f7bd8c47ddfa65c5
7
+ data.tar.gz: 1b03b1013ff29d4c4dcbb3d5d4fd7856721cbfb7d9e0b3019935fd277933b7bfd22885fb78206de8884c00f33b9954b2ade4c5acb49beec07ea8871142c03db0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.313.0 (2022-05-10)
5
+ ------------------
6
+
7
+ * Feature - Added support for using NitroTPM and UEFI Secure Boot on EC2 instances.
8
+
4
9
  1.312.0 (2022-05-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.312.0
1
+ 1.313.0
@@ -20130,6 +20130,8 @@ module Aws::EC2
20130
20130
  # * {Types::ImageAttribute#ramdisk_id #ramdisk_id} => Types::AttributeValue
20131
20131
  # * {Types::ImageAttribute#sriov_net_support #sriov_net_support} => Types::AttributeValue
20132
20132
  # * {Types::ImageAttribute#boot_mode #boot_mode} => Types::AttributeValue
20133
+ # * {Types::ImageAttribute#tpm_support #tpm_support} => Types::AttributeValue
20134
+ # * {Types::ImageAttribute#uefi_data #uefi_data} => Types::AttributeValue
20133
20135
  # * {Types::ImageAttribute#last_launched_time #last_launched_time} => Types::AttributeValue
20134
20136
  #
20135
20137
  #
@@ -20155,7 +20157,7 @@ module Aws::EC2
20155
20157
  # @example Request syntax with placeholder values
20156
20158
  #
20157
20159
  # resp = client.describe_image_attribute({
20158
- # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode, lastLaunchedTime
20160
+ # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode, tpmSupport, uefiData, lastLaunchedTime
20159
20161
  # image_id: "ImageId", # required
20160
20162
  # dry_run: false,
20161
20163
  # })
@@ -20189,6 +20191,8 @@ module Aws::EC2
20189
20191
  # resp.ramdisk_id #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
20190
20192
  # resp.sriov_net_support #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
20191
20193
  # resp.boot_mode #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
20194
+ # resp.tpm_support #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
20195
+ # resp.uefi_data #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
20192
20196
  # resp.last_launched_time #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
20193
20197
  #
20194
20198
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute AWS API Documentation
@@ -20469,6 +20473,7 @@ module Aws::EC2
20469
20473
  # resp.images[0].tags[0].value #=> String
20470
20474
  # resp.images[0].virtualization_type #=> String, one of "hvm", "paravirtual"
20471
20475
  # resp.images[0].boot_mode #=> String, one of "legacy-bios", "uefi"
20476
+ # resp.images[0].tpm_support #=> String, one of "v2.0"
20472
20477
  # resp.images[0].deprecation_time #=> String
20473
20478
  #
20474
20479
  #
@@ -22186,6 +22191,7 @@ module Aws::EC2
22186
22191
  # resp.reservations[0].instances[0].private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
22187
22192
  # resp.reservations[0].instances[0].private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
22188
22193
  # resp.reservations[0].instances[0].ipv_6_address #=> String
22194
+ # resp.reservations[0].instances[0].tpm_support #=> String
22189
22195
  # resp.reservations[0].instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
22190
22196
  # resp.reservations[0].owner_id #=> String
22191
22197
  # resp.reservations[0].requester_id #=> String
@@ -35266,6 +35272,62 @@ module Aws::EC2
35266
35272
  req.send_request(options)
35267
35273
  end
35268
35274
 
35275
+ # A binary representation of the UEFI variable store. Only non-volatile
35276
+ # variables are stored. This is a base64 encoded and zlib compressed
35277
+ # binary value that must be properly encoded.
35278
+ #
35279
+ # When you use [register-image][1] to create an AMI, you can create an
35280
+ # exact copy of your variable store by passing the UEFI data in the
35281
+ # `UefiData` parameter. You can modify the UEFI data by using the
35282
+ # [python-uefivars tool][2] on GitHub. You can use the tool to convert
35283
+ # the UEFI data into a human-readable format (JSON), which you can
35284
+ # inspect and modify, and then convert back into the binary format to
35285
+ # use with register-image.
35286
+ #
35287
+ # For more information, see [UEFI Secure Boot][3] in the *Amazon EC2
35288
+ # User Guide*.
35289
+ #
35290
+ #
35291
+ #
35292
+ # [1]: https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html
35293
+ # [2]: https://github.com/awslabs/python-uefivars
35294
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html
35295
+ #
35296
+ # @option params [required, String] :instance_id
35297
+ # The ID of the instance from which to retrieve the UEFI data.
35298
+ #
35299
+ # @option params [Boolean] :dry_run
35300
+ # Checks whether you have the required permissions for the action,
35301
+ # without actually making the request, and provides an error response.
35302
+ # If you have the required permissions, the error response is
35303
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
35304
+ #
35305
+ # @return [Types::GetInstanceUefiDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
35306
+ #
35307
+ # * {Types::GetInstanceUefiDataResult#instance_id #instance_id} => String
35308
+ # * {Types::GetInstanceUefiDataResult#uefi_data #uefi_data} => String
35309
+ #
35310
+ # @example Request syntax with placeholder values
35311
+ #
35312
+ # resp = client.get_instance_uefi_data({
35313
+ # instance_id: "InstanceId", # required
35314
+ # dry_run: false,
35315
+ # })
35316
+ #
35317
+ # @example Response structure
35318
+ #
35319
+ # resp.instance_id #=> String
35320
+ # resp.uefi_data #=> String
35321
+ #
35322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceUefiData AWS API Documentation
35323
+ #
35324
+ # @overload get_instance_uefi_data(params = {})
35325
+ # @param [Hash] params ({})
35326
+ def get_instance_uefi_data(params = {}, options = {})
35327
+ req = build_request(:get_instance_uefi_data, params)
35328
+ req.send_request(options)
35329
+ end
35330
+
35269
35331
  # Retrieve historical information about a CIDR within an IPAM scope. For
35270
35332
  # more information, see [View the history of IP
35271
35333
  # addresses](/vpc/latest/ipam/view-history-cidr-ipam.html) in the
@@ -43789,6 +43851,28 @@ module Aws::EC2
43789
43851
  #
43790
43852
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
43791
43853
  #
43854
+ # @option params [String] :tpm_support
43855
+ # Set to `v2.0` to enable Trusted Platform Module (TPM) support. For
43856
+ # more information, see [NitroTPM][1] in the *Amazon Elastic Compute
43857
+ # Cloud User Guide*.
43858
+ #
43859
+ #
43860
+ #
43861
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html
43862
+ #
43863
+ # @option params [String] :uefi_data
43864
+ # Base64 representation of the non-volatile UEFI variable store. To
43865
+ # retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
43866
+ # can inspect and modify the UEFI data by using the [python-uefivars
43867
+ # tool][2] on GitHub. For more information, see [UEFI Secure Boot][3] in
43868
+ # the *Amazon Elastic Compute Cloud User Guide*.
43869
+ #
43870
+ #
43871
+ #
43872
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData
43873
+ # [2]: https://github.com/awslabs/python-uefivars
43874
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html
43875
+ #
43792
43876
  # @return [Types::RegisterImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
43793
43877
  #
43794
43878
  # * {Types::RegisterImageResult#image_id #image_id} => String
@@ -43827,6 +43911,8 @@ module Aws::EC2
43827
43911
  # sriov_net_support: "String",
43828
43912
  # virtualization_type: "String",
43829
43913
  # boot_mode: "legacy-bios", # accepts legacy-bios, uefi
43914
+ # tpm_support: "v2.0", # accepts v2.0
43915
+ # uefi_data: "StringType",
43830
43916
  # })
43831
43917
  #
43832
43918
  # @example Response structure
@@ -47604,6 +47690,7 @@ module Aws::EC2
47604
47690
  # resp.instances[0].private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
47605
47691
  # resp.instances[0].private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
47606
47692
  # resp.instances[0].ipv_6_address #=> String
47693
+ # resp.instances[0].tpm_support #=> String
47607
47694
  # resp.instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
47608
47695
  # resp.owner_id #=> String
47609
47696
  # resp.requester_id #=> String
@@ -49514,7 +49601,7 @@ module Aws::EC2
49514
49601
  params: params,
49515
49602
  config: config)
49516
49603
  context[:gem_name] = 'aws-sdk-ec2'
49517
- context[:gem_version] = '1.312.0'
49604
+ context[:gem_version] = '1.313.0'
49518
49605
  Seahorse::Client::Request.new(handlers, context)
49519
49606
  end
49520
49607
 
@@ -1240,6 +1240,8 @@ module Aws::EC2
1240
1240
  GetHostReservationPurchasePreviewResult = Shapes::StructureShape.new(name: 'GetHostReservationPurchasePreviewResult')
1241
1241
  GetInstanceTypesFromInstanceRequirementsRequest = Shapes::StructureShape.new(name: 'GetInstanceTypesFromInstanceRequirementsRequest')
1242
1242
  GetInstanceTypesFromInstanceRequirementsResult = Shapes::StructureShape.new(name: 'GetInstanceTypesFromInstanceRequirementsResult')
1243
+ GetInstanceUefiDataRequest = Shapes::StructureShape.new(name: 'GetInstanceUefiDataRequest')
1244
+ GetInstanceUefiDataResult = Shapes::StructureShape.new(name: 'GetInstanceUefiDataResult')
1243
1245
  GetIpamAddressHistoryRequest = Shapes::StructureShape.new(name: 'GetIpamAddressHistoryRequest')
1244
1246
  GetIpamAddressHistoryResult = Shapes::StructureShape.new(name: 'GetIpamAddressHistoryResult')
1245
1247
  GetIpamPoolAllocationsMaxResults = Shapes::IntegerShape.new(name: 'GetIpamPoolAllocationsMaxResults')
@@ -2370,6 +2372,7 @@ module Aws::EC2
2370
2372
  StoreImageTaskResultSet = Shapes::ListShape.new(name: 'StoreImageTaskResultSet')
2371
2373
  String = Shapes::StringShape.new(name: 'String')
2372
2374
  StringList = Shapes::ListShape.new(name: 'StringList')
2375
+ StringType = Shapes::StringShape.new(name: 'StringType')
2373
2376
  Subnet = Shapes::StructureShape.new(name: 'Subnet')
2374
2377
  SubnetAssociation = Shapes::StructureShape.new(name: 'SubnetAssociation')
2375
2378
  SubnetAssociationList = Shapes::ListShape.new(name: 'SubnetAssociationList')
@@ -2429,6 +2432,7 @@ module Aws::EC2
2429
2432
  TieringOperationStatus = Shapes::StringShape.new(name: 'TieringOperationStatus')
2430
2433
  TotalLocalStorageGB = Shapes::StructureShape.new(name: 'TotalLocalStorageGB')
2431
2434
  TotalLocalStorageGBRequest = Shapes::StructureShape.new(name: 'TotalLocalStorageGBRequest')
2435
+ TpmSupportValues = Shapes::StringShape.new(name: 'TpmSupportValues')
2432
2436
  TrafficDirection = Shapes::StringShape.new(name: 'TrafficDirection')
2433
2437
  TrafficMirrorFilter = Shapes::StructureShape.new(name: 'TrafficMirrorFilter')
2434
2438
  TrafficMirrorFilterId = Shapes::StringShape.new(name: 'TrafficMirrorFilterId')
@@ -7634,6 +7638,14 @@ module Aws::EC2
7634
7638
  GetInstanceTypesFromInstanceRequirementsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
7635
7639
  GetInstanceTypesFromInstanceRequirementsResult.struct_class = Types::GetInstanceTypesFromInstanceRequirementsResult
7636
7640
 
7641
+ GetInstanceUefiDataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
7642
+ GetInstanceUefiDataRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7643
+ GetInstanceUefiDataRequest.struct_class = Types::GetInstanceUefiDataRequest
7644
+
7645
+ GetInstanceUefiDataResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "instanceId"))
7646
+ GetInstanceUefiDataResult.add_member(:uefi_data, Shapes::ShapeRef.new(shape: String, location_name: "uefiData"))
7647
+ GetInstanceUefiDataResult.struct_class = Types::GetInstanceUefiDataResult
7648
+
7637
7649
  GetIpamAddressHistoryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7638
7650
  GetIpamAddressHistoryRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
7639
7651
  GetIpamAddressHistoryRequest.add_member(:ipam_scope_id, Shapes::ShapeRef.new(shape: IpamScopeId, required: true, location_name: "IpamScopeId"))
@@ -8046,6 +8058,7 @@ module Aws::EC2
8046
8058
  Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
8047
8059
  Image.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
8048
8060
  Image.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
8061
+ Image.add_member(:tpm_support, Shapes::ShapeRef.new(shape: TpmSupportValues, location_name: "tpmSupport"))
8049
8062
  Image.add_member(:deprecation_time, Shapes::ShapeRef.new(shape: String, location_name: "deprecationTime"))
8050
8063
  Image.struct_class = Types::Image
8051
8064
 
@@ -8058,6 +8071,8 @@ module Aws::EC2
8058
8071
  ImageAttribute.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "ramdisk"))
8059
8072
  ImageAttribute.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "sriovNetSupport"))
8060
8073
  ImageAttribute.add_member(:boot_mode, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "bootMode"))
8074
+ ImageAttribute.add_member(:tpm_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "tpmSupport"))
8075
+ ImageAttribute.add_member(:uefi_data, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "uefiData"))
8061
8076
  ImageAttribute.add_member(:last_launched_time, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "lastLaunchedTime"))
8062
8077
  ImageAttribute.struct_class = Types::ImageAttribute
8063
8078
 
@@ -8325,6 +8340,7 @@ module Aws::EC2
8325
8340
  Instance.add_member(:usage_operation_update_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "usageOperationUpdateTime"))
8326
8341
  Instance.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsResponse, location_name: "privateDnsNameOptions"))
8327
8342
  Instance.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
8343
+ Instance.add_member(:tpm_support, Shapes::ShapeRef.new(shape: String, location_name: "tpmSupport"))
8328
8344
  Instance.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: InstanceMaintenanceOptions, location_name: "maintenanceOptions"))
8329
8345
  Instance.struct_class = Types::Instance
8330
8346
 
@@ -10832,6 +10848,8 @@ module Aws::EC2
10832
10848
  RegisterImageRequest.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: String, location_name: "sriovNetSupport"))
10833
10849
  RegisterImageRequest.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: String, location_name: "virtualizationType"))
10834
10850
  RegisterImageRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "BootMode"))
10851
+ RegisterImageRequest.add_member(:tpm_support, Shapes::ShapeRef.new(shape: TpmSupportValues, location_name: "TpmSupport"))
10852
+ RegisterImageRequest.add_member(:uefi_data, Shapes::ShapeRef.new(shape: StringType, location_name: "UefiData"))
10835
10853
  RegisterImageRequest.struct_class = Types::RegisterImageRequest
10836
10854
 
10837
10855
  RegisterImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
@@ -16822,6 +16840,14 @@ module Aws::EC2
16822
16840
  )
16823
16841
  end)
16824
16842
 
16843
+ api.add_operation(:get_instance_uefi_data, Seahorse::Model::Operation.new.tap do |o|
16844
+ o.name = "GetInstanceUefiData"
16845
+ o.http_method = "POST"
16846
+ o.http_request_uri = "/"
16847
+ o.input = Shapes::ShapeRef.new(shape: GetInstanceUefiDataRequest)
16848
+ o.output = Shapes::ShapeRef.new(shape: GetInstanceUefiDataResult)
16849
+ end)
16850
+
16825
16851
  api.add_operation(:get_ipam_address_history, Seahorse::Model::Operation.new.tap do |o|
16826
16852
  o.name = "GetIpamAddressHistory"
16827
16853
  o.http_method = "POST"
@@ -225,6 +225,18 @@ module Aws::EC2
225
225
  data[:boot_mode]
226
226
  end
227
227
 
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*.
231
+ #
232
+ #
233
+ #
234
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html
235
+ # @return [String]
236
+ def tpm_support
237
+ data[:tpm_support]
238
+ end
239
+
228
240
  # The date and time to deprecate the AMI, in UTC, in the following
229
241
  # format: *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z. If you specified a value
230
242
  # for seconds, Amazon EC2 rounds the seconds to the nearest minute.
@@ -502,7 +514,7 @@ module Aws::EC2
502
514
  # @example Request syntax with placeholder values
503
515
  #
504
516
  # image.describe_attribute({
505
- # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode, lastLaunchedTime
517
+ # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode, tpmSupport, uefiData, lastLaunchedTime
506
518
  # dry_run: false,
507
519
  # })
508
520
  # @param [Hash] options ({})
@@ -389,6 +389,18 @@ module Aws::EC2
389
389
  data[:ipv_6_address]
390
390
  end
391
391
 
392
+ # If the instance is configured for NitroTPM support, the value is
393
+ # `v2.0`. For more information, see [NitroTPM][1] in the *Amazon EC2
394
+ # User Guide*.
395
+ #
396
+ #
397
+ #
398
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html
399
+ # @return [String]
400
+ def tpm_support
401
+ data[:tpm_support]
402
+ end
403
+
392
404
  # Provides information on the recovery and maintenance options of your
393
405
  # instance.
394
406
  # @return [Types::InstanceMaintenanceOptions]
@@ -1677,6 +1677,8 @@ module Aws::EC2
1677
1677
  # sriov_net_support: "String",
1678
1678
  # virtualization_type: "String",
1679
1679
  # boot_mode: "legacy-bios", # accepts legacy-bios, uefi
1680
+ # tpm_support: "v2.0", # accepts v2.0
1681
+ # uefi_data: "StringType",
1680
1682
  # })
1681
1683
  # @param [Hash] options ({})
1682
1684
  # @option options [String] :image_location
@@ -1758,6 +1760,26 @@ module Aws::EC2
1758
1760
  #
1759
1761
  #
1760
1762
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
1763
+ # @option options [String] :tpm_support
1764
+ # Set to `v2.0` to enable Trusted Platform Module (TPM) support. For
1765
+ # more information, see [NitroTPM][1] in the *Amazon Elastic Compute
1766
+ # Cloud User Guide*.
1767
+ #
1768
+ #
1769
+ #
1770
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html
1771
+ # @option options [String] :uefi_data
1772
+ # Base64 representation of the non-volatile UEFI variable store. To
1773
+ # retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
1774
+ # can inspect and modify the UEFI data by using the [python-uefivars
1775
+ # tool][2] on GitHub. For more information, see [UEFI Secure Boot][3] in
1776
+ # the *Amazon Elastic Compute Cloud User Guide*.
1777
+ #
1778
+ #
1779
+ #
1780
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData
1781
+ # [2]: https://github.com/awslabs/python-uefivars
1782
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html
1761
1783
  # @return [Image]
1762
1784
  def register_image(options = {})
1763
1785
  resp = @client.register_image(options)
@@ -20307,7 +20307,7 @@ module Aws::EC2
20307
20307
  # data as a hash:
20308
20308
  #
20309
20309
  # {
20310
- # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode, lastLaunchedTime
20310
+ # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode, tpmSupport, uefiData, lastLaunchedTime
20311
20311
  # image_id: "ImageId", # required
20312
20312
  # dry_run: false,
20313
20313
  # }
@@ -35443,6 +35443,51 @@ module Aws::EC2
35443
35443
  include Aws::Structure
35444
35444
  end
35445
35445
 
35446
+ # @note When making an API call, you may pass GetInstanceUefiDataRequest
35447
+ # data as a hash:
35448
+ #
35449
+ # {
35450
+ # instance_id: "InstanceId", # required
35451
+ # dry_run: false,
35452
+ # }
35453
+ #
35454
+ # @!attribute [rw] instance_id
35455
+ # The ID of the instance from which to retrieve the UEFI data.
35456
+ # @return [String]
35457
+ #
35458
+ # @!attribute [rw] dry_run
35459
+ # Checks whether you have the required permissions for the action,
35460
+ # without actually making the request, and provides an error response.
35461
+ # If you have the required permissions, the error response is
35462
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
35463
+ # @return [Boolean]
35464
+ #
35465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceUefiDataRequest AWS API Documentation
35466
+ #
35467
+ class GetInstanceUefiDataRequest < Struct.new(
35468
+ :instance_id,
35469
+ :dry_run)
35470
+ SENSITIVE = []
35471
+ include Aws::Structure
35472
+ end
35473
+
35474
+ # @!attribute [rw] instance_id
35475
+ # The ID of the instance from which to retrieve the UEFI data.
35476
+ # @return [String]
35477
+ #
35478
+ # @!attribute [rw] uefi_data
35479
+ # Base64 representation of the non-volatile UEFI variable store.
35480
+ # @return [String]
35481
+ #
35482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceUefiDataResult AWS API Documentation
35483
+ #
35484
+ class GetInstanceUefiDataResult < Struct.new(
35485
+ :instance_id,
35486
+ :uefi_data)
35487
+ SENSITIVE = []
35488
+ include Aws::Structure
35489
+ end
35490
+
35446
35491
  # @note When making an API call, you may pass GetIpamAddressHistoryRequest
35447
35492
  # data as a hash:
35448
35493
  #
@@ -37891,6 +37936,16 @@ module Aws::EC2
37891
37936
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
37892
37937
  # @return [String]
37893
37938
  #
37939
+ # @!attribute [rw] tpm_support
37940
+ # If the image is configured for NitroTPM support, the value is
37941
+ # `v2.0`. For more information, see [NitroTPM][1] in the *Amazon
37942
+ # Elastic Compute Cloud User Guide*.
37943
+ #
37944
+ #
37945
+ #
37946
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html
37947
+ # @return [String]
37948
+ #
37894
37949
  # @!attribute [rw] deprecation_time
37895
37950
  # The date and time to deprecate the AMI, in UTC, in the following
37896
37951
  # format: *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z. If you specified a value
@@ -37927,6 +37982,7 @@ module Aws::EC2
37927
37982
  :tags,
37928
37983
  :virtualization_type,
37929
37984
  :boot_mode,
37985
+ :tpm_support,
37930
37986
  :deprecation_time)
37931
37987
  SENSITIVE = []
37932
37988
  include Aws::Structure
@@ -37971,6 +38027,25 @@ module Aws::EC2
37971
38027
  # The boot mode.
37972
38028
  # @return [Types::AttributeValue]
37973
38029
  #
38030
+ # @!attribute [rw] tpm_support
38031
+ # If the image is configured for NitroTPM support, the value is
38032
+ # `v2.0`.
38033
+ # @return [Types::AttributeValue]
38034
+ #
38035
+ # @!attribute [rw] uefi_data
38036
+ # Base64 representation of the non-volatile UEFI variable store. To
38037
+ # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
38038
+ # You can inspect and modify the UEFI data by using the
38039
+ # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
38040
+ # Secure Boot][3] in the *Amazon Elastic Compute Cloud User Guide*.
38041
+ #
38042
+ #
38043
+ #
38044
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData
38045
+ # [2]: https://github.com/awslabs/python-uefivars
38046
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html
38047
+ # @return [Types::AttributeValue]
38048
+ #
37974
38049
  # @!attribute [rw] last_launched_time
37975
38050
  # The date and time, in [ISO 8601 date-time format][1], when the AMI
37976
38051
  # was last used to launch an EC2 instance. When the AMI is used, there
@@ -37997,6 +38072,8 @@ module Aws::EC2
37997
38072
  :ramdisk_id,
37998
38073
  :sriov_net_support,
37999
38074
  :boot_mode,
38075
+ :tpm_support,
38076
+ :uefi_data,
38000
38077
  :last_launched_time)
38001
38078
  SENSITIVE = []
38002
38079
  include Aws::Structure
@@ -39536,6 +39613,16 @@ module Aws::EC2
39536
39613
  # The IPv6 address assigned to the instance.
39537
39614
  # @return [String]
39538
39615
  #
39616
+ # @!attribute [rw] tpm_support
39617
+ # If the instance is configured for NitroTPM support, the value is
39618
+ # `v2.0`. For more information, see [NitroTPM][1] in the *Amazon EC2
39619
+ # User Guide*.
39620
+ #
39621
+ #
39622
+ #
39623
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html
39624
+ # @return [String]
39625
+ #
39539
39626
  # @!attribute [rw] maintenance_options
39540
39627
  # Provides information on the recovery and maintenance options of your
39541
39628
  # instance.
@@ -39598,6 +39685,7 @@ module Aws::EC2
39598
39685
  :usage_operation_update_time,
39599
39686
  :private_dns_name_options,
39600
39687
  :ipv_6_address,
39688
+ :tpm_support,
39601
39689
  :maintenance_options)
39602
39690
  SENSITIVE = []
39603
39691
  include Aws::Structure
@@ -54578,6 +54666,8 @@ module Aws::EC2
54578
54666
  # sriov_net_support: "String",
54579
54667
  # virtualization_type: "String",
54580
54668
  # boot_mode: "legacy-bios", # accepts legacy-bios, uefi
54669
+ # tpm_support: "v2.0", # accepts v2.0
54670
+ # uefi_data: "StringType",
54581
54671
  # }
54582
54672
  #
54583
54673
  # @!attribute [rw] image_location
@@ -54689,6 +54779,30 @@ module Aws::EC2
54689
54779
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
54690
54780
  # @return [String]
54691
54781
  #
54782
+ # @!attribute [rw] tpm_support
54783
+ # Set to `v2.0` to enable Trusted Platform Module (TPM) support. For
54784
+ # more information, see [NitroTPM][1] in the *Amazon Elastic Compute
54785
+ # Cloud User Guide*.
54786
+ #
54787
+ #
54788
+ #
54789
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html
54790
+ # @return [String]
54791
+ #
54792
+ # @!attribute [rw] uefi_data
54793
+ # Base64 representation of the non-volatile UEFI variable store. To
54794
+ # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
54795
+ # You can inspect and modify the UEFI data by using the
54796
+ # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
54797
+ # Secure Boot][3] in the *Amazon Elastic Compute Cloud User Guide*.
54798
+ #
54799
+ #
54800
+ #
54801
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData
54802
+ # [2]: https://github.com/awslabs/python-uefivars
54803
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html
54804
+ # @return [String]
54805
+ #
54692
54806
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageRequest AWS API Documentation
54693
54807
  #
54694
54808
  class RegisterImageRequest < Struct.new(
@@ -54705,7 +54819,9 @@ module Aws::EC2
54705
54819
  :root_device_name,
54706
54820
  :sriov_net_support,
54707
54821
  :virtualization_type,
54708
- :boot_mode)
54822
+ :boot_mode,
54823
+ :tpm_support,
54824
+ :uefi_data)
54709
54825
  SENSITIVE = []
54710
54826
  include Aws::Structure
54711
54827
  end
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.312.0'
75
+ GEM_VERSION = '1.313.0'
76
76
 
77
77
  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.312.0
4
+ version: 1.313.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-05-06 00:00:00.000000000 Z
11
+ date: 2022-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4