@aws-sdk/client-ec2 3.682.0 → 3.683.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 (99) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +455 -150
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/AssociateSecurityGroupVpcCommand.js +22 -0
  5. package/dist-es/commands/DescribeSecurityGroupVpcAssociationsCommand.js +22 -0
  6. package/dist-es/commands/DisassociateSecurityGroupVpcCommand.js +22 -0
  7. package/dist-es/commands/ModifyVerifiedAccessTrustProviderCommand.js +1 -1
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +8 -0
  10. package/dist-es/models/models_3.js +0 -15
  11. package/dist-es/models/models_4.js +15 -6
  12. package/dist-es/models/models_5.js +6 -6
  13. package/dist-es/models/models_6.js +6 -13
  14. package/dist-es/models/models_7.js +14 -0
  15. package/dist-es/pagination/DescribeSecurityGroupVpcAssociationsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_ec2.js +248 -3
  18. package/dist-types/EC2.d.ts +22 -0
  19. package/dist-types/EC2Client.d.ts +5 -2
  20. package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +92 -0
  21. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -0
  22. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -0
  23. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -2
  24. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
  25. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -2
  26. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -0
  27. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -2
  30. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeIdFormatCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -0
  34. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +90 -0
  35. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -0
  36. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -2
  39. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +8 -3
  40. package/dist-types/commands/DisassociateSecurityGroupVpcCommand.d.ts +75 -0
  41. package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -1
  42. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  43. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  44. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  45. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
  46. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  47. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  50. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +15 -0
  51. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +15 -0
  52. package/dist-types/commands/index.d.ts +3 -0
  53. package/dist-types/models/models_0.d.ts +53 -254
  54. package/dist-types/models/models_1.d.ts +259 -111
  55. package/dist-types/models/models_2.d.ts +117 -72
  56. package/dist-types/models/models_3.d.ts +72 -58
  57. package/dist-types/models/models_4.d.ts +179 -182
  58. package/dist-types/models/models_5.d.ts +205 -139
  59. package/dist-types/models/models_6.d.ts +134 -316
  60. package/dist-types/models/models_7.d.ts +389 -6
  61. package/dist-types/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +1 -0
  63. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  64. package/dist-types/ts3.4/EC2.d.ts +58 -0
  65. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  66. package/dist-types/ts3.4/commands/AssociateSecurityGroupVpcCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +4 -2
  70. package/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +4 -2
  72. package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +4 -2
  77. package/dist-types/ts3.4/commands/DisassociateSecurityGroupVpcCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +4 -2
  82. package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +19 -37
  89. package/dist-types/ts3.4/models/models_1.d.ts +43 -25
  90. package/dist-types/ts3.4/models/models_2.d.ts +24 -15
  91. package/dist-types/ts3.4/models/models_3.d.ts +16 -24
  92. package/dist-types/ts3.4/models/models_4.d.ts +42 -38
  93. package/dist-types/ts3.4/models/models_5.d.ts +47 -41
  94. package/dist-types/ts3.4/models/models_6.d.ts +36 -68
  95. package/dist-types/ts3.4/models/models_7.d.ts +90 -2
  96. package/dist-types/ts3.4/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  98. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  99. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeSecurityGroupVpcAssociationsCommandInput,
4
+ DescribeSecurityGroupVpcAssociationsCommandOutput,
5
+ } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
6
+ import { EC2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeSecurityGroupVpcAssociations: (
8
+ config: EC2PaginationConfiguration,
9
+ input: DescribeSecurityGroupVpcAssociationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeSecurityGroupVpcAssociationsCommandOutput>;
@@ -75,6 +75,7 @@ export * from "./DescribeRouteTablesPaginator";
75
75
  export * from "./DescribeScheduledInstanceAvailabilityPaginator";
76
76
  export * from "./DescribeScheduledInstancesPaginator";
77
77
  export * from "./DescribeSecurityGroupRulesPaginator";
78
+ export * from "./DescribeSecurityGroupVpcAssociationsPaginator";
78
79
  export * from "./DescribeSecurityGroupsPaginator";
79
80
  export * from "./DescribeSnapshotTierStatusPaginator";
80
81
  export * from "./DescribeSnapshotsPaginator";
@@ -111,6 +111,10 @@ import {
111
111
  AssociateRouteTableCommandInput,
112
112
  AssociateRouteTableCommandOutput,
113
113
  } from "../commands/AssociateRouteTableCommand";
114
+ import {
115
+ AssociateSecurityGroupVpcCommandInput,
116
+ AssociateSecurityGroupVpcCommandOutput,
117
+ } from "../commands/AssociateSecurityGroupVpcCommand";
114
118
  import {
115
119
  AssociateSubnetCidrBlockCommandInput,
116
120
  AssociateSubnetCidrBlockCommandOutput,
@@ -1315,6 +1319,10 @@ import {
1315
1319
  DescribeSecurityGroupsCommandInput,
1316
1320
  DescribeSecurityGroupsCommandOutput,
1317
1321
  } from "../commands/DescribeSecurityGroupsCommand";
1322
+ import {
1323
+ DescribeSecurityGroupVpcAssociationsCommandInput,
1324
+ DescribeSecurityGroupVpcAssociationsCommandOutput,
1325
+ } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
1318
1326
  import {
1319
1327
  DescribeSnapshotAttributeCommandInput,
1320
1328
  DescribeSnapshotAttributeCommandOutput,
@@ -1643,6 +1651,10 @@ import {
1643
1651
  DisassociateRouteTableCommandInput,
1644
1652
  DisassociateRouteTableCommandOutput,
1645
1653
  } from "../commands/DisassociateRouteTableCommand";
1654
+ import {
1655
+ DisassociateSecurityGroupVpcCommandInput,
1656
+ DisassociateSecurityGroupVpcCommandOutput,
1657
+ } from "../commands/DisassociateSecurityGroupVpcCommand";
1646
1658
  import {
1647
1659
  DisassociateSubnetCidrBlockCommandInput,
1648
1660
  DisassociateSubnetCidrBlockCommandOutput,
@@ -2647,6 +2659,10 @@ export declare const se_AssociateRouteTableCommand: (
2647
2659
  input: AssociateRouteTableCommandInput,
2648
2660
  context: __SerdeContext
2649
2661
  ) => Promise<__HttpRequest>;
2662
+ export declare const se_AssociateSecurityGroupVpcCommand: (
2663
+ input: AssociateSecurityGroupVpcCommandInput,
2664
+ context: __SerdeContext
2665
+ ) => Promise<__HttpRequest>;
2650
2666
  export declare const se_AssociateSubnetCidrBlockCommand: (
2651
2667
  input: AssociateSubnetCidrBlockCommandInput,
2652
2668
  context: __SerdeContext
@@ -3851,6 +3867,10 @@ export declare const se_DescribeSecurityGroupsCommand: (
3851
3867
  input: DescribeSecurityGroupsCommandInput,
3852
3868
  context: __SerdeContext
3853
3869
  ) => Promise<__HttpRequest>;
3870
+ export declare const se_DescribeSecurityGroupVpcAssociationsCommand: (
3871
+ input: DescribeSecurityGroupVpcAssociationsCommandInput,
3872
+ context: __SerdeContext
3873
+ ) => Promise<__HttpRequest>;
3854
3874
  export declare const se_DescribeSnapshotAttributeCommand: (
3855
3875
  input: DescribeSnapshotAttributeCommandInput,
3856
3876
  context: __SerdeContext
@@ -4179,6 +4199,10 @@ export declare const se_DisassociateRouteTableCommand: (
4179
4199
  input: DisassociateRouteTableCommandInput,
4180
4200
  context: __SerdeContext
4181
4201
  ) => Promise<__HttpRequest>;
4202
+ export declare const se_DisassociateSecurityGroupVpcCommand: (
4203
+ input: DisassociateSecurityGroupVpcCommandInput,
4204
+ context: __SerdeContext
4205
+ ) => Promise<__HttpRequest>;
4182
4206
  export declare const se_DisassociateSubnetCidrBlockCommand: (
4183
4207
  input: DisassociateSubnetCidrBlockCommandInput,
4184
4208
  context: __SerdeContext
@@ -5183,6 +5207,10 @@ export declare const de_AssociateRouteTableCommand: (
5183
5207
  output: __HttpResponse,
5184
5208
  context: __SerdeContext
5185
5209
  ) => Promise<AssociateRouteTableCommandOutput>;
5210
+ export declare const de_AssociateSecurityGroupVpcCommand: (
5211
+ output: __HttpResponse,
5212
+ context: __SerdeContext
5213
+ ) => Promise<AssociateSecurityGroupVpcCommandOutput>;
5186
5214
  export declare const de_AssociateSubnetCidrBlockCommand: (
5187
5215
  output: __HttpResponse,
5188
5216
  context: __SerdeContext
@@ -6387,6 +6415,10 @@ export declare const de_DescribeSecurityGroupsCommand: (
6387
6415
  output: __HttpResponse,
6388
6416
  context: __SerdeContext
6389
6417
  ) => Promise<DescribeSecurityGroupsCommandOutput>;
6418
+ export declare const de_DescribeSecurityGroupVpcAssociationsCommand: (
6419
+ output: __HttpResponse,
6420
+ context: __SerdeContext
6421
+ ) => Promise<DescribeSecurityGroupVpcAssociationsCommandOutput>;
6390
6422
  export declare const de_DescribeSnapshotAttributeCommand: (
6391
6423
  output: __HttpResponse,
6392
6424
  context: __SerdeContext
@@ -6715,6 +6747,10 @@ export declare const de_DisassociateRouteTableCommand: (
6715
6747
  output: __HttpResponse,
6716
6748
  context: __SerdeContext
6717
6749
  ) => Promise<DisassociateRouteTableCommandOutput>;
6750
+ export declare const de_DisassociateSecurityGroupVpcCommand: (
6751
+ output: __HttpResponse,
6752
+ context: __SerdeContext
6753
+ ) => Promise<DisassociateSecurityGroupVpcCommandOutput>;
6718
6754
  export declare const de_DisassociateSubnetCidrBlockCommand: (
6719
6755
  output: __HttpResponse,
6720
6756
  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.682.0",
4
+ "version": "3.683.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",