aws-sdk-ec2 1.418.0 → 1.420.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +270 -81
- data/lib/aws-sdk-ec2/client_api.rb +83 -2
- data/lib/aws-sdk-ec2/endpoints.rb +14 -0
- data/lib/aws-sdk-ec2/instance.rb +16 -3
- data/lib/aws-sdk-ec2/placement_group.rb +3 -2
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-ec2/resource.rb +9 -2
- data/lib/aws-sdk-ec2/subnet.rb +9 -2
- data/lib/aws-sdk-ec2/types.rb +483 -146
- data/lib/aws-sdk-ec2/vpc.rb +3 -2
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -317,7 +317,6 @@ module Aws::EC2
|
|
317
317
|
ClientLoginBannerOptions = Shapes::StructureShape.new(name: 'ClientLoginBannerOptions')
|
318
318
|
ClientLoginBannerResponseOptions = Shapes::StructureShape.new(name: 'ClientLoginBannerResponseOptions')
|
319
319
|
ClientSecretType = Shapes::StringShape.new(name: 'ClientSecretType')
|
320
|
-
ClientVpnAssociationId = Shapes::StringShape.new(name: 'ClientVpnAssociationId')
|
321
320
|
ClientVpnAuthentication = Shapes::StructureShape.new(name: 'ClientVpnAuthentication')
|
322
321
|
ClientVpnAuthenticationList = Shapes::ListShape.new(name: 'ClientVpnAuthenticationList')
|
323
322
|
ClientVpnAuthenticationRequest = Shapes::StructureShape.new(name: 'ClientVpnAuthenticationRequest')
|
@@ -870,6 +869,11 @@ module Aws::EC2
|
|
870
869
|
DescribeInstanceEventWindowsResult = Shapes::StructureShape.new(name: 'DescribeInstanceEventWindowsResult')
|
871
870
|
DescribeInstanceStatusRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStatusRequest')
|
872
871
|
DescribeInstanceStatusResult = Shapes::StructureShape.new(name: 'DescribeInstanceStatusResult')
|
872
|
+
DescribeInstanceTopologyGroupNameSet = Shapes::ListShape.new(name: 'DescribeInstanceTopologyGroupNameSet')
|
873
|
+
DescribeInstanceTopologyInstanceIdSet = Shapes::ListShape.new(name: 'DescribeInstanceTopologyInstanceIdSet')
|
874
|
+
DescribeInstanceTopologyMaxResults = Shapes::IntegerShape.new(name: 'DescribeInstanceTopologyMaxResults')
|
875
|
+
DescribeInstanceTopologyRequest = Shapes::StructureShape.new(name: 'DescribeInstanceTopologyRequest')
|
876
|
+
DescribeInstanceTopologyResult = Shapes::StructureShape.new(name: 'DescribeInstanceTopologyResult')
|
873
877
|
DescribeInstanceTypeOfferingsRequest = Shapes::StructureShape.new(name: 'DescribeInstanceTypeOfferingsRequest')
|
874
878
|
DescribeInstanceTypeOfferingsResult = Shapes::StructureShape.new(name: 'DescribeInstanceTypeOfferingsResult')
|
875
879
|
DescribeInstanceTypesRequest = Shapes::StructureShape.new(name: 'DescribeInstanceTypesRequest')
|
@@ -1238,8 +1242,10 @@ module Aws::EC2
|
|
1238
1242
|
ElasticInferenceAccelerators = Shapes::ListShape.new(name: 'ElasticInferenceAccelerators')
|
1239
1243
|
ElasticIpAssociationId = Shapes::StringShape.new(name: 'ElasticIpAssociationId')
|
1240
1244
|
EnaSrdSpecification = Shapes::StructureShape.new(name: 'EnaSrdSpecification')
|
1245
|
+
EnaSrdSpecificationRequest = Shapes::StructureShape.new(name: 'EnaSrdSpecificationRequest')
|
1241
1246
|
EnaSrdSupported = Shapes::BooleanShape.new(name: 'EnaSrdSupported')
|
1242
1247
|
EnaSrdUdpSpecification = Shapes::StructureShape.new(name: 'EnaSrdUdpSpecification')
|
1248
|
+
EnaSrdUdpSpecificationRequest = Shapes::StructureShape.new(name: 'EnaSrdUdpSpecificationRequest')
|
1243
1249
|
EnaSupport = Shapes::StringShape.new(name: 'EnaSupport')
|
1244
1250
|
EnableAddressTransferRequest = Shapes::StructureShape.new(name: 'EnableAddressTransferRequest')
|
1245
1251
|
EnableAddressTransferResult = Shapes::StructureShape.new(name: 'EnableAddressTransferResult')
|
@@ -1604,6 +1610,8 @@ module Aws::EC2
|
|
1604
1610
|
InferenceDeviceName = Shapes::StringShape.new(name: 'InferenceDeviceName')
|
1605
1611
|
InsideCidrBlocksStringList = Shapes::ListShape.new(name: 'InsideCidrBlocksStringList')
|
1606
1612
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
1613
|
+
InstanceAttachmentEnaSrdSpecification = Shapes::StructureShape.new(name: 'InstanceAttachmentEnaSrdSpecification')
|
1614
|
+
InstanceAttachmentEnaSrdUdpSpecification = Shapes::StructureShape.new(name: 'InstanceAttachmentEnaSrdUdpSpecification')
|
1607
1615
|
InstanceAttribute = Shapes::StructureShape.new(name: 'InstanceAttribute')
|
1608
1616
|
InstanceAttributeName = Shapes::StringShape.new(name: 'InstanceAttributeName')
|
1609
1617
|
InstanceAutoRecoveryState = Shapes::StringShape.new(name: 'InstanceAutoRecoveryState')
|
@@ -1684,6 +1692,7 @@ module Aws::EC2
|
|
1684
1692
|
InstanceRequirements = Shapes::StructureShape.new(name: 'InstanceRequirements')
|
1685
1693
|
InstanceRequirementsRequest = Shapes::StructureShape.new(name: 'InstanceRequirementsRequest')
|
1686
1694
|
InstanceRequirementsWithMetadataRequest = Shapes::StructureShape.new(name: 'InstanceRequirementsWithMetadataRequest')
|
1695
|
+
InstanceSet = Shapes::ListShape.new(name: 'InstanceSet')
|
1687
1696
|
InstanceSpecification = Shapes::StructureShape.new(name: 'InstanceSpecification')
|
1688
1697
|
InstanceState = Shapes::StructureShape.new(name: 'InstanceState')
|
1689
1698
|
InstanceStateChange = Shapes::StructureShape.new(name: 'InstanceStateChange')
|
@@ -1701,6 +1710,7 @@ module Aws::EC2
|
|
1701
1710
|
InstanceStorageInfo = Shapes::StructureShape.new(name: 'InstanceStorageInfo')
|
1702
1711
|
InstanceTagKeySet = Shapes::ListShape.new(name: 'InstanceTagKeySet')
|
1703
1712
|
InstanceTagNotificationAttribute = Shapes::StructureShape.new(name: 'InstanceTagNotificationAttribute')
|
1713
|
+
InstanceTopology = Shapes::StructureShape.new(name: 'InstanceTopology')
|
1704
1714
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
1705
1715
|
InstanceTypeHypervisor = Shapes::StringShape.new(name: 'InstanceTypeHypervisor')
|
1706
1716
|
InstanceTypeInfo = Shapes::StructureShape.new(name: 'InstanceTypeInfo')
|
@@ -1860,6 +1870,8 @@ module Aws::EC2
|
|
1860
1870
|
LaunchTemplateElasticInferenceAcceleratorList = Shapes::ListShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorList')
|
1861
1871
|
LaunchTemplateElasticInferenceAcceleratorResponse = Shapes::StructureShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorResponse')
|
1862
1872
|
LaunchTemplateElasticInferenceAcceleratorResponseList = Shapes::ListShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorResponseList')
|
1873
|
+
LaunchTemplateEnaSrdSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateEnaSrdSpecification')
|
1874
|
+
LaunchTemplateEnaSrdUdpSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateEnaSrdUdpSpecification')
|
1863
1875
|
LaunchTemplateEnclaveOptions = Shapes::StructureShape.new(name: 'LaunchTemplateEnclaveOptions')
|
1864
1876
|
LaunchTemplateEnclaveOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateEnclaveOptionsRequest')
|
1865
1877
|
LaunchTemplateErrorCode = Shapes::StringShape.new(name: 'LaunchTemplateErrorCode')
|
@@ -2196,6 +2208,7 @@ module Aws::EC2
|
|
2196
2208
|
NetworkInterfacePrivateIpAddressList = Shapes::ListShape.new(name: 'NetworkInterfacePrivateIpAddressList')
|
2197
2209
|
NetworkInterfaceStatus = Shapes::StringShape.new(name: 'NetworkInterfaceStatus')
|
2198
2210
|
NetworkInterfaceType = Shapes::StringShape.new(name: 'NetworkInterfaceType')
|
2211
|
+
NetworkNodesList = Shapes::ListShape.new(name: 'NetworkNodesList')
|
2199
2212
|
NetworkPerformance = Shapes::StringShape.new(name: 'NetworkPerformance')
|
2200
2213
|
NewDhcpConfiguration = Shapes::StructureShape.new(name: 'NewDhcpConfiguration')
|
2201
2214
|
NewDhcpConfigurationList = Shapes::ListShape.new(name: 'NewDhcpConfigurationList')
|
@@ -6571,6 +6584,22 @@ module Aws::EC2
|
|
6571
6584
|
DescribeInstanceStatusResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6572
6585
|
DescribeInstanceStatusResult.struct_class = Types::DescribeInstanceStatusResult
|
6573
6586
|
|
6587
|
+
DescribeInstanceTopologyGroupNameSet.member = Shapes::ShapeRef.new(shape: PlacementGroupName)
|
6588
|
+
|
6589
|
+
DescribeInstanceTopologyInstanceIdSet.member = Shapes::ShapeRef.new(shape: InstanceId)
|
6590
|
+
|
6591
|
+
DescribeInstanceTopologyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6592
|
+
DescribeInstanceTopologyRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
6593
|
+
DescribeInstanceTopologyRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeInstanceTopologyMaxResults, location_name: "MaxResults"))
|
6594
|
+
DescribeInstanceTopologyRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: DescribeInstanceTopologyInstanceIdSet, location_name: "InstanceId"))
|
6595
|
+
DescribeInstanceTopologyRequest.add_member(:group_names, Shapes::ShapeRef.new(shape: DescribeInstanceTopologyGroupNameSet, location_name: "GroupName"))
|
6596
|
+
DescribeInstanceTopologyRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
6597
|
+
DescribeInstanceTopologyRequest.struct_class = Types::DescribeInstanceTopologyRequest
|
6598
|
+
|
6599
|
+
DescribeInstanceTopologyResult.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceSet, location_name: "instanceSet"))
|
6600
|
+
DescribeInstanceTopologyResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6601
|
+
DescribeInstanceTopologyResult.struct_class = Types::DescribeInstanceTopologyResult
|
6602
|
+
|
6574
6603
|
DescribeInstanceTypeOfferingsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6575
6604
|
DescribeInstanceTypeOfferingsRequest.add_member(:location_type, Shapes::ShapeRef.new(shape: LocationType, location_name: "LocationType"))
|
6576
6605
|
DescribeInstanceTypeOfferingsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
@@ -7845,7 +7874,7 @@ module Aws::EC2
|
|
7845
7874
|
DisassociateAddressRequest.struct_class = Types::DisassociateAddressRequest
|
7846
7875
|
|
7847
7876
|
DisassociateClientVpnTargetNetworkRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
7848
|
-
DisassociateClientVpnTargetNetworkRequest.add_member(:association_id, Shapes::ShapeRef.new(shape:
|
7877
|
+
DisassociateClientVpnTargetNetworkRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AssociationId"))
|
7849
7878
|
DisassociateClientVpnTargetNetworkRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7850
7879
|
DisassociateClientVpnTargetNetworkRequest.struct_class = Types::DisassociateClientVpnTargetNetworkRequest
|
7851
7880
|
|
@@ -8112,9 +8141,16 @@ module Aws::EC2
|
|
8112
8141
|
EnaSrdSpecification.add_member(:ena_srd_udp_specification, Shapes::ShapeRef.new(shape: EnaSrdUdpSpecification, location_name: "EnaSrdUdpSpecification"))
|
8113
8142
|
EnaSrdSpecification.struct_class = Types::EnaSrdSpecification
|
8114
8143
|
|
8144
|
+
EnaSrdSpecificationRequest.add_member(:ena_srd_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnaSrdEnabled"))
|
8145
|
+
EnaSrdSpecificationRequest.add_member(:ena_srd_udp_specification, Shapes::ShapeRef.new(shape: EnaSrdUdpSpecificationRequest, location_name: "EnaSrdUdpSpecification"))
|
8146
|
+
EnaSrdSpecificationRequest.struct_class = Types::EnaSrdSpecificationRequest
|
8147
|
+
|
8115
8148
|
EnaSrdUdpSpecification.add_member(:ena_srd_udp_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnaSrdUdpEnabled"))
|
8116
8149
|
EnaSrdUdpSpecification.struct_class = Types::EnaSrdUdpSpecification
|
8117
8150
|
|
8151
|
+
EnaSrdUdpSpecificationRequest.add_member(:ena_srd_udp_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnaSrdUdpEnabled"))
|
8152
|
+
EnaSrdUdpSpecificationRequest.struct_class = Types::EnaSrdUdpSpecificationRequest
|
8153
|
+
|
8118
8154
|
EnableAddressTransferRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
8119
8155
|
EnableAddressTransferRequest.add_member(:transfer_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransferAccountId"))
|
8120
8156
|
EnableAddressTransferRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -8744,6 +8780,7 @@ module Aws::EC2
|
|
8744
8780
|
GetCoipPoolUsageResult.add_member(:coip_pool_id, Shapes::ShapeRef.new(shape: String, location_name: "coipPoolId"))
|
8745
8781
|
GetCoipPoolUsageResult.add_member(:coip_address_usages, Shapes::ShapeRef.new(shape: CoipAddressUsageSet, location_name: "coipAddressUsageSet"))
|
8746
8782
|
GetCoipPoolUsageResult.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: String, location_name: "localGatewayRouteTableId"))
|
8783
|
+
GetCoipPoolUsageResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
8747
8784
|
GetCoipPoolUsageResult.struct_class = Types::GetCoipPoolUsageResult
|
8748
8785
|
|
8749
8786
|
GetConsoleOutputRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
@@ -9640,6 +9677,13 @@ module Aws::EC2
|
|
9640
9677
|
Instance.add_member(:current_instance_boot_mode, Shapes::ShapeRef.new(shape: InstanceBootModeValues, location_name: "currentInstanceBootMode"))
|
9641
9678
|
Instance.struct_class = Types::Instance
|
9642
9679
|
|
9680
|
+
InstanceAttachmentEnaSrdSpecification.add_member(:ena_srd_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enaSrdEnabled"))
|
9681
|
+
InstanceAttachmentEnaSrdSpecification.add_member(:ena_srd_udp_specification, Shapes::ShapeRef.new(shape: InstanceAttachmentEnaSrdUdpSpecification, location_name: "enaSrdUdpSpecification"))
|
9682
|
+
InstanceAttachmentEnaSrdSpecification.struct_class = Types::InstanceAttachmentEnaSrdSpecification
|
9683
|
+
|
9684
|
+
InstanceAttachmentEnaSrdUdpSpecification.add_member(:ena_srd_udp_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enaSrdUdpEnabled"))
|
9685
|
+
InstanceAttachmentEnaSrdUdpSpecification.struct_class = Types::InstanceAttachmentEnaSrdUdpSpecification
|
9686
|
+
|
9643
9687
|
InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
|
9644
9688
|
InstanceAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappingList, location_name: "blockDeviceMapping"))
|
9645
9689
|
InstanceAttribute.add_member(:disable_api_termination, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "disableApiTermination"))
|
@@ -9851,6 +9895,7 @@ module Aws::EC2
|
|
9851
9895
|
InstanceNetworkInterfaceAttachment.add_member(:device_index, Shapes::ShapeRef.new(shape: Integer, location_name: "deviceIndex"))
|
9852
9896
|
InstanceNetworkInterfaceAttachment.add_member(:status, Shapes::ShapeRef.new(shape: AttachmentStatus, location_name: "status"))
|
9853
9897
|
InstanceNetworkInterfaceAttachment.add_member(:network_card_index, Shapes::ShapeRef.new(shape: Integer, location_name: "networkCardIndex"))
|
9898
|
+
InstanceNetworkInterfaceAttachment.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: InstanceAttachmentEnaSrdSpecification, location_name: "enaSrdSpecification"))
|
9854
9899
|
InstanceNetworkInterfaceAttachment.struct_class = Types::InstanceNetworkInterfaceAttachment
|
9855
9900
|
|
9856
9901
|
InstanceNetworkInterfaceList.member = Shapes::ShapeRef.new(shape: InstanceNetworkInterface, location_name: "item")
|
@@ -9875,6 +9920,7 @@ module Aws::EC2
|
|
9875
9920
|
InstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixList, location_name: "Ipv6Prefix"))
|
9876
9921
|
InstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
|
9877
9922
|
InstanceNetworkInterfaceSpecification.add_member(:primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrimaryIpv6"))
|
9923
|
+
InstanceNetworkInterfaceSpecification.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: EnaSrdSpecificationRequest, location_name: "EnaSrdSpecification"))
|
9878
9924
|
InstanceNetworkInterfaceSpecification.struct_class = Types::InstanceNetworkInterfaceSpecification
|
9879
9925
|
|
9880
9926
|
InstanceNetworkInterfaceSpecificationList.member = Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecification, location_name: "item")
|
@@ -9942,6 +9988,8 @@ module Aws::EC2
|
|
9942
9988
|
InstanceRequirementsWithMetadataRequest.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
|
9943
9989
|
InstanceRequirementsWithMetadataRequest.struct_class = Types::InstanceRequirementsWithMetadataRequest
|
9944
9990
|
|
9991
|
+
InstanceSet.member = Shapes::ShapeRef.new(shape: InstanceTopology, location_name: "item")
|
9992
|
+
|
9945
9993
|
InstanceSpecification.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdWithVolumeResolver, required: true, location_name: "InstanceId"))
|
9946
9994
|
InstanceSpecification.add_member(:exclude_boot_volume, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExcludeBootVolume"))
|
9947
9995
|
InstanceSpecification.add_member(:exclude_data_volume_ids, Shapes::ShapeRef.new(shape: VolumeIdStringList, location_name: "ExcludeDataVolumeId"))
|
@@ -10002,6 +10050,14 @@ module Aws::EC2
|
|
10002
10050
|
InstanceTagNotificationAttribute.add_member(:include_all_tags_of_instance, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeAllTagsOfInstance"))
|
10003
10051
|
InstanceTagNotificationAttribute.struct_class = Types::InstanceTagNotificationAttribute
|
10004
10052
|
|
10053
|
+
InstanceTopology.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
10054
|
+
InstanceTopology.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
10055
|
+
InstanceTopology.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
|
10056
|
+
InstanceTopology.add_member(:network_nodes, Shapes::ShapeRef.new(shape: NetworkNodesList, location_name: "networkNodeSet"))
|
10057
|
+
InstanceTopology.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
10058
|
+
InstanceTopology.add_member(:zone_id, Shapes::ShapeRef.new(shape: String, location_name: "zoneId"))
|
10059
|
+
InstanceTopology.struct_class = Types::InstanceTopology
|
10060
|
+
|
10005
10061
|
InstanceTypeInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
10006
10062
|
InstanceTypeInfo.add_member(:current_generation, Shapes::ShapeRef.new(shape: CurrentGenerationFlag, location_name: "currentGeneration"))
|
10007
10063
|
InstanceTypeInfo.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: FreeTierEligibleFlag, location_name: "freeTierEligible"))
|
@@ -10492,6 +10548,13 @@ module Aws::EC2
|
|
10492
10548
|
|
10493
10549
|
LaunchTemplateElasticInferenceAcceleratorResponseList.member = Shapes::ShapeRef.new(shape: LaunchTemplateElasticInferenceAcceleratorResponse, location_name: "item")
|
10494
10550
|
|
10551
|
+
LaunchTemplateEnaSrdSpecification.add_member(:ena_srd_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enaSrdEnabled"))
|
10552
|
+
LaunchTemplateEnaSrdSpecification.add_member(:ena_srd_udp_specification, Shapes::ShapeRef.new(shape: LaunchTemplateEnaSrdUdpSpecification, location_name: "enaSrdUdpSpecification"))
|
10553
|
+
LaunchTemplateEnaSrdSpecification.struct_class = Types::LaunchTemplateEnaSrdSpecification
|
10554
|
+
|
10555
|
+
LaunchTemplateEnaSrdUdpSpecification.add_member(:ena_srd_udp_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enaSrdUdpEnabled"))
|
10556
|
+
LaunchTemplateEnaSrdUdpSpecification.struct_class = Types::LaunchTemplateEnaSrdUdpSpecification
|
10557
|
+
|
10495
10558
|
LaunchTemplateEnclaveOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
10496
10559
|
LaunchTemplateEnclaveOptions.struct_class = Types::LaunchTemplateEnclaveOptions
|
10497
10560
|
|
@@ -10563,6 +10626,7 @@ module Aws::EC2
|
|
10563
10626
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixListResponse, location_name: "ipv6PrefixSet"))
|
10564
10627
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ipv6PrefixCount"))
|
10565
10628
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "primaryIpv6"))
|
10629
|
+
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: LaunchTemplateEnaSrdSpecification, location_name: "enaSrdSpecification"))
|
10566
10630
|
LaunchTemplateInstanceNetworkInterfaceSpecification.struct_class = Types::LaunchTemplateInstanceNetworkInterfaceSpecification
|
10567
10631
|
|
10568
10632
|
LaunchTemplateInstanceNetworkInterfaceSpecificationList.member = Shapes::ShapeRef.new(shape: LaunchTemplateInstanceNetworkInterfaceSpecification, location_name: "item")
|
@@ -10587,6 +10651,7 @@ module Aws::EC2
|
|
10587
10651
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixList, location_name: "Ipv6Prefix"))
|
10588
10652
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
|
10589
10653
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrimaryIpv6"))
|
10654
|
+
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: EnaSrdSpecificationRequest, location_name: "EnaSrdSpecification"))
|
10590
10655
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.struct_class = Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest
|
10591
10656
|
|
10592
10657
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList.member = Shapes::ShapeRef.new(shape: LaunchTemplateInstanceNetworkInterfaceSpecificationRequest, location_name: "InstanceNetworkInterfaceSpecification")
|
@@ -11925,6 +11990,8 @@ module Aws::EC2
|
|
11925
11990
|
|
11926
11991
|
NetworkInterfacePrivateIpAddressList.member = Shapes::ShapeRef.new(shape: NetworkInterfacePrivateIpAddress, location_name: "item")
|
11927
11992
|
|
11993
|
+
NetworkNodesList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
11994
|
+
|
11928
11995
|
NewDhcpConfiguration.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
|
11929
11996
|
NewDhcpConfiguration.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Value"))
|
11930
11997
|
NewDhcpConfiguration.struct_class = Types::NewDhcpConfiguration
|
@@ -17543,6 +17610,20 @@ module Aws::EC2
|
|
17543
17610
|
)
|
17544
17611
|
end)
|
17545
17612
|
|
17613
|
+
api.add_operation(:describe_instance_topology, Seahorse::Model::Operation.new.tap do |o|
|
17614
|
+
o.name = "DescribeInstanceTopology"
|
17615
|
+
o.http_method = "POST"
|
17616
|
+
o.http_request_uri = "/"
|
17617
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeInstanceTopologyRequest)
|
17618
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeInstanceTopologyResult)
|
17619
|
+
o[:pager] = Aws::Pager.new(
|
17620
|
+
limit_key: "max_results",
|
17621
|
+
tokens: {
|
17622
|
+
"next_token" => "next_token"
|
17623
|
+
}
|
17624
|
+
)
|
17625
|
+
end)
|
17626
|
+
|
17546
17627
|
api.add_operation(:describe_instance_type_offerings, Seahorse::Model::Operation.new.tap do |o|
|
17547
17628
|
o.name = "DescribeInstanceTypeOfferings"
|
17548
17629
|
o.http_method = "POST"
|
@@ -3764,6 +3764,20 @@ module Aws::EC2
|
|
3764
3764
|
end
|
3765
3765
|
end
|
3766
3766
|
|
3767
|
+
class DescribeInstanceTopology
|
3768
|
+
def self.build(context)
|
3769
|
+
unless context.config.regional_endpoint
|
3770
|
+
endpoint = context.config.endpoint.to_s
|
3771
|
+
end
|
3772
|
+
Aws::EC2::EndpointParameters.new(
|
3773
|
+
region: context.config.region,
|
3774
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
3775
|
+
use_fips: context.config.use_fips_endpoint,
|
3776
|
+
endpoint: endpoint,
|
3777
|
+
)
|
3778
|
+
end
|
3779
|
+
end
|
3780
|
+
|
3767
3781
|
class DescribeInstanceTypeOfferings
|
3768
3782
|
def self.build(context)
|
3769
3783
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -779,9 +779,22 @@ module Aws::EC2
|
|
779
779
|
# })
|
780
780
|
# @param [Hash] options ({})
|
781
781
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
782
|
-
# The block device mappings.
|
783
|
-
#
|
784
|
-
#
|
782
|
+
# The block device mappings.
|
783
|
+
#
|
784
|
+
# When using the CreateImage action:
|
785
|
+
#
|
786
|
+
# * You can't change the volume size using the VolumeSize parameter. If
|
787
|
+
# you want a different volume size, you must first change the volume
|
788
|
+
# size of the source instance.
|
789
|
+
#
|
790
|
+
# * You can't modify the encryption status of existing volumes or
|
791
|
+
# snapshots. To create an AMI with volumes or snapshots that have a
|
792
|
+
# different encryption status (for example, where the source volume
|
793
|
+
# and snapshots are unencrypted, and you want to create an AMI with
|
794
|
+
# encrypted volumes or snapshots), use the CopyImage action.
|
795
|
+
#
|
796
|
+
# * The only option that can be changed for existing mappings or
|
797
|
+
# snapshots is `DeleteOnTermination`.
|
785
798
|
# @option options [String] :description
|
786
799
|
# A description for the new image.
|
787
800
|
# @option options [Boolean] :dry_run
|
@@ -334,8 +334,9 @@ module Aws::EC2
|
|
334
334
|
#
|
335
335
|
# * `instance-id` - The ID of the instance.
|
336
336
|
#
|
337
|
-
# * `instance-lifecycle` - Indicates whether this is a Spot Instance
|
338
|
-
#
|
337
|
+
# * `instance-lifecycle` - Indicates whether this is a Spot Instance, a
|
338
|
+
# Scheduled Instance, or a Capacity Block (`spot` \| `scheduled` \|
|
339
|
+
# `capacity-block`).
|
339
340
|
#
|
340
341
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
341
342
|
# unsigned integer. The high byte is used for internal purposes and
|
@@ -592,6 +592,8 @@ module Aws::EC2
|
|
592
592
|
Aws::EC2::Endpoints::DescribeInstanceEventWindows.build(context)
|
593
593
|
when :describe_instance_status
|
594
594
|
Aws::EC2::Endpoints::DescribeInstanceStatus.build(context)
|
595
|
+
when :describe_instance_topology
|
596
|
+
Aws::EC2::Endpoints::DescribeInstanceTopology.build(context)
|
595
597
|
when :describe_instance_type_offerings
|
596
598
|
Aws::EC2::Endpoints::DescribeInstanceTypeOfferings.build(context)
|
597
599
|
when :describe_instance_types
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -182,6 +182,12 @@ module Aws::EC2
|
|
182
182
|
# ],
|
183
183
|
# ipv_6_prefix_count: 1,
|
184
184
|
# primary_ipv_6: false,
|
185
|
+
# ena_srd_specification: {
|
186
|
+
# ena_srd_enabled: false,
|
187
|
+
# ena_srd_udp_specification: {
|
188
|
+
# ena_srd_udp_enabled: false,
|
189
|
+
# },
|
190
|
+
# },
|
185
191
|
# },
|
186
192
|
# ],
|
187
193
|
# private_ip_address: "String",
|
@@ -2459,8 +2465,9 @@ module Aws::EC2
|
|
2459
2465
|
#
|
2460
2466
|
# * `instance-id` - The ID of the instance.
|
2461
2467
|
#
|
2462
|
-
# * `instance-lifecycle` - Indicates whether this is a Spot Instance
|
2463
|
-
#
|
2468
|
+
# * `instance-lifecycle` - Indicates whether this is a Spot Instance, a
|
2469
|
+
# Scheduled Instance, or a Capacity Block (`spot` \| `scheduled` \|
|
2470
|
+
# `capacity-block`).
|
2464
2471
|
#
|
2465
2472
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
2466
2473
|
# unsigned integer. The high byte is used for internal purposes and
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -408,6 +408,12 @@ module Aws::EC2
|
|
408
408
|
# ],
|
409
409
|
# ipv_6_prefix_count: 1,
|
410
410
|
# primary_ipv_6: false,
|
411
|
+
# ena_srd_specification: {
|
412
|
+
# ena_srd_enabled: false,
|
413
|
+
# ena_srd_udp_specification: {
|
414
|
+
# ena_srd_udp_enabled: false,
|
415
|
+
# },
|
416
|
+
# },
|
411
417
|
# },
|
412
418
|
# ],
|
413
419
|
# private_ip_address: "String",
|
@@ -1228,8 +1234,9 @@ module Aws::EC2
|
|
1228
1234
|
#
|
1229
1235
|
# * `instance-id` - The ID of the instance.
|
1230
1236
|
#
|
1231
|
-
# * `instance-lifecycle` - Indicates whether this is a Spot Instance
|
1232
|
-
#
|
1237
|
+
# * `instance-lifecycle` - Indicates whether this is a Spot Instance, a
|
1238
|
+
# Scheduled Instance, or a Capacity Block (`spot` \| `scheduled` \|
|
1239
|
+
# `capacity-block`).
|
1233
1240
|
#
|
1234
1241
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
1235
1242
|
# unsigned integer. The high byte is used for internal purposes and
|