@aws-sdk/client-ec2 3.662.0 → 3.665.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.
Files changed (193) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +1635 -1556
  3. package/dist-cjs/runtimeConfig.js +1 -0
  4. package/dist-es/EC2.js +2 -0
  5. package/dist-es/commands/ModifyInstanceCpuOptionsCommand.js +22 -0
  6. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  7. package/dist-es/commands/ReportInstanceStatusCommand.js +2 -1
  8. package/dist-es/commands/index.js +1 -0
  9. package/dist-es/models/models_2.js +1 -1
  10. package/dist-es/models/models_6.js +1 -6
  11. package/dist-es/models/models_7.js +8 -0
  12. package/dist-es/protocols/Aws_ec2.js +1601 -1545
  13. package/dist-es/runtimeConfig.js +2 -1
  14. package/dist-types/EC2.d.ts +7 -0
  15. package/dist-types/EC2Client.d.ts +3 -2
  16. package/dist-types/commands/AllocateAddressCommand.d.ts +2 -2
  17. package/dist-types/commands/AllocateHostsCommand.d.ts +5 -5
  18. package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +4 -4
  19. package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +5 -5
  20. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
  21. package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
  22. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +6 -2
  23. package/dist-types/commands/AssociateRouteTableCommand.d.ts +2 -2
  24. package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -2
  25. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
  26. package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
  27. package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +4 -4
  28. package/dist-types/commands/AttachVolumeCommand.d.ts +5 -5
  29. package/dist-types/commands/AttachVpnGatewayCommand.d.ts +2 -2
  30. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +32 -32
  31. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +16 -16
  32. package/dist-types/commands/BundleInstanceCommand.d.ts +8 -8
  33. package/dist-types/commands/CancelBundleTaskCommand.d.ts +8 -8
  34. package/dist-types/commands/CancelConversionTaskCommand.d.ts +1 -1
  35. package/dist-types/commands/ConfirmProductInstanceCommand.d.ts +1 -1
  36. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  37. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +6 -6
  39. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +9 -9
  40. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +4 -4
  41. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +8 -8
  42. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateImageCommand.d.ts +18 -18
  45. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +9 -9
  46. package/dist-types/commands/CreateKeyPairCommand.d.ts +4 -4
  47. package/dist-types/commands/CreateNatGatewayCommand.d.ts +7 -1
  48. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
  49. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +6 -6
  50. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +22 -22
  51. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +3 -3
  52. package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +4 -4
  53. package/dist-types/commands/CreateRouteCommand.d.ts +9 -9
  54. package/dist-types/commands/CreateRouteTableCommand.d.ts +2 -2
  55. package/dist-types/commands/CreateSnapshotCommand.d.ts +12 -12
  56. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
  58. package/dist-types/commands/CreateSubnetCommand.d.ts +9 -9
  59. package/dist-types/commands/CreateVolumeCommand.d.ts +21 -21
  60. package/dist-types/commands/CreateVpcCommand.d.ts +8 -8
  61. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +4 -4
  62. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +18 -18
  63. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +10 -10
  64. package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
  65. package/dist-types/commands/DeleteRouteCommand.d.ts +2 -2
  66. package/dist-types/commands/DeleteVpcCommand.d.ts +7 -1
  67. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
  68. package/dist-types/commands/DescribeAddressesCommand.d.ts +6 -6
  69. package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +9 -9
  70. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +9 -9
  71. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +6 -6
  72. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -1
  73. package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +5 -5
  74. package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +12 -12
  75. package/dist-types/commands/DescribeExportTasksCommand.d.ts +3 -3
  76. package/dist-types/commands/DescribeHostsCommand.d.ts +5 -5
  77. package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  78. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +33 -33
  79. package/dist-types/commands/DescribeImagesCommand.d.ts +29 -29
  80. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +7 -7
  81. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +6 -6
  82. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +2 -1
  83. package/dist-types/commands/DescribeInstancesCommand.d.ts +51 -51
  84. package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +6 -6
  85. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +10 -10
  86. package/dist-types/commands/DescribeMovingAddressesCommand.d.ts +6 -6
  87. package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +6 -6
  88. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +2 -2
  89. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -7
  90. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +7 -7
  91. package/dist-types/commands/DescribeRegionsCommand.d.ts +7 -7
  92. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +16 -16
  93. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +2 -2
  94. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +4 -4
  95. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +18 -18
  96. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +6 -6
  97. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +50 -50
  98. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +6 -6
  99. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +21 -21
  100. package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +2 -2
  101. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +3 -3
  102. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +10 -10
  103. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +14 -14
  104. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +9 -9
  105. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +6 -6
  106. package/dist-types/commands/DescribeSubnetsCommand.d.ts +10 -10
  107. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -6
  108. package/dist-types/commands/DescribeVolumesCommand.d.ts +26 -26
  109. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
  110. package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +4 -4
  112. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
  113. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +6 -6
  114. package/dist-types/commands/DescribeVpcsCommand.d.ts +6 -6
  115. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +6 -6
  116. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +10 -10
  117. package/dist-types/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
  118. package/dist-types/commands/DetachVolumeCommand.d.ts +5 -5
  119. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
  120. package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
  121. package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -2
  122. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
  123. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  124. package/dist-types/commands/ImportInstanceCommand.d.ts +24 -24
  125. package/dist-types/commands/ImportKeyPairCommand.d.ts +3 -3
  126. package/dist-types/commands/ImportVolumeCommand.d.ts +3 -3
  127. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  128. package/dist-types/commands/ModifyHostsCommand.d.ts +4 -4
  129. package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
  130. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +5 -5
  131. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +22 -22
  132. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +85 -0
  133. package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +4 -4
  134. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +15 -15
  135. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +2 -2
  136. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +3 -3
  137. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +8 -7
  138. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +7 -8
  139. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +6 -6
  140. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +6 -6
  141. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
  142. package/dist-types/commands/RegisterImageCommand.d.ts +28 -28
  143. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  144. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +6 -6
  145. package/dist-types/commands/ReplaceRouteCommand.d.ts +9 -9
  146. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  147. package/dist-types/commands/ReportInstanceStatusCommand.d.ts +4 -4
  148. package/dist-types/commands/RequestSpotFleetCommand.d.ts +8 -8
  149. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +20 -20
  150. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  151. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +39 -39
  152. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +31 -31
  153. package/dist-types/commands/RunInstancesCommand.d.ts +114 -114
  154. package/dist-types/commands/StartInstancesCommand.d.ts +1 -1
  155. package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
  156. package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
  157. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +3 -3
  158. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +3 -3
  159. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -1
  160. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +15 -15
  161. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +15 -15
  162. package/dist-types/commands/index.d.ts +1 -0
  163. package/dist-types/models/models_0.d.ts +266 -268
  164. package/dist-types/models/models_1.d.ts +231 -231
  165. package/dist-types/models/models_2.d.ts +372 -376
  166. package/dist-types/models/models_3.d.ts +221 -221
  167. package/dist-types/models/models_4.d.ts +858 -858
  168. package/dist-types/models/models_5.d.ts +210 -210
  169. package/dist-types/models/models_6.d.ts +289 -291
  170. package/dist-types/models/models_7.d.ts +424 -361
  171. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  172. package/dist-types/runtimeConfig.browser.d.ts +2 -1
  173. package/dist-types/runtimeConfig.d.ts +2 -1
  174. package/dist-types/runtimeConfig.native.d.ts +2 -1
  175. package/dist-types/ts3.4/EC2.d.ts +17 -0
  176. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  177. package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +51 -0
  178. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +2 -4
  179. package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +4 -2
  180. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  181. package/dist-types/ts3.4/models/models_0.d.ts +56 -56
  182. package/dist-types/ts3.4/models/models_1.d.ts +41 -41
  183. package/dist-types/ts3.4/models/models_2.d.ts +71 -71
  184. package/dist-types/ts3.4/models/models_3.d.ts +27 -27
  185. package/dist-types/ts3.4/models/models_4.d.ts +112 -112
  186. package/dist-types/ts3.4/models/models_5.d.ts +27 -27
  187. package/dist-types/ts3.4/models/models_6.d.ts +53 -56
  188. package/dist-types/ts3.4/models/models_7.d.ts +78 -61
  189. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  190. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
  191. package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  192. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
  193. package/package.json +15 -15
@@ -37,6 +37,12 @@ declare const DescribeVpcPeeringConnectionsCommand_base: {
37
37
  * // const { EC2Client, DescribeVpcPeeringConnectionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
38
38
  * const client = new EC2Client(config);
39
39
  * const input = { // DescribeVpcPeeringConnectionsRequest
40
+ * NextToken: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * DryRun: true || false,
43
+ * VpcPeeringConnectionIds: [ // VpcPeeringConnectionIdList
44
+ * "STRING_VALUE",
45
+ * ],
40
46
  * Filters: [ // FilterList
41
47
  * { // Filter
42
48
  * Name: "STRING_VALUE",
@@ -45,12 +51,6 @@ declare const DescribeVpcPeeringConnectionsCommand_base: {
45
51
  * ],
46
52
  * },
47
53
  * ],
48
- * DryRun: true || false,
49
- * VpcPeeringConnectionIds: [ // VpcPeeringConnectionIdList
50
- * "STRING_VALUE",
51
- * ],
52
- * NextToken: "STRING_VALUE",
53
- * MaxResults: Number("int"),
54
54
  * };
55
55
  * const command = new DescribeVpcPeeringConnectionsCommand(input);
56
56
  * const response = await client.send(command);
@@ -48,19 +48,16 @@ declare const DescribeVpcsCommand_base: {
48
48
  * VpcIds: [ // VpcIdStringList
49
49
  * "STRING_VALUE",
50
50
  * ],
51
- * DryRun: true || false,
52
51
  * NextToken: "STRING_VALUE",
53
52
  * MaxResults: Number("int"),
53
+ * DryRun: true || false,
54
54
  * };
55
55
  * const command = new DescribeVpcsCommand(input);
56
56
  * const response = await client.send(command);
57
57
  * // { // DescribeVpcsResult
58
+ * // NextToken: "STRING_VALUE",
58
59
  * // Vpcs: [ // VpcList
59
60
  * // { // Vpc
60
- * // CidrBlock: "STRING_VALUE",
61
- * // DhcpOptionsId: "STRING_VALUE",
62
- * // State: "pending" || "available",
63
- * // VpcId: "STRING_VALUE",
64
61
  * // OwnerId: "STRING_VALUE",
65
62
  * // InstanceTenancy: "default" || "dedicated" || "host",
66
63
  * // Ipv6CidrBlockAssociationSet: [ // VpcIpv6CidrBlockAssociationSet
@@ -94,9 +91,12 @@ declare const DescribeVpcsCommand_base: {
94
91
  * // Value: "STRING_VALUE",
95
92
  * // },
96
93
  * // ],
94
+ * // VpcId: "STRING_VALUE",
95
+ * // State: "pending" || "available",
96
+ * // CidrBlock: "STRING_VALUE",
97
+ * // DhcpOptionsId: "STRING_VALUE",
97
98
  * // },
98
99
  * // ],
99
- * // NextToken: "STRING_VALUE",
100
100
  * // };
101
101
  *
102
102
  * ```
@@ -55,13 +55,7 @@ declare const DescribeVpnConnectionsCommand_base: {
55
55
  * // { // DescribeVpnConnectionsResult
56
56
  * // VpnConnections: [ // VpnConnectionList
57
57
  * // { // VpnConnection
58
- * // CustomerGatewayConfiguration: "STRING_VALUE",
59
- * // CustomerGatewayId: "STRING_VALUE",
60
58
  * // Category: "STRING_VALUE",
61
- * // State: "pending" || "available" || "deleting" || "deleted",
62
- * // Type: "ipsec.1",
63
- * // VpnConnectionId: "STRING_VALUE",
64
- * // VpnGatewayId: "STRING_VALUE",
65
59
  * // TransitGatewayId: "STRING_VALUE",
66
60
  * // CoreNetworkArn: "STRING_VALUE",
67
61
  * // CoreNetworkAttachmentArn: "STRING_VALUE",
@@ -159,6 +153,12 @@ declare const DescribeVpnConnectionsCommand_base: {
159
153
  * // CertificateArn: "STRING_VALUE",
160
154
  * // },
161
155
  * // ],
156
+ * // VpnConnectionId: "STRING_VALUE",
157
+ * // State: "pending" || "available" || "deleting" || "deleted",
158
+ * // CustomerGatewayConfiguration: "STRING_VALUE",
159
+ * // Type: "ipsec.1",
160
+ * // CustomerGatewayId: "STRING_VALUE",
161
+ * // VpnGatewayId: "STRING_VALUE",
162
162
  * // },
163
163
  * // ],
164
164
  * // };
@@ -55,16 +55,6 @@ declare const DescribeVpnGatewaysCommand_base: {
55
55
  * // { // DescribeVpnGatewaysResult
56
56
  * // VpnGateways: [ // VpnGatewayList
57
57
  * // { // VpnGateway
58
- * // AvailabilityZone: "STRING_VALUE",
59
- * // State: "pending" || "available" || "deleting" || "deleted",
60
- * // Type: "ipsec.1",
61
- * // VpcAttachments: [ // VpcAttachmentList
62
- * // { // VpcAttachment
63
- * // State: "attaching" || "attached" || "detaching" || "detached",
64
- * // VpcId: "STRING_VALUE",
65
- * // },
66
- * // ],
67
- * // VpnGatewayId: "STRING_VALUE",
68
58
  * // AmazonSideAsn: Number("long"),
69
59
  * // Tags: [ // TagList
70
60
  * // { // Tag
@@ -72,6 +62,16 @@ declare const DescribeVpnGatewaysCommand_base: {
72
62
  * // Value: "STRING_VALUE",
73
63
  * // },
74
64
  * // ],
65
+ * // VpnGatewayId: "STRING_VALUE",
66
+ * // State: "pending" || "available" || "deleting" || "deleted",
67
+ * // Type: "ipsec.1",
68
+ * // AvailabilityZone: "STRING_VALUE",
69
+ * // VpcAttachments: [ // VpcAttachmentList
70
+ * // { // VpcAttachment
71
+ * // VpcId: "STRING_VALUE",
72
+ * // State: "attaching" || "attached" || "detaching" || "detached",
73
+ * // },
74
+ * // ],
75
75
  * // },
76
76
  * // ],
77
77
  * // };
@@ -35,8 +35,8 @@ declare const DetachNetworkInterfaceCommand_base: {
35
35
  * // const { EC2Client, DetachNetworkInterfaceCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
36
  * const client = new EC2Client(config);
37
37
  * const input = { // DetachNetworkInterfaceRequest
38
- * AttachmentId: "STRING_VALUE", // required
39
38
  * DryRun: true || false,
39
+ * AttachmentId: "STRING_VALUE", // required
40
40
  * Force: true || false,
41
41
  * };
42
42
  * const command = new DetachNetworkInterfaceCommand(input);
@@ -58,14 +58,14 @@ declare const DetachVolumeCommand_base: {
58
58
  * const command = new DetachVolumeCommand(input);
59
59
  * const response = await client.send(command);
60
60
  * // { // VolumeAttachment
61
- * // AttachTime: new Date("TIMESTAMP"),
62
- * // Device: "STRING_VALUE",
63
- * // InstanceId: "STRING_VALUE",
64
- * // State: "attaching" || "attached" || "detaching" || "detached" || "busy",
65
- * // VolumeId: "STRING_VALUE",
66
61
  * // DeleteOnTermination: true || false,
67
62
  * // AssociatedResource: "STRING_VALUE",
68
63
  * // InstanceOwningService: "STRING_VALUE",
64
+ * // VolumeId: "STRING_VALUE",
65
+ * // InstanceId: "STRING_VALUE",
66
+ * // Device: "STRING_VALUE",
67
+ * // State: "attaching" || "attached" || "detaching" || "detached" || "busy",
68
+ * // AttachTime: new Date("TIMESTAMP"),
69
69
  * // };
70
70
  *
71
71
  * ```
@@ -28,7 +28,7 @@ declare const DisassociateNatGatewayAddressCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway.
31
- * You cannot disassociate your primary EIP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon VPC User Guide</i>.</p>
31
+ * You cannot disassociate your primary EIP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon VPC User Guide</i>.</p>
32
32
  * <p>While disassociating is in progress, you cannot associate/disassociate additional EIPs while the connections are being drained. You are, however, allowed to delete the NAT gateway.</p>
33
33
  * <p>An EIP is released only at the end of MaxDrainDurationSeconds. It stays
34
34
  * associated and supports the existing connections but does not support any new connections
@@ -39,8 +39,8 @@ declare const DisassociateRouteTableCommand_base: {
39
39
  * // const { EC2Client, DisassociateRouteTableCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
40
40
  * const client = new EC2Client(config);
41
41
  * const input = { // DisassociateRouteTableRequest
42
- * AssociationId: "STRING_VALUE", // required
43
42
  * DryRun: true || false,
43
+ * AssociationId: "STRING_VALUE", // required
44
44
  * };
45
45
  * const command = new DisassociateRouteTableCommand(input);
46
46
  * const response = await client.send(command);
@@ -41,15 +41,15 @@ declare const GetConsoleOutputCommand_base: {
41
41
  * const client = new EC2Client(config);
42
42
  * const input = { // GetConsoleOutputRequest
43
43
  * InstanceId: "STRING_VALUE", // required
44
- * DryRun: true || false,
45
44
  * Latest: true || false,
45
+ * DryRun: true || false,
46
46
  * };
47
47
  * const command = new GetConsoleOutputCommand(input);
48
48
  * const response = await client.send(command);
49
49
  * // { // GetConsoleOutputResult
50
50
  * // InstanceId: "STRING_VALUE",
51
- * // Output: "STRING_VALUE",
52
51
  * // Timestamp: new Date("TIMESTAMP"),
52
+ * // Output: "STRING_VALUE",
53
53
  * // };
54
54
  *
55
55
  * ```
@@ -69,6 +69,7 @@ declare const GetIpamDiscoveredResourceCidrsCommand_base: {
69
69
  * // ],
70
70
  * // IpUsage: Number("double"),
71
71
  * // VpcId: "STRING_VALUE",
72
+ * // SubnetId: "STRING_VALUE",
72
73
  * // NetworkInterfaceAttachmentStatus: "available" || "in-use",
73
74
  * // SampleTime: new Date("TIMESTAMP"),
74
75
  * // AvailabilityZoneId: "STRING_VALUE",
@@ -54,8 +54,8 @@ declare const GetPasswordDataCommand_base: {
54
54
  * const response = await client.send(command);
55
55
  * // { // GetPasswordDataResult
56
56
  * // InstanceId: "STRING_VALUE",
57
- * // PasswordData: "STRING_VALUE",
58
57
  * // Timestamp: new Date("TIMESTAMP"),
58
+ * // PasswordData: "STRING_VALUE",
59
59
  * // };
60
60
  *
61
61
  * ```
@@ -46,35 +46,22 @@ declare const ImportInstanceCommand_base: {
46
46
  * // const { EC2Client, ImportInstanceCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
47
47
  * const client = new EC2Client(config);
48
48
  * const input = { // ImportInstanceRequest
49
- * Description: "STRING_VALUE",
50
- * DiskImages: [ // DiskImageList
51
- * { // DiskImage
52
- * Description: "STRING_VALUE",
53
- * Image: { // DiskImageDetail
54
- * Bytes: Number("long"), // required
55
- * Format: "VMDK" || "RAW" || "VHD", // required
56
- * ImportManifestUrl: "STRING_VALUE", // required
57
- * },
58
- * Volume: { // VolumeDetail
59
- * Size: Number("long"), // required
60
- * },
61
- * },
62
- * ],
63
49
  * DryRun: true || false,
50
+ * Description: "STRING_VALUE",
64
51
  * LaunchSpecification: { // ImportInstanceLaunchSpecification
65
- * AdditionalInfo: "STRING_VALUE",
66
52
  * Architecture: "i386" || "x86_64" || "arm64" || "x86_64_mac" || "arm64_mac",
67
- * GroupIds: [ // SecurityGroupIdStringList
53
+ * GroupNames: [ // SecurityGroupStringList
68
54
  * "STRING_VALUE",
69
55
  * ],
70
- * GroupNames: [ // SecurityGroupStringList
56
+ * GroupIds: [ // SecurityGroupIdStringList
71
57
  * "STRING_VALUE",
72
58
  * ],
73
- * InstanceInitiatedShutdownBehavior: "stop" || "terminate",
59
+ * AdditionalInfo: "STRING_VALUE",
60
+ * UserData: { // UserData
61
+ * Data: "STRING_VALUE",
62
+ * },
74
63
  * InstanceType: "a1.medium" || "a1.large" || "a1.xlarge" || "a1.2xlarge" || "a1.4xlarge" || "a1.metal" || "c1.medium" || "c1.xlarge" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5.metal" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "c5ad.large" || "c5ad.xlarge" || "c5ad.2xlarge" || "c5ad.4xlarge" || "c5ad.8xlarge" || "c5ad.12xlarge" || "c5ad.16xlarge" || "c5ad.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c5d.metal" || "c5n.large" || "c5n.xlarge" || "c5n.2xlarge" || "c5n.4xlarge" || "c5n.9xlarge" || "c5n.18xlarge" || "c5n.metal" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "c6g.metal" || "c6gd.medium" || "c6gd.large" || "c6gd.xlarge" || "c6gd.2xlarge" || "c6gd.4xlarge" || "c6gd.8xlarge" || "c6gd.12xlarge" || "c6gd.16xlarge" || "c6gd.metal" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "c6i.32xlarge" || "c6i.metal" || "cc1.4xlarge" || "cc2.8xlarge" || "cg1.4xlarge" || "cr1.8xlarge" || "d2.xlarge" || "d2.2xlarge" || "d2.4xlarge" || "d2.8xlarge" || "d3.xlarge" || "d3.2xlarge" || "d3.4xlarge" || "d3.8xlarge" || "d3en.xlarge" || "d3en.2xlarge" || "d3en.4xlarge" || "d3en.6xlarge" || "d3en.8xlarge" || "d3en.12xlarge" || "dl1.24xlarge" || "f1.2xlarge" || "f1.4xlarge" || "f1.16xlarge" || "g2.2xlarge" || "g2.8xlarge" || "g3.4xlarge" || "g3.8xlarge" || "g3.16xlarge" || "g3s.xlarge" || "g4ad.xlarge" || "g4ad.2xlarge" || "g4ad.4xlarge" || "g4ad.8xlarge" || "g4ad.16xlarge" || "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g4dn.metal" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.12xlarge" || "g5.16xlarge" || "g5.24xlarge" || "g5.48xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge" || "g5g.metal" || "hi1.4xlarge" || "hpc6a.48xlarge" || "hs1.8xlarge" || "h1.2xlarge" || "h1.4xlarge" || "h1.8xlarge" || "h1.16xlarge" || "i2.xlarge" || "i2.2xlarge" || "i2.4xlarge" || "i2.8xlarge" || "i3.large" || "i3.xlarge" || "i3.2xlarge" || "i3.4xlarge" || "i3.8xlarge" || "i3.16xlarge" || "i3.metal" || "i3en.large" || "i3en.xlarge" || "i3en.2xlarge" || "i3en.3xlarge" || "i3en.6xlarge" || "i3en.12xlarge" || "i3en.24xlarge" || "i3en.metal" || "im4gn.large" || "im4gn.xlarge" || "im4gn.2xlarge" || "im4gn.4xlarge" || "im4gn.8xlarge" || "im4gn.16xlarge" || "inf1.xlarge" || "inf1.2xlarge" || "inf1.6xlarge" || "inf1.24xlarge" || "is4gen.medium" || "is4gen.large" || "is4gen.xlarge" || "is4gen.2xlarge" || "is4gen.4xlarge" || "is4gen.8xlarge" || "m1.small" || "m1.medium" || "m1.large" || "m1.xlarge" || "m2.xlarge" || "m2.2xlarge" || "m2.4xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m4.16xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5.metal" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "m5ad.large" || "m5ad.xlarge" || "m5ad.2xlarge" || "m5ad.4xlarge" || "m5ad.8xlarge" || "m5ad.12xlarge" || "m5ad.16xlarge" || "m5ad.24xlarge" || "m5d.large" || "m5d.xlarge" || "m5d.2xlarge" || "m5d.4xlarge" || "m5d.8xlarge" || "m5d.12xlarge" || "m5d.16xlarge" || "m5d.24xlarge" || "m5d.metal" || "m5dn.large" || "m5dn.xlarge" || "m5dn.2xlarge" || "m5dn.4xlarge" || "m5dn.8xlarge" || "m5dn.12xlarge" || "m5dn.16xlarge" || "m5dn.24xlarge" || "m5dn.metal" || "m5n.large" || "m5n.xlarge" || "m5n.2xlarge" || "m5n.4xlarge" || "m5n.8xlarge" || "m5n.12xlarge" || "m5n.16xlarge" || "m5n.24xlarge" || "m5n.metal" || "m5zn.large" || "m5zn.xlarge" || "m5zn.2xlarge" || "m5zn.3xlarge" || "m5zn.6xlarge" || "m5zn.12xlarge" || "m5zn.metal" || "m6a.large" || "m6a.xlarge" || "m6a.2xlarge" || "m6a.4xlarge" || "m6a.8xlarge" || "m6a.12xlarge" || "m6a.16xlarge" || "m6a.24xlarge" || "m6a.32xlarge" || "m6a.48xlarge" || "m6g.metal" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "m6gd.metal" || "m6gd.medium" || "m6gd.large" || "m6gd.xlarge" || "m6gd.2xlarge" || "m6gd.4xlarge" || "m6gd.8xlarge" || "m6gd.12xlarge" || "m6gd.16xlarge" || "m6i.large" || "m6i.xlarge" || "m6i.2xlarge" || "m6i.4xlarge" || "m6i.8xlarge" || "m6i.12xlarge" || "m6i.16xlarge" || "m6i.24xlarge" || "m6i.32xlarge" || "m6i.metal" || "mac1.metal" || "p2.xlarge" || "p2.8xlarge" || "p2.16xlarge" || "p3.2xlarge" || "p3.8xlarge" || "p3.16xlarge" || "p3dn.24xlarge" || "p4d.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5.metal" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "r5ad.large" || "r5ad.xlarge" || "r5ad.2xlarge" || "r5ad.4xlarge" || "r5ad.8xlarge" || "r5ad.12xlarge" || "r5ad.16xlarge" || "r5ad.24xlarge" || "r5b.large" || "r5b.xlarge" || "r5b.2xlarge" || "r5b.4xlarge" || "r5b.8xlarge" || "r5b.12xlarge" || "r5b.16xlarge" || "r5b.24xlarge" || "r5b.metal" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "r5d.metal" || "r5dn.large" || "r5dn.xlarge" || "r5dn.2xlarge" || "r5dn.4xlarge" || "r5dn.8xlarge" || "r5dn.12xlarge" || "r5dn.16xlarge" || "r5dn.24xlarge" || "r5dn.metal" || "r5n.large" || "r5n.xlarge" || "r5n.2xlarge" || "r5n.4xlarge" || "r5n.8xlarge" || "r5n.12xlarge" || "r5n.16xlarge" || "r5n.24xlarge" || "r5n.metal" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "r6g.metal" || "r6gd.medium" || "r6gd.large" || "r6gd.xlarge" || "r6gd.2xlarge" || "r6gd.4xlarge" || "r6gd.8xlarge" || "r6gd.12xlarge" || "r6gd.16xlarge" || "r6gd.metal" || "r6i.large" || "r6i.xlarge" || "r6i.2xlarge" || "r6i.4xlarge" || "r6i.8xlarge" || "r6i.12xlarge" || "r6i.16xlarge" || "r6i.24xlarge" || "r6i.32xlarge" || "r6i.metal" || "t1.micro" || "t2.nano" || "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "t2.xlarge" || "t2.2xlarge" || "t3.nano" || "t3.micro" || "t3.small" || "t3.medium" || "t3.large" || "t3.xlarge" || "t3.2xlarge" || "t3a.nano" || "t3a.micro" || "t3a.small" || "t3a.medium" || "t3a.large" || "t3a.xlarge" || "t3a.2xlarge" || "t4g.nano" || "t4g.micro" || "t4g.small" || "t4g.medium" || "t4g.large" || "t4g.xlarge" || "t4g.2xlarge" || "u-6tb1.56xlarge" || "u-6tb1.112xlarge" || "u-9tb1.112xlarge" || "u-12tb1.112xlarge" || "u-6tb1.metal" || "u-9tb1.metal" || "u-12tb1.metal" || "u-18tb1.metal" || "u-24tb1.metal" || "vt1.3xlarge" || "vt1.6xlarge" || "vt1.24xlarge" || "x1.16xlarge" || "x1.32xlarge" || "x1e.xlarge" || "x1e.2xlarge" || "x1e.4xlarge" || "x1e.8xlarge" || "x1e.16xlarge" || "x1e.32xlarge" || "x2iezn.2xlarge" || "x2iezn.4xlarge" || "x2iezn.6xlarge" || "x2iezn.8xlarge" || "x2iezn.12xlarge" || "x2iezn.metal" || "x2gd.medium" || "x2gd.large" || "x2gd.xlarge" || "x2gd.2xlarge" || "x2gd.4xlarge" || "x2gd.8xlarge" || "x2gd.12xlarge" || "x2gd.16xlarge" || "x2gd.metal" || "z1d.large" || "z1d.xlarge" || "z1d.2xlarge" || "z1d.3xlarge" || "z1d.6xlarge" || "z1d.12xlarge" || "z1d.metal" || "x2idn.16xlarge" || "x2idn.24xlarge" || "x2idn.32xlarge" || "x2iedn.xlarge" || "x2iedn.2xlarge" || "x2iedn.4xlarge" || "x2iedn.8xlarge" || "x2iedn.16xlarge" || "x2iedn.24xlarge" || "x2iedn.32xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6a.32xlarge" || "c6a.48xlarge" || "c6a.metal" || "m6a.metal" || "i4i.large" || "i4i.xlarge" || "i4i.2xlarge" || "i4i.4xlarge" || "i4i.8xlarge" || "i4i.16xlarge" || "i4i.32xlarge" || "i4i.metal" || "x2idn.metal" || "x2iedn.metal" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "mac2.metal" || "c6id.large" || "c6id.xlarge" || "c6id.2xlarge" || "c6id.4xlarge" || "c6id.8xlarge" || "c6id.12xlarge" || "c6id.16xlarge" || "c6id.24xlarge" || "c6id.32xlarge" || "c6id.metal" || "m6id.large" || "m6id.xlarge" || "m6id.2xlarge" || "m6id.4xlarge" || "m6id.8xlarge" || "m6id.12xlarge" || "m6id.16xlarge" || "m6id.24xlarge" || "m6id.32xlarge" || "m6id.metal" || "r6id.large" || "r6id.xlarge" || "r6id.2xlarge" || "r6id.4xlarge" || "r6id.8xlarge" || "r6id.12xlarge" || "r6id.16xlarge" || "r6id.24xlarge" || "r6id.32xlarge" || "r6id.metal" || "r6a.large" || "r6a.xlarge" || "r6a.2xlarge" || "r6a.4xlarge" || "r6a.8xlarge" || "r6a.12xlarge" || "r6a.16xlarge" || "r6a.24xlarge" || "r6a.32xlarge" || "r6a.48xlarge" || "r6a.metal" || "p4de.24xlarge" || "u-3tb1.56xlarge" || "u-18tb1.112xlarge" || "u-24tb1.112xlarge" || "trn1.2xlarge" || "trn1.32xlarge" || "hpc6id.32xlarge" || "c6in.large" || "c6in.xlarge" || "c6in.2xlarge" || "c6in.4xlarge" || "c6in.8xlarge" || "c6in.12xlarge" || "c6in.16xlarge" || "c6in.24xlarge" || "c6in.32xlarge" || "m6in.large" || "m6in.xlarge" || "m6in.2xlarge" || "m6in.4xlarge" || "m6in.8xlarge" || "m6in.12xlarge" || "m6in.16xlarge" || "m6in.24xlarge" || "m6in.32xlarge" || "m6idn.large" || "m6idn.xlarge" || "m6idn.2xlarge" || "m6idn.4xlarge" || "m6idn.8xlarge" || "m6idn.12xlarge" || "m6idn.16xlarge" || "m6idn.24xlarge" || "m6idn.32xlarge" || "r6in.large" || "r6in.xlarge" || "r6in.2xlarge" || "r6in.4xlarge" || "r6in.8xlarge" || "r6in.12xlarge" || "r6in.16xlarge" || "r6in.24xlarge" || "r6in.32xlarge" || "r6idn.large" || "r6idn.xlarge" || "r6idn.2xlarge" || "r6idn.4xlarge" || "r6idn.8xlarge" || "r6idn.12xlarge" || "r6idn.16xlarge" || "r6idn.24xlarge" || "r6idn.32xlarge" || "c7g.metal" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "m7g.metal" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "r7g.metal" || "c6in.metal" || "m6in.metal" || "m6idn.metal" || "r6in.metal" || "r6idn.metal" || "inf2.xlarge" || "inf2.8xlarge" || "inf2.24xlarge" || "inf2.48xlarge" || "trn1n.32xlarge" || "i4g.large" || "i4g.xlarge" || "i4g.2xlarge" || "i4g.4xlarge" || "i4g.8xlarge" || "i4g.16xlarge" || "hpc7g.4xlarge" || "hpc7g.8xlarge" || "hpc7g.16xlarge" || "c7gn.medium" || "c7gn.large" || "c7gn.xlarge" || "c7gn.2xlarge" || "c7gn.4xlarge" || "c7gn.8xlarge" || "c7gn.12xlarge" || "c7gn.16xlarge" || "p5.48xlarge" || "m7i.large" || "m7i.xlarge" || "m7i.2xlarge" || "m7i.4xlarge" || "m7i.8xlarge" || "m7i.12xlarge" || "m7i.16xlarge" || "m7i.24xlarge" || "m7i.48xlarge" || "m7i-flex.large" || "m7i-flex.xlarge" || "m7i-flex.2xlarge" || "m7i-flex.4xlarge" || "m7i-flex.8xlarge" || "m7a.medium" || "m7a.large" || "m7a.xlarge" || "m7a.2xlarge" || "m7a.4xlarge" || "m7a.8xlarge" || "m7a.12xlarge" || "m7a.16xlarge" || "m7a.24xlarge" || "m7a.32xlarge" || "m7a.48xlarge" || "m7a.metal-48xl" || "hpc7a.12xlarge" || "hpc7a.24xlarge" || "hpc7a.48xlarge" || "hpc7a.96xlarge" || "c7gd.medium" || "c7gd.large" || "c7gd.xlarge" || "c7gd.2xlarge" || "c7gd.4xlarge" || "c7gd.8xlarge" || "c7gd.12xlarge" || "c7gd.16xlarge" || "m7gd.medium" || "m7gd.large" || "m7gd.xlarge" || "m7gd.2xlarge" || "m7gd.4xlarge" || "m7gd.8xlarge" || "m7gd.12xlarge" || "m7gd.16xlarge" || "r7gd.medium" || "r7gd.large" || "r7gd.xlarge" || "r7gd.2xlarge" || "r7gd.4xlarge" || "r7gd.8xlarge" || "r7gd.12xlarge" || "r7gd.16xlarge" || "r7a.medium" || "r7a.large" || "r7a.xlarge" || "r7a.2xlarge" || "r7a.4xlarge" || "r7a.8xlarge" || "r7a.12xlarge" || "r7a.16xlarge" || "r7a.24xlarge" || "r7a.32xlarge" || "r7a.48xlarge" || "c7i.large" || "c7i.xlarge" || "c7i.2xlarge" || "c7i.4xlarge" || "c7i.8xlarge" || "c7i.12xlarge" || "c7i.16xlarge" || "c7i.24xlarge" || "c7i.48xlarge" || "mac2-m2pro.metal" || "r7iz.large" || "r7iz.xlarge" || "r7iz.2xlarge" || "r7iz.4xlarge" || "r7iz.8xlarge" || "r7iz.12xlarge" || "r7iz.16xlarge" || "r7iz.32xlarge" || "c7a.medium" || "c7a.large" || "c7a.xlarge" || "c7a.2xlarge" || "c7a.4xlarge" || "c7a.8xlarge" || "c7a.12xlarge" || "c7a.16xlarge" || "c7a.24xlarge" || "c7a.32xlarge" || "c7a.48xlarge" || "c7a.metal-48xl" || "r7a.metal-48xl" || "r7i.large" || "r7i.xlarge" || "r7i.2xlarge" || "r7i.4xlarge" || "r7i.8xlarge" || "r7i.12xlarge" || "r7i.16xlarge" || "r7i.24xlarge" || "r7i.48xlarge" || "dl2q.24xlarge" || "mac2-m2.metal" || "i4i.12xlarge" || "i4i.24xlarge" || "c7i.metal-24xl" || "c7i.metal-48xl" || "m7i.metal-24xl" || "m7i.metal-48xl" || "r7i.metal-24xl" || "r7i.metal-48xl" || "r7iz.metal-16xl" || "r7iz.metal-32xl" || "c7gd.metal" || "m7gd.metal" || "r7gd.metal" || "g6.xlarge" || "g6.2xlarge" || "g6.4xlarge" || "g6.8xlarge" || "g6.12xlarge" || "g6.16xlarge" || "g6.24xlarge" || "g6.48xlarge" || "gr6.4xlarge" || "gr6.8xlarge" || "c7i-flex.large" || "c7i-flex.xlarge" || "c7i-flex.2xlarge" || "c7i-flex.4xlarge" || "c7i-flex.8xlarge" || "u7i-12tb.224xlarge" || "u7in-16tb.224xlarge" || "u7in-24tb.224xlarge" || "u7in-32tb.224xlarge" || "u7ib-12tb.224xlarge" || "c7gn.metal" || "r8g.medium" || "r8g.large" || "r8g.xlarge" || "r8g.2xlarge" || "r8g.4xlarge" || "r8g.8xlarge" || "r8g.12xlarge" || "r8g.16xlarge" || "r8g.24xlarge" || "r8g.48xlarge" || "r8g.metal-24xl" || "r8g.metal-48xl" || "mac2-m1ultra.metal" || "g6e.xlarge" || "g6e.2xlarge" || "g6e.4xlarge" || "g6e.8xlarge" || "g6e.12xlarge" || "g6e.16xlarge" || "g6e.24xlarge" || "g6e.48xlarge",
75
- * Monitoring: true || false,
76
64
  * Placement: { // Placement
77
- * AvailabilityZone: "STRING_VALUE",
78
65
  * Affinity: "STRING_VALUE",
79
66
  * GroupName: "STRING_VALUE",
80
67
  * PartitionNumber: Number("int"),
@@ -83,13 +70,26 @@ declare const ImportInstanceCommand_base: {
83
70
  * SpreadDomain: "STRING_VALUE",
84
71
  * HostResourceGroupArn: "STRING_VALUE",
85
72
  * GroupId: "STRING_VALUE",
73
+ * AvailabilityZone: "STRING_VALUE",
86
74
  * },
87
- * PrivateIpAddress: "STRING_VALUE",
75
+ * Monitoring: true || false,
88
76
  * SubnetId: "STRING_VALUE",
89
- * UserData: { // UserData
90
- * Data: "STRING_VALUE",
91
- * },
77
+ * InstanceInitiatedShutdownBehavior: "stop" || "terminate",
78
+ * PrivateIpAddress: "STRING_VALUE",
92
79
  * },
80
+ * DiskImages: [ // DiskImageList
81
+ * { // DiskImage
82
+ * Description: "STRING_VALUE",
83
+ * Image: { // DiskImageDetail
84
+ * Format: "VMDK" || "RAW" || "VHD", // required
85
+ * Bytes: Number("long"), // required
86
+ * ImportManifestUrl: "STRING_VALUE", // required
87
+ * },
88
+ * Volume: { // VolumeDetail
89
+ * Size: Number("long"), // required
90
+ * },
91
+ * },
92
+ * ],
93
93
  * Platform: "Windows", // required
94
94
  * };
95
95
  * const command = new ImportInstanceCommand(input);
@@ -40,9 +40,6 @@ declare const ImportKeyPairCommand_base: {
40
40
  * // const { EC2Client, ImportKeyPairCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
41
41
  * const client = new EC2Client(config);
42
42
  * const input = { // ImportKeyPairRequest
43
- * DryRun: true || false,
44
- * KeyName: "STRING_VALUE", // required
45
- * PublicKeyMaterial: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
46
43
  * TagSpecifications: [ // TagSpecificationList
47
44
  * { // TagSpecification
48
45
  * ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
@@ -54,6 +51,9 @@ declare const ImportKeyPairCommand_base: {
54
51
  * ],
55
52
  * },
56
53
  * ],
54
+ * DryRun: true || false,
55
+ * KeyName: "STRING_VALUE", // required
56
+ * PublicKeyMaterial: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
57
57
  * };
58
58
  * const command = new ImportKeyPairCommand(input);
59
59
  * const response = await client.send(command);
@@ -42,14 +42,14 @@ declare const ImportVolumeCommand_base: {
42
42
  * // const { EC2Client, ImportVolumeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
43
43
  * const client = new EC2Client(config);
44
44
  * const input = { // ImportVolumeRequest
45
- * AvailabilityZone: "STRING_VALUE", // required
46
- * Description: "STRING_VALUE",
47
45
  * DryRun: true || false,
46
+ * AvailabilityZone: "STRING_VALUE", // required
48
47
  * Image: { // DiskImageDetail
49
- * Bytes: Number("long"), // required
50
48
  * Format: "VMDK" || "RAW" || "VHD", // required
49
+ * Bytes: Number("long"), // required
51
50
  * ImportManifestUrl: "STRING_VALUE", // required
52
51
  * },
52
+ * Description: "STRING_VALUE",
53
53
  * Volume: { // VolumeDetail
54
54
  * Size: Number("long"), // required
55
55
  * },
@@ -74,7 +74,6 @@ declare const ModifyFleetCommand_base: {
74
74
  * WeightedCapacity: Number("double"),
75
75
  * Priority: Number("double"),
76
76
  * Placement: { // Placement
77
- * AvailabilityZone: "STRING_VALUE",
78
77
  * Affinity: "STRING_VALUE",
79
78
  * GroupName: "STRING_VALUE",
80
79
  * PartitionNumber: Number("int"),
@@ -83,6 +82,7 @@ declare const ModifyFleetCommand_base: {
83
82
  * SpreadDomain: "STRING_VALUE",
84
83
  * HostResourceGroupArn: "STRING_VALUE",
85
84
  * GroupId: "STRING_VALUE",
85
+ * AvailabilityZone: "STRING_VALUE",
86
86
  * },
87
87
  * InstanceRequirements: { // InstanceRequirementsRequest
88
88
  * VCpuCount: { // VCpuCountRangeRequest
@@ -43,14 +43,14 @@ declare const ModifyHostsCommand_base: {
43
43
  * // const { EC2Client, ModifyHostsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
44
44
  * const client = new EC2Client(config);
45
45
  * const input = { // ModifyHostsRequest
46
- * AutoPlacement: "on" || "off",
47
- * HostIds: [ // RequestHostIdList // required
48
- * "STRING_VALUE",
49
- * ],
50
46
  * HostRecovery: "on" || "off",
51
47
  * InstanceType: "STRING_VALUE",
52
48
  * InstanceFamily: "STRING_VALUE",
53
49
  * HostMaintenance: "on" || "off",
50
+ * HostIds: [ // RequestHostIdList // required
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * AutoPlacement: "on" || "off",
54
54
  * };
55
55
  * const command = new ModifyHostsCommand(input);
56
56
  * const response = await client.send(command);
@@ -56,9 +56,9 @@ declare const ModifyIdentityIdFormatCommand_base: {
56
56
  * // const { EC2Client, ModifyIdentityIdFormatCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
57
57
  * const client = new EC2Client(config);
58
58
  * const input = { // ModifyIdentityIdFormatRequest
59
- * PrincipalArn: "STRING_VALUE", // required
60
59
  * Resource: "STRING_VALUE", // required
61
60
  * UseLongIds: true || false, // required
61
+ * PrincipalArn: "STRING_VALUE", // required
62
62
  * };
63
63
  * const command = new ModifyIdentityIdFormatCommand(input);
64
64
  * const response = await client.send(command);
@@ -48,18 +48,18 @@ declare const ModifyImageAttributeCommand_base: {
48
48
  * LaunchPermission: { // LaunchPermissionModifications
49
49
  * Add: [ // LaunchPermissionList
50
50
  * { // LaunchPermission
51
- * Group: "all",
52
- * UserId: "STRING_VALUE",
53
51
  * OrganizationArn: "STRING_VALUE",
54
52
  * OrganizationalUnitArn: "STRING_VALUE",
53
+ * UserId: "STRING_VALUE",
54
+ * Group: "all",
55
55
  * },
56
56
  * ],
57
57
  * Remove: [
58
58
  * {
59
- * Group: "all",
60
- * UserId: "STRING_VALUE",
61
59
  * OrganizationArn: "STRING_VALUE",
62
60
  * OrganizationalUnitArn: "STRING_VALUE",
61
+ * UserId: "STRING_VALUE",
62
+ * Group: "all",
63
63
  * },
64
64
  * ],
65
65
  * },
@@ -74,7 +74,6 @@ declare const ModifyImageAttributeCommand_base: {
74
74
  * "STRING_VALUE",
75
75
  * ],
76
76
  * Value: "STRING_VALUE",
77
- * DryRun: true || false,
78
77
  * OrganizationArns: [ // OrganizationArnStringList
79
78
  * "STRING_VALUE",
80
79
  * ],
@@ -84,6 +83,7 @@ declare const ModifyImageAttributeCommand_base: {
84
83
  * ImdsSupport: {
85
84
  * Value: "STRING_VALUE",
86
85
  * },
86
+ * DryRun: true || false,
87
87
  * };
88
88
  * const command = new ModifyImageAttributeCommand(input);
89
89
  * const response = await client.send(command);
@@ -48,36 +48,28 @@ declare const ModifyInstanceAttributeCommand_base: {
48
48
  * SourceDestCheck: { // AttributeBooleanValue
49
49
  * Value: true || false,
50
50
  * },
51
+ * DisableApiStop: {
52
+ * Value: true || false,
53
+ * },
54
+ * DryRun: true || false,
55
+ * InstanceId: "STRING_VALUE", // required
51
56
  * Attribute: "instanceType" || "kernel" || "ramdisk" || "userData" || "disableApiTermination" || "instanceInitiatedShutdownBehavior" || "rootDeviceName" || "blockDeviceMapping" || "productCodes" || "sourceDestCheck" || "groupSet" || "ebsOptimized" || "sriovNetSupport" || "enaSupport" || "enclaveOptions" || "disableApiStop",
57
+ * Value: "STRING_VALUE",
52
58
  * BlockDeviceMappings: [ // InstanceBlockDeviceMappingSpecificationList
53
59
  * { // InstanceBlockDeviceMappingSpecification
54
60
  * DeviceName: "STRING_VALUE",
55
61
  * Ebs: { // EbsInstanceBlockDeviceSpecification
56
- * DeleteOnTermination: true || false,
57
62
  * VolumeId: "STRING_VALUE",
63
+ * DeleteOnTermination: true || false,
58
64
  * },
59
- * NoDevice: "STRING_VALUE",
60
65
  * VirtualName: "STRING_VALUE",
66
+ * NoDevice: "STRING_VALUE",
61
67
  * },
62
68
  * ],
63
69
  * DisableApiTermination: {
64
70
  * Value: true || false,
65
71
  * },
66
- * DryRun: true || false,
67
- * EbsOptimized: {
68
- * Value: true || false,
69
- * },
70
- * EnaSupport: {
71
- * Value: true || false,
72
- * },
73
- * Groups: [ // GroupIdStringList
74
- * "STRING_VALUE",
75
- * ],
76
- * InstanceId: "STRING_VALUE", // required
77
- * InstanceInitiatedShutdownBehavior: { // AttributeValue
78
- * Value: "STRING_VALUE",
79
- * },
80
- * InstanceType: {
72
+ * InstanceType: { // AttributeValue
81
73
  * Value: "STRING_VALUE",
82
74
  * },
83
75
  * Kernel: {
@@ -86,14 +78,22 @@ declare const ModifyInstanceAttributeCommand_base: {
86
78
  * Ramdisk: {
87
79
  * Value: "STRING_VALUE",
88
80
  * },
89
- * SriovNetSupport: {
90
- * Value: "STRING_VALUE",
91
- * },
92
81
  * UserData: { // BlobAttributeValue
93
82
  * Value: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
94
83
  * },
95
- * Value: "STRING_VALUE",
96
- * DisableApiStop: {
84
+ * InstanceInitiatedShutdownBehavior: {
85
+ * Value: "STRING_VALUE",
86
+ * },
87
+ * Groups: [ // GroupIdStringList
88
+ * "STRING_VALUE",
89
+ * ],
90
+ * EbsOptimized: {
91
+ * Value: true || false,
92
+ * },
93
+ * SriovNetSupport: {
94
+ * Value: "STRING_VALUE",
95
+ * },
96
+ * EnaSupport: {
97
97
  * Value: true || false,
98
98
  * },
99
99
  * };
@@ -0,0 +1,85 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { ModifyInstanceCpuOptionsRequest, ModifyInstanceCpuOptionsResult } from "../models/models_6";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyInstanceCpuOptionsCommand}.
14
+ */
15
+ export interface ModifyInstanceCpuOptionsCommandInput extends ModifyInstanceCpuOptionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyInstanceCpuOptionsCommand}.
21
+ */
22
+ export interface ModifyInstanceCpuOptionsCommandOutput extends ModifyInstanceCpuOptionsResult, __MetadataBearer {
23
+ }
24
+ declare const ModifyInstanceCpuOptionsCommand_base: {
25
+ new (input: ModifyInstanceCpuOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyInstanceCpuOptionsCommandInput, ModifyInstanceCpuOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ModifyInstanceCpuOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyInstanceCpuOptionsCommandInput, ModifyInstanceCpuOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>By default, all vCPUs for the instance type are active when you launch an instance. When you
31
+ * configure the number of active vCPUs for the instance, it can help you save on licensing costs and
32
+ * optimize performance. The base cost of the instance remains unchanged.</p>
33
+ * <p>The number of active vCPUs equals the number of threads per CPU core multiplied by the number
34
+ * of cores.</p>
35
+ * <note>
36
+ * <p>Some instance type options do not support this capability. For more information, see
37
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html">Supported CPU
38
+ * options</a> in the <i>Amazon EC2 User Guide</i>.</p>
39
+ * </note>
40
+ * @example
41
+ * Use a bare-bones client and the command you need to make an API call.
42
+ * ```javascript
43
+ * import { EC2Client, ModifyInstanceCpuOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
44
+ * // const { EC2Client, ModifyInstanceCpuOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
45
+ * const client = new EC2Client(config);
46
+ * const input = { // ModifyInstanceCpuOptionsRequest
47
+ * InstanceId: "STRING_VALUE", // required
48
+ * CoreCount: Number("int"), // required
49
+ * ThreadsPerCore: Number("int"), // required
50
+ * DryRun: true || false,
51
+ * };
52
+ * const command = new ModifyInstanceCpuOptionsCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // ModifyInstanceCpuOptionsResult
55
+ * // InstanceId: "STRING_VALUE",
56
+ * // CoreCount: Number("int"),
57
+ * // ThreadsPerCore: Number("int"),
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ModifyInstanceCpuOptionsCommandInput - {@link ModifyInstanceCpuOptionsCommandInput}
63
+ * @returns {@link ModifyInstanceCpuOptionsCommandOutput}
64
+ * @see {@link ModifyInstanceCpuOptionsCommandInput} for command's `input` shape.
65
+ * @see {@link ModifyInstanceCpuOptionsCommandOutput} for command's `response` shape.
66
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
67
+ *
68
+ * @throws {@link EC2ServiceException}
69
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
70
+ *
71
+ * @public
72
+ */
73
+ export declare class ModifyInstanceCpuOptionsCommand extends ModifyInstanceCpuOptionsCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: ModifyInstanceCpuOptionsRequest;
78
+ output: ModifyInstanceCpuOptionsResult;
79
+ };
80
+ sdk: {
81
+ input: ModifyInstanceCpuOptionsCommandInput;
82
+ output: ModifyInstanceCpuOptionsCommandOutput;
83
+ };
84
+ };
85
+ }