@aws-sdk/client-ec2 3.613.0 → 3.616.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 (188) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +773 -442
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/EC2Client.js +5 -5
  5. package/dist-es/commands/CreateIpamExternalResourceVerificationTokenCommand.js +24 -0
  6. package/dist-es/commands/DeleteIpamExternalResourceVerificationTokenCommand.js +24 -0
  7. package/dist-es/commands/DescribeImportImageTasksCommand.js +1 -1
  8. package/dist-es/commands/DescribeIpamExternalResourceVerificationTokensCommand.js +24 -0
  9. package/dist-es/commands/DescribeSpotFleetRequestsCommand.js +1 -1
  10. package/dist-es/commands/DescribeSpotInstanceRequestsCommand.js +1 -1
  11. package/dist-es/commands/GetInstanceTpmEkPubCommand.js +1 -1
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/models/models_0.js +1 -0
  14. package/dist-es/models/models_1.js +12 -19
  15. package/dist-es/models/models_2.js +19 -0
  16. package/dist-es/models/models_3.js +0 -13
  17. package/dist-es/models/models_4.js +13 -33
  18. package/dist-es/models/models_5.js +34 -15
  19. package/dist-es/models/models_6.js +21 -7
  20. package/dist-es/models/models_7.js +11 -1
  21. package/dist-es/protocols/Aws_ec2.js +251 -5
  22. package/dist-types/EC2.d.ts +22 -0
  23. package/dist-types/EC2Client.d.ts +7 -4
  24. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  25. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  26. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  27. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  28. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  29. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  30. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  31. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +91 -0
  50. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  55. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  56. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  65. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  66. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +2 -1
  67. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  99. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +79 -0
  100. package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +2 -1
  101. package/dist-types/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  102. package/dist-types/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  103. package/dist-types/commands/DeleteManagedPrefixListCommand.d.ts +1 -1
  104. package/dist-types/commands/DeletePublicIpv4PoolCommand.d.ts +1 -0
  105. package/dist-types/commands/DescribeImagesCommand.d.ts +2 -1
  106. package/dist-types/commands/DescribeImportImageTasksCommand.d.ts +1 -1
  107. package/dist-types/commands/DescribeIpamExternalResourceVerificationTokensCommand.d.ts +94 -0
  108. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  109. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +9 -2
  110. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -3
  111. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  112. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  113. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +0 -3
  114. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  115. package/dist-types/commands/GetConsoleOutputCommand.d.ts +0 -7
  116. package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +2 -1
  117. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
  118. package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +1 -1
  119. package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +1 -2
  120. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +2 -0
  121. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -0
  122. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  123. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  124. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  125. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  126. package/dist-types/commands/ModifyIpamResourceCidrCommand.d.ts +1 -0
  127. package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -1
  128. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
  129. package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  130. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -2
  131. package/dist-types/commands/ProvisionIpamPoolCidrCommand.d.ts +2 -0
  132. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +1 -0
  133. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  134. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  135. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  136. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  137. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  138. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  139. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  140. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  141. package/dist-types/commands/index.d.ts +3 -0
  142. package/dist-types/models/models_0.d.ts +1 -0
  143. package/dist-types/models/models_1.d.ts +161 -150
  144. package/dist-types/models/models_2.d.ts +179 -95
  145. package/dist-types/models/models_3.d.ts +100 -258
  146. package/dist-types/models/models_4.d.ts +400 -602
  147. package/dist-types/models/models_5.d.ts +576 -200
  148. package/dist-types/models/models_6.d.ts +232 -205
  149. package/dist-types/models/models_7.d.ts +233 -4
  150. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  151. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  152. package/dist-types/runtimeConfig.d.ts +1 -1
  153. package/dist-types/runtimeConfig.native.d.ts +1 -1
  154. package/dist-types/ts3.4/EC2.d.ts +70 -0
  155. package/dist-types/ts3.4/EC2Client.d.ts +20 -2
  156. package/dist-types/ts3.4/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +40 -0
  157. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +40 -0
  158. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +2 -4
  159. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/DeleteManagedPrefixListCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -4
  163. package/dist-types/ts3.4/commands/DescribeImportImageTasksCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/DescribeIpamExternalResourceVerificationTokensCommand.d.ts +42 -0
  165. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -4
  166. package/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +2 -4
  168. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/GetInstanceUefiDataCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +4 -2
  171. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +2 -4
  172. package/dist-types/ts3.4/commands/MoveAddressToVpcCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  176. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  177. package/dist-types/ts3.4/models/models_1.d.ts +37 -45
  178. package/dist-types/ts3.4/models/models_2.d.ts +56 -32
  179. package/dist-types/ts3.4/models/models_3.d.ts +30 -63
  180. package/dist-types/ts3.4/models/models_4.d.ts +77 -101
  181. package/dist-types/ts3.4/models/models_5.d.ts +105 -60
  182. package/dist-types/ts3.4/models/models_6.d.ts +70 -53
  183. package/dist-types/ts3.4/models/models_7.d.ts +62 -7
  184. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  185. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  186. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  187. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  188. package/package.json +25 -25
package/dist-es/EC2.js CHANGED
@@ -75,6 +75,7 @@ import { CreateInstanceEventWindowCommand, } from "./commands/CreateInstanceEven
75
75
  import { CreateInstanceExportTaskCommand, } from "./commands/CreateInstanceExportTaskCommand";
76
76
  import { CreateInternetGatewayCommand, } from "./commands/CreateInternetGatewayCommand";
77
77
  import { CreateIpamCommand } from "./commands/CreateIpamCommand";
78
+ import { CreateIpamExternalResourceVerificationTokenCommand, } from "./commands/CreateIpamExternalResourceVerificationTokenCommand";
78
79
  import { CreateIpamPoolCommand, } from "./commands/CreateIpamPoolCommand";
79
80
  import { CreateIpamResourceDiscoveryCommand, } from "./commands/CreateIpamResourceDiscoveryCommand";
80
81
  import { CreateIpamScopeCommand, } from "./commands/CreateIpamScopeCommand";
@@ -151,6 +152,7 @@ import { DeleteInstanceConnectEndpointCommand, } from "./commands/DeleteInstance
151
152
  import { DeleteInstanceEventWindowCommand, } from "./commands/DeleteInstanceEventWindowCommand";
152
153
  import { DeleteInternetGatewayCommand, } from "./commands/DeleteInternetGatewayCommand";
153
154
  import { DeleteIpamCommand } from "./commands/DeleteIpamCommand";
155
+ import { DeleteIpamExternalResourceVerificationTokenCommand, } from "./commands/DeleteIpamExternalResourceVerificationTokenCommand";
154
156
  import { DeleteIpamPoolCommand, } from "./commands/DeleteIpamPoolCommand";
155
157
  import { DeleteIpamResourceDiscoveryCommand, } from "./commands/DeleteIpamResourceDiscoveryCommand";
156
158
  import { DeleteIpamScopeCommand, } from "./commands/DeleteIpamScopeCommand";
@@ -275,6 +277,7 @@ import { DescribeInstanceTypeOfferingsCommand, } from "./commands/DescribeInstan
275
277
  import { DescribeInstanceTypesCommand, } from "./commands/DescribeInstanceTypesCommand";
276
278
  import { DescribeInternetGatewaysCommand, } from "./commands/DescribeInternetGatewaysCommand";
277
279
  import { DescribeIpamByoasnCommand, } from "./commands/DescribeIpamByoasnCommand";
280
+ import { DescribeIpamExternalResourceVerificationTokensCommand, } from "./commands/DescribeIpamExternalResourceVerificationTokensCommand";
278
281
  import { DescribeIpamPoolsCommand, } from "./commands/DescribeIpamPoolsCommand";
279
282
  import { DescribeIpamResourceDiscoveriesCommand, } from "./commands/DescribeIpamResourceDiscoveriesCommand";
280
283
  import { DescribeIpamResourceDiscoveryAssociationsCommand, } from "./commands/DescribeIpamResourceDiscoveryAssociationsCommand";
@@ -699,6 +702,7 @@ const commands = {
699
702
  CreateInstanceExportTaskCommand,
700
703
  CreateInternetGatewayCommand,
701
704
  CreateIpamCommand,
705
+ CreateIpamExternalResourceVerificationTokenCommand,
702
706
  CreateIpamPoolCommand,
703
707
  CreateIpamResourceDiscoveryCommand,
704
708
  CreateIpamScopeCommand,
@@ -775,6 +779,7 @@ const commands = {
775
779
  DeleteInstanceEventWindowCommand,
776
780
  DeleteInternetGatewayCommand,
777
781
  DeleteIpamCommand,
782
+ DeleteIpamExternalResourceVerificationTokenCommand,
778
783
  DeleteIpamPoolCommand,
779
784
  DeleteIpamResourceDiscoveryCommand,
780
785
  DeleteIpamScopeCommand,
@@ -899,6 +904,7 @@ const commands = {
899
904
  DescribeInstanceTypesCommand,
900
905
  DescribeInternetGatewaysCommand,
901
906
  DescribeIpamByoasnCommand,
907
+ DescribeIpamExternalResourceVerificationTokensCommand,
902
908
  DescribeIpamPoolsCommand,
903
909
  DescribeIpamResourceDiscoveriesCommand,
904
910
  DescribeIpamResourceDiscoveryAssociationsCommand,
@@ -19,19 +19,19 @@ export class EC2Client extends __Client {
19
19
  const _config_1 = resolveClientEndpointParameters(_config_0);
20
20
  const _config_2 = resolveRegionConfig(_config_1);
21
21
  const _config_3 = resolveEndpointConfig(_config_2);
22
- const _config_4 = resolveRetryConfig(_config_3);
23
- const _config_5 = resolveHostHeaderConfig(_config_4);
24
- const _config_6 = resolveUserAgentConfig(_config_5);
22
+ const _config_4 = resolveHostHeaderConfig(_config_3);
23
+ const _config_5 = resolveUserAgentConfig(_config_4);
24
+ const _config_6 = resolveRetryConfig(_config_5);
25
25
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
26
26
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
27
27
  super(_config_8);
28
28
  this.config = _config_8;
29
- this.middlewareStack.use(getRetryPlugin(this.config));
30
- this.middlewareStack.use(getContentLengthPlugin(this.config));
31
29
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
32
30
  this.middlewareStack.use(getLoggerPlugin(this.config));
33
31
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
34
32
  this.middlewareStack.use(getUserAgentPlugin(this.config));
33
+ this.middlewareStack.use(getRetryPlugin(this.config));
34
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
35
35
  this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
36
36
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
37
37
  identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateIpamExternalResourceVerificationTokenCommand, se_CreateIpamExternalResourceVerificationTokenCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class CreateIpamExternalResourceVerificationTokenCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonEC2", "CreateIpamExternalResourceVerificationToken", {})
19
+ .n("EC2Client", "CreateIpamExternalResourceVerificationTokenCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateIpamExternalResourceVerificationTokenCommand)
22
+ .de(de_CreateIpamExternalResourceVerificationTokenCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteIpamExternalResourceVerificationTokenCommand, se_DeleteIpamExternalResourceVerificationTokenCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DeleteIpamExternalResourceVerificationTokenCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonEC2", "DeleteIpamExternalResourceVerificationToken", {})
19
+ .n("EC2Client", "DeleteIpamExternalResourceVerificationTokenCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteIpamExternalResourceVerificationTokenCommand)
22
+ .de(de_DeleteIpamExternalResourceVerificationTokenCommand)
23
+ .build() {
24
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeImportImageTasksResultFilterSensitiveLog, } from "../models/models_3";
5
+ import { DescribeImportImageTasksResultFilterSensitiveLog, } from "../models/models_4";
6
6
  import { de_DescribeImportImageTasksCommand, se_DescribeImportImageTasksCommand } from "../protocols/Aws_ec2";
7
7
  export { $Command };
8
8
  export class DescribeImportImageTasksCommand extends $Command
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeIpamExternalResourceVerificationTokensCommand, se_DescribeIpamExternalResourceVerificationTokensCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeIpamExternalResourceVerificationTokensCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonEC2", "DescribeIpamExternalResourceVerificationTokens", {})
19
+ .n("EC2Client", "DescribeIpamExternalResourceVerificationTokensCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeIpamExternalResourceVerificationTokensCommand)
22
+ .de(de_DescribeIpamExternalResourceVerificationTokensCommand)
23
+ .build() {
24
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeSpotFleetRequestsResponseFilterSensitiveLog, } from "../models/models_4";
5
+ import { DescribeSpotFleetRequestsResponseFilterSensitiveLog, } from "../models/models_5";
6
6
  import { de_DescribeSpotFleetRequestsCommand, se_DescribeSpotFleetRequestsCommand } from "../protocols/Aws_ec2";
7
7
  export { $Command };
8
8
  export class DescribeSpotFleetRequestsCommand extends $Command
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeSpotInstanceRequestsResultFilterSensitiveLog, } from "../models/models_4";
5
+ import { DescribeSpotInstanceRequestsResultFilterSensitiveLog, } from "../models/models_5";
6
6
  import { de_DescribeSpotInstanceRequestsCommand, se_DescribeSpotInstanceRequestsCommand } from "../protocols/Aws_ec2";
7
7
  export { $Command };
8
8
  export class DescribeSpotInstanceRequestsCommand extends $Command
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetInstanceTpmEkPubResultFilterSensitiveLog, } from "../models/models_5";
5
+ import { GetInstanceTpmEkPubResultFilterSensitiveLog } from "../models/models_6";
6
6
  import { de_GetInstanceTpmEkPubCommand, se_GetInstanceTpmEkPubCommand } from "../protocols/Aws_ec2";
7
7
  export { $Command };
8
8
  export class GetInstanceTpmEkPubCommand extends $Command
@@ -74,6 +74,7 @@ export * from "./CreateInstanceEventWindowCommand";
74
74
  export * from "./CreateInstanceExportTaskCommand";
75
75
  export * from "./CreateInternetGatewayCommand";
76
76
  export * from "./CreateIpamCommand";
77
+ export * from "./CreateIpamExternalResourceVerificationTokenCommand";
77
78
  export * from "./CreateIpamPoolCommand";
78
79
  export * from "./CreateIpamResourceDiscoveryCommand";
79
80
  export * from "./CreateIpamScopeCommand";
@@ -150,6 +151,7 @@ export * from "./DeleteInstanceConnectEndpointCommand";
150
151
  export * from "./DeleteInstanceEventWindowCommand";
151
152
  export * from "./DeleteInternetGatewayCommand";
152
153
  export * from "./DeleteIpamCommand";
154
+ export * from "./DeleteIpamExternalResourceVerificationTokenCommand";
153
155
  export * from "./DeleteIpamPoolCommand";
154
156
  export * from "./DeleteIpamResourceDiscoveryCommand";
155
157
  export * from "./DeleteIpamScopeCommand";
@@ -274,6 +276,7 @@ export * from "./DescribeInstanceTypesCommand";
274
276
  export * from "./DescribeInstancesCommand";
275
277
  export * from "./DescribeInternetGatewaysCommand";
276
278
  export * from "./DescribeIpamByoasnCommand";
279
+ export * from "./DescribeIpamExternalResourceVerificationTokensCommand";
277
280
  export * from "./DescribeIpamPoolsCommand";
278
281
  export * from "./DescribeIpamResourceDiscoveriesCommand";
279
282
  export * from "./DescribeIpamResourceDiscoveryAssociationsCommand";
@@ -50,6 +50,7 @@ export const ResourceType = {
50
50
  instance_event_window: "instance-event-window",
51
51
  internet_gateway: "internet-gateway",
52
52
  ipam: "ipam",
53
+ ipam_external_resource_verification_token: "ipam-external-resource-verification-token",
53
54
  ipam_pool: "ipam-pool",
54
55
  ipam_resource_discovery: "ipam-resource-discovery",
55
56
  ipam_resource_discovery_association: "ipam-resource-discovery-association",
@@ -203,6 +203,18 @@ export const IpamState = {
203
203
  modify_in_progress: "modify-in-progress",
204
204
  restore_in_progress: "restore-in-progress",
205
205
  };
206
+ export const IpamExternalResourceVerificationTokenState = {
207
+ CREATE_COMPLETE: "create-complete",
208
+ CREATE_FAILED: "create-failed",
209
+ CREATE_IN_PROGRESS: "create-in-progress",
210
+ DELETE_COMPLETE: "delete-complete",
211
+ DELETE_FAILED: "delete-failed",
212
+ DELETE_IN_PROGRESS: "delete-in-progress",
213
+ };
214
+ export const TokenState = {
215
+ expired: "expired",
216
+ valid: "valid",
217
+ };
206
218
  export const IpamPoolAwsService = {
207
219
  ec2: "ec2",
208
220
  };
@@ -365,25 +377,6 @@ export const NetworkInterfaceCreationType = {
365
377
  efa: "efa",
366
378
  trunk: "trunk",
367
379
  };
368
- export const NetworkInterfaceType = {
369
- api_gateway_managed: "api_gateway_managed",
370
- aws_codestar_connections_managed: "aws_codestar_connections_managed",
371
- branch: "branch",
372
- efa: "efa",
373
- gateway_load_balancer: "gateway_load_balancer",
374
- gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint",
375
- global_accelerator_managed: "global_accelerator_managed",
376
- interface: "interface",
377
- iot_rules_managed: "iot_rules_managed",
378
- lambda: "lambda",
379
- load_balancer: "load_balancer",
380
- natGateway: "natGateway",
381
- network_load_balancer: "network_load_balancer",
382
- quicksight: "quicksight",
383
- transit_gateway: "transit_gateway",
384
- trunk: "trunk",
385
- vpc_endpoint: "vpc_endpoint",
386
- };
387
380
  export const KeyPairFilterSensitiveLog = (obj) => ({
388
381
  ...obj,
389
382
  ...(obj.KeyMaterial && { KeyMaterial: SENSITIVE_STRING }),
@@ -1,5 +1,24 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
+ export const NetworkInterfaceType = {
4
+ api_gateway_managed: "api_gateway_managed",
5
+ aws_codestar_connections_managed: "aws_codestar_connections_managed",
6
+ branch: "branch",
7
+ efa: "efa",
8
+ gateway_load_balancer: "gateway_load_balancer",
9
+ gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint",
10
+ global_accelerator_managed: "global_accelerator_managed",
11
+ interface: "interface",
12
+ iot_rules_managed: "iot_rules_managed",
13
+ lambda: "lambda",
14
+ load_balancer: "load_balancer",
15
+ natGateway: "natGateway",
16
+ network_load_balancer: "network_load_balancer",
17
+ quicksight: "quicksight",
18
+ transit_gateway: "transit_gateway",
19
+ trunk: "trunk",
20
+ vpc_endpoint: "vpc_endpoint",
21
+ };
3
22
  export const NetworkInterfaceStatus = {
4
23
  associated: "associated",
5
24
  attaching: "attaching",
@@ -238,16 +238,3 @@ export const DescribeConversionTasksResultFilterSensitiveLog = (obj) => ({
238
238
  ConversionTasks: obj.ConversionTasks.map((item) => ConversionTaskFilterSensitiveLog(item)),
239
239
  }),
240
240
  });
241
- export const SnapshotDetailFilterSensitiveLog = (obj) => ({
242
- ...obj,
243
- ...(obj.Url && { Url: SENSITIVE_STRING }),
244
- });
245
- export const ImportImageTaskFilterSensitiveLog = (obj) => ({
246
- ...obj,
247
- ...(obj.SnapshotDetails && {
248
- SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item)),
249
- }),
250
- });
251
- export const DescribeImportImageTasksResultFilterSensitiveLog = (obj) => ({
252
- ...obj,
253
- });
@@ -263,14 +263,19 @@ export const ReplacementStrategy = {
263
263
  LAUNCH: "launch",
264
264
  LAUNCH_BEFORE_TERMINATE: "launch-before-terminate",
265
265
  };
266
- export const SpotInstanceState = {
267
- active: "active",
268
- cancelled: "cancelled",
269
- closed: "closed",
270
- disabled: "disabled",
271
- failed: "failed",
272
- open: "open",
273
- };
266
+ export const SnapshotDetailFilterSensitiveLog = (obj) => ({
267
+ ...obj,
268
+ ...(obj.Url && { Url: SENSITIVE_STRING }),
269
+ });
270
+ export const ImportImageTaskFilterSensitiveLog = (obj) => ({
271
+ ...obj,
272
+ ...(obj.SnapshotDetails && {
273
+ SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item)),
274
+ }),
275
+ });
276
+ export const DescribeImportImageTasksResultFilterSensitiveLog = (obj) => ({
277
+ ...obj,
278
+ });
274
279
  export const SnapshotTaskDetailFilterSensitiveLog = (obj) => ({
275
280
  ...obj,
276
281
  ...(obj.Url && { Url: SENSITIVE_STRING }),
@@ -301,28 +306,3 @@ export const SpotFleetRequestConfigDataFilterSensitiveLog = (obj) => ({
301
306
  LaunchSpecifications: obj.LaunchSpecifications.map((item) => SpotFleetLaunchSpecificationFilterSensitiveLog(item)),
302
307
  }),
303
308
  });
304
- export const SpotFleetRequestConfigFilterSensitiveLog = (obj) => ({
305
- ...obj,
306
- ...(obj.SpotFleetRequestConfig && {
307
- SpotFleetRequestConfig: SpotFleetRequestConfigDataFilterSensitiveLog(obj.SpotFleetRequestConfig),
308
- }),
309
- });
310
- export const DescribeSpotFleetRequestsResponseFilterSensitiveLog = (obj) => ({
311
- ...obj,
312
- });
313
- export const LaunchSpecificationFilterSensitiveLog = (obj) => ({
314
- ...obj,
315
- ...(obj.UserData && { UserData: SENSITIVE_STRING }),
316
- });
317
- export const SpotInstanceRequestFilterSensitiveLog = (obj) => ({
318
- ...obj,
319
- ...(obj.LaunchSpecification && {
320
- LaunchSpecification: LaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification),
321
- }),
322
- });
323
- export const DescribeSpotInstanceRequestsResultFilterSensitiveLog = (obj) => ({
324
- ...obj,
325
- ...(obj.SpotInstanceRequests && {
326
- SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item)),
327
- }),
328
- });
@@ -1,6 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { VpnConnectionFilterSensitiveLog, } from "./models_2";
4
+ import { SpotFleetRequestConfigDataFilterSensitiveLog, } from "./models_4";
5
+ export const SpotInstanceState = {
6
+ active: "active",
7
+ cancelled: "cancelled",
8
+ closed: "closed",
9
+ disabled: "disabled",
10
+ failed: "failed",
11
+ open: "open",
12
+ };
4
13
  export const VerifiedAccessLogDeliveryStatusCode = {
5
14
  FAILED: "failed",
6
15
  SUCCESS: "success",
@@ -70,17 +79,31 @@ export const EkPubKeyType = {
70
79
  ECC_SEC_P384: "ecc-sec-p384",
71
80
  RSA_2048: "rsa-2048",
72
81
  };
73
- export const IpamComplianceStatus = {
74
- compliant: "compliant",
75
- ignored: "ignored",
76
- noncompliant: "noncompliant",
77
- unmanaged: "unmanaged",
78
- };
79
- export const IpamOverlapStatus = {
80
- ignored: "ignored",
81
- nonoverlapping: "nonoverlapping",
82
- overlapping: "overlapping",
83
- };
82
+ export const SpotFleetRequestConfigFilterSensitiveLog = (obj) => ({
83
+ ...obj,
84
+ ...(obj.SpotFleetRequestConfig && {
85
+ SpotFleetRequestConfig: SpotFleetRequestConfigDataFilterSensitiveLog(obj.SpotFleetRequestConfig),
86
+ }),
87
+ });
88
+ export const DescribeSpotFleetRequestsResponseFilterSensitiveLog = (obj) => ({
89
+ ...obj,
90
+ });
91
+ export const LaunchSpecificationFilterSensitiveLog = (obj) => ({
92
+ ...obj,
93
+ ...(obj.UserData && { UserData: SENSITIVE_STRING }),
94
+ });
95
+ export const SpotInstanceRequestFilterSensitiveLog = (obj) => ({
96
+ ...obj,
97
+ ...(obj.LaunchSpecification && {
98
+ LaunchSpecification: LaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification),
99
+ }),
100
+ });
101
+ export const DescribeSpotInstanceRequestsResultFilterSensitiveLog = (obj) => ({
102
+ ...obj,
103
+ ...(obj.SpotInstanceRequests && {
104
+ SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item)),
105
+ }),
106
+ });
84
107
  export const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = (obj) => ({
85
108
  ...obj,
86
109
  ...(obj.VerifiedAccessTrustProviders && {
@@ -99,7 +122,3 @@ export const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) =
99
122
  VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider),
100
123
  }),
101
124
  });
102
- export const GetInstanceTpmEkPubResultFilterSensitiveLog = (obj) => ({
103
- ...obj,
104
- ...(obj.KeyValue && { KeyValue: SENSITIVE_STRING }),
105
- });
@@ -2,8 +2,19 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
4
4
  import { VpnConnectionFilterSensitiveLog, } from "./models_2";
5
- import { ConversionTaskFilterSensitiveLog, SnapshotDetailFilterSensitiveLog, } from "./models_3";
6
- import { SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
5
+ import { ConversionTaskFilterSensitiveLog, } from "./models_3";
6
+ import { SnapshotDetailFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
7
+ export const IpamComplianceStatus = {
8
+ compliant: "compliant",
9
+ ignored: "ignored",
10
+ noncompliant: "noncompliant",
11
+ unmanaged: "unmanaged",
12
+ };
13
+ export const IpamOverlapStatus = {
14
+ ignored: "ignored",
15
+ nonoverlapping: "nonoverlapping",
16
+ overlapping: "overlapping",
17
+ };
7
18
  export const IpamAddressHistoryResourceType = {
8
19
  eip: "eip",
9
20
  instance: "instance",
@@ -38,6 +49,10 @@ export const IpamPublicAddressAwsService = {
38
49
  REDSHIFT: "redshift",
39
50
  S2S_VPN: "site-to-site-vpn",
40
51
  };
52
+ export const IpamNetworkInterfaceAttachmentStatus = {
53
+ available: "available",
54
+ in_use: "in-use",
55
+ };
41
56
  export const IpamResourceType = {
42
57
  eip: "eip",
43
58
  eni: "eni",
@@ -106,11 +121,10 @@ export const TrafficMirrorSessionField = {
106
121
  export const VpcTenancy = {
107
122
  default: "default",
108
123
  };
109
- export const Status = {
110
- inClassic: "InClassic",
111
- inVpc: "InVpc",
112
- moveInProgress: "MoveInProgress",
113
- };
124
+ export const GetInstanceTpmEkPubResultFilterSensitiveLog = (obj) => ({
125
+ ...obj,
126
+ ...(obj.KeyValue && { KeyValue: SENSITIVE_STRING }),
127
+ });
114
128
  export const GetLaunchTemplateDataResultFilterSensitiveLog = (obj) => ({
115
129
  ...obj,
116
130
  ...(obj.LaunchTemplateData && {
@@ -1,5 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_4";
2
+ import { SpotFleetRequestConfigDataFilterSensitiveLog, } from "./models_4";
3
+ import { SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
4
+ export const Status = {
5
+ inClassic: "InClassic",
6
+ inVpc: "InVpc",
7
+ moveInProgress: "MoveInProgress",
8
+ };
9
+ export const VerificationMethod = {
10
+ dns_token: "dns-token",
11
+ remarks_x509: "remarks-x509",
12
+ };
3
13
  export const ReportInstanceReasonCodes = {
4
14
  instance_stuck_in_state: "instance-stuck-in-state",
5
15
  not_accepting_credentials: "not-accepting-credentials",