@aws-sdk/client-ec2 3.261.0 → 3.264.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 (134) hide show
  1. package/dist-cjs/EC2.js +60 -0
  2. package/dist-cjs/commands/AssignPrivateNatGatewayAddressCommand.js +46 -0
  3. package/dist-cjs/commands/AssociateNatGatewayAddressCommand.js +46 -0
  4. package/dist-cjs/commands/CreateClientVpnEndpointCommand.js +3 -3
  5. package/dist-cjs/commands/CreateClientVpnRouteCommand.js +1 -2
  6. package/dist-cjs/commands/DeleteTrafficMirrorTargetCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteTransitGatewayCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  9. package/dist-cjs/commands/DescribeInstanceStatusCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeInstancesCommand.js +2 -1
  11. package/dist-cjs/commands/DescribeVolumeStatusCommand.js +2 -1
  12. package/dist-cjs/commands/DisassociateNatGatewayAddressCommand.js +46 -0
  13. package/dist-cjs/commands/ModifyAvailabilityZoneGroupCommand.js +3 -3
  14. package/dist-cjs/commands/ModifyCapacityReservationCommand.js +3 -3
  15. package/dist-cjs/commands/ModifyCapacityReservationFleetCommand.js +3 -3
  16. package/dist-cjs/commands/RunInstancesCommand.js +2 -2
  17. package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +2 -1
  18. package/dist-cjs/commands/UnassignPrivateIpAddressesCommand.js +2 -2
  19. package/dist-cjs/commands/UnassignPrivateNatGatewayAddressCommand.js +46 -0
  20. package/dist-cjs/commands/UnmonitorInstancesCommand.js +3 -3
  21. package/dist-cjs/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +3 -3
  22. package/dist-cjs/commands/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +37 -34
  24. package/dist-cjs/models/models_1.js +34 -33
  25. package/dist-cjs/models/models_2.js +29 -26
  26. package/dist-cjs/models/models_3.js +26 -30
  27. package/dist-cjs/models/models_4.js +30 -30
  28. package/dist-cjs/models/models_5.js +38 -34
  29. package/dist-cjs/models/models_6.js +34 -34
  30. package/dist-cjs/models/models_7.js +37 -1
  31. package/dist-cjs/protocols/Aws_ec2.js +551 -161
  32. package/dist-es/EC2.js +60 -0
  33. package/dist-es/commands/AssignPrivateNatGatewayAddressCommand.js +42 -0
  34. package/dist-es/commands/AssociateNatGatewayAddressCommand.js +42 -0
  35. package/dist-es/commands/CreateClientVpnEndpointCommand.js +1 -1
  36. package/dist-es/commands/CreateClientVpnRouteCommand.js +1 -2
  37. package/dist-es/commands/DeleteTrafficMirrorTargetCommand.js +1 -1
  38. package/dist-es/commands/DeleteTransitGatewayCommand.js +1 -1
  39. package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  40. package/dist-es/commands/DescribeInstanceStatusCommand.js +1 -2
  41. package/dist-es/commands/DescribeInstancesCommand.js +2 -1
  42. package/dist-es/commands/DescribeVolumeStatusCommand.js +2 -1
  43. package/dist-es/commands/DisassociateNatGatewayAddressCommand.js +42 -0
  44. package/dist-es/commands/ModifyAvailabilityZoneGroupCommand.js +1 -1
  45. package/dist-es/commands/ModifyCapacityReservationCommand.js +1 -1
  46. package/dist-es/commands/ModifyCapacityReservationFleetCommand.js +1 -1
  47. package/dist-es/commands/RunInstancesCommand.js +1 -1
  48. package/dist-es/commands/UnassignIpv6AddressesCommand.js +2 -1
  49. package/dist-es/commands/UnassignPrivateIpAddressesCommand.js +1 -1
  50. package/dist-es/commands/UnassignPrivateNatGatewayAddressCommand.js +42 -0
  51. package/dist-es/commands/UnmonitorInstancesCommand.js +1 -1
  52. package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +1 -1
  53. package/dist-es/commands/index.js +4 -0
  54. package/dist-es/models/models_0.js +26 -24
  55. package/dist-es/models/models_1.js +24 -23
  56. package/dist-es/models/models_2.js +20 -15
  57. package/dist-es/models/models_3.js +15 -20
  58. package/dist-es/models/models_4.js +20 -21
  59. package/dist-es/models/models_5.js +27 -21
  60. package/dist-es/models/models_6.js +21 -21
  61. package/dist-es/models/models_7.js +27 -0
  62. package/dist-es/protocols/Aws_ec2.js +520 -138
  63. package/dist-types/EC2.d.ts +50 -7
  64. package/dist-types/EC2Client.d.ts +6 -2
  65. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +37 -0
  66. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  67. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +38 -0
  68. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -2
  70. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  72. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  73. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  74. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -2
  75. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -2
  76. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -1
  77. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +1 -1
  78. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +2 -1
  79. package/dist-types/commands/DisassociateIpamResourceDiscoveryCommand.d.ts +1 -1
  80. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +43 -0
  81. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
  82. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  83. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  84. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  85. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +1 -1
  86. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  87. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  88. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  89. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +45 -0
  90. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  91. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  92. package/dist-types/commands/index.d.ts +4 -0
  93. package/dist-types/models/models_0.d.ts +134 -234
  94. package/dist-types/models/models_1.d.ts +236 -166
  95. package/dist-types/models/models_2.d.ts +154 -71
  96. package/dist-types/models/models_3.d.ts +68 -205
  97. package/dist-types/models/models_4.d.ts +208 -81
  98. package/dist-types/models/models_5.d.ts +124 -177
  99. package/dist-types/models/models_6.d.ts +181 -136
  100. package/dist-types/models/models_7.d.ts +167 -2
  101. package/dist-types/protocols/Aws_ec2.d.ts +12 -0
  102. package/dist-types/ts3.4/EC2.d.ts +68 -0
  103. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  104. package/dist-types/ts3.4/commands/AssignPrivateNatGatewayAddressCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/AssociateNatGatewayAddressCommand.d.ts +41 -0
  106. package/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +4 -2
  108. package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +4 -2
  111. package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +4 -2
  112. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
  114. package/dist-types/ts3.4/commands/DisassociateNatGatewayAddressCommand.d.ts +41 -0
  115. package/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +2 -4
  120. package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +41 -0
  122. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +59 -65
  126. package/dist-types/ts3.4/models/models_1.d.ts +68 -53
  127. package/dist-types/ts3.4/models/models_2.d.ts +47 -36
  128. package/dist-types/ts3.4/models/models_3.d.ts +36 -46
  129. package/dist-types/ts3.4/models/models_4.d.ts +46 -38
  130. package/dist-types/ts3.4/models/models_5.d.ts +68 -64
  131. package/dist-types/ts3.4/models/models_6.d.ts +66 -62
  132. package/dist-types/ts3.4/models/models_7.d.ts +70 -2
  133. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +48 -0
  134. package/package.json +5 -5
@@ -59,6 +59,10 @@ import {
59
59
  AssignPrivateIpAddressesCommandInput,
60
60
  AssignPrivateIpAddressesCommandOutput,
61
61
  } from "../commands/AssignPrivateIpAddressesCommand";
62
+ import {
63
+ AssignPrivateNatGatewayAddressCommandInput,
64
+ AssignPrivateNatGatewayAddressCommandOutput,
65
+ } from "../commands/AssignPrivateNatGatewayAddressCommand";
62
66
  import {
63
67
  AssociateAddressCommandInput,
64
68
  AssociateAddressCommandOutput,
@@ -87,6 +91,10 @@ import {
87
91
  AssociateIpamResourceDiscoveryCommandInput,
88
92
  AssociateIpamResourceDiscoveryCommandOutput,
89
93
  } from "../commands/AssociateIpamResourceDiscoveryCommand";
94
+ import {
95
+ AssociateNatGatewayAddressCommandInput,
96
+ AssociateNatGatewayAddressCommandOutput,
97
+ } from "../commands/AssociateNatGatewayAddressCommand";
90
98
  import {
91
99
  AssociateRouteTableCommandInput,
92
100
  AssociateRouteTableCommandOutput,
@@ -1527,6 +1535,10 @@ import {
1527
1535
  DisassociateIpamResourceDiscoveryCommandInput,
1528
1536
  DisassociateIpamResourceDiscoveryCommandOutput,
1529
1537
  } from "../commands/DisassociateIpamResourceDiscoveryCommand";
1538
+ import {
1539
+ DisassociateNatGatewayAddressCommandInput,
1540
+ DisassociateNatGatewayAddressCommandOutput,
1541
+ } from "../commands/DisassociateNatGatewayAddressCommand";
1530
1542
  import {
1531
1543
  DisassociateRouteTableCommandInput,
1532
1544
  DisassociateRouteTableCommandOutput,
@@ -2327,6 +2339,10 @@ import {
2327
2339
  UnassignPrivateIpAddressesCommandInput,
2328
2340
  UnassignPrivateIpAddressesCommandOutput,
2329
2341
  } from "../commands/UnassignPrivateIpAddressesCommand";
2342
+ import {
2343
+ UnassignPrivateNatGatewayAddressCommandInput,
2344
+ UnassignPrivateNatGatewayAddressCommandOutput,
2345
+ } from "../commands/UnassignPrivateNatGatewayAddressCommand";
2330
2346
  import {
2331
2347
  UnmonitorInstancesCommandInput,
2332
2348
  UnmonitorInstancesCommandOutput,
@@ -2399,6 +2415,10 @@ export declare const serializeAws_ec2AssignPrivateIpAddressesCommand: (
2399
2415
  input: AssignPrivateIpAddressesCommandInput,
2400
2416
  context: __SerdeContext
2401
2417
  ) => Promise<__HttpRequest>;
2418
+ export declare const serializeAws_ec2AssignPrivateNatGatewayAddressCommand: (
2419
+ input: AssignPrivateNatGatewayAddressCommandInput,
2420
+ context: __SerdeContext
2421
+ ) => Promise<__HttpRequest>;
2402
2422
  export declare const serializeAws_ec2AssociateAddressCommand: (
2403
2423
  input: AssociateAddressCommandInput,
2404
2424
  context: __SerdeContext
@@ -2427,6 +2447,10 @@ export declare const serializeAws_ec2AssociateIpamResourceDiscoveryCommand: (
2427
2447
  input: AssociateIpamResourceDiscoveryCommandInput,
2428
2448
  context: __SerdeContext
2429
2449
  ) => Promise<__HttpRequest>;
2450
+ export declare const serializeAws_ec2AssociateNatGatewayAddressCommand: (
2451
+ input: AssociateNatGatewayAddressCommandInput,
2452
+ context: __SerdeContext
2453
+ ) => Promise<__HttpRequest>;
2430
2454
  export declare const serializeAws_ec2AssociateRouteTableCommand: (
2431
2455
  input: AssociateRouteTableCommandInput,
2432
2456
  context: __SerdeContext
@@ -3867,6 +3891,10 @@ export declare const serializeAws_ec2DisassociateIpamResourceDiscoveryCommand: (
3867
3891
  input: DisassociateIpamResourceDiscoveryCommandInput,
3868
3892
  context: __SerdeContext
3869
3893
  ) => Promise<__HttpRequest>;
3894
+ export declare const serializeAws_ec2DisassociateNatGatewayAddressCommand: (
3895
+ input: DisassociateNatGatewayAddressCommandInput,
3896
+ context: __SerdeContext
3897
+ ) => Promise<__HttpRequest>;
3870
3898
  export declare const serializeAws_ec2DisassociateRouteTableCommand: (
3871
3899
  input: DisassociateRouteTableCommandInput,
3872
3900
  context: __SerdeContext
@@ -4667,6 +4695,10 @@ export declare const serializeAws_ec2UnassignPrivateIpAddressesCommand: (
4667
4695
  input: UnassignPrivateIpAddressesCommandInput,
4668
4696
  context: __SerdeContext
4669
4697
  ) => Promise<__HttpRequest>;
4698
+ export declare const serializeAws_ec2UnassignPrivateNatGatewayAddressCommand: (
4699
+ input: UnassignPrivateNatGatewayAddressCommandInput,
4700
+ context: __SerdeContext
4701
+ ) => Promise<__HttpRequest>;
4670
4702
  export declare const serializeAws_ec2UnmonitorInstancesCommand: (
4671
4703
  input: UnmonitorInstancesCommandInput,
4672
4704
  context: __SerdeContext
@@ -4739,6 +4771,10 @@ export declare const deserializeAws_ec2AssignPrivateIpAddressesCommand: (
4739
4771
  output: __HttpResponse,
4740
4772
  context: __SerdeContext
4741
4773
  ) => Promise<AssignPrivateIpAddressesCommandOutput>;
4774
+ export declare const deserializeAws_ec2AssignPrivateNatGatewayAddressCommand: (
4775
+ output: __HttpResponse,
4776
+ context: __SerdeContext
4777
+ ) => Promise<AssignPrivateNatGatewayAddressCommandOutput>;
4742
4778
  export declare const deserializeAws_ec2AssociateAddressCommand: (
4743
4779
  output: __HttpResponse,
4744
4780
  context: __SerdeContext
@@ -4767,6 +4803,10 @@ export declare const deserializeAws_ec2AssociateIpamResourceDiscoveryCommand: (
4767
4803
  output: __HttpResponse,
4768
4804
  context: __SerdeContext
4769
4805
  ) => Promise<AssociateIpamResourceDiscoveryCommandOutput>;
4806
+ export declare const deserializeAws_ec2AssociateNatGatewayAddressCommand: (
4807
+ output: __HttpResponse,
4808
+ context: __SerdeContext
4809
+ ) => Promise<AssociateNatGatewayAddressCommandOutput>;
4770
4810
  export declare const deserializeAws_ec2AssociateRouteTableCommand: (
4771
4811
  output: __HttpResponse,
4772
4812
  context: __SerdeContext
@@ -6207,6 +6247,10 @@ export declare const deserializeAws_ec2DisassociateIpamResourceDiscoveryCommand:
6207
6247
  output: __HttpResponse,
6208
6248
  context: __SerdeContext
6209
6249
  ) => Promise<DisassociateIpamResourceDiscoveryCommandOutput>;
6250
+ export declare const deserializeAws_ec2DisassociateNatGatewayAddressCommand: (
6251
+ output: __HttpResponse,
6252
+ context: __SerdeContext
6253
+ ) => Promise<DisassociateNatGatewayAddressCommandOutput>;
6210
6254
  export declare const deserializeAws_ec2DisassociateRouteTableCommand: (
6211
6255
  output: __HttpResponse,
6212
6256
  context: __SerdeContext
@@ -7007,6 +7051,10 @@ export declare const deserializeAws_ec2UnassignPrivateIpAddressesCommand: (
7007
7051
  output: __HttpResponse,
7008
7052
  context: __SerdeContext
7009
7053
  ) => Promise<UnassignPrivateIpAddressesCommandOutput>;
7054
+ export declare const deserializeAws_ec2UnassignPrivateNatGatewayAddressCommand: (
7055
+ output: __HttpResponse,
7056
+ context: __SerdeContext
7057
+ ) => Promise<UnassignPrivateNatGatewayAddressCommandOutput>;
7010
7058
  export declare const deserializeAws_ec2UnmonitorInstancesCommand: (
7011
7059
  output: __HttpResponse,
7012
7060
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.261.0",
4
+ "version": "3.264.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.261.0",
23
+ "@aws-sdk/client-sts": "3.264.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.261.0",
25
+ "@aws-sdk/credential-provider-node": "3.264.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",
27
27
  "@aws-sdk/hash-node": "3.257.0",
28
28
  "@aws-sdk/invalid-dependency": "3.257.0",
29
29
  "@aws-sdk/middleware-content-length": "3.257.0",
30
- "@aws-sdk/middleware-endpoint": "3.257.0",
30
+ "@aws-sdk/middleware-endpoint": "3.264.0",
31
31
  "@aws-sdk/middleware-host-header": "3.257.0",
32
32
  "@aws-sdk/middleware-logger": "3.257.0",
33
33
  "@aws-sdk/middleware-recursion-detection": "3.257.0",
34
34
  "@aws-sdk/middleware-retry": "3.259.0",
35
- "@aws-sdk/middleware-sdk-ec2": "3.257.0",
35
+ "@aws-sdk/middleware-sdk-ec2": "3.264.0",
36
36
  "@aws-sdk/middleware-serde": "3.257.0",
37
37
  "@aws-sdk/middleware-signing": "3.257.0",
38
38
  "@aws-sdk/middleware-stack": "3.257.0",