@aws-sdk/client-ec2 3.931.0 → 3.933.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 (72) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +379 -6
  3. package/dist-es/EC2.js +8 -0
  4. package/dist-es/commands/DescribeInstanceSqlHaHistoryStatesCommand.js +16 -0
  5. package/dist-es/commands/DescribeInstanceSqlHaStatesCommand.js +16 -0
  6. package/dist-es/commands/DisableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
  7. package/dist-es/commands/EnableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_4.js +10 -6
  10. package/dist-es/models/models_5.js +6 -0
  11. package/dist-es/models/models_6.js +0 -12
  12. package/dist-es/models/models_7.js +12 -11
  13. package/dist-es/models/models_8.js +11 -0
  14. package/dist-es/schemas/schemas_0.js +308 -3
  15. package/dist-types/EC2.d.ts +30 -0
  16. package/dist-types/EC2Client.d.ts +6 -2
  17. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +106 -0
  21. package/dist-types/commands/DescribeInstanceSqlHaStatesCommand.d.ts +104 -0
  22. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  28. package/dist-types/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +95 -0
  29. package/dist-types/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +102 -0
  30. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  31. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  32. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  34. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  35. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  36. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  37. package/dist-types/commands/index.d.ts +4 -0
  38. package/dist-types/models/models_1.d.ts +5 -0
  39. package/dist-types/models/models_4.d.ts +270 -257
  40. package/dist-types/models/models_5.d.ts +259 -258
  41. package/dist-types/models/models_6.d.ts +326 -163
  42. package/dist-types/models/models_7.d.ts +163 -339
  43. package/dist-types/models/models_8.d.ts +336 -1
  44. package/dist-types/schemas/schemas_0.d.ts +15 -0
  45. package/dist-types/ts3.4/EC2.d.ts +88 -0
  46. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  47. package/dist-types/ts3.4/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/DescribeInstanceSqlHaStatesCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  65. package/dist-types/ts3.4/models/models_1.d.ts +1 -0
  66. package/dist-types/ts3.4/models/models_4.d.ts +46 -44
  67. package/dist-types/ts3.4/models/models_5.d.ts +44 -43
  68. package/dist-types/ts3.4/models/models_6.d.ts +62 -53
  69. package/dist-types/ts3.4/models/models_7.d.ts +52 -96
  70. package/dist-types/ts3.4/models/models_8.d.ts +91 -0
  71. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  72. package/package.json +6 -6
@@ -1,8 +1,265 @@
1
- import { ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UserIdGroupPair } from "./models_0";
1
+ import { ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, UserIdGroupPair } from "./models_0";
2
2
  import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceRequirements, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, MacModificationTask, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
3
- import { GroupIdentifier, InstanceIpv6Address, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement } from "./models_2";
3
+ import { GroupIdentifier, InstanceIpv6Address, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable } from "./models_2";
4
4
  import { Byoasn, Filter, IdFormat } from "./models_3";
5
5
  import { AttributeBooleanValue, EventInformation, PermissionGroup, ProductCode, VirtualizationType } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeInstanceTopologyRequest {
10
+ /**
11
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
12
+ * request, and provides an error response. If you have the required permissions, the error response is
13
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
14
+ * @public
15
+ */
16
+ DryRun?: boolean | undefined;
17
+ /**
18
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
19
+ * @public
20
+ */
21
+ NextToken?: string | undefined;
22
+ /**
23
+ * <p>The maximum number of items to return for this request.
24
+ * To get the next page of items, make another request with the token returned in the output.
25
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
26
+ * <p>You can't specify this parameter and the instance IDs parameter in the same
27
+ * request.</p>
28
+ * <p>Default: <code>20</code>
29
+ * </p>
30
+ * @public
31
+ */
32
+ MaxResults?: number | undefined;
33
+ /**
34
+ * <p>The instance IDs.</p>
35
+ * <p>Default: Describes all your instances.</p>
36
+ * <p>Constraints: Maximum 100 explicitly specified instance IDs.</p>
37
+ * @public
38
+ */
39
+ InstanceIds?: string[] | undefined;
40
+ /**
41
+ * <p>The name of the placement group that each instance is in.</p>
42
+ * <p>Constraints: Maximum 100 explicitly specified placement group names.</p>
43
+ * @public
44
+ */
45
+ GroupNames?: string[] | undefined;
46
+ /**
47
+ * <p>The filters.</p>
48
+ * <ul>
49
+ * <li>
50
+ * <p>
51
+ * <code>availability-zone</code> - The name of the Availability Zone (for
52
+ * example, <code>us-west-2a</code>) or Local Zone (for example,
53
+ * <code>us-west-2-lax-1b</code>) that the instance is in.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * <code>instance-type</code> - The instance type (for example,
58
+ * <code>p4d.24xlarge</code>) or instance family (for example,
59
+ * <code>p4d*</code>). You can use the <code>*</code> wildcard to match zero or
60
+ * more characters, or the <code>?</code> wildcard to match zero or one
61
+ * character.</p>
62
+ * </li>
63
+ * <li>
64
+ * <p>
65
+ * <code>zone-id</code> - The ID of the Availability Zone (for example,
66
+ * <code>usw2-az2</code>) or Local Zone (for example,
67
+ * <code>usw2-lax1-az1</code>) that the instance is in.</p>
68
+ * </li>
69
+ * </ul>
70
+ * @public
71
+ */
72
+ Filters?: Filter[] | undefined;
73
+ }
74
+ /**
75
+ * <p>Information about the instance topology.</p>
76
+ * @public
77
+ */
78
+ export interface InstanceTopology {
79
+ /**
80
+ * <p>The instance ID.</p>
81
+ * @public
82
+ */
83
+ InstanceId?: string | undefined;
84
+ /**
85
+ * <p>The instance type.</p>
86
+ * @public
87
+ */
88
+ InstanceType?: string | undefined;
89
+ /**
90
+ * <p>The name of the placement group that the instance is in.</p>
91
+ * @public
92
+ */
93
+ GroupName?: string | undefined;
94
+ /**
95
+ * <p>The network nodes. The nodes are hashed based on your account. Instances from
96
+ * different accounts running under the same server will return a different hashed list of
97
+ * strings.</p>
98
+ * <p>The value is <code>null</code> or empty if:</p>
99
+ * <ul>
100
+ * <li>
101
+ * <p>The instance type is not supported.</p>
102
+ * </li>
103
+ * <li>
104
+ * <p>The instance is in a state other than <code>running</code>.</p>
105
+ * </li>
106
+ * </ul>
107
+ * @public
108
+ */
109
+ NetworkNodes?: string[] | undefined;
110
+ /**
111
+ * <p>The name of the Availability Zone or Local Zone that the instance is in.</p>
112
+ * @public
113
+ */
114
+ AvailabilityZone?: string | undefined;
115
+ /**
116
+ * <p>The ID of the Availability Zone or Local Zone that the instance is in.</p>
117
+ * @public
118
+ */
119
+ ZoneId?: string | undefined;
120
+ /**
121
+ * <p>The ID of the Capacity Block. This parameter is only supported for UltraServer
122
+ * instances and identifies instances within the UltraServer domain.</p>
123
+ * @public
124
+ */
125
+ CapacityBlockId?: string | undefined;
126
+ }
127
+ /**
128
+ * @public
129
+ */
130
+ export interface DescribeInstanceTopologyResult {
131
+ /**
132
+ * <p>Information about the topology of each instance.</p>
133
+ * @public
134
+ */
135
+ Instances?: InstanceTopology[] | undefined;
136
+ /**
137
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
138
+ * are no more items to return.</p>
139
+ * @public
140
+ */
141
+ NextToken?: string | undefined;
142
+ }
143
+ /**
144
+ * @public
145
+ * @enum
146
+ */
147
+ export declare const LocationType: {
148
+ readonly availability_zone: "availability-zone";
149
+ readonly availability_zone_id: "availability-zone-id";
150
+ readonly outpost: "outpost";
151
+ readonly region: "region";
152
+ };
153
+ /**
154
+ * @public
155
+ */
156
+ export type LocationType = (typeof LocationType)[keyof typeof LocationType];
157
+ /**
158
+ * @public
159
+ */
160
+ export interface DescribeInstanceTypeOfferingsRequest {
161
+ /**
162
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
163
+ * and provides an error response. If you have the required permissions, the error response is
164
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
165
+ * @public
166
+ */
167
+ DryRun?: boolean | undefined;
168
+ /**
169
+ * <p>The location type.</p>
170
+ * <ul>
171
+ * <li>
172
+ * <p>
173
+ * <code>availability-zone</code> - The Availability Zone. When you specify a location
174
+ * filter, it must be an Availability Zone for the current Region.</p>
175
+ * </li>
176
+ * <li>
177
+ * <p>
178
+ * <code>availability-zone-id</code> - The AZ ID. When you specify a location filter, it must
179
+ * be an AZ ID for the current Region.</p>
180
+ * </li>
181
+ * <li>
182
+ * <p>
183
+ * <code>outpost</code> - The Outpost ARN. When you specify a location filter, it must be an
184
+ * Outpost ARN for the current Region.</p>
185
+ * </li>
186
+ * <li>
187
+ * <p>
188
+ * <code>region</code> - The current Region. If you specify a location filter, it must match
189
+ * the current Region.</p>
190
+ * </li>
191
+ * </ul>
192
+ * @public
193
+ */
194
+ LocationType?: LocationType | undefined;
195
+ /**
196
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
197
+ * <ul>
198
+ * <li>
199
+ * <p>
200
+ * <code>instance-type</code> - The instance type. For a list of possible values, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html">Instance</a>.</p>
201
+ * </li>
202
+ * <li>
203
+ * <p>
204
+ * <code>location</code> - The location. For a list of possible identifiers, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html">Regions and Zones</a>.</p>
205
+ * </li>
206
+ * </ul>
207
+ * @public
208
+ */
209
+ Filters?: Filter[] | undefined;
210
+ /**
211
+ * <p>The maximum number of items to return for this request.
212
+ * To get the next page of items, make another request with the token returned in the output.
213
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
214
+ * @public
215
+ */
216
+ MaxResults?: number | undefined;
217
+ /**
218
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
219
+ * @public
220
+ */
221
+ NextToken?: string | undefined;
222
+ }
223
+ /**
224
+ * <p>The instance types offered.</p>
225
+ * @public
226
+ */
227
+ export interface InstanceTypeOffering {
228
+ /**
229
+ * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2
230
+ * User Guide</i>.</p>
231
+ * @public
232
+ */
233
+ InstanceType?: _InstanceType | undefined;
234
+ /**
235
+ * <p>The location type.</p>
236
+ * @public
237
+ */
238
+ LocationType?: LocationType | undefined;
239
+ /**
240
+ * <p>The identifier for the location. This depends on the location type. For example, if the
241
+ * location type is <code>region</code>, the location is the Region code (for example,
242
+ * <code>us-east-2</code>.)</p>
243
+ * @public
244
+ */
245
+ Location?: string | undefined;
246
+ }
247
+ /**
248
+ * @public
249
+ */
250
+ export interface DescribeInstanceTypeOfferingsResult {
251
+ /**
252
+ * <p>The instance types offered in the location.</p>
253
+ * @public
254
+ */
255
+ InstanceTypeOfferings?: InstanceTypeOffering[] | undefined;
256
+ /**
257
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
258
+ * are no more items to return.</p>
259
+ * @public
260
+ */
261
+ NextToken?: string | undefined;
262
+ }
6
263
  /**
7
264
  * @public
8
265
  */
@@ -10848,259 +11105,3 @@ export interface DescribeTransitGatewayRouteTableAnnouncementsRequest {
10848
11105
  */
10849
11106
  DryRun?: boolean | undefined;
10850
11107
  }
10851
- /**
10852
- * @public
10853
- */
10854
- export interface DescribeTransitGatewayRouteTableAnnouncementsResult {
10855
- /**
10856
- * <p>Describes the transit gateway route table announcement.</p>
10857
- * @public
10858
- */
10859
- TransitGatewayRouteTableAnnouncements?: TransitGatewayRouteTableAnnouncement[] | undefined;
10860
- /**
10861
- * <p>The token for the next page of results.</p>
10862
- * @public
10863
- */
10864
- NextToken?: string | undefined;
10865
- }
10866
- /**
10867
- * @public
10868
- */
10869
- export interface DescribeTransitGatewayRouteTablesRequest {
10870
- /**
10871
- * <p>The IDs of the transit gateway route tables.</p>
10872
- * @public
10873
- */
10874
- TransitGatewayRouteTableIds?: string[] | undefined;
10875
- /**
10876
- * <p>One or more filters. The possible values are:</p>
10877
- * <ul>
10878
- * <li>
10879
- * <p>
10880
- * <code>default-association-route-table</code> - Indicates whether this is the default
10881
- * association route table for the transit gateway (<code>true</code> | <code>false</code>).</p>
10882
- * </li>
10883
- * <li>
10884
- * <p>
10885
- * <code>default-propagation-route-table</code> - Indicates whether this is the default
10886
- * propagation route table for the transit gateway (<code>true</code> | <code>false</code>).</p>
10887
- * </li>
10888
- * <li>
10889
- * <p>
10890
- * <code>state</code> - The state of the route table (<code>available</code> | <code>deleting</code> | <code>deleted</code> | <code>pending</code>).</p>
10891
- * </li>
10892
- * <li>
10893
- * <p>
10894
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
10895
- * </li>
10896
- * <li>
10897
- * <p>
10898
- * <code>transit-gateway-route-table-id</code> - The ID of the transit gateway route table.</p>
10899
- * </li>
10900
- * </ul>
10901
- * @public
10902
- */
10903
- Filters?: Filter[] | undefined;
10904
- /**
10905
- * <p>The maximum number of results to return with a single call.
10906
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
10907
- * @public
10908
- */
10909
- MaxResults?: number | undefined;
10910
- /**
10911
- * <p>The token for the next page of results.</p>
10912
- * @public
10913
- */
10914
- NextToken?: string | undefined;
10915
- /**
10916
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10917
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10918
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10919
- * @public
10920
- */
10921
- DryRun?: boolean | undefined;
10922
- }
10923
- /**
10924
- * @public
10925
- */
10926
- export interface DescribeTransitGatewayRouteTablesResult {
10927
- /**
10928
- * <p>Information about the transit gateway route tables.</p>
10929
- * @public
10930
- */
10931
- TransitGatewayRouteTables?: TransitGatewayRouteTable[] | undefined;
10932
- /**
10933
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
10934
- * @public
10935
- */
10936
- NextToken?: string | undefined;
10937
- }
10938
- /**
10939
- * @public
10940
- */
10941
- export interface DescribeTransitGatewaysRequest {
10942
- /**
10943
- * <p>The IDs of the transit gateways.</p>
10944
- * @public
10945
- */
10946
- TransitGatewayIds?: string[] | undefined;
10947
- /**
10948
- * <p>One or more filters. The possible values are:</p>
10949
- * <ul>
10950
- * <li>
10951
- * <p>
10952
- * <code>options.propagation-default-route-table-id</code> - The ID of the default propagation route table.</p>
10953
- * </li>
10954
- * <li>
10955
- * <p>
10956
- * <code>options.amazon-side-asn</code> - The private ASN for the Amazon side of a BGP session.</p>
10957
- * </li>
10958
- * <li>
10959
- * <p>
10960
- * <code>options.association-default-route-table-id</code> - The ID of the default association route table.</p>
10961
- * </li>
10962
- * <li>
10963
- * <p>
10964
- * <code>options.auto-accept-shared-attachments</code> - Indicates whether there is automatic acceptance of attachment requests (<code>enable</code> | <code>disable</code>).</p>
10965
- * </li>
10966
- * <li>
10967
- * <p>
10968
- * <code>options.default-route-table-association</code> - Indicates whether resource attachments are automatically
10969
- * associated with the default association route table (<code>enable</code> | <code>disable</code>).</p>
10970
- * </li>
10971
- * <li>
10972
- * <p>
10973
- * <code>options.default-route-table-propagation</code> - Indicates whether resource attachments automatically propagate
10974
- * routes to the default propagation route table (<code>enable</code> | <code>disable</code>).</p>
10975
- * </li>
10976
- * <li>
10977
- * <p>
10978
- * <code>options.dns-support</code> - Indicates whether DNS support is enabled (<code>enable</code> | <code>disable</code>).</p>
10979
- * </li>
10980
- * <li>
10981
- * <p>
10982
- * <code>options.vpn-ecmp-support</code> - Indicates whether Equal Cost Multipath Protocol support is enabled (<code>enable</code> | <code>disable</code>).</p>
10983
- * </li>
10984
- * <li>
10985
- * <p>
10986
- * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>
10987
- * </li>
10988
- * <li>
10989
- * <p>
10990
- * <code>state</code> - The state of the transit gateway (<code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>modifying</code> | <code>pending</code>).</p>
10991
- * </li>
10992
- * <li>
10993
- * <p>
10994
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
10995
- * </li>
10996
- * <li>
10997
- * <p>
10998
- * <code>tag-key </code>- The key/value combination of a tag assigned to the resource. Use the
10999
- * tag key in the filter name and the tag value as the filter value. For example, to
11000
- * find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify
11001
- * <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
11002
- * </li>
11003
- * </ul>
11004
- * @public
11005
- */
11006
- Filters?: Filter[] | undefined;
11007
- /**
11008
- * <p>The maximum number of results to return with a single call.
11009
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11010
- * @public
11011
- */
11012
- MaxResults?: number | undefined;
11013
- /**
11014
- * <p>The token for the next page of results.</p>
11015
- * @public
11016
- */
11017
- NextToken?: string | undefined;
11018
- /**
11019
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11020
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11021
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11022
- * @public
11023
- */
11024
- DryRun?: boolean | undefined;
11025
- }
11026
- /**
11027
- * @public
11028
- */
11029
- export interface DescribeTransitGatewaysResult {
11030
- /**
11031
- * <p>Information about the transit gateways.</p>
11032
- * @public
11033
- */
11034
- TransitGateways?: TransitGateway[] | undefined;
11035
- /**
11036
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11037
- * @public
11038
- */
11039
- NextToken?: string | undefined;
11040
- }
11041
- /**
11042
- * @public
11043
- */
11044
- export interface DescribeTransitGatewayVpcAttachmentsRequest {
11045
- /**
11046
- * <p>The IDs of the attachments.</p>
11047
- * @public
11048
- */
11049
- TransitGatewayAttachmentIds?: string[] | undefined;
11050
- /**
11051
- * <p>One or more filters. The possible values are:</p>
11052
- * <ul>
11053
- * <li>
11054
- * <p>
11055
- * <code>state</code> - The state of the attachment. Valid values are <code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>failed</code> | <code>failing</code> | <code>initiatingRequest</code> | <code>modifying</code> | <code>pendingAcceptance</code> | <code>pending</code> | <code>rollingBack</code> | <code>rejected</code> | <code>rejecting</code>.</p>
11056
- * </li>
11057
- * <li>
11058
- * <p>
11059
- * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
11060
- * </li>
11061
- * <li>
11062
- * <p>
11063
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
11064
- * </li>
11065
- * <li>
11066
- * <p>
11067
- * <code>vpc-id</code> - The ID of the VPC.</p>
11068
- * </li>
11069
- * </ul>
11070
- * @public
11071
- */
11072
- Filters?: Filter[] | undefined;
11073
- /**
11074
- * <p>The maximum number of results to return with a single call.
11075
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11076
- * @public
11077
- */
11078
- MaxResults?: number | undefined;
11079
- /**
11080
- * <p>The token for the next page of results.</p>
11081
- * @public
11082
- */
11083
- NextToken?: string | undefined;
11084
- /**
11085
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11086
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11087
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11088
- * @public
11089
- */
11090
- DryRun?: boolean | undefined;
11091
- }
11092
- /**
11093
- * @public
11094
- */
11095
- export interface DescribeTransitGatewayVpcAttachmentsResult {
11096
- /**
11097
- * <p>Information about the VPC attachments.</p>
11098
- * @public
11099
- */
11100
- TransitGatewayVpcAttachments?: TransitGatewayVpcAttachment[] | undefined;
11101
- /**
11102
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11103
- * @public
11104
- */
11105
- NextToken?: string | undefined;
11106
- }