@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
@@ -35,6 +35,10 @@ declare const DescribeAddressesCommand_base: {
35
35
  * // const { EC2Client, DescribeAddressesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
36
  * const client = new EC2Client(config);
37
37
  * const input = { // DescribeAddressesRequest
38
+ * PublicIps: [ // PublicIpStringList
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * DryRun: true || false,
38
42
  * Filters: [ // FilterList
39
43
  * { // Filter
40
44
  * Name: "STRING_VALUE",
@@ -43,21 +47,15 @@ declare const DescribeAddressesCommand_base: {
43
47
  * ],
44
48
  * },
45
49
  * ],
46
- * PublicIps: [ // PublicIpStringList
47
- * "STRING_VALUE",
48
- * ],
49
50
  * AllocationIds: [ // AllocationIdList
50
51
  * "STRING_VALUE",
51
52
  * ],
52
- * DryRun: true || false,
53
53
  * };
54
54
  * const command = new DescribeAddressesCommand(input);
55
55
  * const response = await client.send(command);
56
56
  * // { // DescribeAddressesResult
57
57
  * // Addresses: [ // AddressList
58
58
  * // { // Address
59
- * // InstanceId: "STRING_VALUE",
60
- * // PublicIp: "STRING_VALUE",
61
59
  * // AllocationId: "STRING_VALUE",
62
60
  * // AssociationId: "STRING_VALUE",
63
61
  * // Domain: "vpc" || "standard",
@@ -75,6 +73,8 @@ declare const DescribeAddressesCommand_base: {
75
73
  * // CustomerOwnedIp: "STRING_VALUE",
76
74
  * // CustomerOwnedIpv4Pool: "STRING_VALUE",
77
75
  * // CarrierIp: "STRING_VALUE",
76
+ * // InstanceId: "STRING_VALUE",
77
+ * // PublicIp: "STRING_VALUE",
78
78
  * // },
79
79
  * // ],
80
80
  * // };
@@ -45,14 +45,6 @@ declare const DescribeAvailabilityZonesCommand_base: {
45
45
  * // const { EC2Client, DescribeAvailabilityZonesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
46
46
  * const client = new EC2Client(config);
47
47
  * const input = { // DescribeAvailabilityZonesRequest
48
- * Filters: [ // FilterList
49
- * { // Filter
50
- * Name: "STRING_VALUE",
51
- * Values: [ // ValueStringList
52
- * "STRING_VALUE",
53
- * ],
54
- * },
55
- * ],
56
48
  * ZoneNames: [ // ZoneNameStringList
57
49
  * "STRING_VALUE",
58
50
  * ],
@@ -61,13 +53,20 @@ declare const DescribeAvailabilityZonesCommand_base: {
61
53
  * ],
62
54
  * AllAvailabilityZones: true || false,
63
55
  * DryRun: true || false,
56
+ * Filters: [ // FilterList
57
+ * { // Filter
58
+ * Name: "STRING_VALUE",
59
+ * Values: [ // ValueStringList
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * },
63
+ * ],
64
64
  * };
65
65
  * const command = new DescribeAvailabilityZonesCommand(input);
66
66
  * const response = await client.send(command);
67
67
  * // { // DescribeAvailabilityZonesResult
68
68
  * // AvailabilityZones: [ // AvailabilityZoneList
69
69
  * // { // AvailabilityZone
70
- * // State: "available" || "information" || "impaired" || "unavailable" || "constrained",
71
70
  * // OptInStatus: "opt-in-not-required" || "opted-in" || "not-opted-in",
72
71
  * // Messages: [ // AvailabilityZoneMessageList
73
72
  * // { // AvailabilityZoneMessage
@@ -82,6 +81,7 @@ declare const DescribeAvailabilityZonesCommand_base: {
82
81
  * // ZoneType: "STRING_VALUE",
83
82
  * // ParentZoneName: "STRING_VALUE",
84
83
  * // ParentZoneId: "STRING_VALUE",
84
+ * // State: "available" || "information" || "impaired" || "unavailable" || "constrained",
85
85
  * // },
86
86
  * // ],
87
87
  * // };
@@ -46,6 +46,7 @@ declare const DescribeBundleTasksCommand_base: {
46
46
  * BundleIds: [ // BundleIdStringList
47
47
  * "STRING_VALUE",
48
48
  * ],
49
+ * DryRun: true || false,
49
50
  * Filters: [ // FilterList
50
51
  * { // Filter
51
52
  * Name: "STRING_VALUE",
@@ -54,22 +55,17 @@ declare const DescribeBundleTasksCommand_base: {
54
55
  * ],
55
56
  * },
56
57
  * ],
57
- * DryRun: true || false,
58
58
  * };
59
59
  * const command = new DescribeBundleTasksCommand(input);
60
60
  * const response = await client.send(command);
61
61
  * // { // DescribeBundleTasksResult
62
62
  * // BundleTasks: [ // BundleTaskList
63
63
  * // { // BundleTask
64
- * // BundleId: "STRING_VALUE",
65
- * // BundleTaskError: { // BundleTaskError
66
- * // Code: "STRING_VALUE",
67
- * // Message: "STRING_VALUE",
68
- * // },
69
64
  * // InstanceId: "STRING_VALUE",
70
- * // Progress: "STRING_VALUE",
71
- * // StartTime: new Date("TIMESTAMP"),
65
+ * // BundleId: "STRING_VALUE",
72
66
  * // State: "pending" || "waiting-for-shutdown" || "bundling" || "storing" || "cancelling" || "complete" || "failed",
67
+ * // StartTime: new Date("TIMESTAMP"),
68
+ * // UpdateTime: new Date("TIMESTAMP"),
73
69
  * // Storage: { // Storage
74
70
  * // S3: { // S3Storage
75
71
  * // AWSAccessKeyId: "STRING_VALUE",
@@ -79,7 +75,11 @@ declare const DescribeBundleTasksCommand_base: {
79
75
  * // UploadPolicySignature: "STRING_VALUE",
80
76
  * // },
81
77
  * // },
82
- * // UpdateTime: new Date("TIMESTAMP"),
78
+ * // Progress: "STRING_VALUE",
79
+ * // BundleTaskError: { // BundleTaskError
80
+ * // Code: "STRING_VALUE",
81
+ * // Message: "STRING_VALUE",
82
+ * // },
83
83
  * // },
84
84
  * // ],
85
85
  * // };
@@ -40,6 +40,10 @@ declare const DescribeClassicLinkInstancesCommand_base: {
40
40
  * // const { EC2Client, DescribeClassicLinkInstancesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
41
41
  * const client = new EC2Client(config);
42
42
  * const input = { // DescribeClassicLinkInstancesRequest
43
+ * DryRun: true || false,
44
+ * InstanceIds: [ // InstanceIdStringList
45
+ * "STRING_VALUE",
46
+ * ],
43
47
  * Filters: [ // FilterList
44
48
  * { // Filter
45
49
  * Name: "STRING_VALUE",
@@ -48,12 +52,8 @@ declare const DescribeClassicLinkInstancesCommand_base: {
48
52
  * ],
49
53
  * },
50
54
  * ],
51
- * DryRun: true || false,
52
- * InstanceIds: [ // InstanceIdStringList
53
- * "STRING_VALUE",
54
- * ],
55
- * MaxResults: Number("int"),
56
55
  * NextToken: "STRING_VALUE",
56
+ * MaxResults: Number("int"),
57
57
  * };
58
58
  * const command = new DescribeClassicLinkInstancesCommand(input);
59
59
  * const response = await client.send(command);
@@ -62,8 +62,8 @@ declare const DescribeClassicLinkInstancesCommand_base: {
62
62
  * // { // ClassicLinkInstance
63
63
  * // Groups: [ // GroupIdentifierList
64
64
  * // { // GroupIdentifier
65
- * // GroupName: "STRING_VALUE",
66
65
  * // GroupId: "STRING_VALUE",
66
+ * // GroupName: "STRING_VALUE",
67
67
  * // },
68
68
  * // ],
69
69
  * // InstanceId: "STRING_VALUE",
@@ -37,10 +37,10 @@ declare const DescribeConversionTasksCommand_base: {
37
37
  * // const { EC2Client, DescribeConversionTasksCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
38
38
  * const client = new EC2Client(config);
39
39
  * const input = { // DescribeConversionTasksRequest
40
+ * DryRun: true || false,
40
41
  * ConversionTaskIds: [ // ConversionIdStringList
41
42
  * "STRING_VALUE",
42
43
  * ],
43
- * DryRun: true || false,
44
44
  * };
45
45
  * const command = new DescribeConversionTasksCommand(input);
46
46
  * const response = await client.send(command);
@@ -55,12 +55,7 @@ declare const DescribeCustomerGatewaysCommand_base: {
55
55
  * // { // DescribeCustomerGatewaysResult
56
56
  * // CustomerGateways: [ // CustomerGatewayList
57
57
  * // { // CustomerGateway
58
- * // BgpAsn: "STRING_VALUE",
59
- * // CustomerGatewayId: "STRING_VALUE",
60
- * // IpAddress: "STRING_VALUE",
61
58
  * // CertificateArn: "STRING_VALUE",
62
- * // State: "STRING_VALUE",
63
- * // Type: "STRING_VALUE",
64
59
  * // DeviceName: "STRING_VALUE",
65
60
  * // Tags: [ // TagList
66
61
  * // { // Tag
@@ -69,6 +64,11 @@ declare const DescribeCustomerGatewaysCommand_base: {
69
64
  * // },
70
65
  * // ],
71
66
  * // BgpAsnExtended: "STRING_VALUE",
67
+ * // CustomerGatewayId: "STRING_VALUE",
68
+ * // State: "STRING_VALUE",
69
+ * // Type: "STRING_VALUE",
70
+ * // IpAddress: "STRING_VALUE",
71
+ * // BgpAsn: "STRING_VALUE",
72
72
  * // },
73
73
  * // ],
74
74
  * // };
@@ -42,6 +42,9 @@ declare const DescribeDhcpOptionsCommand_base: {
42
42
  * DhcpOptionsIds: [ // DhcpOptionsIdStringList
43
43
  * "STRING_VALUE",
44
44
  * ],
45
+ * NextToken: "STRING_VALUE",
46
+ * MaxResults: Number("int"),
47
+ * DryRun: true || false,
45
48
  * Filters: [ // FilterList
46
49
  * { // Filter
47
50
  * Name: "STRING_VALUE",
@@ -50,15 +53,21 @@ declare const DescribeDhcpOptionsCommand_base: {
50
53
  * ],
51
54
  * },
52
55
  * ],
53
- * DryRun: true || false,
54
- * NextToken: "STRING_VALUE",
55
- * MaxResults: Number("int"),
56
56
  * };
57
57
  * const command = new DescribeDhcpOptionsCommand(input);
58
58
  * const response = await client.send(command);
59
59
  * // { // DescribeDhcpOptionsResult
60
+ * // NextToken: "STRING_VALUE",
60
61
  * // DhcpOptions: [ // DhcpOptionsList
61
62
  * // { // DhcpOptions
63
+ * // OwnerId: "STRING_VALUE",
64
+ * // Tags: [ // TagList
65
+ * // { // Tag
66
+ * // Key: "STRING_VALUE",
67
+ * // Value: "STRING_VALUE",
68
+ * // },
69
+ * // ],
70
+ * // DhcpOptionsId: "STRING_VALUE",
62
71
  * // DhcpConfigurations: [ // DhcpConfigurationList
63
72
  * // { // DhcpConfiguration
64
73
  * // Key: "STRING_VALUE",
@@ -69,17 +78,8 @@ declare const DescribeDhcpOptionsCommand_base: {
69
78
  * // ],
70
79
  * // },
71
80
  * // ],
72
- * // DhcpOptionsId: "STRING_VALUE",
73
- * // OwnerId: "STRING_VALUE",
74
- * // Tags: [ // TagList
75
- * // { // Tag
76
- * // Key: "STRING_VALUE",
77
- * // Value: "STRING_VALUE",
78
- * // },
79
- * // ],
80
81
  * // },
81
82
  * // ],
82
- * // NextToken: "STRING_VALUE",
83
83
  * // };
84
84
  *
85
85
  * ```
@@ -35,9 +35,6 @@ declare const DescribeExportTasksCommand_base: {
35
35
  * // const { EC2Client, DescribeExportTasksCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
36
  * const client = new EC2Client(config);
37
37
  * const input = { // DescribeExportTasksRequest
38
- * ExportTaskIds: [ // ExportTaskIdStringList
39
- * "STRING_VALUE",
40
- * ],
41
38
  * Filters: [ // FilterList
42
39
  * { // Filter
43
40
  * Name: "STRING_VALUE",
@@ -46,6 +43,9 @@ declare const DescribeExportTasksCommand_base: {
46
43
  * ],
47
44
  * },
48
45
  * ],
46
+ * ExportTaskIds: [ // ExportTaskIdStringList
47
+ * "STRING_VALUE",
48
+ * ],
49
49
  * };
50
50
  * const command = new DescribeExportTasksCommand(input);
51
51
  * const response = await client.send(command);
@@ -38,6 +38,11 @@ declare const DescribeHostsCommand_base: {
38
38
  * // const { EC2Client, DescribeHostsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
39
39
  * const client = new EC2Client(config);
40
40
  * const input = { // DescribeHostsRequest
41
+ * HostIds: [ // RequestHostIdList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * NextToken: "STRING_VALUE",
45
+ * MaxResults: Number("int"),
41
46
  * Filter: [ // FilterList
42
47
  * { // Filter
43
48
  * Name: "STRING_VALUE",
@@ -46,11 +51,6 @@ declare const DescribeHostsCommand_base: {
46
51
  * ],
47
52
  * },
48
53
  * ],
49
- * HostIds: [ // RequestHostIdList
50
- * "STRING_VALUE",
51
- * ],
52
- * MaxResults: Number("int"),
53
- * NextToken: "STRING_VALUE",
54
54
  * };
55
55
  * const command = new DescribeHostsCommand(input);
56
56
  * const response = await client.send(command);
@@ -53,8 +53,8 @@ declare const DescribeIdentityIdFormatCommand_base: {
53
53
  * // const { EC2Client, DescribeIdentityIdFormatCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
54
54
  * const client = new EC2Client(config);
55
55
  * const input = { // DescribeIdentityIdFormatRequest
56
- * PrincipalArn: "STRING_VALUE", // required
57
56
  * Resource: "STRING_VALUE",
57
+ * PrincipalArn: "STRING_VALUE", // required
58
58
  * };
59
59
  * const command = new DescribeIdentityIdFormatCommand(input);
60
60
  * const response = await client.send(command);
@@ -47,39 +47,6 @@ declare const DescribeImageAttributeCommand_base: {
47
47
  * const command = new DescribeImageAttributeCommand(input);
48
48
  * const response = await client.send(command);
49
49
  * // { // ImageAttribute
50
- * // BlockDeviceMappings: [ // BlockDeviceMappingList
51
- * // { // BlockDeviceMapping
52
- * // DeviceName: "STRING_VALUE",
53
- * // VirtualName: "STRING_VALUE",
54
- * // Ebs: { // EbsBlockDevice
55
- * // DeleteOnTermination: true || false,
56
- * // Iops: Number("int"),
57
- * // SnapshotId: "STRING_VALUE",
58
- * // VolumeSize: Number("int"),
59
- * // VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
60
- * // KmsKeyId: "STRING_VALUE",
61
- * // Throughput: Number("int"),
62
- * // OutpostArn: "STRING_VALUE",
63
- * // Encrypted: true || false,
64
- * // },
65
- * // NoDevice: "STRING_VALUE",
66
- * // },
67
- * // ],
68
- * // ImageId: "STRING_VALUE",
69
- * // LaunchPermissions: [ // LaunchPermissionList
70
- * // { // LaunchPermission
71
- * // Group: "all",
72
- * // UserId: "STRING_VALUE",
73
- * // OrganizationArn: "STRING_VALUE",
74
- * // OrganizationalUnitArn: "STRING_VALUE",
75
- * // },
76
- * // ],
77
- * // ProductCodes: [ // ProductCodeList
78
- * // { // ProductCode
79
- * // ProductCodeId: "STRING_VALUE",
80
- * // ProductCodeType: "devpay" || "marketplace",
81
- * // },
82
- * // ],
83
50
  * // Description: { // AttributeValue
84
51
  * // Value: "STRING_VALUE",
85
52
  * // },
@@ -100,6 +67,39 @@ declare const DescribeImageAttributeCommand_base: {
100
67
  * // LastLaunchedTime: "<AttributeValue>",
101
68
  * // ImdsSupport: "<AttributeValue>",
102
69
  * // DeregistrationProtection: "<AttributeValue>",
70
+ * // ImageId: "STRING_VALUE",
71
+ * // LaunchPermissions: [ // LaunchPermissionList
72
+ * // { // LaunchPermission
73
+ * // OrganizationArn: "STRING_VALUE",
74
+ * // OrganizationalUnitArn: "STRING_VALUE",
75
+ * // UserId: "STRING_VALUE",
76
+ * // Group: "all",
77
+ * // },
78
+ * // ],
79
+ * // ProductCodes: [ // ProductCodeList
80
+ * // { // ProductCode
81
+ * // ProductCodeId: "STRING_VALUE",
82
+ * // ProductCodeType: "devpay" || "marketplace",
83
+ * // },
84
+ * // ],
85
+ * // BlockDeviceMappings: [ // BlockDeviceMappingList
86
+ * // { // BlockDeviceMapping
87
+ * // Ebs: { // EbsBlockDevice
88
+ * // DeleteOnTermination: true || false,
89
+ * // Iops: Number("int"),
90
+ * // SnapshotId: "STRING_VALUE",
91
+ * // VolumeSize: Number("int"),
92
+ * // VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
93
+ * // KmsKeyId: "STRING_VALUE",
94
+ * // Throughput: Number("int"),
95
+ * // OutpostArn: "STRING_VALUE",
96
+ * // Encrypted: true || false,
97
+ * // },
98
+ * // NoDevice: "STRING_VALUE",
99
+ * // DeviceName: "STRING_VALUE",
100
+ * // VirtualName: "STRING_VALUE",
101
+ * // },
102
+ * // ],
103
103
  * // };
104
104
  *
105
105
  * ```
@@ -54,14 +54,6 @@ declare const DescribeImagesCommand_base: {
54
54
  * ExecutableUsers: [ // ExecutableByStringList
55
55
  * "STRING_VALUE",
56
56
  * ],
57
- * Filters: [ // FilterList
58
- * { // Filter
59
- * Name: "STRING_VALUE",
60
- * Values: [ // ValueStringList
61
- * "STRING_VALUE",
62
- * ],
63
- * },
64
- * ],
65
57
  * ImageIds: [ // ImageIdStringList
66
58
  * "STRING_VALUE",
67
59
  * ],
@@ -70,38 +62,28 @@ declare const DescribeImagesCommand_base: {
70
62
  * ],
71
63
  * IncludeDeprecated: true || false,
72
64
  * IncludeDisabled: true || false,
73
- * DryRun: true || false,
74
65
  * MaxResults: Number("int"),
75
66
  * NextToken: "STRING_VALUE",
67
+ * DryRun: true || false,
68
+ * Filters: [ // FilterList
69
+ * { // Filter
70
+ * Name: "STRING_VALUE",
71
+ * Values: [ // ValueStringList
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * },
75
+ * ],
76
76
  * };
77
77
  * const command = new DescribeImagesCommand(input);
78
78
  * const response = await client.send(command);
79
79
  * // { // DescribeImagesResult
80
+ * // NextToken: "STRING_VALUE",
80
81
  * // Images: [ // ImageList
81
82
  * // { // Image
82
- * // Architecture: "i386" || "x86_64" || "arm64" || "x86_64_mac" || "arm64_mac",
83
- * // CreationDate: "STRING_VALUE",
84
- * // ImageId: "STRING_VALUE",
85
- * // ImageLocation: "STRING_VALUE",
86
- * // ImageType: "machine" || "kernel" || "ramdisk",
87
- * // Public: true || false,
88
- * // KernelId: "STRING_VALUE",
89
- * // OwnerId: "STRING_VALUE",
90
- * // Platform: "Windows",
91
83
  * // PlatformDetails: "STRING_VALUE",
92
84
  * // UsageOperation: "STRING_VALUE",
93
- * // ProductCodes: [ // ProductCodeList
94
- * // { // ProductCode
95
- * // ProductCodeId: "STRING_VALUE",
96
- * // ProductCodeType: "devpay" || "marketplace",
97
- * // },
98
- * // ],
99
- * // RamdiskId: "STRING_VALUE",
100
- * // State: "pending" || "available" || "invalid" || "deregistered" || "transient" || "failed" || "error" || "disabled",
101
85
  * // BlockDeviceMappings: [ // BlockDeviceMappingList
102
86
  * // { // BlockDeviceMapping
103
- * // DeviceName: "STRING_VALUE",
104
- * // VirtualName: "STRING_VALUE",
105
87
  * // Ebs: { // EbsBlockDevice
106
88
  * // DeleteOnTermination: true || false,
107
89
  * // Iops: Number("int"),
@@ -114,6 +96,8 @@ declare const DescribeImagesCommand_base: {
114
96
  * // Encrypted: true || false,
115
97
  * // },
116
98
  * // NoDevice: "STRING_VALUE",
99
+ * // DeviceName: "STRING_VALUE",
100
+ * // VirtualName: "STRING_VALUE",
117
101
  * // },
118
102
  * // ],
119
103
  * // Description: "STRING_VALUE",
@@ -142,9 +126,25 @@ declare const DescribeImagesCommand_base: {
142
126
  * // SourceInstanceId: "STRING_VALUE",
143
127
  * // DeregistrationProtection: "STRING_VALUE",
144
128
  * // LastLaunchedTime: "STRING_VALUE",
129
+ * // ImageId: "STRING_VALUE",
130
+ * // ImageLocation: "STRING_VALUE",
131
+ * // State: "pending" || "available" || "invalid" || "deregistered" || "transient" || "failed" || "error" || "disabled",
132
+ * // OwnerId: "STRING_VALUE",
133
+ * // CreationDate: "STRING_VALUE",
134
+ * // Public: true || false,
135
+ * // ProductCodes: [ // ProductCodeList
136
+ * // { // ProductCode
137
+ * // ProductCodeId: "STRING_VALUE",
138
+ * // ProductCodeType: "devpay" || "marketplace",
139
+ * // },
140
+ * // ],
141
+ * // Architecture: "i386" || "x86_64" || "arm64" || "x86_64_mac" || "arm64_mac",
142
+ * // ImageType: "machine" || "kernel" || "ramdisk",
143
+ * // KernelId: "STRING_VALUE",
144
+ * // RamdiskId: "STRING_VALUE",
145
+ * // Platform: "Windows",
145
146
  * // },
146
147
  * // ],
147
- * // NextToken: "STRING_VALUE",
148
148
  * // };
149
149
  *
150
150
  * ```
@@ -42,19 +42,13 @@ declare const DescribeInstanceAttributeCommand_base: {
42
42
  * // const { EC2Client, DescribeInstanceAttributeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
43
43
  * const client = new EC2Client(config);
44
44
  * const input = { // DescribeInstanceAttributeRequest
45
- * Attribute: "instanceType" || "kernel" || "ramdisk" || "userData" || "disableApiTermination" || "instanceInitiatedShutdownBehavior" || "rootDeviceName" || "blockDeviceMapping" || "productCodes" || "sourceDestCheck" || "groupSet" || "ebsOptimized" || "sriovNetSupport" || "enaSupport" || "enclaveOptions" || "disableApiStop", // required
46
45
  * DryRun: true || false,
47
46
  * InstanceId: "STRING_VALUE", // required
47
+ * Attribute: "instanceType" || "kernel" || "ramdisk" || "userData" || "disableApiTermination" || "instanceInitiatedShutdownBehavior" || "rootDeviceName" || "blockDeviceMapping" || "productCodes" || "sourceDestCheck" || "groupSet" || "ebsOptimized" || "sriovNetSupport" || "enaSupport" || "enclaveOptions" || "disableApiStop", // required
48
48
  * };
49
49
  * const command = new DescribeInstanceAttributeCommand(input);
50
50
  * const response = await client.send(command);
51
51
  * // { // InstanceAttribute
52
- * // Groups: [ // GroupIdentifierList
53
- * // { // GroupIdentifier
54
- * // GroupName: "STRING_VALUE",
55
- * // GroupId: "STRING_VALUE",
56
- * // },
57
- * // ],
58
52
  * // BlockDeviceMappings: [ // InstanceBlockDeviceMappingList
59
53
  * // { // InstanceBlockDeviceMapping
60
54
  * // DeviceName: "STRING_VALUE",
@@ -110,6 +104,12 @@ declare const DescribeInstanceAttributeCommand_base: {
110
104
  * // DisableApiStop: {
111
105
  * // Value: true || false,
112
106
  * // },
107
+ * // Groups: [ // GroupIdentifierList
108
+ * // { // GroupIdentifier
109
+ * // GroupId: "STRING_VALUE",
110
+ * // GroupName: "STRING_VALUE",
111
+ * // },
112
+ * // ],
113
113
  * // };
114
114
  *
115
115
  * ```
@@ -68,6 +68,12 @@ declare const DescribeInstanceStatusCommand_base: {
68
68
  * // const { EC2Client, DescribeInstanceStatusCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
69
69
  * const client = new EC2Client(config);
70
70
  * const input = { // DescribeInstanceStatusRequest
71
+ * InstanceIds: [ // InstanceIdStringList
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * MaxResults: Number("int"),
75
+ * NextToken: "STRING_VALUE",
76
+ * DryRun: true || false,
71
77
  * Filters: [ // FilterList
72
78
  * { // Filter
73
79
  * Name: "STRING_VALUE",
@@ -76,12 +82,6 @@ declare const DescribeInstanceStatusCommand_base: {
76
82
  * ],
77
83
  * },
78
84
  * ],
79
- * InstanceIds: [ // InstanceIdStringList
80
- * "STRING_VALUE",
81
- * ],
82
- * MaxResults: Number("int"),
83
- * NextToken: "STRING_VALUE",
84
- * DryRun: true || false,
85
85
  * IncludeAllInstances: true || false,
86
86
  * };
87
87
  * const command = new DescribeInstanceStatusCommand(input);
@@ -61,7 +61,8 @@ declare const DescribeInstanceTopologyCommand_base: {
61
61
  * <li>
62
62
  * <p>
63
63
  * <code>p3dn.24xlarge</code> | <code>p4d.24xlarge</code> |
64
- * <code>p4de.24xlarge</code> | <code>p5.48xlarge</code>
64
+ * <code>p4de.24xlarge</code> | <code>p5.48xlarge</code> |
65
+ * <code>p5e.48xlarge</code>
65
66
  * </p>
66
67
  * </li>
67
68
  * <li>