@aws-sdk/client-ec2 3.448.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 (114) 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_1.js +1 -16
  6. package/dist-cjs/models/models_2.js +17 -2
  7. package/dist-cjs/models/models_6.js +1 -4
  8. package/dist-cjs/models/models_7.js +4 -1
  9. package/dist-cjs/pagination/DescribeInstanceTopologyPaginator.js +29 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_ec2.js +275 -20
  12. package/dist-es/EC2.js +2 -0
  13. package/dist-es/commands/DescribeInstanceTopologyCommand.js +47 -0
  14. package/dist-es/commands/index.js +1 -0
  15. package/dist-es/models/models_1.js +0 -15
  16. package/dist-es/models/models_2.js +15 -0
  17. package/dist-es/models/models_6.js +0 -3
  18. package/dist-es/models/models_7.js +3 -0
  19. package/dist-es/pagination/DescribeInstanceTopologyPaginator.js +25 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_ec2.js +253 -0
  22. package/dist-types/EC2.d.ts +7 -0
  23. package/dist-types/EC2Client.d.ts +3 -2
  24. package/dist-types/commands/CreateFleetCommand.d.ts +6 -6
  25. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +8 -2
  26. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +16 -4
  27. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -2
  28. package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
  30. package/dist-types/commands/DeletePlacementGroupCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeFleetsCommand.d.ts +6 -6
  34. package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +148 -0
  37. package/dist-types/commands/DescribeInstancesCommand.d.ts +6 -0
  38. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +8 -2
  39. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +10 -4
  40. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +6 -0
  41. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +2 -1
  42. package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  46. package/dist-types/commands/DisableFastLaunchCommand.d.ts +4 -4
  47. package/dist-types/commands/DisableImageCommand.d.ts +3 -3
  48. package/dist-types/commands/EnableFastLaunchCommand.d.ts +2 -2
  49. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -0
  50. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +2 -2
  51. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +8 -2
  52. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +4 -3
  53. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  54. package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  55. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -2
  56. package/dist-types/commands/ModifyFleetCommand.d.ts +2 -2
  57. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +2 -2
  58. package/dist-types/commands/RequestSpotFleetCommand.d.ts +10 -4
  59. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +12 -0
  60. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  61. package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
  62. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  63. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  64. package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  65. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  66. package/dist-types/commands/RunInstancesCommand.d.ts +12 -0
  67. package/dist-types/commands/index.d.ts +1 -0
  68. package/dist-types/models/models_0.d.ts +10 -17
  69. package/dist-types/models/models_1.d.ts +118 -102
  70. package/dist-types/models/models_2.d.ts +100 -92
  71. package/dist-types/models/models_3.d.ts +93 -150
  72. package/dist-types/models/models_4.d.ts +303 -303
  73. package/dist-types/models/models_5.d.ts +343 -334
  74. package/dist-types/models/models_6.d.ts +308 -201
  75. package/dist-types/models/models_7.d.ts +173 -3
  76. package/dist-types/pagination/DescribeInstanceTopologyPaginator.d.ts +7 -0
  77. package/dist-types/pagination/index.d.ts +1 -0
  78. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  79. package/dist-types/ts3.4/EC2.d.ts +17 -0
  80. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  81. package/dist-types/ts3.4/commands/CreatePlacementGroupCommand.d.ts +4 -2
  82. package/dist-types/ts3.4/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/DeletePlacementGroupCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +2 -4
  89. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -2
  97. package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  104. package/dist-types/ts3.4/models/models_1.d.ts +16 -28
  105. package/dist-types/ts3.4/models/models_2.d.ts +28 -19
  106. package/dist-types/ts3.4/models/models_3.d.ts +16 -18
  107. package/dist-types/ts3.4/models/models_4.d.ts +49 -53
  108. package/dist-types/ts3.4/models/models_5.d.ts +54 -52
  109. package/dist-types/ts3.4/models/models_6.d.ts +52 -42
  110. package/dist-types/ts3.4/models/models_7.d.ts +49 -1
  111. package/dist-types/ts3.4/pagination/DescribeInstanceTopologyPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  113. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  114. package/package.json +13 -13
@@ -1,9 +1,179 @@
1
1
  import { _InstanceType, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
2
2
  import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
3
  import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
- import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
- import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled } from "./models_4";
6
- import { CapacityReservationSpecification, InstanceMonitoring } from "./models_6";
4
+ import { ClientVpnConnectionStatus, Filter, InstanceAttributeName } from "./models_3";
5
+ import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName } from "./models_4";
6
+ import { CapacityReservationSpecification, InstanceMonitoring, ResetFpgaImageAttributeName, Status } from "./models_6";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface ResetFpgaImageAttributeRequest {
11
+ /**
12
+ * @public
13
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
14
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
15
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
16
+ */
17
+ DryRun?: boolean;
18
+ /**
19
+ * @public
20
+ * <p>The ID of the AFI.</p>
21
+ */
22
+ FpgaImageId: string | undefined;
23
+ /**
24
+ * @public
25
+ * <p>The attribute.</p>
26
+ */
27
+ Attribute?: ResetFpgaImageAttributeName;
28
+ }
29
+ /**
30
+ * @public
31
+ */
32
+ export interface ResetFpgaImageAttributeResult {
33
+ /**
34
+ * @public
35
+ * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
36
+ */
37
+ Return?: boolean;
38
+ }
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
43
+ export declare const ResetImageAttributeName: {
44
+ readonly launchPermission: "launchPermission";
45
+ };
46
+ /**
47
+ * @public
48
+ */
49
+ export type ResetImageAttributeName = (typeof ResetImageAttributeName)[keyof typeof ResetImageAttributeName];
50
+ /**
51
+ * @public
52
+ * <p>Contains the parameters for ResetImageAttribute.</p>
53
+ */
54
+ export interface ResetImageAttributeRequest {
55
+ /**
56
+ * @public
57
+ * <p>The attribute to reset (currently you can only reset the launch permission attribute).</p>
58
+ */
59
+ Attribute: ResetImageAttributeName | undefined;
60
+ /**
61
+ * @public
62
+ * <p>The ID of the AMI.</p>
63
+ */
64
+ ImageId: string | undefined;
65
+ /**
66
+ * @public
67
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
68
+ * and provides an error response. If you have the required permissions, the error response is
69
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
70
+ */
71
+ DryRun?: boolean;
72
+ }
73
+ /**
74
+ * @public
75
+ */
76
+ export interface ResetInstanceAttributeRequest {
77
+ /**
78
+ * @public
79
+ * <p>The attribute to reset.</p>
80
+ * <important>
81
+ * <p>You can only reset the following attributes: <code>kernel</code> |
82
+ * <code>ramdisk</code> | <code>sourceDestCheck</code>.</p>
83
+ * </important>
84
+ */
85
+ Attribute: InstanceAttributeName | undefined;
86
+ /**
87
+ * @public
88
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
89
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
90
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
91
+ */
92
+ DryRun?: boolean;
93
+ /**
94
+ * @public
95
+ * <p>The ID of the instance.</p>
96
+ */
97
+ InstanceId: string | undefined;
98
+ }
99
+ /**
100
+ * @public
101
+ * <p>Contains the parameters for ResetNetworkInterfaceAttribute.</p>
102
+ */
103
+ export interface ResetNetworkInterfaceAttributeRequest {
104
+ /**
105
+ * @public
106
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
107
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
108
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
109
+ */
110
+ DryRun?: boolean;
111
+ /**
112
+ * @public
113
+ * <p>The ID of the network interface.</p>
114
+ */
115
+ NetworkInterfaceId: string | undefined;
116
+ /**
117
+ * @public
118
+ * <p>The source/destination checking attribute. Resets the value to <code>true</code>.</p>
119
+ */
120
+ SourceDestCheck?: string;
121
+ }
122
+ /**
123
+ * @public
124
+ */
125
+ export interface ResetSnapshotAttributeRequest {
126
+ /**
127
+ * @public
128
+ * <p>The attribute to reset. Currently, only the attribute for permission to create volumes can
129
+ * be reset.</p>
130
+ */
131
+ Attribute: SnapshotAttributeName | undefined;
132
+ /**
133
+ * @public
134
+ * <p>The ID of the snapshot.</p>
135
+ */
136
+ SnapshotId: string | undefined;
137
+ /**
138
+ * @public
139
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
140
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
141
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
142
+ */
143
+ DryRun?: boolean;
144
+ }
145
+ /**
146
+ * @public
147
+ */
148
+ export interface RestoreAddressToClassicRequest {
149
+ /**
150
+ * @public
151
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
152
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
153
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
154
+ */
155
+ DryRun?: boolean;
156
+ /**
157
+ * @public
158
+ * <p>The Elastic IP address.</p>
159
+ */
160
+ PublicIp: string | undefined;
161
+ }
162
+ /**
163
+ * @public
164
+ */
165
+ export interface RestoreAddressToClassicResult {
166
+ /**
167
+ * @public
168
+ * <p>The Elastic IP address.</p>
169
+ */
170
+ PublicIp?: string;
171
+ /**
172
+ * @public
173
+ * <p>The move status for the IP address.</p>
174
+ */
175
+ Status?: Status;
176
+ }
7
177
  /**
8
178
  * @public
9
179
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeInstanceTopologyCommandInput, DescribeInstanceTopologyCommandOutput } from "../commands/DescribeInstanceTopologyCommand";
3
+ import { EC2PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateDescribeInstanceTopology(config: EC2PaginationConfiguration, input: DescribeInstanceTopologyCommandInput, ...additionalArguments: any): 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";
@@ -269,6 +269,7 @@ import { DescribeInstanceEventNotificationAttributesCommandInput, DescribeInstan
269
269
  import { DescribeInstanceEventWindowsCommandInput, DescribeInstanceEventWindowsCommandOutput } from "../commands/DescribeInstanceEventWindowsCommand";
270
270
  import { DescribeInstancesCommandInput, DescribeInstancesCommandOutput } from "../commands/DescribeInstancesCommand";
271
271
  import { DescribeInstanceStatusCommandInput, DescribeInstanceStatusCommandOutput } from "../commands/DescribeInstanceStatusCommand";
272
+ import { DescribeInstanceTopologyCommandInput, DescribeInstanceTopologyCommandOutput } from "../commands/DescribeInstanceTopologyCommand";
272
273
  import { DescribeInstanceTypeOfferingsCommandInput, DescribeInstanceTypeOfferingsCommandOutput } from "../commands/DescribeInstanceTypeOfferingsCommand";
273
274
  import { DescribeInstanceTypesCommandInput, DescribeInstanceTypesCommandOutput } from "../commands/DescribeInstanceTypesCommand";
274
275
  import { DescribeInternetGatewaysCommandInput, DescribeInternetGatewaysCommandOutput } from "../commands/DescribeInternetGatewaysCommand";
@@ -1681,6 +1682,10 @@ export declare const se_DescribeInstancesCommand: (input: DescribeInstancesComma
1681
1682
  * serializeAws_ec2DescribeInstanceStatusCommand
1682
1683
  */
1683
1684
  export declare const se_DescribeInstanceStatusCommand: (input: DescribeInstanceStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1685
+ /**
1686
+ * serializeAws_ec2DescribeInstanceTopologyCommand
1687
+ */
1688
+ export declare const se_DescribeInstanceTopologyCommand: (input: DescribeInstanceTopologyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1684
1689
  /**
1685
1690
  * serializeAws_ec2DescribeInstanceTypeOfferingsCommand
1686
1691
  */
@@ -4101,6 +4106,10 @@ export declare const de_DescribeInstancesCommand: (output: __HttpResponse, conte
4101
4106
  * deserializeAws_ec2DescribeInstanceStatusCommand
4102
4107
  */
4103
4108
  export declare const de_DescribeInstanceStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInstanceStatusCommandOutput>;
4109
+ /**
4110
+ * deserializeAws_ec2DescribeInstanceTopologyCommand
4111
+ */
4112
+ export declare const de_DescribeInstanceTopologyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInstanceTopologyCommandOutput>;
4104
4113
  /**
4105
4114
  * deserializeAws_ec2DescribeInstanceTypeOfferingsCommand
4106
4115
  */
@@ -1075,6 +1075,10 @@ import {
1075
1075
  DescribeInstanceStatusCommandInput,
1076
1076
  DescribeInstanceStatusCommandOutput,
1077
1077
  } from "./commands/DescribeInstanceStatusCommand";
1078
+ import {
1079
+ DescribeInstanceTopologyCommandInput,
1080
+ DescribeInstanceTopologyCommandOutput,
1081
+ } from "./commands/DescribeInstanceTopologyCommand";
1078
1082
  import {
1079
1083
  DescribeInstanceTypeOfferingsCommandInput,
1080
1084
  DescribeInstanceTypeOfferingsCommandOutput,
@@ -6164,6 +6168,19 @@ export interface EC2 {
6164
6168
  options: __HttpHandlerOptions,
6165
6169
  cb: (err: any, data?: DescribeInstanceStatusCommandOutput) => void
6166
6170
  ): void;
6171
+ describeInstanceTopology(
6172
+ args: DescribeInstanceTopologyCommandInput,
6173
+ options?: __HttpHandlerOptions
6174
+ ): Promise<DescribeInstanceTopologyCommandOutput>;
6175
+ describeInstanceTopology(
6176
+ args: DescribeInstanceTopologyCommandInput,
6177
+ cb: (err: any, data?: DescribeInstanceTopologyCommandOutput) => void
6178
+ ): void;
6179
+ describeInstanceTopology(
6180
+ args: DescribeInstanceTopologyCommandInput,
6181
+ options: __HttpHandlerOptions,
6182
+ cb: (err: any, data?: DescribeInstanceTopologyCommandOutput) => void
6183
+ ): void;
6167
6184
  describeInstanceTypeOfferings(
6168
6185
  args: DescribeInstanceTypeOfferingsCommandInput,
6169
6186
  options?: __HttpHandlerOptions
@@ -1121,6 +1121,10 @@ import {
1121
1121
  DescribeInstanceStatusCommandInput,
1122
1122
  DescribeInstanceStatusCommandOutput,
1123
1123
  } from "./commands/DescribeInstanceStatusCommand";
1124
+ import {
1125
+ DescribeInstanceTopologyCommandInput,
1126
+ DescribeInstanceTopologyCommandOutput,
1127
+ } from "./commands/DescribeInstanceTopologyCommand";
1124
1128
  import {
1125
1129
  DescribeInstanceTypeOfferingsCommandInput,
1126
1130
  DescribeInstanceTypeOfferingsCommandOutput,
@@ -2741,6 +2745,7 @@ export type ServiceInputTypes =
2741
2745
  | DescribeInstanceEventNotificationAttributesCommandInput
2742
2746
  | DescribeInstanceEventWindowsCommandInput
2743
2747
  | DescribeInstanceStatusCommandInput
2748
+ | DescribeInstanceTopologyCommandInput
2744
2749
  | DescribeInstanceTypeOfferingsCommandInput
2745
2750
  | DescribeInstanceTypesCommandInput
2746
2751
  | DescribeInstancesCommandInput
@@ -3347,6 +3352,7 @@ export type ServiceOutputTypes =
3347
3352
  | DescribeInstanceEventNotificationAttributesCommandOutput
3348
3353
  | DescribeInstanceEventWindowsCommandOutput
3349
3354
  | DescribeInstanceStatusCommandOutput
3355
+ | DescribeInstanceTopologyCommandOutput
3350
3356
  | DescribeInstanceTypeOfferingsCommandOutput
3351
3357
  | DescribeInstanceTypesCommandOutput
3352
3358
  | DescribeInstancesCommandOutput
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { CreatePlacementGroupRequest } from "../models/models_1";
15
- import { CreatePlacementGroupResult } from "../models/models_2";
14
+ import {
15
+ CreatePlacementGroupRequest,
16
+ CreatePlacementGroupResult,
17
+ } from "../models/models_2";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface CreatePlacementGroupCommandInput
18
20
  extends CreatePlacementGroupRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { DeleteNetworkInterfaceRequest } from "../models/models_2";
14
+ import { DeleteNetworkInterfaceRequest } from "../models/models_3";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface DeleteNetworkInterfaceCommandInput
17
17
  extends DeleteNetworkInterfaceRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DeleteNetworkInterfacePermissionRequest,
16
16
  DeleteNetworkInterfacePermissionResult,
17
- } from "../models/models_2";
17
+ } from "../models/models_3";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DeleteNetworkInterfacePermissionCommandInput
20
20
  extends DeleteNetworkInterfacePermissionRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { DeletePlacementGroupRequest } from "../models/models_2";
14
+ import { DeletePlacementGroupRequest } from "../models/models_3";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface DeletePlacementGroupCommandInput
17
17
  extends DeletePlacementGroupRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeInstanceEventNotificationAttributesRequest,
16
16
  DescribeInstanceEventNotificationAttributesResult,
17
- } from "../models/models_3";
17
+ } from "../models/models_4";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeInstanceEventNotificationAttributesCommandInput
20
20
  extends DescribeInstanceEventNotificationAttributesRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeInstanceEventWindowsRequest,
16
16
  DescribeInstanceEventWindowsResult,
17
- } from "../models/models_3";
17
+ } from "../models/models_4";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeInstanceEventWindowsCommandInput
20
20
  extends DescribeInstanceEventWindowsRequest {}
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ EC2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EC2Client";
14
+ import {
15
+ DescribeInstanceTopologyRequest,
16
+ DescribeInstanceTopologyResult,
17
+ } from "../models/models_4";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DescribeInstanceTopologyCommandInput
20
+ extends DescribeInstanceTopologyRequest {}
21
+ export interface DescribeInstanceTopologyCommandOutput
22
+ extends DescribeInstanceTopologyResult,
23
+ __MetadataBearer {}
24
+ export declare class DescribeInstanceTopologyCommand extends $Command<
25
+ DescribeInstanceTopologyCommandInput,
26
+ DescribeInstanceTopologyCommandOutput,
27
+ EC2ClientResolvedConfig
28
+ > {
29
+ readonly input: DescribeInstanceTopologyCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DescribeInstanceTopologyCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: EC2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DescribeInstanceTopologyCommandInput,
38
+ DescribeInstanceTopologyCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- DescribeTransitGatewayPolicyTablesRequest,
16
- DescribeTransitGatewayPolicyTablesResult,
17
- } from "../models/models_4";
14
+ import { DescribeTransitGatewayPolicyTablesRequest } from "../models/models_4";
15
+ import { DescribeTransitGatewayPolicyTablesResult } from "../models/models_5";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface DescribeTransitGatewayPolicyTablesCommandInput
20
18
  extends DescribeTransitGatewayPolicyTablesRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeTransitGatewayRouteTableAnnouncementsRequest,
16
16
  DescribeTransitGatewayRouteTableAnnouncementsResult,
17
- } from "../models/models_4";
17
+ } from "../models/models_5";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeTransitGatewayRouteTableAnnouncementsCommandInput
20
20
  extends DescribeTransitGatewayRouteTableAnnouncementsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeTransitGatewayRouteTablesRequest,
16
16
  DescribeTransitGatewayRouteTablesResult,
17
- } from "../models/models_4";
17
+ } from "../models/models_5";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeTransitGatewayRouteTablesCommandInput
20
20
  extends DescribeTransitGatewayRouteTablesRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeTransitGatewayVpcAttachmentsRequest,
16
16
  DescribeTransitGatewayVpcAttachmentsResult,
17
- } from "../models/models_4";
17
+ } from "../models/models_5";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeTransitGatewayVpcAttachmentsCommandInput
20
20
  extends DescribeTransitGatewayVpcAttachmentsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeTransitGatewaysRequest,
16
16
  DescribeTransitGatewaysResult,
17
- } from "../models/models_4";
17
+ } from "../models/models_5";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeTransitGatewaysCommandInput
20
20
  extends DescribeTransitGatewaysRequest {}
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- GetSpotPlacementScoresRequest,
16
- GetSpotPlacementScoresResult,
17
- } from "../models/models_5";
14
+ import { GetSpotPlacementScoresRequest } from "../models/models_5";
15
+ import { GetSpotPlacementScoresResult } from "../models/models_6";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface GetSpotPlacementScoresCommandInput
20
18
  extends GetSpotPlacementScoresRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  GetSubnetCidrReservationsRequest,
16
16
  GetSubnetCidrReservationsResult,
17
- } from "../models/models_5";
17
+ } from "../models/models_6";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface GetSubnetCidrReservationsCommandInput
20
20
  extends GetSubnetCidrReservationsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  GetTransitGatewayAttachmentPropagationsRequest,
16
16
  GetTransitGatewayAttachmentPropagationsResult,
17
- } from "../models/models_5";
17
+ } from "../models/models_6";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface GetTransitGatewayAttachmentPropagationsCommandInput
20
20
  extends GetTransitGatewayAttachmentPropagationsRequest {}
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { GetTransitGatewayMulticastDomainAssociationsRequest } from "../models/models_5";
15
- import { GetTransitGatewayMulticastDomainAssociationsResult } from "../models/models_6";
14
+ import {
15
+ GetTransitGatewayMulticastDomainAssociationsRequest,
16
+ GetTransitGatewayMulticastDomainAssociationsResult,
17
+ } from "../models/models_6";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface GetTransitGatewayMulticastDomainAssociationsCommandInput
18
20
  extends GetTransitGatewayMulticastDomainAssociationsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  ResetFpgaImageAttributeRequest,
16
16
  ResetFpgaImageAttributeResult,
17
- } from "../models/models_6";
17
+ } from "../models/models_7";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface ResetFpgaImageAttributeCommandInput
20
20
  extends ResetFpgaImageAttributeRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { ResetImageAttributeRequest } from "../models/models_6";
14
+ import { ResetImageAttributeRequest } from "../models/models_7";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface ResetImageAttributeCommandInput
17
17
  extends ResetImageAttributeRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { ResetInstanceAttributeRequest } from "../models/models_6";
14
+ import { ResetInstanceAttributeRequest } from "../models/models_7";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface ResetInstanceAttributeCommandInput
17
17
  extends ResetInstanceAttributeRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { ResetNetworkInterfaceAttributeRequest } from "../models/models_6";
14
+ import { ResetNetworkInterfaceAttributeRequest } from "../models/models_7";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface ResetNetworkInterfaceAttributeCommandInput
17
17
  extends ResetNetworkInterfaceAttributeRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { ResetSnapshotAttributeRequest } from "../models/models_6";
14
+ import { ResetSnapshotAttributeRequest } from "../models/models_7";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface ResetSnapshotAttributeCommandInput
17
17
  extends ResetSnapshotAttributeRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  RestoreAddressToClassicRequest,
16
16
  RestoreAddressToClassicResult,
17
- } from "../models/models_6";
17
+ } from "../models/models_7";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface RestoreAddressToClassicCommandInput
20
20
  extends RestoreAddressToClassicRequest {}
@@ -266,6 +266,7 @@ export * from "./DescribeInstanceCreditSpecificationsCommand";
266
266
  export * from "./DescribeInstanceEventNotificationAttributesCommand";
267
267
  export * from "./DescribeInstanceEventWindowsCommand";
268
268
  export * from "./DescribeInstanceStatusCommand";
269
+ export * from "./DescribeInstanceTopologyCommand";
269
270
  export * from "./DescribeInstanceTypeOfferingsCommand";
270
271
  export * from "./DescribeInstanceTypesCommand";
271
272
  export * from "./DescribeInstancesCommand";
@@ -1255,6 +1255,13 @@ export interface LaunchTemplateInstanceMetadataOptionsRequest {
1255
1255
  export interface LaunchTemplatesMonitoringRequest {
1256
1256
  Enabled?: boolean;
1257
1257
  }
1258
+ export interface EnaSrdUdpSpecificationRequest {
1259
+ EnaSrdUdpEnabled?: boolean;
1260
+ }
1261
+ export interface EnaSrdSpecificationRequest {
1262
+ EnaSrdEnabled?: boolean;
1263
+ EnaSrdUdpSpecification?: EnaSrdUdpSpecificationRequest;
1264
+ }
1258
1265
  export interface Ipv4PrefixSpecificationRequest {
1259
1266
  Ipv4Prefix?: string;
1260
1267
  }
@@ -1289,6 +1296,7 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
1289
1296
  Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
1290
1297
  Ipv6PrefixCount?: number;
1291
1298
  PrimaryIpv6?: boolean;
1299
+ EnaSrdSpecification?: EnaSrdSpecificationRequest;
1292
1300
  }
1293
1301
  export interface LaunchTemplatePlacementRequest {
1294
1302
  AvailabilityZone?: string;
@@ -1464,6 +1472,13 @@ export interface LaunchTemplateInstanceMetadataOptions {
1464
1472
  export interface LaunchTemplatesMonitoring {
1465
1473
  Enabled?: boolean;
1466
1474
  }
1475
+ export interface LaunchTemplateEnaSrdUdpSpecification {
1476
+ EnaSrdUdpEnabled?: boolean;
1477
+ }
1478
+ export interface LaunchTemplateEnaSrdSpecification {
1479
+ EnaSrdEnabled?: boolean;
1480
+ EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification;
1481
+ }
1467
1482
  export interface Ipv4PrefixSpecificationResponse {
1468
1483
  Ipv4Prefix?: string;
1469
1484
  }
@@ -1495,6 +1510,7 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecification {
1495
1510
  Ipv6Prefixes?: Ipv6PrefixSpecificationResponse[];
1496
1511
  Ipv6PrefixCount?: number;
1497
1512
  PrimaryIpv6?: boolean;
1513
+ EnaSrdSpecification?: LaunchTemplateEnaSrdSpecification;
1498
1514
  }
1499
1515
  export interface LaunchTemplatePlacement {
1500
1516
  AvailabilityZone?: string;
@@ -2058,34 +2074,6 @@ export interface NetworkInterfacePermission {
2058
2074
  export interface CreateNetworkInterfacePermissionResult {
2059
2075
  InterfacePermission?: NetworkInterfacePermission;
2060
2076
  }
2061
- export declare const SpreadLevel: {
2062
- readonly host: "host";
2063
- readonly rack: "rack";
2064
- };
2065
- export type SpreadLevel = (typeof SpreadLevel)[keyof typeof SpreadLevel];
2066
- export declare const PlacementStrategy: {
2067
- readonly cluster: "cluster";
2068
- readonly partition: "partition";
2069
- readonly spread: "spread";
2070
- };
2071
- export type PlacementStrategy =
2072
- (typeof PlacementStrategy)[keyof typeof PlacementStrategy];
2073
- export interface CreatePlacementGroupRequest {
2074
- DryRun?: boolean;
2075
- GroupName?: string;
2076
- Strategy?: PlacementStrategy;
2077
- PartitionCount?: number;
2078
- TagSpecifications?: TagSpecification[];
2079
- SpreadLevel?: SpreadLevel;
2080
- }
2081
- export declare const PlacementGroupState: {
2082
- readonly available: "available";
2083
- readonly deleted: "deleted";
2084
- readonly deleting: "deleting";
2085
- readonly pending: "pending";
2086
- };
2087
- export type PlacementGroupState =
2088
- (typeof PlacementGroupState)[keyof typeof PlacementGroupState];
2089
2077
  export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
2090
2078
  export declare const RequestLaunchTemplateDataFilterSensitiveLog: (
2091
2079
  obj: RequestLaunchTemplateData