@aws-sdk/client-ec2 3.449.0 → 3.450.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 (71) hide show
  1. package/README.md +9 -1
  2. package/dist-cjs/EC2.js +2 -0
  3. package/dist-cjs/commands/DescribeInstanceTopologyCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_6.js +1 -4
  6. package/dist-cjs/models/models_7.js +4 -1
  7. package/dist-cjs/pagination/DescribeInstanceTopologyPaginator.js +29 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_ec2.js +180 -20
  10. package/dist-es/EC2.js +2 -0
  11. package/dist-es/commands/DescribeInstanceTopologyCommand.js +47 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/models/models_6.js +0 -3
  14. package/dist-es/models/models_7.js +3 -0
  15. package/dist-es/pagination/DescribeInstanceTopologyPaginator.js +25 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_ec2.js +158 -0
  18. package/dist-types/EC2.d.ts +7 -0
  19. package/dist-types/EC2Client.d.ts +3 -2
  20. package/dist-types/commands/CreateFleetCommand.d.ts +6 -6
  21. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  22. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -4
  23. package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeFleetsCommand.d.ts +6 -6
  26. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +148 -0
  27. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +2 -2
  28. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -4
  29. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  31. package/dist-types/commands/DisableFastLaunchCommand.d.ts +4 -4
  32. package/dist-types/commands/DisableImageCommand.d.ts +3 -3
  33. package/dist-types/commands/EnableFastLaunchCommand.d.ts +2 -2
  34. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -0
  35. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +2 -2
  36. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -2
  37. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +4 -3
  38. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +1 -2
  39. package/dist-types/commands/ModifyFleetCommand.d.ts +2 -2
  40. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +2 -2
  41. package/dist-types/commands/RequestSpotFleetCommand.d.ts +4 -4
  42. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  43. package/dist-types/commands/index.d.ts +1 -0
  44. package/dist-types/models/models_0.d.ts +7 -15
  45. package/dist-types/models/models_1.d.ts +19 -3
  46. package/dist-types/models/models_2.d.ts +11 -21
  47. package/dist-types/models/models_3.d.ts +22 -24
  48. package/dist-types/models/models_4.d.ts +122 -64
  49. package/dist-types/models/models_5.d.ts +108 -155
  50. package/dist-types/models/models_6.d.ts +127 -71
  51. package/dist-types/models/models_7.d.ts +44 -1
  52. package/dist-types/pagination/DescribeInstanceTopologyPaginator.d.ts +7 -0
  53. package/dist-types/pagination/index.d.ts +1 -0
  54. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  55. package/dist-types/ts3.4/EC2.d.ts +17 -0
  56. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  57. package/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +2 -4
  61. package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +4 -2
  62. package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  64. package/dist-types/ts3.4/models/models_4.d.ts +20 -17
  65. package/dist-types/ts3.4/models/models_5.d.ts +18 -16
  66. package/dist-types/ts3.4/models/models_6.d.ts +16 -13
  67. package/dist-types/ts3.4/models/models_7.d.ts +14 -1
  68. package/dist-types/ts3.4/pagination/DescribeInstanceTopologyPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  70. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  71. package/package.json +3 -3
@@ -49,7 +49,9 @@ import {
49
49
  SSEType,
50
50
  State,
51
51
  TransitGateway,
52
+ TransitGatewayPolicyTable,
52
53
  TransitGatewayRouteTable,
54
+ TransitGatewayRouteTableAnnouncement,
53
55
  VerifiedAccessEndpoint,
54
56
  VerifiedAccessGroup,
55
57
  Volume,
@@ -75,6 +77,21 @@ import {
75
77
  VirtualizationType,
76
78
  } from "./models_3";
77
79
  import { AnalysisStatus, ArchitectureType } from "./models_4";
80
+ export interface DescribeTransitGatewayPolicyTablesResult {
81
+ TransitGatewayPolicyTables?: TransitGatewayPolicyTable[];
82
+ NextToken?: string;
83
+ }
84
+ export interface DescribeTransitGatewayRouteTableAnnouncementsRequest {
85
+ TransitGatewayRouteTableAnnouncementIds?: string[];
86
+ Filters?: Filter[];
87
+ MaxResults?: number;
88
+ NextToken?: string;
89
+ DryRun?: boolean;
90
+ }
91
+ export interface DescribeTransitGatewayRouteTableAnnouncementsResult {
92
+ TransitGatewayRouteTableAnnouncements?: TransitGatewayRouteTableAnnouncement[];
93
+ NextToken?: string;
94
+ }
78
95
  export interface DescribeTransitGatewayRouteTablesRequest {
79
96
  TransitGatewayRouteTableIds?: string[];
80
97
  Filters?: Filter[];
@@ -1164,6 +1181,7 @@ export interface GetCoipPoolUsageResult {
1164
1181
  CoipPoolId?: string;
1165
1182
  CoipAddressUsages?: CoipAddressUsage[];
1166
1183
  LocalGatewayRouteTableId?: string;
1184
+ NextToken?: string;
1167
1185
  }
1168
1186
  export interface GetConsoleOutputRequest {
1169
1187
  InstanceId: string | undefined;
@@ -1626,22 +1644,6 @@ export interface GetSpotPlacementScoresRequest {
1626
1644
  MaxResults?: number;
1627
1645
  NextToken?: string;
1628
1646
  }
1629
- export interface SpotPlacementScore {
1630
- Region?: string;
1631
- AvailabilityZoneId?: string;
1632
- Score?: number;
1633
- }
1634
- export interface GetSpotPlacementScoresResult {
1635
- SpotPlacementScores?: SpotPlacementScore[];
1636
- NextToken?: string;
1637
- }
1638
- export interface GetSubnetCidrReservationsRequest {
1639
- Filters?: Filter[];
1640
- SubnetId: string | undefined;
1641
- DryRun?: boolean;
1642
- NextToken?: string;
1643
- MaxResults?: number;
1644
- }
1645
1647
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1646
1648
  obj: DescribeVerifiedAccessTrustProvidersResult
1647
1649
  ) => any;
@@ -153,6 +153,22 @@ import {
153
153
  VerifiedAccessInstanceLoggingConfiguration,
154
154
  VolumeModification,
155
155
  } from "./models_5";
156
+ export interface SpotPlacementScore {
157
+ Region?: string;
158
+ AvailabilityZoneId?: string;
159
+ Score?: number;
160
+ }
161
+ export interface GetSpotPlacementScoresResult {
162
+ SpotPlacementScores?: SpotPlacementScore[];
163
+ NextToken?: string;
164
+ }
165
+ export interface GetSubnetCidrReservationsRequest {
166
+ Filters?: Filter[];
167
+ SubnetId: string | undefined;
168
+ DryRun?: boolean;
169
+ NextToken?: string;
170
+ MaxResults?: number;
171
+ }
156
172
  export interface GetSubnetCidrReservationsResult {
157
173
  SubnetIpv4CidrReservations?: SubnetCidrReservation[];
158
174
  SubnetIpv6CidrReservations?: SubnetCidrReservation[];
@@ -1824,19 +1840,6 @@ export declare const ResetFpgaImageAttributeName: {
1824
1840
  };
1825
1841
  export type ResetFpgaImageAttributeName =
1826
1842
  (typeof ResetFpgaImageAttributeName)[keyof typeof ResetFpgaImageAttributeName];
1827
- export interface ResetFpgaImageAttributeRequest {
1828
- DryRun?: boolean;
1829
- FpgaImageId: string | undefined;
1830
- Attribute?: ResetFpgaImageAttributeName;
1831
- }
1832
- export interface ResetFpgaImageAttributeResult {
1833
- Return?: boolean;
1834
- }
1835
- export declare const ResetImageAttributeName: {
1836
- readonly launchPermission: "launchPermission";
1837
- };
1838
- export type ResetImageAttributeName =
1839
- (typeof ResetImageAttributeName)[keyof typeof ResetImageAttributeName];
1840
1843
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1841
1844
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1842
1845
  ) => any;
@@ -45,9 +45,22 @@ import {
45
45
  import {
46
46
  CapacityReservationSpecification,
47
47
  InstanceMonitoring,
48
- ResetImageAttributeName,
48
+ ResetFpgaImageAttributeName,
49
49
  Status,
50
50
  } from "./models_6";
51
+ export interface ResetFpgaImageAttributeRequest {
52
+ DryRun?: boolean;
53
+ FpgaImageId: string | undefined;
54
+ Attribute?: ResetFpgaImageAttributeName;
55
+ }
56
+ export interface ResetFpgaImageAttributeResult {
57
+ Return?: boolean;
58
+ }
59
+ export declare const ResetImageAttributeName: {
60
+ readonly launchPermission: "launchPermission";
61
+ };
62
+ export type ResetImageAttributeName =
63
+ (typeof ResetImageAttributeName)[keyof typeof ResetImageAttributeName];
51
64
  export interface ResetImageAttributeRequest {
52
65
  Attribute: ResetImageAttributeName | undefined;
53
66
  ImageId: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeInstanceTopologyCommandInput,
4
+ DescribeInstanceTopologyCommandOutput,
5
+ } from "../commands/DescribeInstanceTopologyCommand";
6
+ import { EC2PaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateDescribeInstanceTopology(
8
+ config: EC2PaginationConfiguration,
9
+ input: DescribeInstanceTopologyCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<DescribeInstanceTopologyCommandOutput>;
@@ -33,6 +33,7 @@ export * from "./DescribeInstanceConnectEndpointsPaginator";
33
33
  export * from "./DescribeInstanceCreditSpecificationsPaginator";
34
34
  export * from "./DescribeInstanceEventWindowsPaginator";
35
35
  export * from "./DescribeInstanceStatusPaginator";
36
+ export * from "./DescribeInstanceTopologyPaginator";
36
37
  export * from "./DescribeInstanceTypeOfferingsPaginator";
37
38
  export * from "./DescribeInstanceTypesPaginator";
38
39
  export * from "./DescribeInstancesPaginator";
@@ -1079,6 +1079,10 @@ import {
1079
1079
  DescribeInstanceStatusCommandInput,
1080
1080
  DescribeInstanceStatusCommandOutput,
1081
1081
  } from "../commands/DescribeInstanceStatusCommand";
1082
+ import {
1083
+ DescribeInstanceTopologyCommandInput,
1084
+ DescribeInstanceTopologyCommandOutput,
1085
+ } from "../commands/DescribeInstanceTopologyCommand";
1082
1086
  import {
1083
1087
  DescribeInstanceTypeOfferingsCommandInput,
1084
1088
  DescribeInstanceTypeOfferingsCommandOutput,
@@ -3499,6 +3503,10 @@ export declare const se_DescribeInstanceStatusCommand: (
3499
3503
  input: DescribeInstanceStatusCommandInput,
3500
3504
  context: __SerdeContext
3501
3505
  ) => Promise<__HttpRequest>;
3506
+ export declare const se_DescribeInstanceTopologyCommand: (
3507
+ input: DescribeInstanceTopologyCommandInput,
3508
+ context: __SerdeContext
3509
+ ) => Promise<__HttpRequest>;
3502
3510
  export declare const se_DescribeInstanceTypeOfferingsCommand: (
3503
3511
  input: DescribeInstanceTypeOfferingsCommandInput,
3504
3512
  context: __SerdeContext
@@ -5919,6 +5927,10 @@ export declare const de_DescribeInstanceStatusCommand: (
5919
5927
  output: __HttpResponse,
5920
5928
  context: __SerdeContext
5921
5929
  ) => Promise<DescribeInstanceStatusCommandOutput>;
5930
+ export declare const de_DescribeInstanceTopologyCommand: (
5931
+ output: __HttpResponse,
5932
+ context: __SerdeContext
5933
+ ) => Promise<DescribeInstanceTopologyCommandOutput>;
5922
5934
  export declare const de_DescribeInstanceTypeOfferingsCommand: (
5923
5935
  output: __HttpResponse,
5924
5936
  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.449.0",
4
+ "version": "3.450.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.449.0",
24
+ "@aws-sdk/client-sts": "3.450.0",
25
25
  "@aws-sdk/core": "3.445.0",
26
- "@aws-sdk/credential-provider-node": "3.449.0",
26
+ "@aws-sdk/credential-provider-node": "3.450.0",
27
27
  "@aws-sdk/middleware-host-header": "3.449.0",
28
28
  "@aws-sdk/middleware-logger": "3.449.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.449.0",