@aws-sdk/client-ec2 3.436.0 → 3.437.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 (40) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/EC2.js +2 -0
  3. package/dist-cjs/commands/GetSecurityGroupsForVpcCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/pagination/GetSecurityGroupsForVpcPaginator.js +29 -0
  6. package/dist-cjs/pagination/index.js +1 -0
  7. package/dist-cjs/protocols/Aws_ec2.js +125 -16
  8. package/dist-es/EC2.js +2 -0
  9. package/dist-es/commands/GetSecurityGroupsForVpcCommand.js +47 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/pagination/GetSecurityGroupsForVpcPaginator.js +25 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_ec2.js +107 -0
  14. package/dist-types/EC2.d.ts +7 -0
  15. package/dist-types/EC2Client.d.ts +3 -2
  16. package/dist-types/commands/GetSecurityGroupsForVpcCommand.d.ts +99 -0
  17. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +2 -1
  18. package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -2
  19. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +2 -1
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/models/models_5.d.ts +108 -91
  22. package/dist-types/models/models_6.d.ts +93 -69
  23. package/dist-types/models/models_7.d.ts +68 -2
  24. package/dist-types/pagination/GetSecurityGroupsForVpcPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  27. package/dist-types/ts3.4/EC2.d.ts +17 -0
  28. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/GetSecurityGroupsForVpcCommand.d.ts +42 -0
  30. package/dist-types/ts3.4/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +2 -4
  31. package/dist-types/ts3.4/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +4 -2
  32. package/dist-types/ts3.4/commands/RevokeSecurityGroupIngressCommand.d.ts +2 -4
  33. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  34. package/dist-types/ts3.4/models/models_5.d.ts +19 -18
  35. package/dist-types/ts3.4/models/models_6.d.ts +19 -14
  36. package/dist-types/ts3.4/models/models_7.d.ts +14 -2
  37. package/dist-types/ts3.4/pagination/GetSecurityGroupsForVpcPaginator.d.ts +11 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  39. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  40. package/package.json +4 -4
@@ -443,6 +443,7 @@ export * from "./GetNetworkInsightsAccessScopeAnalysisFindingsCommand";
443
443
  export * from "./GetNetworkInsightsAccessScopeContentCommand";
444
444
  export * from "./GetPasswordDataCommand";
445
445
  export * from "./GetReservedInstancesExchangeQuoteCommand";
446
+ export * from "./GetSecurityGroupsForVpcCommand";
446
447
  export * from "./GetSerialConsoleAccessStatusCommand";
447
448
  export * from "./GetSpotPlacementScoresCommand";
448
449
  export * from "./GetSubnetCidrReservationsCommand";
@@ -16,7 +16,6 @@ import {
16
16
  TagSpecification,
17
17
  TargetConfigurationRequest,
18
18
  TransitGatewayAssociation,
19
- TransitGatewayAssociationState,
20
19
  TransitGatewayAttachmentResourceType,
21
20
  TransitGatewayMulticastDomainAssociations,
22
21
  TransitGatewayPolicyTableAssociation,
@@ -1501,6 +1500,25 @@ export interface GetReservedInstancesExchangeQuoteResult {
1501
1500
  TargetConfigurationValueSet?: TargetReservationValue[];
1502
1501
  ValidationFailureReason?: string;
1503
1502
  }
1503
+ export interface GetSecurityGroupsForVpcRequest {
1504
+ VpcId: string | undefined;
1505
+ NextToken?: string;
1506
+ MaxResults?: number;
1507
+ Filters?: Filter[];
1508
+ DryRun?: boolean;
1509
+ }
1510
+ export interface SecurityGroupForVpc {
1511
+ Description?: string;
1512
+ GroupName?: string;
1513
+ OwnerId?: string;
1514
+ GroupId?: string;
1515
+ Tags?: Tag[];
1516
+ PrimaryVpcId?: string;
1517
+ }
1518
+ export interface GetSecurityGroupsForVpcResult {
1519
+ NextToken?: string;
1520
+ SecurityGroupForVpcs?: SecurityGroupForVpc[];
1521
+ }
1504
1522
  export interface GetSerialConsoleAccessStatusRequest {
1505
1523
  DryRun?: boolean;
1506
1524
  }
@@ -1633,23 +1651,6 @@ export interface GetTransitGatewayRouteTableAssociationsRequest {
1633
1651
  NextToken?: string;
1634
1652
  DryRun?: boolean;
1635
1653
  }
1636
- export interface TransitGatewayRouteTableAssociation {
1637
- TransitGatewayAttachmentId?: string;
1638
- ResourceId?: string;
1639
- ResourceType?: TransitGatewayAttachmentResourceType;
1640
- State?: TransitGatewayAssociationState;
1641
- }
1642
- export interface GetTransitGatewayRouteTableAssociationsResult {
1643
- Associations?: TransitGatewayRouteTableAssociation[];
1644
- NextToken?: string;
1645
- }
1646
- export interface GetTransitGatewayRouteTablePropagationsRequest {
1647
- TransitGatewayRouteTableId: string | undefined;
1648
- Filters?: Filter[];
1649
- MaxResults?: number;
1650
- NextToken?: string;
1651
- DryRun?: boolean;
1652
- }
1653
1654
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1654
1655
  obj: DescribeVerifiedAccessTrustProvidersResult
1655
1656
  ) => any;
@@ -25,6 +25,7 @@ import {
25
25
  RouteTableAssociationState,
26
26
  Tag,
27
27
  TagSpecification,
28
+ TransitGatewayAssociationState,
28
29
  TransitGatewayAttachmentResourceType,
29
30
  TransitGatewayMulticastDomainAssociations,
30
31
  TransitGatewayPeeringAttachment,
@@ -35,7 +36,6 @@ import {
35
36
  VerifiedAccessTrustProvider,
36
37
  } from "./models_0";
37
38
  import {
38
- AmdSevSnpSpecification,
39
39
  AttributeValue,
40
40
  BlockDeviceMapping,
41
41
  CapacityReservationPreference,
@@ -107,6 +107,7 @@ import {
107
107
  AttributeBooleanValue,
108
108
  BootModeValues,
109
109
  ConversionTask,
110
+ Filter,
110
111
  FpgaImageAttribute,
111
112
  FpgaImageAttributeName,
112
113
  ImdsSupportValues,
@@ -151,6 +152,23 @@ import {
151
152
  VerifiedAccessInstanceLoggingConfiguration,
152
153
  VolumeModification,
153
154
  } from "./models_5";
155
+ export interface TransitGatewayRouteTableAssociation {
156
+ TransitGatewayAttachmentId?: string;
157
+ ResourceId?: string;
158
+ ResourceType?: TransitGatewayAttachmentResourceType;
159
+ State?: TransitGatewayAssociationState;
160
+ }
161
+ export interface GetTransitGatewayRouteTableAssociationsResult {
162
+ Associations?: TransitGatewayRouteTableAssociation[];
163
+ NextToken?: string;
164
+ }
165
+ export interface GetTransitGatewayRouteTablePropagationsRequest {
166
+ TransitGatewayRouteTableId: string | undefined;
167
+ Filters?: Filter[];
168
+ MaxResults?: number;
169
+ NextToken?: string;
170
+ DryRun?: boolean;
171
+ }
154
172
  export interface TransitGatewayRouteTablePropagation {
155
173
  TransitGatewayAttachmentId?: string;
156
174
  ResourceId?: string;
@@ -1827,19 +1845,6 @@ export interface RevokeSecurityGroupIngressRequest {
1827
1845
  DryRun?: boolean;
1828
1846
  SecurityGroupRuleIds?: string[];
1829
1847
  }
1830
- export interface RevokeSecurityGroupIngressResult {
1831
- Return?: boolean;
1832
- UnknownIpPermissions?: IpPermission[];
1833
- }
1834
- export interface CpuOptionsRequest {
1835
- CoreCount?: number;
1836
- ThreadsPerCore?: number;
1837
- AmdSevSnp?: AmdSevSnpSpecification;
1838
- }
1839
- export interface ElasticInferenceAccelerator {
1840
- Type: string | undefined;
1841
- Count?: number;
1842
- }
1843
1848
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1844
1849
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1845
1850
  ) => any;
@@ -8,6 +8,7 @@ import {
8
8
  TransitGatewayAttachmentResourceType,
9
9
  } from "./models_0";
10
10
  import {
11
+ AmdSevSnpSpecification,
11
12
  BlockDeviceMapping,
12
13
  CreditSpecificationRequest,
13
14
  ElasticGpuSpecification,
@@ -36,10 +37,21 @@ import {
36
37
  } from "./models_4";
37
38
  import {
38
39
  CapacityReservationSpecification,
39
- CpuOptionsRequest,
40
- ElasticInferenceAccelerator,
41
40
  InstanceMonitoring,
42
41
  } from "./models_6";
42
+ export interface RevokeSecurityGroupIngressResult {
43
+ Return?: boolean;
44
+ UnknownIpPermissions?: IpPermission[];
45
+ }
46
+ export interface CpuOptionsRequest {
47
+ CoreCount?: number;
48
+ ThreadsPerCore?: number;
49
+ AmdSevSnp?: AmdSevSnpSpecification;
50
+ }
51
+ export interface ElasticInferenceAccelerator {
52
+ Type: string | undefined;
53
+ Count?: number;
54
+ }
43
55
  export interface EnclaveOptionsRequest {
44
56
  Enabled?: boolean;
45
57
  }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetSecurityGroupsForVpcCommandInput,
4
+ GetSecurityGroupsForVpcCommandOutput,
5
+ } from "../commands/GetSecurityGroupsForVpcCommand";
6
+ import { EC2PaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateGetSecurityGroupsForVpc(
8
+ config: EC2PaginationConfiguration,
9
+ input: GetSecurityGroupsForVpcCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<GetSecurityGroupsForVpcCommandOutput>;
@@ -123,6 +123,7 @@ export * from "./GetIpamResourceCidrsPaginator";
123
123
  export * from "./GetManagedPrefixListAssociationsPaginator";
124
124
  export * from "./GetManagedPrefixListEntriesPaginator";
125
125
  export * from "./GetNetworkInsightsAccessScopeAnalysisFindingsPaginator";
126
+ export * from "./GetSecurityGroupsForVpcPaginator";
126
127
  export * from "./GetSpotPlacementScoresPaginator";
127
128
  export * from "./GetTransitGatewayAttachmentPropagationsPaginator";
128
129
  export * from "./GetTransitGatewayMulticastDomainAssociationsPaginator";
@@ -1783,6 +1783,10 @@ import {
1783
1783
  GetReservedInstancesExchangeQuoteCommandInput,
1784
1784
  GetReservedInstancesExchangeQuoteCommandOutput,
1785
1785
  } from "../commands/GetReservedInstancesExchangeQuoteCommand";
1786
+ import {
1787
+ GetSecurityGroupsForVpcCommandInput,
1788
+ GetSecurityGroupsForVpcCommandOutput,
1789
+ } from "../commands/GetSecurityGroupsForVpcCommand";
1786
1790
  import {
1787
1791
  GetSerialConsoleAccessStatusCommandInput,
1788
1792
  GetSerialConsoleAccessStatusCommandOutput,
@@ -4179,6 +4183,10 @@ export declare const se_GetReservedInstancesExchangeQuoteCommand: (
4179
4183
  input: GetReservedInstancesExchangeQuoteCommandInput,
4180
4184
  context: __SerdeContext
4181
4185
  ) => Promise<__HttpRequest>;
4186
+ export declare const se_GetSecurityGroupsForVpcCommand: (
4187
+ input: GetSecurityGroupsForVpcCommandInput,
4188
+ context: __SerdeContext
4189
+ ) => Promise<__HttpRequest>;
4182
4190
  export declare const se_GetSerialConsoleAccessStatusCommand: (
4183
4191
  input: GetSerialConsoleAccessStatusCommandInput,
4184
4192
  context: __SerdeContext
@@ -6575,6 +6583,10 @@ export declare const de_GetReservedInstancesExchangeQuoteCommand: (
6575
6583
  output: __HttpResponse,
6576
6584
  context: __SerdeContext
6577
6585
  ) => Promise<GetReservedInstancesExchangeQuoteCommandOutput>;
6586
+ export declare const de_GetSecurityGroupsForVpcCommand: (
6587
+ output: __HttpResponse,
6588
+ context: __SerdeContext
6589
+ ) => Promise<GetSecurityGroupsForVpcCommandOutput>;
6578
6590
  export declare const de_GetSerialConsoleAccessStatusCommand: (
6579
6591
  output: __HttpResponse,
6580
6592
  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.436.0",
4
+ "version": "3.437.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.436.0",
24
+ "@aws-sdk/client-sts": "3.437.0",
25
25
  "@aws-sdk/core": "3.436.0",
26
- "@aws-sdk/credential-provider-node": "3.436.0",
26
+ "@aws-sdk/credential-provider-node": "3.437.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",
@@ -34,7 +34,7 @@
34
34
  "@aws-sdk/types": "3.433.0",
35
35
  "@aws-sdk/util-endpoints": "3.433.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.433.0",
37
- "@aws-sdk/util-user-agent-node": "3.433.0",
37
+ "@aws-sdk/util-user-agent-node": "3.437.0",
38
38
  "@smithy/config-resolver": "^2.0.16",
39
39
  "@smithy/fetch-http-handler": "^2.2.4",
40
40
  "@smithy/hash-node": "^2.0.12",