Skip to content

Commit 10f924b

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent fe58d4c commit 10f924b

File tree

3 files changed

+36
-7
lines changed

3 files changed

+36
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::EC2 - Updated the API, and documentation for Amazon Elastic Compute Cloud.
5+
46
2.11.618 (2020-10-30)
57
------------------
68

aws-sdk-core/apis/ec2/2016-11-15/api-2.json

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4766,7 +4766,8 @@
47664766
"NetworkInterfaceId":{
47674767
"shape":"NetworkInterfaceId",
47684768
"locationName":"networkInterfaceId"
4769-
}
4769+
},
4770+
"NetworkCardIndex":{"shape":"Integer"}
47704771
}
47714772
},
47724773
"AttachNetworkInterfaceResult":{
@@ -4775,6 +4776,10 @@
47754776
"AttachmentId":{
47764777
"shape":"String",
47774778
"locationName":"attachmentId"
4779+
},
4780+
"NetworkCardIndex":{
4781+
"shape":"Integer",
4782+
"locationName":"networkCardIndex"
47784783
}
47794784
}
47804785
},
@@ -18379,6 +18384,10 @@
1837918384
"Status":{
1838018385
"shape":"AttachmentStatus",
1838118386
"locationName":"status"
18387+
},
18388+
"NetworkCardIndex":{
18389+
"shape":"Integer",
18390+
"locationName":"networkCardIndex"
1838218391
}
1838318392
}
1838418393
},
@@ -18443,7 +18452,8 @@
1844318452
"locationName":"subnetId"
1844418453
},
1844518454
"AssociateCarrierIpAddress":{"shape":"Boolean"},
18446-
"InterfaceType":{"shape":"String"}
18455+
"InterfaceType":{"shape":"String"},
18456+
"NetworkCardIndex":{"shape":"Integer"}
1844718457
}
1844818458
},
1844918459
"InstanceNetworkInterfaceSpecificationList":{
@@ -18922,6 +18932,7 @@
1892218932
"p3.8xlarge",
1892318933
"p3.16xlarge",
1892418934
"p3dn.24xlarge",
18935+
"p4d.24xlarge",
1892518936
"d2.xlarge",
1892618937
"d2.2xlarge",
1892718938
"d2.4xlarge",
@@ -20059,6 +20070,10 @@
2005920070
"SubnetId":{
2006020071
"shape":"SubnetId",
2006120072
"locationName":"subnetId"
20073+
},
20074+
"NetworkCardIndex":{
20075+
"shape":"Integer",
20076+
"locationName":"networkCardIndex"
2006220077
}
2006320078
}
2006420079
},
@@ -20088,7 +20103,8 @@
2008820103
"PrivateIpAddress":{"shape":"String"},
2008920104
"PrivateIpAddresses":{"shape":"PrivateIpAddressSpecificationList"},
2009020105
"SecondaryPrivateIpAddressCount":{"shape":"Integer"},
20091-
"SubnetId":{"shape":"SubnetId"}
20106+
"SubnetId":{"shape":"SubnetId"},
20107+
"NetworkCardIndex":{"shape":"Integer"}
2009220108
}
2009320109
},
2009420110
"LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList":{
@@ -22544,6 +22560,10 @@
2254422560
"shape":"Integer",
2254522561
"locationName":"deviceIndex"
2254622562
},
22563+
"NetworkCardIndex":{
22564+
"shape":"Integer",
22565+
"locationName":"networkCardIndex"
22566+
},
2254722567
"InstanceId":{
2254822568
"shape":"String",
2254922569
"locationName":"instanceId"

aws-sdk-core/apis/ec2/2016-11-15/docs-2.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8050,6 +8050,8 @@
80508050
"AssignIpv6AddressesRequest$Ipv6AddressCount": "<p>The number of IPv6 addresses to assign to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.</p>",
80518051
"AssignPrivateIpAddressesRequest$SecondaryPrivateIpAddressCount": "<p>The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.</p>",
80528052
"AttachNetworkInterfaceRequest$DeviceIndex": "<p>The index of the device for the network interface attachment.</p>",
8053+
"AttachNetworkInterfaceRequest$NetworkCardIndex": "<p>The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.</p>",
8054+
"AttachNetworkInterfaceResult$NetworkCardIndex": "<p>The index of the network card.</p>",
80538055
"AuthorizeSecurityGroupEgressRequest$FromPort": "<p>Not supported. Use a set of IP permissions to specify the port.</p>",
80548056
"AuthorizeSecurityGroupEgressRequest$ToPort": "<p>Not supported. Use a set of IP permissions to specify the port.</p>",
80558057
"AuthorizeSecurityGroupIngressRequest$FromPort": "<p>The start of port range for the TCP and UDP protocols, or an ICMP type number. For the ICMP type number, use <code>-1</code> to specify all types. If you specify all ICMP types, you must specify all codes.</p> <p>Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.</p>",
@@ -8134,9 +8136,11 @@
81348136
"InstanceMetadataOptionsRequest$HttpPutResponseHopLimit": "<p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.</p> <p>Default: 1</p> <p>Possible values: Integers from 1 to 64</p>",
81358137
"InstanceMetadataOptionsResponse$HttpPutResponseHopLimit": "<p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.</p> <p>Default: 1</p> <p>Possible values: Integers from 1 to 64</p>",
81368138
"InstanceNetworkInterfaceAttachment$DeviceIndex": "<p>The index of the device on the instance for the network interface attachment.</p>",
8139+
"InstanceNetworkInterfaceAttachment$NetworkCardIndex": "<p>The index of the network card.</p>",
81378140
"InstanceNetworkInterfaceSpecification$DeviceIndex": "<p>The position of the network interface in the attachment order. A primary network interface has a device index of 0.</p> <p>If you specify a network interface when launching an instance, you must specify the device index.</p>",
81388141
"InstanceNetworkInterfaceSpecification$Ipv6AddressCount": "<p>A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.</p>",
81398142
"InstanceNetworkInterfaceSpecification$SecondaryPrivateIpAddressCount": "<p>The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html\">RunInstances</a> request.</p>",
8143+
"InstanceNetworkInterfaceSpecification$NetworkCardIndex": "<p>The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.</p>",
81408144
"InstanceState$Code": "<p>The state of the instance as a 16-bit unsigned integer. </p> <p>The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values between 256 and 65,535. These numerical values are used for internal purposes and should be ignored.</p> <p>The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values between 0 and 255. </p> <p>The valid values for instance-state-code will all be in the range of the low byte and they are:</p> <ul> <li> <p> <code>0</code> : <code>pending</code> </p> </li> <li> <p> <code>16</code> : <code>running</code> </p> </li> <li> <p> <code>32</code> : <code>shutting-down</code> </p> </li> <li> <p> <code>48</code> : <code>terminated</code> </p> </li> <li> <p> <code>64</code> : <code>stopping</code> </p> </li> <li> <p> <code>80</code> : <code>stopped</code> </p> </li> </ul> <p>You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in decimal.</p>",
81418145
"InstanceUsage$UsedInstanceCount": "<p>The number of instances the AWS account currently has in the Capacity Reservation.</p>",
81428146
"IpPermission$FromPort": "<p>The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of <code>-1</code> indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.</p>",
@@ -8155,9 +8159,11 @@
81558159
"LaunchTemplateInstanceNetworkInterfaceSpecification$DeviceIndex": "<p>The device index for the network interface attachment.</p>",
81568160
"LaunchTemplateInstanceNetworkInterfaceSpecification$Ipv6AddressCount": "<p>The number of IPv6 addresses for the network interface.</p>",
81578161
"LaunchTemplateInstanceNetworkInterfaceSpecification$SecondaryPrivateIpAddressCount": "<p>The number of secondary private IPv4 addresses for the network interface.</p>",
8162+
"LaunchTemplateInstanceNetworkInterfaceSpecification$NetworkCardIndex": "<p>The index of the network card.</p>",
81588163
"LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$DeviceIndex": "<p>The device index for the network interface attachment.</p>",
81598164
"LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$Ipv6AddressCount": "<p>The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.</p>",
81608165
"LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$SecondaryPrivateIpAddressCount": "<p>The number of secondary private IPv4 addresses to assign to a network interface.</p>",
8166+
"LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$NetworkCardIndex": "<p>The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.</p>",
81618167
"LaunchTemplatePlacement$PartitionNumber": "<p>The number of the partition the instance should launch in. Valid only if the placement group strategy is set to <code>partition</code>.</p>",
81628168
"LaunchTemplatePlacementRequest$PartitionNumber": "<p>The number of the partition the instance should launch in. Valid only if the placement group strategy is set to <code>partition</code>.</p>",
81638169
"LaunchTemplateSpotMarketOptions$BlockDurationMinutes": "<p>The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).</p>",
@@ -8187,6 +8193,7 @@
81878193
"ModifyVpnTunnelOptionsSpecification$DPDTimeoutSeconds": "<p>The number of seconds after which a DPD timeout occurs.</p> <p>Constraints: A value between 0 and 30.</p> <p>Default: <code>30</code> </p>",
81888194
"NetworkAclEntry$RuleNumber": "<p>The rule number for the entry. ACL entries are processed in ascending order by rule number.</p>",
81898195
"NetworkInterfaceAttachment$DeviceIndex": "<p>The device index of the network interface attachment on the instance.</p>",
8196+
"NetworkInterfaceAttachment$NetworkCardIndex": "<p>The index of the network card.</p>",
81908197
"OccurrenceDayRequestSet$member": null,
81918198
"OccurrenceDaySet$member": null,
81928199
"OnDemandOptions$MinTargetCapacity": "<p>The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances.</p>",
@@ -8716,9 +8723,9 @@
87168723
}
87178724
},
87188725
"LaunchTemplateEnclaveOptionsRequest": {
8719-
"base": "<p>Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html\"> AWS Nitro Enclaves</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>",
8726+
"base": "<p>Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see <a href=\"https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html\"> What is AWS Nitro Enclaves?</a> in the <i>AWS Nitro Enclaves User Guide</i>.</p>",
87208727
"refs": {
8721-
"RequestLaunchTemplateData$EnclaveOptions": "<p>Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html\"> AWS Nitro Enclaves</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> <p>You can't enable AWS Nitro Enclaves and hibernation on the same instance. For more information about AWS Nitro Enclaves requirements, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html#nitro-enclave-reqs\"> AWS Nitro Enclaves</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
8728+
"RequestLaunchTemplateData$EnclaveOptions": "<p>Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see <a href=\"https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html\"> What is AWS Nitro Enclaves?</a> in the <i>AWS Nitro Enclaves User Guide</i>.</p> <p>You can't enable AWS Nitro Enclaves and hibernation on the same instance.</p>"
87228729
}
87238730
},
87248731
"LaunchTemplateErrorCode": {
@@ -13308,7 +13315,7 @@
1330813315
"InstanceNetworkInterfaceSpecification$NetworkInterfaceId": "<p>The ID of the network interface.</p> <p>If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.</p>",
1330913316
"InstanceNetworkInterfaceSpecification$PrivateIpAddress": "<p>The private IPv4 address of the network interface. Applies only if creating a network interface when launching an instance. You cannot specify this option if you're launching more than one instance in a <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html\">RunInstances</a> request.</p>",
1331013317
"InstanceNetworkInterfaceSpecification$SubnetId": "<p>The ID of the subnet associated with the network interface. Applies only if creating a network interface when launching an instance.</p>",
13311-
"InstanceNetworkInterfaceSpecification$InterfaceType": "<p>The type of network interface. To create an Elastic Fabric Adapter (EFA), specify <code>efa</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html\">Elastic Fabric Adapter</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> <p>If you are not creating an EFA, specify <code>interface</code> or omit this parameter.</p> <p>Valid values: <code>interface</code> | <code>efa</code> </p>",
13318+
"InstanceNetworkInterfaceSpecification$InterfaceType": "<p>The type of network interface.</p> <p>To create an Elastic Fabric Adapter (EFA), specify <code>efa</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html\">Elastic Fabric Adapter</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> <p>If you are not creating an EFA, specify <code>interface</code> or omit this parameter.</p> <p>Valid values: <code>interface</code> | <code>efa</code> </p>",
1331213319
"InstancePrivateIpAddress$PrivateDnsName": "<p>The private IPv4 DNS name.</p>",
1331313320
"InstancePrivateIpAddress$PrivateIpAddress": "<p>The private IPv4 address of the network interface.</p>",
1331413321
"InstanceStateChange$InstanceId": "<p>The ID of the instance.</p>",
@@ -13500,7 +13507,7 @@
1350013507
"NetworkInterfaceAssociation$AssociationId": "<p>The association ID.</p>",
1350113508
"NetworkInterfaceAssociation$IpOwnerId": "<p>The ID of the Elastic IP address owner.</p>",
1350213509
"NetworkInterfaceAssociation$PublicDnsName": "<p>The public DNS name.</p>",
13503-
"NetworkInterfaceAssociation$PublicIp": "<p>The address of the Elastic IP address or Carrier IP address bound to the network interface.</p>",
13510+
"NetworkInterfaceAssociation$PublicIp": "<p>The address of the Elastic IP address bound to the network interface.</p>",
1350413511
"NetworkInterfaceAssociation$CustomerOwnedIp": "<p>The customer-owned IP address associated with the network interface.</p>",
1350513512
"NetworkInterfaceAssociation$CarrierIp": "<p>The carrier IP address associated with the network interface.</p> <p>This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.</p>",
1350613513
"NetworkInterfaceAttachment$AttachmentId": "<p>The ID of the network interface attachment.</p>",

0 commit comments

Comments
 (0)