aws-sdk-ec2 1.312.0 → 1.315.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +161 -14
- data/lib/aws-sdk-ec2/client_api.rb +55 -1
- data/lib/aws-sdk-ec2/image.rb +13 -1
- data/lib/aws-sdk-ec2/instance.rb +12 -0
- data/lib/aws-sdk-ec2/resource.rb +22 -0
- data/lib/aws-sdk-ec2/types.rb +270 -28
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -1032,6 +1032,9 @@ module Aws::EC2
|
|
1032
1032
|
DnsEntry = Shapes::StructureShape.new(name: 'DnsEntry')
|
1033
1033
|
DnsEntrySet = Shapes::ListShape.new(name: 'DnsEntrySet')
|
1034
1034
|
DnsNameState = Shapes::StringShape.new(name: 'DnsNameState')
|
1035
|
+
DnsOptions = Shapes::StructureShape.new(name: 'DnsOptions')
|
1036
|
+
DnsOptionsSpecification = Shapes::StructureShape.new(name: 'DnsOptionsSpecification')
|
1037
|
+
DnsRecordIpType = Shapes::StringShape.new(name: 'DnsRecordIpType')
|
1035
1038
|
DnsServersOptionsModifyStructure = Shapes::StructureShape.new(name: 'DnsServersOptionsModifyStructure')
|
1036
1039
|
DnsSupportValue = Shapes::StringShape.new(name: 'DnsSupportValue')
|
1037
1040
|
DomainType = Shapes::StringShape.new(name: 'DomainType')
|
@@ -1240,6 +1243,8 @@ module Aws::EC2
|
|
1240
1243
|
GetHostReservationPurchasePreviewResult = Shapes::StructureShape.new(name: 'GetHostReservationPurchasePreviewResult')
|
1241
1244
|
GetInstanceTypesFromInstanceRequirementsRequest = Shapes::StructureShape.new(name: 'GetInstanceTypesFromInstanceRequirementsRequest')
|
1242
1245
|
GetInstanceTypesFromInstanceRequirementsResult = Shapes::StructureShape.new(name: 'GetInstanceTypesFromInstanceRequirementsResult')
|
1246
|
+
GetInstanceUefiDataRequest = Shapes::StructureShape.new(name: 'GetInstanceUefiDataRequest')
|
1247
|
+
GetInstanceUefiDataResult = Shapes::StructureShape.new(name: 'GetInstanceUefiDataResult')
|
1243
1248
|
GetIpamAddressHistoryRequest = Shapes::StructureShape.new(name: 'GetIpamAddressHistoryRequest')
|
1244
1249
|
GetIpamAddressHistoryResult = Shapes::StructureShape.new(name: 'GetIpamAddressHistoryResult')
|
1245
1250
|
GetIpamPoolAllocationsMaxResults = Shapes::IntegerShape.new(name: 'GetIpamPoolAllocationsMaxResults')
|
@@ -1504,6 +1509,7 @@ module Aws::EC2
|
|
1504
1509
|
InternetGatewayList = Shapes::ListShape.new(name: 'InternetGatewayList')
|
1505
1510
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
1506
1511
|
IpAddressList = Shapes::ListShape.new(name: 'IpAddressList')
|
1512
|
+
IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
|
1507
1513
|
IpPermission = Shapes::StructureShape.new(name: 'IpPermission')
|
1508
1514
|
IpPermissionList = Shapes::ListShape.new(name: 'IpPermissionList')
|
1509
1515
|
IpPrefixList = Shapes::ListShape.new(name: 'IpPrefixList')
|
@@ -2287,6 +2293,7 @@ module Aws::EC2
|
|
2287
2293
|
SensitiveUserData = Shapes::StringShape.new(name: 'SensitiveUserData')
|
2288
2294
|
ServiceConfiguration = Shapes::StructureShape.new(name: 'ServiceConfiguration')
|
2289
2295
|
ServiceConfigurationSet = Shapes::ListShape.new(name: 'ServiceConfigurationSet')
|
2296
|
+
ServiceConnectivityType = Shapes::StringShape.new(name: 'ServiceConnectivityType')
|
2290
2297
|
ServiceDetail = Shapes::StructureShape.new(name: 'ServiceDetail')
|
2291
2298
|
ServiceDetailSet = Shapes::ListShape.new(name: 'ServiceDetailSet')
|
2292
2299
|
ServiceState = Shapes::StringShape.new(name: 'ServiceState')
|
@@ -2370,6 +2377,7 @@ module Aws::EC2
|
|
2370
2377
|
StoreImageTaskResultSet = Shapes::ListShape.new(name: 'StoreImageTaskResultSet')
|
2371
2378
|
String = Shapes::StringShape.new(name: 'String')
|
2372
2379
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
2380
|
+
StringType = Shapes::StringShape.new(name: 'StringType')
|
2373
2381
|
Subnet = Shapes::StructureShape.new(name: 'Subnet')
|
2374
2382
|
SubnetAssociation = Shapes::StructureShape.new(name: 'SubnetAssociation')
|
2375
2383
|
SubnetAssociationList = Shapes::ListShape.new(name: 'SubnetAssociationList')
|
@@ -2391,6 +2399,7 @@ module Aws::EC2
|
|
2391
2399
|
SuccessfulQueuedPurchaseDeletion = Shapes::StructureShape.new(name: 'SuccessfulQueuedPurchaseDeletion')
|
2392
2400
|
SuccessfulQueuedPurchaseDeletionSet = Shapes::ListShape.new(name: 'SuccessfulQueuedPurchaseDeletionSet')
|
2393
2401
|
SummaryStatus = Shapes::StringShape.new(name: 'SummaryStatus')
|
2402
|
+
SupportedIpAddressTypes = Shapes::ListShape.new(name: 'SupportedIpAddressTypes')
|
2394
2403
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
2395
2404
|
TagDescription = Shapes::StructureShape.new(name: 'TagDescription')
|
2396
2405
|
TagDescriptionList = Shapes::ListShape.new(name: 'TagDescriptionList')
|
@@ -2429,6 +2438,7 @@ module Aws::EC2
|
|
2429
2438
|
TieringOperationStatus = Shapes::StringShape.new(name: 'TieringOperationStatus')
|
2430
2439
|
TotalLocalStorageGB = Shapes::StructureShape.new(name: 'TotalLocalStorageGB')
|
2431
2440
|
TotalLocalStorageGBRequest = Shapes::StructureShape.new(name: 'TotalLocalStorageGBRequest')
|
2441
|
+
TpmSupportValues = Shapes::StringShape.new(name: 'TpmSupportValues')
|
2432
2442
|
TrafficDirection = Shapes::StringShape.new(name: 'TrafficDirection')
|
2433
2443
|
TrafficMirrorFilter = Shapes::StructureShape.new(name: 'TrafficMirrorFilter')
|
2434
2444
|
TrafficMirrorFilterId = Shapes::StringShape.new(name: 'TrafficMirrorFilterId')
|
@@ -4345,12 +4355,12 @@ module Aws::EC2
|
|
4345
4355
|
CreateStoreImageTaskResult.add_member(:object_key, Shapes::ShapeRef.new(shape: String, location_name: "objectKey"))
|
4346
4356
|
CreateStoreImageTaskResult.struct_class = Types::CreateStoreImageTaskResult
|
4347
4357
|
|
4348
|
-
CreateSubnetCidrReservationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4349
4358
|
CreateSubnetCidrReservationRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
4350
4359
|
CreateSubnetCidrReservationRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
|
4351
4360
|
CreateSubnetCidrReservationRequest.add_member(:reservation_type, Shapes::ShapeRef.new(shape: SubnetCidrReservationType, required: true, location_name: "ReservationType"))
|
4352
4361
|
CreateSubnetCidrReservationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
4353
4362
|
CreateSubnetCidrReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4363
|
+
CreateSubnetCidrReservationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4354
4364
|
CreateSubnetCidrReservationRequest.struct_class = Types::CreateSubnetCidrReservationRequest
|
4355
4365
|
|
4356
4366
|
CreateSubnetCidrReservationResult.add_member(:subnet_cidr_reservation, Shapes::ShapeRef.new(shape: SubnetCidrReservation, location_name: "subnetCidrReservation"))
|
@@ -4425,6 +4435,7 @@ module Aws::EC2
|
|
4425
4435
|
CreateTrafficMirrorTargetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4426
4436
|
CreateTrafficMirrorTargetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4427
4437
|
CreateTrafficMirrorTargetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
4438
|
+
CreateTrafficMirrorTargetRequest.add_member(:gateway_load_balancer_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "GatewayLoadBalancerEndpointId"))
|
4428
4439
|
CreateTrafficMirrorTargetRequest.struct_class = Types::CreateTrafficMirrorTargetRequest
|
4429
4440
|
|
4430
4441
|
CreateTrafficMirrorTargetResult.add_member(:traffic_mirror_target, Shapes::ShapeRef.new(shape: TrafficMirrorTarget, location_name: "trafficMirrorTarget"))
|
@@ -4578,6 +4589,8 @@ module Aws::EC2
|
|
4578
4589
|
CreateVpcEndpointRequest.add_member(:route_table_ids, Shapes::ShapeRef.new(shape: VpcEndpointRouteTableIdList, location_name: "RouteTableId"))
|
4579
4590
|
CreateVpcEndpointRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: VpcEndpointSubnetIdList, location_name: "SubnetId"))
|
4580
4591
|
CreateVpcEndpointRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: VpcEndpointSecurityGroupIdList, location_name: "SecurityGroupId"))
|
4592
|
+
CreateVpcEndpointRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
4593
|
+
CreateVpcEndpointRequest.add_member(:dns_options, Shapes::ShapeRef.new(shape: DnsOptionsSpecification, location_name: "DnsOptions"))
|
4581
4594
|
CreateVpcEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
4582
4595
|
CreateVpcEndpointRequest.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrivateDnsEnabled"))
|
4583
4596
|
CreateVpcEndpointRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
@@ -4592,6 +4605,7 @@ module Aws::EC2
|
|
4592
4605
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "PrivateDnsName"))
|
4593
4606
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "NetworkLoadBalancerArn"))
|
4594
4607
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "GatewayLoadBalancerArn"))
|
4608
|
+
CreateVpcEndpointServiceConfigurationRequest.add_member(:supported_ip_address_types, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "SupportedIpAddressType"))
|
4595
4609
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
4596
4610
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4597
4611
|
CreateVpcEndpointServiceConfigurationRequest.struct_class = Types::CreateVpcEndpointServiceConfigurationRequest
|
@@ -6913,6 +6927,12 @@ module Aws::EC2
|
|
6913
6927
|
|
6914
6928
|
DnsEntrySet.member = Shapes::ShapeRef.new(shape: DnsEntry, location_name: "item")
|
6915
6929
|
|
6930
|
+
DnsOptions.add_member(:dns_record_ip_type, Shapes::ShapeRef.new(shape: DnsRecordIpType, location_name: "dnsRecordIpType"))
|
6931
|
+
DnsOptions.struct_class = Types::DnsOptions
|
6932
|
+
|
6933
|
+
DnsOptionsSpecification.add_member(:dns_record_ip_type, Shapes::ShapeRef.new(shape: DnsRecordIpType, location_name: "DnsRecordIpType"))
|
6934
|
+
DnsOptionsSpecification.struct_class = Types::DnsOptionsSpecification
|
6935
|
+
|
6916
6936
|
DnsServersOptionsModifyStructure.add_member(:custom_dns_servers, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "CustomDnsServers"))
|
6917
6937
|
DnsServersOptionsModifyStructure.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
6918
6938
|
DnsServersOptionsModifyStructure.struct_class = Types::DnsServersOptionsModifyStructure
|
@@ -7634,6 +7654,14 @@ module Aws::EC2
|
|
7634
7654
|
GetInstanceTypesFromInstanceRequirementsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
7635
7655
|
GetInstanceTypesFromInstanceRequirementsResult.struct_class = Types::GetInstanceTypesFromInstanceRequirementsResult
|
7636
7656
|
|
7657
|
+
GetInstanceUefiDataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
7658
|
+
GetInstanceUefiDataRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7659
|
+
GetInstanceUefiDataRequest.struct_class = Types::GetInstanceUefiDataRequest
|
7660
|
+
|
7661
|
+
GetInstanceUefiDataResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "instanceId"))
|
7662
|
+
GetInstanceUefiDataResult.add_member(:uefi_data, Shapes::ShapeRef.new(shape: String, location_name: "uefiData"))
|
7663
|
+
GetInstanceUefiDataResult.struct_class = Types::GetInstanceUefiDataResult
|
7664
|
+
|
7637
7665
|
GetIpamAddressHistoryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7638
7666
|
GetIpamAddressHistoryRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
|
7639
7667
|
GetIpamAddressHistoryRequest.add_member(:ipam_scope_id, Shapes::ShapeRef.new(shape: IpamScopeId, required: true, location_name: "IpamScopeId"))
|
@@ -8046,6 +8074,7 @@ module Aws::EC2
|
|
8046
8074
|
Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
8047
8075
|
Image.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
|
8048
8076
|
Image.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
8077
|
+
Image.add_member(:tpm_support, Shapes::ShapeRef.new(shape: TpmSupportValues, location_name: "tpmSupport"))
|
8049
8078
|
Image.add_member(:deprecation_time, Shapes::ShapeRef.new(shape: String, location_name: "deprecationTime"))
|
8050
8079
|
Image.struct_class = Types::Image
|
8051
8080
|
|
@@ -8058,6 +8087,8 @@ module Aws::EC2
|
|
8058
8087
|
ImageAttribute.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "ramdisk"))
|
8059
8088
|
ImageAttribute.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "sriovNetSupport"))
|
8060
8089
|
ImageAttribute.add_member(:boot_mode, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "bootMode"))
|
8090
|
+
ImageAttribute.add_member(:tpm_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "tpmSupport"))
|
8091
|
+
ImageAttribute.add_member(:uefi_data, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "uefiData"))
|
8061
8092
|
ImageAttribute.add_member(:last_launched_time, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "lastLaunchedTime"))
|
8062
8093
|
ImageAttribute.struct_class = Types::ImageAttribute
|
8063
8094
|
|
@@ -8325,6 +8356,7 @@ module Aws::EC2
|
|
8325
8356
|
Instance.add_member(:usage_operation_update_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "usageOperationUpdateTime"))
|
8326
8357
|
Instance.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsResponse, location_name: "privateDnsNameOptions"))
|
8327
8358
|
Instance.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
8359
|
+
Instance.add_member(:tpm_support, Shapes::ShapeRef.new(shape: String, location_name: "tpmSupport"))
|
8328
8360
|
Instance.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: InstanceMaintenanceOptions, location_name: "maintenanceOptions"))
|
8329
8361
|
Instance.struct_class = Types::Instance
|
8330
8362
|
|
@@ -9964,6 +9996,8 @@ module Aws::EC2
|
|
9964
9996
|
ModifyVpcEndpointRequest.add_member(:remove_subnet_ids, Shapes::ShapeRef.new(shape: VpcEndpointSubnetIdList, location_name: "RemoveSubnetId"))
|
9965
9997
|
ModifyVpcEndpointRequest.add_member(:add_security_group_ids, Shapes::ShapeRef.new(shape: VpcEndpointSecurityGroupIdList, location_name: "AddSecurityGroupId"))
|
9966
9998
|
ModifyVpcEndpointRequest.add_member(:remove_security_group_ids, Shapes::ShapeRef.new(shape: VpcEndpointSecurityGroupIdList, location_name: "RemoveSecurityGroupId"))
|
9999
|
+
ModifyVpcEndpointRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
10000
|
+
ModifyVpcEndpointRequest.add_member(:dns_options, Shapes::ShapeRef.new(shape: DnsOptionsSpecification, location_name: "DnsOptions"))
|
9967
10001
|
ModifyVpcEndpointRequest.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrivateDnsEnabled"))
|
9968
10002
|
ModifyVpcEndpointRequest.struct_class = Types::ModifyVpcEndpointRequest
|
9969
10003
|
|
@@ -9979,6 +10013,8 @@ module Aws::EC2
|
|
9979
10013
|
ModifyVpcEndpointServiceConfigurationRequest.add_member(:remove_network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "RemoveNetworkLoadBalancerArn"))
|
9980
10014
|
ModifyVpcEndpointServiceConfigurationRequest.add_member(:add_gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "AddGatewayLoadBalancerArn"))
|
9981
10015
|
ModifyVpcEndpointServiceConfigurationRequest.add_member(:remove_gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "RemoveGatewayLoadBalancerArn"))
|
10016
|
+
ModifyVpcEndpointServiceConfigurationRequest.add_member(:add_supported_ip_address_types, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "AddSupportedIpAddressType"))
|
10017
|
+
ModifyVpcEndpointServiceConfigurationRequest.add_member(:remove_supported_ip_address_types, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "RemoveSupportedIpAddressType"))
|
9982
10018
|
ModifyVpcEndpointServiceConfigurationRequest.struct_class = Types::ModifyVpcEndpointServiceConfigurationRequest
|
9983
10019
|
|
9984
10020
|
ModifyVpcEndpointServiceConfigurationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
@@ -10832,6 +10868,8 @@ module Aws::EC2
|
|
10832
10868
|
RegisterImageRequest.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: String, location_name: "sriovNetSupport"))
|
10833
10869
|
RegisterImageRequest.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: String, location_name: "virtualizationType"))
|
10834
10870
|
RegisterImageRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "BootMode"))
|
10871
|
+
RegisterImageRequest.add_member(:tpm_support, Shapes::ShapeRef.new(shape: TpmSupportValues, location_name: "TpmSupport"))
|
10872
|
+
RegisterImageRequest.add_member(:uefi_data, Shapes::ShapeRef.new(shape: StringType, location_name: "UefiData"))
|
10835
10873
|
RegisterImageRequest.struct_class = Types::RegisterImageRequest
|
10836
10874
|
|
10837
10875
|
RegisterImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
@@ -11786,6 +11824,7 @@ module Aws::EC2
|
|
11786
11824
|
ServiceConfiguration.add_member(:manages_vpc_endpoints, Shapes::ShapeRef.new(shape: Boolean, location_name: "managesVpcEndpoints"))
|
11787
11825
|
ServiceConfiguration.add_member(:network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "networkLoadBalancerArnSet"))
|
11788
11826
|
ServiceConfiguration.add_member(:gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "gatewayLoadBalancerArnSet"))
|
11827
|
+
ServiceConfiguration.add_member(:supported_ip_address_types, Shapes::ShapeRef.new(shape: SupportedIpAddressTypes, location_name: "supportedIpAddressTypeSet"))
|
11789
11828
|
ServiceConfiguration.add_member(:base_endpoint_dns_names, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "baseEndpointDnsNameSet"))
|
11790
11829
|
ServiceConfiguration.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "privateDnsName"))
|
11791
11830
|
ServiceConfiguration.add_member(:private_dns_name_configuration, Shapes::ShapeRef.new(shape: PrivateDnsNameConfiguration, location_name: "privateDnsNameConfiguration"))
|
@@ -11809,6 +11848,7 @@ module Aws::EC2
|
|
11809
11848
|
ServiceDetail.add_member(:payer_responsibility, Shapes::ShapeRef.new(shape: PayerResponsibility, location_name: "payerResponsibility"))
|
11810
11849
|
ServiceDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
11811
11850
|
ServiceDetail.add_member(:private_dns_name_verification_state, Shapes::ShapeRef.new(shape: DnsNameState, location_name: "privateDnsNameVerificationState"))
|
11851
|
+
ServiceDetail.add_member(:supported_ip_address_types, Shapes::ShapeRef.new(shape: SupportedIpAddressTypes, location_name: "supportedIpAddressTypeSet"))
|
11812
11852
|
ServiceDetail.struct_class = Types::ServiceDetail
|
11813
11853
|
|
11814
11854
|
ServiceDetailSet.member = Shapes::ShapeRef.new(shape: ServiceDetail, location_name: "item")
|
@@ -12238,6 +12278,8 @@ module Aws::EC2
|
|
12238
12278
|
|
12239
12279
|
SuccessfulQueuedPurchaseDeletionSet.member = Shapes::ShapeRef.new(shape: SuccessfulQueuedPurchaseDeletion, location_name: "item")
|
12240
12280
|
|
12281
|
+
SupportedIpAddressTypes.member = Shapes::ShapeRef.new(shape: ServiceConnectivityType, location_name: "item")
|
12282
|
+
|
12241
12283
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
|
12242
12284
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
12243
12285
|
Tag.struct_class = Types::Tag
|
@@ -12415,6 +12457,7 @@ module Aws::EC2
|
|
12415
12457
|
TrafficMirrorTarget.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
12416
12458
|
TrafficMirrorTarget.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
12417
12459
|
TrafficMirrorTarget.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
12460
|
+
TrafficMirrorTarget.add_member(:gateway_load_balancer_endpoint_id, Shapes::ShapeRef.new(shape: String, location_name: "gatewayLoadBalancerEndpointId"))
|
12418
12461
|
TrafficMirrorTarget.struct_class = Types::TrafficMirrorTarget
|
12419
12462
|
|
12420
12463
|
TrafficMirrorTargetIdList.member = Shapes::ShapeRef.new(shape: TrafficMirrorTargetId, location_name: "item")
|
@@ -13034,6 +13077,8 @@ module Aws::EC2
|
|
13034
13077
|
VpcEndpoint.add_member(:route_table_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "routeTableIdSet"))
|
13035
13078
|
VpcEndpoint.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "subnetIdSet"))
|
13036
13079
|
VpcEndpoint.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierSet, location_name: "groupSet"))
|
13080
|
+
VpcEndpoint.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
13081
|
+
VpcEndpoint.add_member(:dns_options, Shapes::ShapeRef.new(shape: DnsOptions, location_name: "dnsOptions"))
|
13037
13082
|
VpcEndpoint.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "privateDnsEnabled"))
|
13038
13083
|
VpcEndpoint.add_member(:requester_managed, Shapes::ShapeRef.new(shape: Boolean, location_name: "requesterManaged"))
|
13039
13084
|
VpcEndpoint.add_member(:network_interface_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "networkInterfaceIdSet"))
|
@@ -13052,6 +13097,7 @@ module Aws::EC2
|
|
13052
13097
|
VpcEndpointConnection.add_member(:dns_entries, Shapes::ShapeRef.new(shape: DnsEntrySet, location_name: "dnsEntrySet"))
|
13053
13098
|
VpcEndpointConnection.add_member(:network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "networkLoadBalancerArnSet"))
|
13054
13099
|
VpcEndpointConnection.add_member(:gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "gatewayLoadBalancerArnSet"))
|
13100
|
+
VpcEndpointConnection.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
13055
13101
|
VpcEndpointConnection.struct_class = Types::VpcEndpointConnection
|
13056
13102
|
|
13057
13103
|
VpcEndpointConnectionSet.member = Shapes::ShapeRef.new(shape: VpcEndpointConnection, location_name: "item")
|
@@ -16822,6 +16868,14 @@ module Aws::EC2
|
|
16822
16868
|
)
|
16823
16869
|
end)
|
16824
16870
|
|
16871
|
+
api.add_operation(:get_instance_uefi_data, Seahorse::Model::Operation.new.tap do |o|
|
16872
|
+
o.name = "GetInstanceUefiData"
|
16873
|
+
o.http_method = "POST"
|
16874
|
+
o.http_request_uri = "/"
|
16875
|
+
o.input = Shapes::ShapeRef.new(shape: GetInstanceUefiDataRequest)
|
16876
|
+
o.output = Shapes::ShapeRef.new(shape: GetInstanceUefiDataResult)
|
16877
|
+
end)
|
16878
|
+
|
16825
16879
|
api.add_operation(:get_ipam_address_history, Seahorse::Model::Operation.new.tap do |o|
|
16826
16880
|
o.name = "GetIpamAddressHistory"
|
16827
16881
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -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 ({})
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -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]
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -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)
|