@aws-sdk/client-ec2 3.813.0 → 3.815.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 (64) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +361 -229
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
  5. package/dist-es/commands/ModifyPublicIpDnsNameOptionsCommand.js +22 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_2.js +0 -4
  8. package/dist-es/models/models_3.js +4 -3
  9. package/dist-es/models/models_4.js +11 -7
  10. package/dist-es/models/models_5.js +7 -0
  11. package/dist-es/models/models_7.js +5 -0
  12. package/dist-es/protocols/Aws_ec2.js +101 -6
  13. package/dist-types/EC2.d.ts +7 -0
  14. package/dist-types/EC2Client.d.ts +3 -2
  15. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +8 -0
  16. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +34 -19
  17. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +8 -0
  22. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
  23. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -2
  24. package/dist-types/commands/DisassociateAddressCommand.d.ts +12 -0
  25. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -1
  26. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -2
  27. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +4 -0
  28. package/dist-types/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +74 -0
  29. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  30. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  31. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
  32. package/dist-types/commands/RunInstancesCommand.d.ts +1 -0
  33. package/dist-types/commands/TerminateInstancesCommand.d.ts +4 -4
  34. package/dist-types/commands/index.d.ts +1 -0
  35. package/dist-types/models/models_2.d.ts +42 -13
  36. package/dist-types/models/models_3.d.ts +13 -12
  37. package/dist-types/models/models_4.d.ts +75 -193
  38. package/dist-types/models/models_5.d.ts +191 -105
  39. package/dist-types/models/models_6.d.ts +105 -97
  40. package/dist-types/models/models_7.d.ts +206 -109
  41. package/dist-types/models/models_8.d.ts +107 -1
  42. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  43. package/dist-types/ts3.4/EC2.d.ts +17 -0
  44. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  45. package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +4 -2
  51. package/dist-types/ts3.4/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_2.d.ts +9 -6
  57. package/dist-types/ts3.4/models/models_3.d.ts +6 -6
  58. package/dist-types/ts3.4/models/models_4.d.ts +19 -26
  59. package/dist-types/ts3.4/models/models_5.d.ts +25 -14
  60. package/dist-types/ts3.4/models/models_6.d.ts +14 -17
  61. package/dist-types/ts3.4/models/models_7.d.ts +36 -24
  62. package/dist-types/ts3.4/models/models_8.d.ts +23 -0
  63. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  64. package/package.json +1 -1
@@ -1,8 +1,194 @@
1
1
  import { ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcPeeringConnection } from "./models_0";
2
- import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, MacModificationTask, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
- import { DnsEntry, GroupIdentifier, IpAddressType, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint } from "./models_2";
4
- import { ConnectionNotification, DnsNameState, Filter, IdFormat, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, VpnConnection, VpnGateway } from "./models_3";
2
+ import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplate, MacModificationTask, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ import { DnsEntry, GroupIdentifier, IpAddressType, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint } from "./models_2";
4
+ import { ConnectionNotification, DnsNameState, Filter, IdFormat, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, VpnConnection } from "./models_3";
5
5
  import { AttributeBooleanValue, EventInformation, PermissionGroup, ProductCode } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeLaunchTemplatesResult {
10
+ /**
11
+ * <p>Information about the launch templates.</p>
12
+ * @public
13
+ */
14
+ LaunchTemplates?: LaunchTemplate[] | undefined;
15
+ /**
16
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
17
+ * when there are no more results to return.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string | undefined;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface DescribeLaunchTemplateVersionsRequest {
26
+ /**
27
+ * <p>Checks whether you have the required permissions for the action, without actually
28
+ * making the request, and provides an error response. If you have the required
29
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
30
+ * <code>UnauthorizedOperation</code>.</p>
31
+ * @public
32
+ */
33
+ DryRun?: boolean | undefined;
34
+ /**
35
+ * <p>The ID of the launch template.</p>
36
+ * <p>To describe one or more versions of a specified launch template, you must specify
37
+ * either the launch template ID or the launch template name, but not both.</p>
38
+ * <p>To describe all the latest or default launch template versions in your account, you
39
+ * must omit this parameter.</p>
40
+ * @public
41
+ */
42
+ LaunchTemplateId?: string | undefined;
43
+ /**
44
+ * <p>The name of the launch template.</p>
45
+ * <p>To describe one or more versions of a specified launch template, you must specify
46
+ * either the launch template name or the launch template ID, but not both.</p>
47
+ * <p>To describe all the latest or default launch template versions in your account, you
48
+ * must omit this parameter.</p>
49
+ * @public
50
+ */
51
+ LaunchTemplateName?: string | undefined;
52
+ /**
53
+ * <p>One or more versions of the launch template. Valid values depend on whether you are
54
+ * describing a specified launch template (by ID or name) or all launch templates in your
55
+ * account.</p>
56
+ * <p>To describe one or more versions of a specified launch template, valid values are
57
+ * <code>$Latest</code>, <code>$Default</code>, and numbers.</p>
58
+ * <p>To describe all launch templates in your account that are defined as the latest
59
+ * version, the valid value is <code>$Latest</code>. To describe all launch templates in
60
+ * your account that are defined as the default version, the valid value is
61
+ * <code>$Default</code>. You can specify <code>$Latest</code> and
62
+ * <code>$Default</code> in the same request. You cannot specify numbers.</p>
63
+ * @public
64
+ */
65
+ Versions?: string[] | undefined;
66
+ /**
67
+ * <p>The version number after which to describe launch template versions.</p>
68
+ * @public
69
+ */
70
+ MinVersion?: string | undefined;
71
+ /**
72
+ * <p>The version number up to which to describe launch template versions.</p>
73
+ * @public
74
+ */
75
+ MaxVersion?: string | undefined;
76
+ /**
77
+ * <p>The token to request the next page of results.</p>
78
+ * @public
79
+ */
80
+ NextToken?: string | undefined;
81
+ /**
82
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
83
+ * results, make another call with the returned <code>NextToken</code> value. This value
84
+ * can be between 1 and 200.</p>
85
+ * @public
86
+ */
87
+ MaxResults?: number | undefined;
88
+ /**
89
+ * <p>One or more filters.</p>
90
+ * <ul>
91
+ * <li>
92
+ * <p>
93
+ * <code>create-time</code> - The time the launch template version was
94
+ * created.</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>
98
+ * <code>ebs-optimized</code> - A boolean that indicates whether the instance is
99
+ * optimized for Amazon EBS I/O.</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>
103
+ * <code>http-endpoint</code> - Indicates whether the HTTP metadata endpoint on
104
+ * your instances is enabled (<code>enabled</code> | <code>disabled</code>).</p>
105
+ * </li>
106
+ * <li>
107
+ * <p>
108
+ * <code>http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint for the
109
+ * instance metadata service is enabled (<code>enabled</code> |
110
+ * <code>disabled</code>).</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>
114
+ * <code>host-resource-group-arn</code> - The ARN of the host resource group in
115
+ * which to launch the instances.</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>
119
+ * <code>http-tokens</code> - The state of token usage for your instance metadata
120
+ * requests (<code>optional</code> | <code>required</code>).</p>
121
+ * </li>
122
+ * <li>
123
+ * <p>
124
+ * <code>iam-instance-profile</code> - The ARN of the IAM instance
125
+ * profile.</p>
126
+ * </li>
127
+ * <li>
128
+ * <p>
129
+ * <code>image-id</code> - The ID of the AMI.</p>
130
+ * </li>
131
+ * <li>
132
+ * <p>
133
+ * <code>instance-type</code> - The instance type.</p>
134
+ * </li>
135
+ * <li>
136
+ * <p>
137
+ * <code>is-default-version</code> - A boolean that indicates whether the launch
138
+ * template version is the default version.</p>
139
+ * </li>
140
+ * <li>
141
+ * <p>
142
+ * <code>kernel-id</code> - The kernel ID.</p>
143
+ * </li>
144
+ * <li>
145
+ * <p>
146
+ * <code>license-configuration-arn</code> - The ARN of the license
147
+ * configuration.</p>
148
+ * </li>
149
+ * <li>
150
+ * <p>
151
+ * <code>network-card-index</code> - The index of the network card.</p>
152
+ * </li>
153
+ * <li>
154
+ * <p>
155
+ * <code>ram-disk-id</code> - The RAM disk ID.</p>
156
+ * </li>
157
+ * </ul>
158
+ * @public
159
+ */
160
+ Filters?: Filter[] | undefined;
161
+ /**
162
+ * <p>If <code>true</code>, and if a Systems Manager parameter is specified for
163
+ * <code>ImageId</code>, the AMI ID is displayed in the response for
164
+ * <code>imageId</code>.</p>
165
+ * <p>If <code>false</code>, and if a Systems Manager parameter is specified for
166
+ * <code>ImageId</code>, the parameter is displayed in the response for
167
+ * <code>imageId</code>.</p>
168
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the
169
+ * <i>Amazon EC2 User Guide</i>.</p>
170
+ * <p>Default: <code>false</code>
171
+ * </p>
172
+ * @public
173
+ */
174
+ ResolveAlias?: boolean | undefined;
175
+ }
176
+ /**
177
+ * @public
178
+ */
179
+ export interface DescribeLaunchTemplateVersionsResult {
180
+ /**
181
+ * <p>Information about the launch template versions.</p>
182
+ * @public
183
+ */
184
+ LaunchTemplateVersions?: LaunchTemplateVersion[] | undefined;
185
+ /**
186
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
187
+ * when there are no more results to return.</p>
188
+ * @public
189
+ */
190
+ NextToken?: string | undefined;
191
+ }
6
192
  /**
7
193
  * @public
8
194
  */
@@ -11330,109 +11516,9 @@ export interface DescribeVpnConnectionsResult {
11330
11516
  VpnConnections?: VpnConnection[] | undefined;
11331
11517
  }
11332
11518
  /**
11333
- * <p>Contains the parameters for DescribeVpnGateways.</p>
11334
- * @public
11335
- */
11336
- export interface DescribeVpnGatewaysRequest {
11337
- /**
11338
- * <p>One or more filters.</p>
11339
- * <ul>
11340
- * <li>
11341
- * <p>
11342
- * <code>amazon-side-asn</code> - The Autonomous System Number (ASN) for the
11343
- * Amazon side of the gateway.</p>
11344
- * </li>
11345
- * <li>
11346
- * <p>
11347
- * <code>attachment.state</code> - The current state of the attachment between
11348
- * the gateway and the VPC (<code>attaching</code> | <code>attached</code> |
11349
- * <code>detaching</code> | <code>detached</code>).</p>
11350
- * </li>
11351
- * <li>
11352
- * <p>
11353
- * <code>attachment.vpc-id</code> - The ID of an attached VPC.</p>
11354
- * </li>
11355
- * <li>
11356
- * <p>
11357
- * <code>availability-zone</code> - The Availability Zone for the virtual private
11358
- * gateway (if applicable).</p>
11359
- * </li>
11360
- * <li>
11361
- * <p>
11362
- * <code>state</code> - The state of the virtual private gateway
11363
- * (<code>pending</code> | <code>available</code> | <code>deleting</code> |
11364
- * <code>deleted</code>).</p>
11365
- * </li>
11366
- * <li>
11367
- * <p>
11368
- * <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.
11369
- * 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>
11370
- * </li>
11371
- * <li>
11372
- * <p>
11373
- * <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>
11374
- * </li>
11375
- * <li>
11376
- * <p>
11377
- * <code>type</code> - The type of virtual private gateway. Currently the only
11378
- * supported type is <code>ipsec.1</code>.</p>
11379
- * </li>
11380
- * <li>
11381
- * <p>
11382
- * <code>vpn-gateway-id</code> - The ID of the virtual private gateway.</p>
11383
- * </li>
11384
- * </ul>
11385
- * @public
11386
- */
11387
- Filters?: Filter[] | undefined;
11388
- /**
11389
- * <p>One or more virtual private gateway IDs.</p>
11390
- * <p>Default: Describes all your virtual private gateways.</p>
11391
- * @public
11392
- */
11393
- VpnGatewayIds?: string[] | undefined;
11394
- /**
11395
- * <p>Checks whether you have the required permissions for the action, without actually
11396
- * making the request, and provides an error response. If you have the required
11397
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
11398
- * <code>UnauthorizedOperation</code>.</p>
11399
- * @public
11400
- */
11401
- DryRun?: boolean | undefined;
11402
- }
11403
- /**
11404
- * <p>Contains the output of DescribeVpnGateways.</p>
11405
- * @public
11406
- */
11407
- export interface DescribeVpnGatewaysResult {
11408
- /**
11409
- * <p>Information about one or more virtual private gateways.</p>
11410
- * @public
11411
- */
11412
- VpnGateways?: VpnGateway[] | undefined;
11413
- }
11414
- /**
11415
- * @public
11519
+ * @internal
11416
11520
  */
11417
- export interface DetachClassicLinkVpcRequest {
11418
- /**
11419
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11420
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11421
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11422
- * @public
11423
- */
11424
- DryRun?: boolean | undefined;
11425
- /**
11426
- * <p>The ID of the instance to unlink from the VPC.</p>
11427
- * @public
11428
- */
11429
- InstanceId: string | undefined;
11430
- /**
11431
- * <p>The ID of the VPC to which the instance is linked.</p>
11432
- * @public
11433
- */
11434
- VpcId: string | undefined;
11435
- }
11521
+ export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (obj: DescribeLaunchTemplateVersionsResult) => any;
11436
11522
  /**
11437
11523
  * @internal
11438
11524
  */
@@ -1,9 +1,113 @@
1
1
  import { AccessScopeAnalysisFinding, AddressTransfer, AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, AsnAssociation, AssociationStatus, CurrencyCodeValues, DeviceTrustProviderType, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, RouteServerAssociation, SecurityGroupVpcAssociationState, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
2
2
  import { CapacityReservationState, DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, RequestIpamResourceTag, TargetCapacityUnitType } from "./models_1";
3
3
  import { NetworkInsightsAccessScopeContent, ResponseLaunchTemplateData, SSEType, SubnetCidrReservation } from "./models_2";
4
- import { Filter, IpamPoolCidr, MetricType, PeriodType, StatisticType } from "./models_3";
4
+ import { Filter, IpamPoolCidr, MetricType, PeriodType, StatisticType, VpnGateway } from "./models_3";
5
5
  import { ArchitectureType, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataTagsState, PaymentOption, VirtualizationType } from "./models_4";
6
6
  import { AnalysisStatus, ManagedBy } from "./models_5";
7
+ /**
8
+ * <p>Contains the parameters for DescribeVpnGateways.</p>
9
+ * @public
10
+ */
11
+ export interface DescribeVpnGatewaysRequest {
12
+ /**
13
+ * <p>One or more filters.</p>
14
+ * <ul>
15
+ * <li>
16
+ * <p>
17
+ * <code>amazon-side-asn</code> - The Autonomous System Number (ASN) for the
18
+ * Amazon side of the gateway.</p>
19
+ * </li>
20
+ * <li>
21
+ * <p>
22
+ * <code>attachment.state</code> - The current state of the attachment between
23
+ * the gateway and the VPC (<code>attaching</code> | <code>attached</code> |
24
+ * <code>detaching</code> | <code>detached</code>).</p>
25
+ * </li>
26
+ * <li>
27
+ * <p>
28
+ * <code>attachment.vpc-id</code> - The ID of an attached VPC.</p>
29
+ * </li>
30
+ * <li>
31
+ * <p>
32
+ * <code>availability-zone</code> - The Availability Zone for the virtual private
33
+ * gateway (if applicable).</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>
37
+ * <code>state</code> - The state of the virtual private gateway
38
+ * (<code>pending</code> | <code>available</code> | <code>deleting</code> |
39
+ * <code>deleted</code>).</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>
43
+ * <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.
44
+ * 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>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * <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>
49
+ * </li>
50
+ * <li>
51
+ * <p>
52
+ * <code>type</code> - The type of virtual private gateway. Currently the only
53
+ * supported type is <code>ipsec.1</code>.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * <code>vpn-gateway-id</code> - The ID of the virtual private gateway.</p>
58
+ * </li>
59
+ * </ul>
60
+ * @public
61
+ */
62
+ Filters?: Filter[] | undefined;
63
+ /**
64
+ * <p>One or more virtual private gateway IDs.</p>
65
+ * <p>Default: Describes all your virtual private gateways.</p>
66
+ * @public
67
+ */
68
+ VpnGatewayIds?: string[] | undefined;
69
+ /**
70
+ * <p>Checks whether you have the required permissions for the action, without actually
71
+ * making the request, and provides an error response. If you have the required
72
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
73
+ * <code>UnauthorizedOperation</code>.</p>
74
+ * @public
75
+ */
76
+ DryRun?: boolean | undefined;
77
+ }
78
+ /**
79
+ * <p>Contains the output of DescribeVpnGateways.</p>
80
+ * @public
81
+ */
82
+ export interface DescribeVpnGatewaysResult {
83
+ /**
84
+ * <p>Information about one or more virtual private gateways.</p>
85
+ * @public
86
+ */
87
+ VpnGateways?: VpnGateway[] | undefined;
88
+ }
89
+ /**
90
+ * @public
91
+ */
92
+ export interface DetachClassicLinkVpcRequest {
93
+ /**
94
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
95
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
96
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
97
+ * @public
98
+ */
99
+ DryRun?: boolean | undefined;
100
+ /**
101
+ * <p>The ID of the instance to unlink from the VPC.</p>
102
+ * @public
103
+ */
104
+ InstanceId: string | undefined;
105
+ /**
106
+ * <p>The ID of the VPC to which the instance is linked.</p>
107
+ * @public
108
+ */
109
+ VpcId: string | undefined;
110
+ }
7
111
  /**
8
112
  * @public
9
113
  */
@@ -6665,102 +6769,6 @@ export interface TransitGatewayPolicyRule {
6665
6769
  */
6666
6770
  MetaData?: TransitGatewayPolicyRuleMetaData | undefined;
6667
6771
  }
6668
- /**
6669
- * <p>Describes a transit gateway policy table entry</p>
6670
- * @public
6671
- */
6672
- export interface TransitGatewayPolicyTableEntry {
6673
- /**
6674
- * <p>The rule number for the transit gateway policy table entry.</p>
6675
- * @public
6676
- */
6677
- PolicyRuleNumber?: string | undefined;
6678
- /**
6679
- * <p>The policy rule associated with the transit gateway policy table.</p>
6680
- * @public
6681
- */
6682
- PolicyRule?: TransitGatewayPolicyRule | undefined;
6683
- /**
6684
- * <p>The ID of the target route table.</p>
6685
- * @public
6686
- */
6687
- TargetRouteTableId?: string | undefined;
6688
- }
6689
- /**
6690
- * @public
6691
- */
6692
- export interface GetTransitGatewayPolicyTableEntriesResult {
6693
- /**
6694
- * <p>The entries for the transit gateway policy table.</p>
6695
- * @public
6696
- */
6697
- TransitGatewayPolicyTableEntries?: TransitGatewayPolicyTableEntry[] | undefined;
6698
- }
6699
- /**
6700
- * @public
6701
- */
6702
- export interface GetTransitGatewayPrefixListReferencesRequest {
6703
- /**
6704
- * <p>The ID of the transit gateway route table.</p>
6705
- * @public
6706
- */
6707
- TransitGatewayRouteTableId: string | undefined;
6708
- /**
6709
- * <p>One or more filters. The possible values are:</p>
6710
- * <ul>
6711
- * <li>
6712
- * <p>
6713
- * <code>attachment.resource-id</code> - The ID of the resource for the attachment.</p>
6714
- * </li>
6715
- * <li>
6716
- * <p>
6717
- * <code>attachment.resource-type</code> - The type of resource for the
6718
- * attachment. Valid values are <code>vpc</code> | <code>vpn</code> |
6719
- * <code>direct-connect-gateway</code> | <code>peering</code>.</p>
6720
- * </li>
6721
- * <li>
6722
- * <p>
6723
- * <code>attachment.transit-gateway-attachment-id</code> - The ID of the attachment.</p>
6724
- * </li>
6725
- * <li>
6726
- * <p>
6727
- * <code>is-blackhole</code> - Whether traffic matching the route is blocked (<code>true</code> | <code>false</code>).</p>
6728
- * </li>
6729
- * <li>
6730
- * <p>
6731
- * <code>prefix-list-id</code> - The ID of the prefix list.</p>
6732
- * </li>
6733
- * <li>
6734
- * <p>
6735
- * <code>prefix-list-owner-id</code> - The ID of the owner of the prefix list.</p>
6736
- * </li>
6737
- * <li>
6738
- * <p>
6739
- * <code>state</code> - The state of the prefix list reference (<code>pending</code> | <code>available</code> | <code>modifying</code> | <code>deleting</code>).</p>
6740
- * </li>
6741
- * </ul>
6742
- * @public
6743
- */
6744
- Filters?: Filter[] | undefined;
6745
- /**
6746
- * <p>The maximum number of results to return with a single call.
6747
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
6748
- * @public
6749
- */
6750
- MaxResults?: number | undefined;
6751
- /**
6752
- * <p>The token for the next page of results.</p>
6753
- * @public
6754
- */
6755
- NextToken?: string | undefined;
6756
- /**
6757
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6758
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6759
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6760
- * @public
6761
- */
6762
- DryRun?: boolean | undefined;
6763
- }
6764
6772
  /**
6765
6773
  * @internal
6766
6774
  */