@aws-sdk/client-ec2 3.449.0 → 3.451.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 +37 -37
@@ -4,6 +4,119 @@ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, De
4
4
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
5
5
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
6
  import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ * <p>The Spot placement score for this Region or Availability Zone. The score is calculated
10
+ * based on the assumption that the <code>capacity-optimized</code> allocation strategy is
11
+ * used and that all of the Availability Zones in the Region can be used.</p>
12
+ */
13
+ export interface SpotPlacementScore {
14
+ /**
15
+ * @public
16
+ * <p>The Region.</p>
17
+ */
18
+ Region?: string;
19
+ /**
20
+ * @public
21
+ * <p>The Availability Zone.</p>
22
+ */
23
+ AvailabilityZoneId?: string;
24
+ /**
25
+ * @public
26
+ * <p>The placement score, on a scale from <code>1</code> to <code>10</code>. A score of
27
+ * <code>10</code> indicates that your Spot request is highly likely to succeed in this
28
+ * Region or Availability Zone. A score of <code>1</code> indicates that your Spot request is
29
+ * not likely to succeed. </p>
30
+ */
31
+ Score?: number;
32
+ }
33
+ /**
34
+ * @public
35
+ */
36
+ export interface GetSpotPlacementScoresResult {
37
+ /**
38
+ * @public
39
+ * <p>The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale
40
+ * from 1 to 10. Each score
41
+ reflects how likely it is that each Region or Availability Zone
42
+ * will succeed at fulfilling the specified target capacity
43
+ <i>at the time of the Spot
44
+ * placement score request</i>. A score of <code>10</code> means that your Spot
45
+ * capacity request is highly likely to succeed in that Region or Availability Zone. </p>
46
+ * <p>If you request a Spot placement score for Regions, a high score assumes that your fleet
47
+ * request will be configured to use all Availability Zones and the
48
+ * <code>capacity-optimized</code> allocation strategy. If you request a Spot placement
49
+ * score for Availability Zones, a high score assumes that your fleet request will be
50
+ * configured to use a single Availability Zone and the <code>capacity-optimized</code>
51
+ * allocation strategy.</p>
52
+ * <p>Different
53
+ Regions or Availability Zones might return the same score.</p>
54
+ * <note>
55
+ * <p>The Spot placement score serves as a recommendation only. No score guarantees that your
56
+ * Spot request will be fully or partially fulfilled.</p>
57
+ * </note>
58
+ */
59
+ SpotPlacementScores?: SpotPlacementScore[];
60
+ /**
61
+ * @public
62
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
63
+ * are no more items to return.</p>
64
+ */
65
+ NextToken?: string;
66
+ }
67
+ /**
68
+ * @public
69
+ */
70
+ export interface GetSubnetCidrReservationsRequest {
71
+ /**
72
+ * @public
73
+ * <p>One or more filters.</p>
74
+ * <ul>
75
+ * <li>
76
+ * <p>
77
+ * <code>reservationType</code> - The type of reservation (<code>prefix</code> |
78
+ * <code>explicit</code>).</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>
82
+ * <code>subnet-id</code> - The ID of the subnet.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>
86
+ * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
87
+ * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>
91
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
92
+ * </li>
93
+ * </ul>
94
+ */
95
+ Filters?: Filter[];
96
+ /**
97
+ * @public
98
+ * <p>The ID of the subnet.</p>
99
+ */
100
+ SubnetId: string | undefined;
101
+ /**
102
+ * @public
103
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
104
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
105
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
106
+ */
107
+ DryRun?: boolean;
108
+ /**
109
+ * @public
110
+ * <p>The token for the next page of results.</p>
111
+ */
112
+ NextToken?: string;
113
+ /**
114
+ * @public
115
+ * <p>The maximum number of results to return with a single call.
116
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
117
+ */
118
+ MaxResults?: number;
119
+ }
7
120
  /**
8
121
  * @public
9
122
  */
@@ -4742,7 +4855,7 @@ export interface ModifyVerifiedAccessEndpointRequest {
4742
4855
  export interface ModifyVerifiedAccessEndpointResult {
4743
4856
  /**
4744
4857
  * @public
4745
- * <p>The Verified Access endpoint details.</p>
4858
+ * <p>Details about the Verified Access endpoint.</p>
4746
4859
  */
4747
4860
  VerifiedAccessEndpoint?: VerifiedAccessEndpoint;
4748
4861
  }
@@ -4780,9 +4893,7 @@ export interface ModifyVerifiedAccessEndpointPolicyRequest {
4780
4893
  DryRun?: boolean;
4781
4894
  /**
4782
4895
  * @public
4783
- * <p>
4784
- * Options for server side encryption.
4785
- * </p>
4896
+ * <p>The options for server side encryption.</p>
4786
4897
  */
4787
4898
  SseSpecification?: VerifiedAccessSseSpecificationRequest;
4788
4899
  }
@@ -4802,9 +4913,7 @@ export interface ModifyVerifiedAccessEndpointPolicyResult {
4802
4913
  PolicyDocument?: string;
4803
4914
  /**
4804
4915
  * @public
4805
- * <p>
4806
- * Describes the options in use for server side encryption.
4807
- * </p>
4916
+ * <p>The options in use for server side encryption.</p>
4808
4917
  */
4809
4918
  SseSpecification?: VerifiedAccessSseSpecificationResponse;
4810
4919
  }
@@ -4847,7 +4956,7 @@ export interface ModifyVerifiedAccessGroupRequest {
4847
4956
  export interface ModifyVerifiedAccessGroupResult {
4848
4957
  /**
4849
4958
  * @public
4850
- * <p>Details of Verified Access group.</p>
4959
+ * <p>Details about the Verified Access group.</p>
4851
4960
  */
4852
4961
  VerifiedAccessGroup?: VerifiedAccessGroup;
4853
4962
  }
@@ -4885,9 +4994,7 @@ export interface ModifyVerifiedAccessGroupPolicyRequest {
4885
4994
  DryRun?: boolean;
4886
4995
  /**
4887
4996
  * @public
4888
- * <p>
4889
- * Options for server side encryption.
4890
- * </p>
4997
+ * <p>The options for server side encryption.</p>
4891
4998
  */
4892
4999
  SseSpecification?: VerifiedAccessSseSpecificationRequest;
4893
5000
  }
@@ -4907,9 +5014,7 @@ export interface ModifyVerifiedAccessGroupPolicyResult {
4907
5014
  PolicyDocument?: string;
4908
5015
  /**
4909
5016
  * @public
4910
- * <p>
4911
- * Describes the options in use for server side encryption.
4912
- * </p>
5017
+ * <p>The options in use for server side encryption.</p>
4913
5018
  */
4914
5019
  SseSpecification?: VerifiedAccessSseSpecificationResponse;
4915
5020
  }
@@ -4947,7 +5052,7 @@ export interface ModifyVerifiedAccessInstanceRequest {
4947
5052
  export interface ModifyVerifiedAccessInstanceResult {
4948
5053
  /**
4949
5054
  * @public
4950
- * <p>The ID of the Verified Access instance.</p>
5055
+ * <p>Details about the Verified Access instance.</p>
4951
5056
  */
4952
5057
  VerifiedAccessInstance?: VerifiedAccessInstance;
4953
5058
  }
@@ -5031,18 +5136,14 @@ export interface VerifiedAccessLogOptions {
5031
5136
  KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestinationOptions;
5032
5137
  /**
5033
5138
  * @public
5034
- * <p>
5035
- * The logging version to use.
5036
- * </p>
5139
+ * <p>The logging version.</p>
5037
5140
  * <p>Valid values: <code>ocsf-0.1</code> | <code>ocsf-1.0.0-rc.2</code>
5038
5141
  * </p>
5039
5142
  */
5040
5143
  LogVersion?: string;
5041
5144
  /**
5042
5145
  * @public
5043
- * <p>
5044
- * Include trust data sent by trust providers into the logs.
5045
- * </p>
5146
+ * <p>Indicates whether to include trust data sent by trust providers in the logs.</p>
5046
5147
  */
5047
5148
  IncludeTrustContext?: boolean;
5048
5149
  }
@@ -5159,9 +5260,7 @@ export interface ModifyVerifiedAccessTrustProviderRequest {
5159
5260
  ClientToken?: string;
5160
5261
  /**
5161
5262
  * @public
5162
- * <p>
5163
- * Options for server side encryption.
5164
- * </p>
5263
+ * <p>The options for server side encryption.</p>
5165
5264
  */
5166
5265
  SseSpecification?: VerifiedAccessSseSpecificationRequest;
5167
5266
  }
@@ -5171,7 +5270,7 @@ export interface ModifyVerifiedAccessTrustProviderRequest {
5171
5270
  export interface ModifyVerifiedAccessTrustProviderResult {
5172
5271
  /**
5173
5272
  * @public
5174
- * <p>The ID of the Verified Access trust provider.</p>
5273
+ * <p>Details about the Verified Access trust provider.</p>
5175
5274
  */
5176
5275
  VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider;
5177
5276
  }
@@ -5984,9 +6083,9 @@ export interface ModifyVpnTunnelOptionsSpecification {
5984
6083
  ReplayWindowSize?: number;
5985
6084
  /**
5986
6085
  * @public
5987
- * <p>The number of seconds after which a DPD timeout occurs.</p>
6086
+ * <p>The number of seconds after which a DPD timeout occurs. A DPD timeout of 40 seconds means that the VPN endpoint will consider the peer dead 30 seconds after the first failed keep-alive.</p>
5988
6087
  * <p>Constraints: A value greater than or equal to 30.</p>
5989
- * <p>Default: <code>30</code>
6088
+ * <p>Default: <code>40</code>
5990
6089
  * </p>
5991
6090
  */
5992
6091
  DPDTimeoutSeconds?: number;
@@ -6116,7 +6215,7 @@ export interface ModifyVpnTunnelOptionsRequest {
6116
6215
  DryRun?: boolean;
6117
6216
  /**
6118
6217
  * @public
6119
- * <p>Choose whether or not to trigger immediate tunnel replacement.</p>
6218
+ * <p>Choose whether or not to trigger immediate tunnel replacement. This is only applicable when turning on or off <code>EnableTunnelLifecycleControl</code>.</p>
6120
6219
  * <p>Valid values: <code>True</code> | <code>False</code>
6121
6220
  * </p>
6122
6221
  */
@@ -7991,49 +8090,6 @@ export declare const ResetFpgaImageAttributeName: {
7991
8090
  * @public
7992
8091
  */
7993
8092
  export type ResetFpgaImageAttributeName = (typeof ResetFpgaImageAttributeName)[keyof typeof ResetFpgaImageAttributeName];
7994
- /**
7995
- * @public
7996
- */
7997
- export interface ResetFpgaImageAttributeRequest {
7998
- /**
7999
- * @public
8000
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8001
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8002
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8003
- */
8004
- DryRun?: boolean;
8005
- /**
8006
- * @public
8007
- * <p>The ID of the AFI.</p>
8008
- */
8009
- FpgaImageId: string | undefined;
8010
- /**
8011
- * @public
8012
- * <p>The attribute.</p>
8013
- */
8014
- Attribute?: ResetFpgaImageAttributeName;
8015
- }
8016
- /**
8017
- * @public
8018
- */
8019
- export interface ResetFpgaImageAttributeResult {
8020
- /**
8021
- * @public
8022
- * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
8023
- */
8024
- Return?: boolean;
8025
- }
8026
- /**
8027
- * @public
8028
- * @enum
8029
- */
8030
- export declare const ResetImageAttributeName: {
8031
- readonly launchPermission: "launchPermission";
8032
- };
8033
- /**
8034
- * @public
8035
- */
8036
- export type ResetImageAttributeName = (typeof ResetImageAttributeName)[keyof typeof ResetImageAttributeName];
8037
8093
  /**
8038
8094
  * @internal
8039
8095
  */
@@ -3,7 +3,50 @@ import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest,
3
3
  import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
4
  import { ClientVpnConnectionStatus, Filter, InstanceAttributeName } from "./models_3";
5
5
  import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName } from "./models_4";
6
- import { CapacityReservationSpecification, InstanceMonitoring, ResetImageAttributeName, Status } from "./models_6";
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];
7
50
  /**
8
51
  * @public
9
52
  * <p>Contains the parameters for ResetImageAttribute.</p>
@@ -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
@@ -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 {}
@@ -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 {}
@@ -11,8 +11,10 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import { GetSubnetCidrReservationsRequest } from "../models/models_5";
15
- import { GetSubnetCidrReservationsResult } from "../models/models_6";
14
+ import {
15
+ GetSubnetCidrReservationsRequest,
16
+ GetSubnetCidrReservationsResult,
17
+ } from "../models/models_6";
16
18
  export { __MetadataBearer, $Command };
17
19
  export interface GetSubnetCidrReservationsCommandInput
18
20
  extends GetSubnetCidrReservationsRequest {}
@@ -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 {}
@@ -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";
@@ -85,8 +85,6 @@ import {
85
85
  TransitGatewayConnect,
86
86
  TransitGatewayConnectPeer,
87
87
  TransitGatewayMulticastDomain,
88
- TransitGatewayPolicyTable,
89
- TransitGatewayRouteTableAnnouncement,
90
88
  } from "./models_2";
91
89
  import {
92
90
  ArchitectureValues,
@@ -435,6 +433,26 @@ export interface DescribeInstanceStatusResult {
435
433
  InstanceStatuses?: InstanceStatus[];
436
434
  NextToken?: string;
437
435
  }
436
+ export interface DescribeInstanceTopologyRequest {
437
+ DryRun?: boolean;
438
+ NextToken?: string;
439
+ MaxResults?: number;
440
+ InstanceIds?: string[];
441
+ GroupNames?: string[];
442
+ Filters?: Filter[];
443
+ }
444
+ export interface InstanceTopology {
445
+ InstanceId?: string;
446
+ InstanceType?: string;
447
+ GroupName?: string;
448
+ NetworkNodes?: string[];
449
+ AvailabilityZone?: string;
450
+ ZoneId?: string;
451
+ }
452
+ export interface DescribeInstanceTopologyResult {
453
+ Instances?: InstanceTopology[];
454
+ NextToken?: string;
455
+ }
438
456
  export declare const LocationType: {
439
457
  readonly availability_zone: "availability-zone";
440
458
  readonly availability_zone_id: "availability-zone-id";
@@ -2051,21 +2069,6 @@ export interface DescribeTransitGatewayPolicyTablesRequest {
2051
2069
  NextToken?: string;
2052
2070
  DryRun?: boolean;
2053
2071
  }
2054
- export interface DescribeTransitGatewayPolicyTablesResult {
2055
- TransitGatewayPolicyTables?: TransitGatewayPolicyTable[];
2056
- NextToken?: string;
2057
- }
2058
- export interface DescribeTransitGatewayRouteTableAnnouncementsRequest {
2059
- TransitGatewayRouteTableAnnouncementIds?: string[];
2060
- Filters?: Filter[];
2061
- MaxResults?: number;
2062
- NextToken?: string;
2063
- DryRun?: boolean;
2064
- }
2065
- export interface DescribeTransitGatewayRouteTableAnnouncementsResult {
2066
- TransitGatewayRouteTableAnnouncements?: TransitGatewayRouteTableAnnouncement[];
2067
- NextToken?: string;
2068
- }
2069
2072
  export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
2070
2073
  obj: DescribeLaunchTemplateVersionsResult
2071
2074
  ) => any;