@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
@@ -449,6 +449,31 @@ export interface DescribeSpotFleetRequestsResponse {
449
449
  * @public
450
450
  */
451
451
  export interface DescribeSpotInstanceRequestsRequest {
452
+ /**
453
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
454
+ * @public
455
+ */
456
+ NextToken?: string;
457
+ /**
458
+ * <p>The maximum number of items to return for this request.
459
+ * To get the next page of items, make another request with the token returned in the output.
460
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
461
+ * @public
462
+ */
463
+ MaxResults?: number;
464
+ /**
465
+ * <p>Checks whether you have the required permissions for the action, without actually
466
+ * making the request, and provides an error response. If you have the required
467
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
468
+ * <code>UnauthorizedOperation</code>.</p>
469
+ * @public
470
+ */
471
+ DryRun?: boolean;
472
+ /**
473
+ * <p>The IDs of the Spot Instance requests.</p>
474
+ * @public
475
+ */
476
+ SpotInstanceRequestIds?: string[];
452
477
  /**
453
478
  * <p>The filters.</p>
454
479
  * <ul>
@@ -647,31 +672,6 @@ export interface DescribeSpotInstanceRequestsRequest {
647
672
  * @public
648
673
  */
649
674
  Filters?: Filter[];
650
- /**
651
- * <p>Checks whether you have the required permissions for the action, without actually
652
- * making the request, and provides an error response. If you have the required
653
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
654
- * <code>UnauthorizedOperation</code>.</p>
655
- * @public
656
- */
657
- DryRun?: boolean;
658
- /**
659
- * <p>The IDs of the Spot Instance requests.</p>
660
- * @public
661
- */
662
- SpotInstanceRequestIds?: string[];
663
- /**
664
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
665
- * @public
666
- */
667
- NextToken?: string;
668
- /**
669
- * <p>The maximum number of items to return for this request.
670
- * To get the next page of items, make another request with the token returned in the output.
671
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
672
- * @public
673
- */
674
- MaxResults?: number;
675
675
  }
676
676
  /**
677
677
  * <p>Describes the monitoring of an instance.</p>
@@ -695,11 +695,6 @@ export interface LaunchSpecification {
695
695
  * @public
696
696
  */
697
697
  UserData?: string;
698
- /**
699
- * <p>The IDs of the security groups.</p>
700
- * @public
701
- */
702
- SecurityGroups?: GroupIdentifier[];
703
698
  /**
704
699
  * <p>Deprecated.</p>
705
700
  * @public
@@ -763,6 +758,11 @@ export interface LaunchSpecification {
763
758
  * @public
764
759
  */
765
760
  SubnetId?: string;
761
+ /**
762
+ * <p>The IDs of the security groups.</p>
763
+ * @public
764
+ */
765
+ SecurityGroups?: GroupIdentifier[];
766
766
  /**
767
767
  * <p>Describes the monitoring of an instance.</p>
768
768
  * @public
@@ -951,6 +951,38 @@ export interface DescribeSpotInstanceRequestsResult {
951
951
  * @public
952
952
  */
953
953
  export interface DescribeSpotPriceHistoryRequest {
954
+ /**
955
+ * <p>Checks whether you have the required permissions for the action, without actually
956
+ * making the request, and provides an error response. If you have the required
957
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
958
+ * <code>UnauthorizedOperation</code>.</p>
959
+ * @public
960
+ */
961
+ DryRun?: boolean;
962
+ /**
963
+ * <p>The date and time, up to the past 90 days, from which to start retrieving the price
964
+ * history data, in UTC format (for example,
965
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
966
+ * @public
967
+ */
968
+ StartTime?: Date;
969
+ /**
970
+ * <p>The date and time, up to the current date, from which to stop retrieving the price
971
+ * history data, in UTC format (for example,
972
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
973
+ * @public
974
+ */
975
+ EndTime?: Date;
976
+ /**
977
+ * <p>Filters the results by the specified instance types.</p>
978
+ * @public
979
+ */
980
+ InstanceTypes?: _InstanceType[];
981
+ /**
982
+ * <p>Filters the results by the specified basic product descriptions.</p>
983
+ * @public
984
+ */
985
+ ProductDescriptions?: string[];
954
986
  /**
955
987
  * <p>The filters.</p>
956
988
  * <ul>
@@ -996,26 +1028,6 @@ export interface DescribeSpotPriceHistoryRequest {
996
1028
  * @public
997
1029
  */
998
1030
  AvailabilityZone?: string;
999
- /**
1000
- * <p>Checks whether you have the required permissions for the action, without actually
1001
- * making the request, and provides an error response. If you have the required
1002
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
1003
- * <code>UnauthorizedOperation</code>.</p>
1004
- * @public
1005
- */
1006
- DryRun?: boolean;
1007
- /**
1008
- * <p>The date and time, up to the current date, from which to stop retrieving the price
1009
- * history data, in UTC format (for example,
1010
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
1011
- * @public
1012
- */
1013
- EndTime?: Date;
1014
- /**
1015
- * <p>Filters the results by the specified instance types.</p>
1016
- * @public
1017
- */
1018
- InstanceTypes?: _InstanceType[];
1019
1031
  /**
1020
1032
  * <p>The maximum number of items to return for this request.
1021
1033
  * To get the next page of items, make another request with the token returned in the output.
@@ -1028,18 +1040,6 @@ export interface DescribeSpotPriceHistoryRequest {
1028
1040
  * @public
1029
1041
  */
1030
1042
  NextToken?: string;
1031
- /**
1032
- * <p>Filters the results by the specified basic product descriptions.</p>
1033
- * @public
1034
- */
1035
- ProductDescriptions?: string[];
1036
- /**
1037
- * <p>The date and time, up to the past 90 days, from which to start retrieving the price
1038
- * history data, in UTC format (for example,
1039
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
1040
- * @public
1041
- */
1042
- StartTime?: Date;
1043
1043
  }
1044
1044
  /**
1045
1045
  * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
@@ -1478,13 +1478,6 @@ export interface DescribeSubnetsRequest {
1478
1478
  * @public
1479
1479
  */
1480
1480
  SubnetIds?: string[];
1481
- /**
1482
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
1483
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
1484
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1485
- * @public
1486
- */
1487
- DryRun?: boolean;
1488
1481
  /**
1489
1482
  * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
1490
1483
  * @public
@@ -1497,21 +1490,28 @@ export interface DescribeSubnetsRequest {
1497
1490
  * @public
1498
1491
  */
1499
1492
  MaxResults?: number;
1493
+ /**
1494
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
1495
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
1496
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1497
+ * @public
1498
+ */
1499
+ DryRun?: boolean;
1500
1500
  }
1501
1501
  /**
1502
1502
  * @public
1503
1503
  */
1504
1504
  export interface DescribeSubnetsResult {
1505
1505
  /**
1506
- * <p>Information about the subnets.</p>
1506
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
1507
1507
  * @public
1508
1508
  */
1509
- Subnets?: Subnet[];
1509
+ NextToken?: string;
1510
1510
  /**
1511
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
1511
+ * <p>Information about the subnets.</p>
1512
1512
  * @public
1513
1513
  */
1514
- NextToken?: string;
1514
+ Subnets?: Subnet[];
1515
1515
  }
1516
1516
  /**
1517
1517
  * @public
@@ -3213,6 +3213,18 @@ export interface DescribeVolumeAttributeResult {
3213
3213
  * @public
3214
3214
  */
3215
3215
  export interface DescribeVolumesRequest {
3216
+ /**
3217
+ * <p>The volume IDs. If not specified, then all volumes are included in the response.</p>
3218
+ * @public
3219
+ */
3220
+ VolumeIds?: string[];
3221
+ /**
3222
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
3223
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3224
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3225
+ * @public
3226
+ */
3227
+ DryRun?: boolean;
3216
3228
  /**
3217
3229
  * <p>The filters.</p>
3218
3230
  * <ul>
@@ -3303,17 +3315,11 @@ export interface DescribeVolumesRequest {
3303
3315
  */
3304
3316
  Filters?: Filter[];
3305
3317
  /**
3306
- * <p>The volume IDs. If not specified, then all volumes are included in the response.</p>
3307
- * @public
3308
- */
3309
- VolumeIds?: string[];
3310
- /**
3311
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
3312
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3313
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3318
+ * <p>The token returned from a previous paginated request.
3319
+ * Pagination continues from the end of the items returned by the previous request.</p>
3314
3320
  * @public
3315
3321
  */
3316
- DryRun?: boolean;
3322
+ NextToken?: string;
3317
3323
  /**
3318
3324
  * <p>The maximum number of items to return for this request.
3319
3325
  * To get the next page of items, make another request with the token returned in the output.
@@ -3321,28 +3327,22 @@ export interface DescribeVolumesRequest {
3321
3327
  * @public
3322
3328
  */
3323
3329
  MaxResults?: number;
3324
- /**
3325
- * <p>The token returned from a previous paginated request.
3326
- * Pagination continues from the end of the items returned by the previous request.</p>
3327
- * @public
3328
- */
3329
- NextToken?: string;
3330
3330
  }
3331
3331
  /**
3332
3332
  * @public
3333
3333
  */
3334
3334
  export interface DescribeVolumesResult {
3335
- /**
3336
- * <p>Information about the volumes.</p>
3337
- * @public
3338
- */
3339
- Volumes?: Volume[];
3340
3335
  /**
3341
3336
  * <p>The token to include in another request to get the next page of items.
3342
3337
  * This value is <code>null</code> when there are no more items to return.</p>
3343
3338
  * @public
3344
3339
  */
3345
3340
  NextToken?: string;
3341
+ /**
3342
+ * <p>Information about the volumes.</p>
3343
+ * @public
3344
+ */
3345
+ Volumes?: Volume[];
3346
3346
  }
3347
3347
  /**
3348
3348
  * @public
@@ -3531,22 +3531,48 @@ export interface VolumeModification {
3531
3531
  * @public
3532
3532
  */
3533
3533
  export interface DescribeVolumesModificationsResult {
3534
- /**
3535
- * <p>Information about the volume modifications.</p>
3536
- * @public
3537
- */
3538
- VolumesModifications?: VolumeModification[];
3539
3534
  /**
3540
3535
  * <p>The token to include in another request to get the next page of items.
3541
3536
  * This value is <code>null</code> when there are no more items to return.</p>
3542
3537
  * @public
3543
3538
  */
3544
3539
  NextToken?: string;
3540
+ /**
3541
+ * <p>Information about the volume modifications.</p>
3542
+ * @public
3543
+ */
3544
+ VolumesModifications?: VolumeModification[];
3545
3545
  }
3546
3546
  /**
3547
3547
  * @public
3548
3548
  */
3549
3549
  export interface DescribeVolumeStatusRequest {
3550
+ /**
3551
+ * <p>The maximum number of items to return for this request.
3552
+ * To get the next page of items, make another request with the token returned in the output.
3553
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3554
+ * @public
3555
+ */
3556
+ MaxResults?: number;
3557
+ /**
3558
+ * <p>The token returned from a previous paginated request.
3559
+ * Pagination continues from the end of the items returned by the previous request.</p>
3560
+ * @public
3561
+ */
3562
+ NextToken?: string;
3563
+ /**
3564
+ * <p>The IDs of the volumes.</p>
3565
+ * <p>Default: Describes all your volumes.</p>
3566
+ * @public
3567
+ */
3568
+ VolumeIds?: string[];
3569
+ /**
3570
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
3571
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3572
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3573
+ * @public
3574
+ */
3575
+ DryRun?: boolean;
3550
3576
  /**
3551
3577
  * <p>The filters.</p>
3552
3578
  * <ul>
@@ -3613,32 +3639,6 @@ export interface DescribeVolumeStatusRequest {
3613
3639
  * @public
3614
3640
  */
3615
3641
  Filters?: Filter[];
3616
- /**
3617
- * <p>The maximum number of items to return for this request.
3618
- * To get the next page of items, make another request with the token returned in the output.
3619
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
3620
- * @public
3621
- */
3622
- MaxResults?: number;
3623
- /**
3624
- * <p>The token returned from a previous paginated request.
3625
- * Pagination continues from the end of the items returned by the previous request.</p>
3626
- * @public
3627
- */
3628
- NextToken?: string;
3629
- /**
3630
- * <p>The IDs of the volumes.</p>
3631
- * <p>Default: Describes all your volumes.</p>
3632
- * @public
3633
- */
3634
- VolumeIds?: string[];
3635
- /**
3636
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
3637
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3638
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3639
- * @public
3640
- */
3641
- DryRun?: boolean;
3642
3642
  }
3643
3643
  /**
3644
3644
  * <p>Describes a volume status operation code.</p>
@@ -3871,11 +3871,6 @@ export interface DescribeVpcAttributeRequest {
3871
3871
  * @public
3872
3872
  */
3873
3873
  export interface DescribeVpcAttributeResult {
3874
- /**
3875
- * <p>The ID of the VPC.</p>
3876
- * @public
3877
- */
3878
- VpcId?: string;
3879
3874
  /**
3880
3875
  * <p>Indicates whether the instances launched in the VPC get DNS hostnames.
3881
3876
  * If this attribute is <code>true</code>, instances in the VPC get DNS hostnames;
@@ -3896,11 +3891,28 @@ export interface DescribeVpcAttributeResult {
3896
3891
  * @public
3897
3892
  */
3898
3893
  EnableNetworkAddressUsageMetrics?: AttributeBooleanValue;
3894
+ /**
3895
+ * <p>The ID of the VPC.</p>
3896
+ * @public
3897
+ */
3898
+ VpcId?: string;
3899
3899
  }
3900
3900
  /**
3901
3901
  * @public
3902
3902
  */
3903
3903
  export interface DescribeVpcClassicLinkRequest {
3904
+ /**
3905
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
3906
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3907
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3908
+ * @public
3909
+ */
3910
+ DryRun?: boolean;
3911
+ /**
3912
+ * <p>The VPCs for which you want to describe the ClassicLink status.</p>
3913
+ * @public
3914
+ */
3915
+ VpcIds?: string[];
3904
3916
  /**
3905
3917
  * <p>The filters.</p>
3906
3918
  * <ul>
@@ -3922,18 +3934,6 @@ export interface DescribeVpcClassicLinkRequest {
3922
3934
  * @public
3923
3935
  */
3924
3936
  Filters?: Filter[];
3925
- /**
3926
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
3927
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
3928
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3929
- * @public
3930
- */
3931
- DryRun?: boolean;
3932
- /**
3933
- * <p>The VPCs for which you want to describe the ClassicLink status.</p>
3934
- * @public
3935
- */
3936
- VpcIds?: string[];
3937
3937
  }
3938
3938
  /**
3939
3939
  * <note>
@@ -3973,6 +3973,11 @@ export interface DescribeVpcClassicLinkResult {
3973
3973
  * @public
3974
3974
  */
3975
3975
  export interface DescribeVpcClassicLinkDnsSupportRequest {
3976
+ /**
3977
+ * <p>The IDs of the VPCs.</p>
3978
+ * @public
3979
+ */
3980
+ VpcIds?: string[];
3976
3981
  /**
3977
3982
  * <p>The maximum number of items to return for this request.
3978
3983
  * To get the next page of items, make another request with the token returned in the output.
@@ -3985,11 +3990,6 @@ export interface DescribeVpcClassicLinkDnsSupportRequest {
3985
3990
  * @public
3986
3991
  */
3987
3992
  NextToken?: string;
3988
- /**
3989
- * <p>The IDs of the VPCs.</p>
3990
- * @public
3991
- */
3992
- VpcIds?: string[];
3993
3993
  }
3994
3994
  /**
3995
3995
  * <note>
@@ -4643,6 +4643,31 @@ export interface DescribeVpcEndpointServicesResult {
4643
4643
  * @public
4644
4644
  */
4645
4645
  export interface DescribeVpcPeeringConnectionsRequest {
4646
+ /**
4647
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
4648
+ * @public
4649
+ */
4650
+ NextToken?: string;
4651
+ /**
4652
+ * <p>The maximum number of items to return for this request.
4653
+ * To get the next page of items, make another request with the token returned in the output.
4654
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
4655
+ * @public
4656
+ */
4657
+ MaxResults?: number;
4658
+ /**
4659
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
4660
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4661
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4662
+ * @public
4663
+ */
4664
+ DryRun?: boolean;
4665
+ /**
4666
+ * <p>The IDs of the VPC peering connections.</p>
4667
+ * <p>Default: Describes all your VPC peering connections.</p>
4668
+ * @public
4669
+ */
4670
+ VpcPeeringConnectionIds?: string[];
4646
4671
  /**
4647
4672
  * <p>The filters.</p>
4648
4673
  * <ul>
@@ -4709,31 +4734,6 @@ export interface DescribeVpcPeeringConnectionsRequest {
4709
4734
  * @public
4710
4735
  */
4711
4736
  Filters?: Filter[];
4712
- /**
4713
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4714
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4715
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4716
- * @public
4717
- */
4718
- DryRun?: boolean;
4719
- /**
4720
- * <p>The IDs of the VPC peering connections.</p>
4721
- * <p>Default: Describes all your VPC peering connections.</p>
4722
- * @public
4723
- */
4724
- VpcPeeringConnectionIds?: string[];
4725
- /**
4726
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
4727
- * @public
4728
- */
4729
- NextToken?: string;
4730
- /**
4731
- * <p>The maximum number of items to return for this request.
4732
- * To get the next page of items, make another request with the token returned in the output.
4733
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
4734
- * @public
4735
- */
4736
- MaxResults?: number;
4737
4737
  }
4738
4738
  /**
4739
4739
  * @public
@@ -4836,13 +4836,6 @@ export interface DescribeVpcsRequest {
4836
4836
  * @public
4837
4837
  */
4838
4838
  VpcIds?: string[];
4839
- /**
4840
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4841
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4842
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4843
- * @public
4844
- */
4845
- DryRun?: boolean;
4846
4839
  /**
4847
4840
  * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
4848
4841
  * @public
@@ -4855,21 +4848,28 @@ export interface DescribeVpcsRequest {
4855
4848
  * @public
4856
4849
  */
4857
4850
  MaxResults?: number;
4851
+ /**
4852
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
4853
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4854
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4855
+ * @public
4856
+ */
4857
+ DryRun?: boolean;
4858
4858
  }
4859
4859
  /**
4860
4860
  * @public
4861
4861
  */
4862
4862
  export interface DescribeVpcsResult {
4863
4863
  /**
4864
- * <p>Information about the VPCs.</p>
4864
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
4865
4865
  * @public
4866
4866
  */
4867
- Vpcs?: Vpc[];
4867
+ NextToken?: string;
4868
4868
  /**
4869
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
4869
+ * <p>Information about the VPCs.</p>
4870
4870
  * @public
4871
4871
  */
4872
- NextToken?: string;
4872
+ Vpcs?: Vpc[];
4873
4873
  }
4874
4874
  /**
4875
4875
  * <p>Contains the parameters for DescribeVpnConnections.</p>
@@ -5110,11 +5110,6 @@ export interface DetachInternetGatewayRequest {
5110
5110
  * @public
5111
5111
  */
5112
5112
  export interface DetachNetworkInterfaceRequest {
5113
- /**
5114
- * <p>The ID of the attachment.</p>
5115
- * @public
5116
- */
5117
- AttachmentId: string | undefined;
5118
5113
  /**
5119
5114
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
5120
5115
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -5122,6 +5117,11 @@ export interface DetachNetworkInterfaceRequest {
5122
5117
  * @public
5123
5118
  */
5124
5119
  DryRun?: boolean;
5120
+ /**
5121
+ * <p>The ID of the attachment.</p>
5122
+ * @public
5123
+ */
5124
+ AttachmentId: string | undefined;
5125
5125
  /**
5126
5126
  * <p>Specifies whether to force a detachment.</p>
5127
5127
  * <note>
@@ -6197,11 +6197,6 @@ export interface DisassociateNatGatewayAddressResult {
6197
6197
  * @public
6198
6198
  */
6199
6199
  export interface DisassociateRouteTableRequest {
6200
- /**
6201
- * <p>The association ID representing the current association between the route table and subnet or gateway.</p>
6202
- * @public
6203
- */
6204
- AssociationId: string | undefined;
6205
6200
  /**
6206
6201
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
6207
6202
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -6209,6 +6204,11 @@ export interface DisassociateRouteTableRequest {
6209
6204
  * @public
6210
6205
  */
6211
6206
  DryRun?: boolean;
6207
+ /**
6208
+ * <p>The association ID representing the current association between the route table and subnet or gateway.</p>
6209
+ * @public
6210
+ */
6211
+ AssociationId: string | undefined;
6212
6212
  }
6213
6213
  /**
6214
6214
  * @public
@@ -7952,19 +7952,19 @@ export interface GetConsoleOutputRequest {
7952
7952
  * @public
7953
7953
  */
7954
7954
  InstanceId: string | undefined;
7955
- /**
7956
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7957
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7958
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7959
- * @public
7960
- */
7961
- DryRun?: boolean;
7962
7955
  /**
7963
7956
  * <p>When enabled, retrieves the latest console output for the instance.</p>
7964
7957
  * <p>Default: disabled (<code>false</code>)</p>
7965
7958
  * @public
7966
7959
  */
7967
7960
  Latest?: boolean;
7961
+ /**
7962
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
7963
+ * request, and provides an error response. If you have the required permissions, the error response is
7964
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7965
+ * @public
7966
+ */
7967
+ DryRun?: boolean;
7968
7968
  }
7969
7969
  /**
7970
7970
  * @public
@@ -7976,25 +7976,25 @@ export interface GetConsoleOutputResult {
7976
7976
  */
7977
7977
  InstanceId?: string;
7978
7978
  /**
7979
- * <p>The console output, base64-encoded. If you are using a command line tool, the tool
7980
- * decodes the output for you.</p>
7979
+ * <p>The time at which the output was last updated.</p>
7981
7980
  * @public
7982
7981
  */
7983
- Output?: string;
7982
+ Timestamp?: Date;
7984
7983
  /**
7985
- * <p>The time at which the output was last updated.</p>
7984
+ * <p>The console output, base64-encoded. If you are using a command line tool, the tool
7985
+ * decodes the output for you.</p>
7986
7986
  * @public
7987
7987
  */
7988
- Timestamp?: Date;
7988
+ Output?: string;
7989
7989
  }
7990
7990
  /**
7991
7991
  * @public
7992
7992
  */
7993
7993
  export interface GetConsoleScreenshotRequest {
7994
7994
  /**
7995
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7996
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7997
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7995
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
7996
+ * request, and provides an error response. If you have the required permissions, the error response is
7997
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7998
7998
  * @public
7999
7999
  */
8000
8000
  DryRun?: boolean;
@@ -8044,9 +8044,9 @@ export type UnlimitedSupportedInstanceFamily = (typeof UnlimitedSupportedInstanc
8044
8044
  */
8045
8045
  export interface GetDefaultCreditSpecificationRequest {
8046
8046
  /**
8047
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8048
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8049
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8047
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
8048
+ * request, and provides an error response. If you have the required permissions, the error response is
8049
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8050
8050
  * @public
8051
8051
  */
8052
8052
  DryRun?: boolean;