@aws-sdk/client-ec2 3.202.0 → 3.205.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 (113) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/EC2.js +15 -0
  3. package/dist-cjs/commands/CancelImageLaunchPermissionCommand.js +46 -0
  4. package/dist-cjs/commands/CreateDefaultSubnetCommand.js +2 -1
  5. package/dist-cjs/commands/CreateSubnetCidrReservationCommand.js +2 -1
  6. package/dist-cjs/commands/CreateTagsCommand.js +2 -2
  7. package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  8. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +3 -3
  9. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeLaunchTemplateVersionsCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeLaunchTemplatesCommand.js +3 -3
  12. package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
  13. package/dist-cjs/commands/DisassociateTrunkInterfaceCommand.js +3 -3
  14. package/dist-cjs/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  15. package/dist-cjs/commands/ModifyVpcPeeringConnectionOptionsCommand.js +3 -3
  16. package/dist-cjs/commands/index.js +1 -0
  17. package/dist-cjs/models/models_0.js +10 -10
  18. package/dist-cjs/models/models_1.js +21 -21
  19. package/dist-cjs/models/models_2.js +22 -22
  20. package/dist-cjs/models/models_3.js +21 -21
  21. package/dist-cjs/models/models_4.js +22 -22
  22. package/dist-cjs/models/models_5.js +22 -22
  23. package/dist-cjs/models/models_6.js +20 -4
  24. package/dist-cjs/protocols/Aws_ec2.js +179 -22
  25. package/dist-cjs/runtimeConfig.browser.js +0 -3
  26. package/dist-cjs/runtimeConfig.js +0 -3
  27. package/dist-cjs/runtimeConfig.shared.js +3 -0
  28. package/dist-es/EC2.js +15 -0
  29. package/dist-es/commands/CancelImageLaunchPermissionCommand.js +42 -0
  30. package/dist-es/commands/CreateDefaultSubnetCommand.js +2 -1
  31. package/dist-es/commands/CreateSubnetCidrReservationCommand.js +2 -1
  32. package/dist-es/commands/CreateTagsCommand.js +1 -1
  33. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  34. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -1
  35. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  36. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
  37. package/dist-es/commands/DescribeLaunchTemplatesCommand.js +1 -1
  38. package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
  39. package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +1 -1
  40. package/dist-es/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  41. package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -1
  42. package/dist-es/commands/index.js +1 -0
  43. package/dist-es/models/models_0.js +6 -6
  44. package/dist-es/models/models_1.js +12 -12
  45. package/dist-es/models/models_2.js +12 -12
  46. package/dist-es/models/models_3.js +12 -12
  47. package/dist-es/models/models_4.js +12 -12
  48. package/dist-es/models/models_5.js +12 -13
  49. package/dist-es/models/models_6.js +13 -0
  50. package/dist-es/protocols/Aws_ec2.js +155 -0
  51. package/dist-es/runtimeConfig.browser.js +0 -3
  52. package/dist-es/runtimeConfig.js +0 -3
  53. package/dist-es/runtimeConfig.shared.js +3 -0
  54. package/dist-types/EC2.d.ts +17 -7
  55. package/dist-types/EC2Client.d.ts +3 -2
  56. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +39 -0
  57. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  58. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +3 -3
  59. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -1
  60. package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -2
  62. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  63. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -2
  64. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -1
  68. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -1
  69. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  70. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -2
  71. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  72. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  73. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -0
  74. package/dist-types/commands/index.d.ts +1 -0
  75. package/dist-types/models/models_0.d.ts +26 -112
  76. package/dist-types/models/models_1.d.ts +247 -101
  77. package/dist-types/models/models_2.d.ts +96 -79
  78. package/dist-types/models/models_3.d.ts +80 -217
  79. package/dist-types/models/models_4.d.ts +230 -72
  80. package/dist-types/models/models_5.d.ts +61 -71
  81. package/dist-types/models/models_6.d.ts +70 -2
  82. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  83. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  84. package/dist-types/runtimeConfig.d.ts +2 -2
  85. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  86. package/dist-types/ts3.4/EC2.d.ts +17 -0
  87. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  88. package/dist-types/ts3.4/commands/CancelImageLaunchPermissionCommand.d.ts +41 -0
  89. package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  90. package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +2 -4
  91. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +4 -2
  95. package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -4
  98. package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +4 -2
  100. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +13 -30
  103. package/dist-types/ts3.4/models/models_1.d.ts +51 -36
  104. package/dist-types/ts3.4/models/models_2.d.ts +36 -33
  105. package/dist-types/ts3.4/models/models_3.d.ts +32 -41
  106. package/dist-types/ts3.4/models/models_4.d.ts +42 -29
  107. package/dist-types/ts3.4/models/models_5.d.ts +29 -28
  108. package/dist-types/ts3.4/models/models_6.d.ts +28 -1
  109. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  110. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  111. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  113. package/package.json +5 -4
@@ -1,7 +1,207 @@
1
- import { _InstanceType, ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AssociationStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VpcPeeringConnection } from "./models_0";
2
- import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
1
+ import { _InstanceType, ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AssociationStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VpcPeeringConnection } from "./models_0";
2
+ import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { AttributeBooleanValue, EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IdFormat, PermissionGroup, ProductCode } from "./models_3";
5
+ export interface DescribeLaunchTemplatesRequest {
6
+ /**
7
+ * <p>Checks whether you have the required permissions for the action, without actually
8
+ * making the request, and provides an error response. If you have the required
9
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10
+ * <code>UnauthorizedOperation</code>.</p>
11
+ */
12
+ DryRun?: boolean;
13
+ /**
14
+ * <p>One or more launch template IDs.</p>
15
+ */
16
+ LaunchTemplateIds?: string[];
17
+ /**
18
+ * <p>One or more launch template names.</p>
19
+ */
20
+ LaunchTemplateNames?: string[];
21
+ /**
22
+ * <p>One or more filters.</p>
23
+ * <ul>
24
+ * <li>
25
+ * <p>
26
+ * <code>create-time</code> - The time the launch template was created.</p>
27
+ * </li>
28
+ * <li>
29
+ * <p>
30
+ * <code>launch-template-name</code> - The name of the launch template.</p>
31
+ * </li>
32
+ * <li>
33
+ * <p>
34
+ * <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.
35
+ * 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>
36
+ * </li>
37
+ * <li>
38
+ * <p>
39
+ * <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>
40
+ * </li>
41
+ * </ul>
42
+ */
43
+ Filters?: Filter[];
44
+ /**
45
+ * <p>The token to request the next page of results.</p>
46
+ */
47
+ NextToken?: string;
48
+ /**
49
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
50
+ * results, make another call with the returned <code>NextToken</code> value. This value
51
+ * can be between 1 and 200.</p>
52
+ */
53
+ MaxResults?: number;
54
+ }
55
+ export interface DescribeLaunchTemplatesResult {
56
+ /**
57
+ * <p>Information about the launch templates.</p>
58
+ */
59
+ LaunchTemplates?: LaunchTemplate[];
60
+ /**
61
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
62
+ * when there are no more results to return.</p>
63
+ */
64
+ NextToken?: string;
65
+ }
66
+ export interface DescribeLaunchTemplateVersionsRequest {
67
+ /**
68
+ * <p>Checks whether you have the required permissions for the action, without actually
69
+ * making the request, and provides an error response. If you have the required
70
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
71
+ * <code>UnauthorizedOperation</code>.</p>
72
+ */
73
+ DryRun?: boolean;
74
+ /**
75
+ * <p>The ID of the launch template.</p>
76
+ * <p>To describe one or more versions of a specified launch
77
+ * template, you must specify either the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not both.</p>
78
+ * <p>To describe all the latest or default launch template versions in your
79
+ * account, you must omit this parameter.</p>
80
+ */
81
+ LaunchTemplateId?: string;
82
+ /**
83
+ * <p>The name of the launch template.</p>
84
+ * <p>To describe one or more versions of a specified
85
+ * launch template, you must specify either the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not both.</p>
86
+ * <p>To describe all the latest or default launch template versions in
87
+ * your account, you must omit this parameter.</p>
88
+ */
89
+ LaunchTemplateName?: string;
90
+ /**
91
+ * <p>One or more versions of the launch template. Valid values depend on whether you are
92
+ * describing a specified launch template (by ID or name) or all launch templates in your
93
+ * account.</p>
94
+ * <p>To describe one or more versions of a specified launch template, valid values are
95
+ * <code>$Latest</code>, <code>$Default</code>, and numbers.</p>
96
+ * <p>To describe all launch templates in your account that are defined as the latest
97
+ * version, the valid value is <code>$Latest</code>. To describe all launch templates in
98
+ * your account that are defined as the default version, the valid value is
99
+ * <code>$Default</code>. You can specify <code>$Latest</code> and
100
+ * <code>$Default</code> in the same request. You cannot specify numbers.</p>
101
+ */
102
+ Versions?: string[];
103
+ /**
104
+ * <p>The version number after which to describe launch template versions.</p>
105
+ */
106
+ MinVersion?: string;
107
+ /**
108
+ * <p>The version number up to which to describe launch template versions.</p>
109
+ */
110
+ MaxVersion?: string;
111
+ /**
112
+ * <p>The token to request the next page of results.</p>
113
+ */
114
+ NextToken?: string;
115
+ /**
116
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
117
+ * results, make another call with the returned <code>NextToken</code> value. This value
118
+ * can be between 1 and 200.</p>
119
+ */
120
+ MaxResults?: number;
121
+ /**
122
+ * <p>One or more filters.</p>
123
+ * <ul>
124
+ * <li>
125
+ * <p>
126
+ * <code>create-time</code> - The time the launch template version was
127
+ * created.</p>
128
+ * </li>
129
+ * <li>
130
+ * <p>
131
+ * <code>ebs-optimized</code> - A boolean that indicates whether the instance is
132
+ * optimized for Amazon EBS I/O.</p>
133
+ * </li>
134
+ * <li>
135
+ * <p>
136
+ * <code>http-endpoint</code> - Indicates whether the HTTP metadata endpoint on
137
+ * your instances is enabled (<code>enabled</code> | <code>disabled</code>).</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>
141
+ * <code>http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint for the
142
+ * instance metadata service is enabled (<code>enabled</code> |
143
+ * <code>disabled</code>).</p>
144
+ * </li>
145
+ * <li>
146
+ * <p>
147
+ * <code>host-resource-group-arn</code> - The ARN of the host resource group in
148
+ * which to launch the instances.</p>
149
+ * </li>
150
+ * <li>
151
+ * <p>
152
+ * <code>http-tokens</code> - The state of token usage for your instance metadata
153
+ * requests (<code>optional</code> | <code>required</code>).</p>
154
+ * </li>
155
+ * <li>
156
+ * <p>
157
+ * <code>iam-instance-profile</code> - The ARN of the IAM instance
158
+ * profile.</p>
159
+ * </li>
160
+ * <li>
161
+ * <p>
162
+ * <code>image-id</code> - The ID of the AMI.</p>
163
+ * </li>
164
+ * <li>
165
+ * <p>
166
+ * <code>instance-type</code> - The instance type.</p>
167
+ * </li>
168
+ * <li>
169
+ * <p>
170
+ * <code>is-default-version</code> - A boolean that indicates whether the launch
171
+ * template version is the default version.</p>
172
+ * </li>
173
+ * <li>
174
+ * <p>
175
+ * <code>kernel-id</code> - The kernel ID.</p>
176
+ * </li>
177
+ * <li>
178
+ * <p>
179
+ * <code>license-configuration-arn</code> - The ARN of the license
180
+ * configuration.</p>
181
+ * </li>
182
+ * <li>
183
+ * <p>
184
+ * <code>network-card-index</code> - The index of the network card.</p>
185
+ * </li>
186
+ * <li>
187
+ * <p>
188
+ * <code>ram-disk-id</code> - The RAM disk ID.</p>
189
+ * </li>
190
+ * </ul>
191
+ */
192
+ Filters?: Filter[];
193
+ }
194
+ export interface DescribeLaunchTemplateVersionsResult {
195
+ /**
196
+ * <p>Information about the launch template versions.</p>
197
+ */
198
+ LaunchTemplateVersions?: LaunchTemplateVersion[];
199
+ /**
200
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
201
+ * when there are no more results to return.</p>
202
+ */
203
+ NextToken?: string;
204
+ }
5
205
  export interface DescribeLocalGatewayRouteTablesRequest {
6
206
  /**
7
207
  * <p>The IDs of the local gateway route tables.</p>
@@ -3516,7 +3716,7 @@ export interface DescribeSpotDatafeedSubscriptionRequest {
3516
3716
  * <p>Checks whether you have the required permissions for the action, without actually
3517
3717
  * making the request, and provides an error response. If you have the required
3518
3718
  * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
3519
- * <code>UnauthorizedOperation</code>.</p>
3719
+ * <code>UnauthorizedOperation</code>.</p>
3520
3720
  */
3521
3721
  DryRun?: boolean;
3522
3722
  }
@@ -4161,7 +4361,7 @@ export interface SpotFleetRequestConfigData {
4161
4361
  /**
4162
4362
  * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
4163
4363
  * pools specified by the Spot Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html">Allocation
4164
- * strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
4364
+ * strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
4165
4365
  * <p>
4166
4366
  * <code>lowestPrice</code> - Spot Fleet launches instances from the lowest-price Spot Instance pool
4167
4367
  * that has available capacity. If the cheapest pool doesn't have available capacity, the
@@ -4226,7 +4426,7 @@ export interface SpotFleetRequestConfigData {
4226
4426
  * <p>The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that
4227
4427
  * grants the Spot Fleet the permission to request, launch, terminate, and tag instances on
4228
4428
  * your behalf. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites">Spot
4229
- * Fleet prerequisites</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>. Spot Fleet
4429
+ * Fleet prerequisites</a> in the <i>Amazon EC2 User Guide</i>. Spot Fleet
4230
4430
  * can terminate Spot Instances on your behalf when you cancel its Spot Fleet request using
4231
4431
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests">CancelSpotFleetRequests</a> or when the Spot Fleet request expires, if you set
4232
4432
  * <code>TerminateInstancesWithExpiration</code>.</p>
@@ -4881,16 +5081,16 @@ export interface DescribeSpotPriceHistoryRequest {
4881
5081
  * <li>
4882
5082
  * <p>
4883
5083
  * <code>instance-type</code> - The type of instance (for example,
4884
- * <code>m3.medium</code>).</p>
5084
+ * <code>m3.medium</code>).</p>
4885
5085
  * </li>
4886
5086
  * <li>
4887
5087
  * <p>
4888
5088
  * <code>product-description</code> - The product description for the Spot price
4889
- * (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
4890
- * <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
5089
+ * (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
5090
+ * <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
4891
5091
  * VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |
4892
- * <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
4893
- * VPC)</code>).</p>
5092
+ * <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
5093
+ * VPC)</code>).</p>
4894
5094
  * </li>
4895
5095
  * <li>
4896
5096
  * <p>
@@ -4901,7 +5101,7 @@ export interface DescribeSpotPriceHistoryRequest {
4901
5101
  * <p>
4902
5102
  * <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
4903
5103
  * (for example,
4904
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
5104
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
4905
5105
  * You can use wildcards (* and ?). Greater than or less than comparison is not
4906
5106
  * supported.</p>
4907
5107
  * </li>
@@ -4916,13 +5116,13 @@ export interface DescribeSpotPriceHistoryRequest {
4916
5116
  * <p>Checks whether you have the required permissions for the action, without actually
4917
5117
  * making the request, and provides an error response. If you have the required
4918
5118
  * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
4919
- * <code>UnauthorizedOperation</code>.</p>
5119
+ * <code>UnauthorizedOperation</code>.</p>
4920
5120
  */
4921
5121
  DryRun?: boolean;
4922
5122
  /**
4923
5123
  * <p>The date and time, up to the current date, from which to stop retrieving the price
4924
5124
  * history data, in UTC format (for example,
4925
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
5125
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
4926
5126
  */
4927
5127
  EndTime?: Date;
4928
5128
  /**
@@ -4946,7 +5146,7 @@ export interface DescribeSpotPriceHistoryRequest {
4946
5146
  /**
4947
5147
  * <p>The date and time, up to the past 90 days, from which to start retrieving the price
4948
5148
  * history data, in UTC format (for example,
4949
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
5149
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
4950
5150
  */
4951
5151
  StartTime?: Date;
4952
5152
  }
@@ -8563,48 +8763,22 @@ export interface DisassociateTransitGatewayRouteTableRequest {
8563
8763
  */
8564
8764
  DryRun?: boolean;
8565
8765
  }
8566
- export interface DisassociateTransitGatewayRouteTableResult {
8567
- /**
8568
- * <p>Information about the association.</p>
8569
- */
8570
- Association?: TransitGatewayAssociation;
8571
- }
8572
- export interface DisassociateTrunkInterfaceRequest {
8573
- /**
8574
- * <p>The ID of the association</p>
8575
- */
8576
- AssociationId: string | undefined;
8577
- /**
8578
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
8579
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to Ensure
8580
- * Idempotency</a>.</p>
8581
- */
8582
- ClientToken?: string;
8583
- /**
8584
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8585
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8586
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8587
- */
8588
- DryRun?: boolean;
8589
- }
8590
- export interface DisassociateTrunkInterfaceResult {
8591
- /**
8592
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8593
- */
8594
- Return?: boolean;
8595
- /**
8596
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
8597
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to Ensure
8598
- * Idempotency</a>.</p>
8599
- */
8600
- ClientToken?: string;
8601
- }
8602
- export interface DisassociateVpcCidrBlockRequest {
8603
- /**
8604
- * <p>The association ID for the CIDR block.</p>
8605
- */
8606
- AssociationId: string | undefined;
8607
- }
8766
+ /**
8767
+ * @internal
8768
+ */
8769
+ export declare const DescribeLaunchTemplatesRequestFilterSensitiveLog: (obj: DescribeLaunchTemplatesRequest) => any;
8770
+ /**
8771
+ * @internal
8772
+ */
8773
+ export declare const DescribeLaunchTemplatesResultFilterSensitiveLog: (obj: DescribeLaunchTemplatesResult) => any;
8774
+ /**
8775
+ * @internal
8776
+ */
8777
+ export declare const DescribeLaunchTemplateVersionsRequestFilterSensitiveLog: (obj: DescribeLaunchTemplateVersionsRequest) => any;
8778
+ /**
8779
+ * @internal
8780
+ */
8781
+ export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (obj: DescribeLaunchTemplateVersionsResult) => any;
8608
8782
  /**
8609
8783
  * @internal
8610
8784
  */
@@ -9697,19 +9871,3 @@ export declare const DisassociateTransitGatewayPolicyTableResultFilterSensitiveL
9697
9871
  * @internal
9698
9872
  */
9699
9873
  export declare const DisassociateTransitGatewayRouteTableRequestFilterSensitiveLog: (obj: DisassociateTransitGatewayRouteTableRequest) => any;
9700
- /**
9701
- * @internal
9702
- */
9703
- export declare const DisassociateTransitGatewayRouteTableResultFilterSensitiveLog: (obj: DisassociateTransitGatewayRouteTableResult) => any;
9704
- /**
9705
- * @internal
9706
- */
9707
- export declare const DisassociateTrunkInterfaceRequestFilterSensitiveLog: (obj: DisassociateTrunkInterfaceRequest) => any;
9708
- /**
9709
- * @internal
9710
- */
9711
- export declare const DisassociateTrunkInterfaceResultFilterSensitiveLog: (obj: DisassociateTrunkInterfaceResult) => any;
9712
- /**
9713
- * @internal
9714
- */
9715
- export declare const DisassociateVpcCidrBlockRequestFilterSensitiveLog: (obj: DisassociateVpcCidrBlockRequest) => any;
@@ -1,8 +1,50 @@
1
- import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressTransfer, Affinity, ApplianceModeSupportValue, AutoPlacement, CapacityReservationState, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, HostnameType, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
2
- import { AttributeValue, CapacityReservationPreference, CapacityReservationTarget, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, SubnetCidrReservation, TargetCapacitySpecificationRequest, TargetCapacityUnitType, VolumeType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, IpamPoolCidr, PayerResponsibility, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnEcmpSupportValue } from "./models_2";
1
+ import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressTransfer, Affinity, ApplianceModeSupportValue, AutoPlacement, CapacityReservationState, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, HostnameType, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
2
+ import { AttributeValue, CapacityReservationPreference, CapacityReservationTarget, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType, VolumeType } from "./models_1";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, IpamPoolCidr, PayerResponsibility, SubnetCidrReservation, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnEcmpSupportValue } from "./models_2";
4
4
  import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
5
5
  import { AnalysisStatus, CreateVolumePermission, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, ReservedInstancesConfiguration, SnapshotAttributeName, TransitGatewayPropagation, TransitGatewayPropagationState, VolumeModification } from "./models_4";
6
+ export interface DisassociateTransitGatewayRouteTableResult {
7
+ /**
8
+ * <p>Information about the association.</p>
9
+ */
10
+ Association?: TransitGatewayAssociation;
11
+ }
12
+ export interface DisassociateTrunkInterfaceRequest {
13
+ /**
14
+ * <p>The ID of the association</p>
15
+ */
16
+ AssociationId: string | undefined;
17
+ /**
18
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
19
+ * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to Ensure
20
+ * Idempotency</a>.</p>
21
+ */
22
+ ClientToken?: string;
23
+ /**
24
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
25
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
26
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
27
+ */
28
+ DryRun?: boolean;
29
+ }
30
+ export interface DisassociateTrunkInterfaceResult {
31
+ /**
32
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
33
+ */
34
+ Return?: boolean;
35
+ /**
36
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
37
+ * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to Ensure
38
+ * Idempotency</a>.</p>
39
+ */
40
+ ClientToken?: string;
41
+ }
42
+ export interface DisassociateVpcCidrBlockRequest {
43
+ /**
44
+ * <p>The association ID for the CIDR block.</p>
45
+ */
46
+ AssociationId: string | undefined;
47
+ }
6
48
  export interface DisassociateVpcCidrBlockResult {
7
49
  /**
8
50
  * <p>Information about the IPv6 CIDR block association.</p>
@@ -294,7 +336,7 @@ export interface EnableImageDeprecationRequest {
294
336
  * If you specify a value for seconds, Amazon EC2 rounds the seconds to the
295
337
  * nearest minute.</p>
296
338
  * <p>You can’t specify a date in the past. The upper limit for <code>DeprecateAt</code> is 10
297
- * years from now.</p>
339
+ * years from now, except for public AMIs, where the upper limit is 2 years from the creation date.</p>
298
340
  */
299
341
  DeprecateAt: Date | undefined;
300
342
  /**
@@ -4325,7 +4367,7 @@ export interface ModifyInstanceEventStartTimeRequest {
4325
4367
  }
4326
4368
  export interface ModifyInstanceEventStartTimeResult {
4327
4369
  /**
4328
- * <p>Describes a scheduled event for an instance.</p>
4370
+ * <p>Information about the event.</p>
4329
4371
  */
4330
4372
  Event?: InstanceStatusEvent;
4331
4373
  }
@@ -5860,62 +5902,22 @@ export interface PeeringConnectionOptionsRequest {
5860
5902
  */
5861
5903
  AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
5862
5904
  }
5863
- export interface ModifyVpcPeeringConnectionOptionsRequest {
5864
- /**
5865
- * <p>The VPC peering connection options for the accepter VPC.</p>
5866
- */
5867
- AccepterPeeringConnectionOptions?: PeeringConnectionOptionsRequest;
5868
- /**
5869
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5870
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5871
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5872
- */
5873
- DryRun?: boolean;
5874
- /**
5875
- * <p>The VPC peering connection options for the requester VPC.</p>
5876
- */
5877
- RequesterPeeringConnectionOptions?: PeeringConnectionOptionsRequest;
5878
- /**
5879
- * <p>The ID of the VPC peering connection.</p>
5880
- */
5881
- VpcPeeringConnectionId: string | undefined;
5882
- }
5883
5905
  /**
5884
- * <note>
5885
- * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
5886
- * </note>
5887
- * <p>Describes the VPC peering connection options.</p>
5906
+ * @internal
5888
5907
  */
5889
- export interface PeeringConnectionOptions {
5890
- /**
5891
- * <p>If true, the public DNS hostnames of instances in the specified VPC resolve to private
5892
- * IP addresses when queried from instances in the peer VPC.</p>
5893
- */
5894
- AllowDnsResolutionFromRemoteVpc?: boolean;
5895
- /**
5896
- * <p>If true, enables outbound communication from an EC2-Classic instance that's linked to
5897
- * a local VPC using ClassicLink to instances in a peer VPC.</p>
5898
- */
5899
- AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
5900
- /**
5901
- * <p>If true, enables outbound communication from instances in a local VPC to an
5902
- * EC2-Classic instance that's linked to a peer VPC using ClassicLink.</p>
5903
- */
5904
- AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
5905
- }
5906
- export interface ModifyVpcPeeringConnectionOptionsResult {
5907
- /**
5908
- * <p>Information about the VPC peering connection options for the accepter VPC.</p>
5909
- */
5910
- AccepterPeeringConnectionOptions?: PeeringConnectionOptions;
5911
- /**
5912
- * <p>Information about the VPC peering connection options for the requester VPC.</p>
5913
- */
5914
- RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
5915
- }
5916
- export declare enum VpcTenancy {
5917
- default = "default"
5918
- }
5908
+ export declare const DisassociateTransitGatewayRouteTableResultFilterSensitiveLog: (obj: DisassociateTransitGatewayRouteTableResult) => any;
5909
+ /**
5910
+ * @internal
5911
+ */
5912
+ export declare const DisassociateTrunkInterfaceRequestFilterSensitiveLog: (obj: DisassociateTrunkInterfaceRequest) => any;
5913
+ /**
5914
+ * @internal
5915
+ */
5916
+ export declare const DisassociateTrunkInterfaceResultFilterSensitiveLog: (obj: DisassociateTrunkInterfaceResult) => any;
5917
+ /**
5918
+ * @internal
5919
+ */
5920
+ export declare const DisassociateVpcCidrBlockRequestFilterSensitiveLog: (obj: DisassociateVpcCidrBlockRequest) => any;
5919
5921
  /**
5920
5922
  * @internal
5921
5923
  */
@@ -7040,15 +7042,3 @@ export declare const ModifyVpcEndpointServicePermissionsResultFilterSensitiveLog
7040
7042
  * @internal
7041
7043
  */
7042
7044
  export declare const PeeringConnectionOptionsRequestFilterSensitiveLog: (obj: PeeringConnectionOptionsRequest) => any;
7043
- /**
7044
- * @internal
7045
- */
7046
- export declare const ModifyVpcPeeringConnectionOptionsRequestFilterSensitiveLog: (obj: ModifyVpcPeeringConnectionOptionsRequest) => any;
7047
- /**
7048
- * @internal
7049
- */
7050
- export declare const PeeringConnectionOptionsFilterSensitiveLog: (obj: PeeringConnectionOptions) => any;
7051
- /**
7052
- * @internal
7053
- */
7054
- export declare const ModifyVpcPeeringConnectionOptionsResultFilterSensitiveLog: (obj: ModifyVpcPeeringConnectionOptionsResult) => any;
@@ -3,7 +3,63 @@ import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification
3
3
  import { IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TransitGatewayRoute, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, Filter, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, TpmSupportValues } from "./models_3";
5
5
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
- import { CapacityReservationSpecification, Purchase, VpcTenancy } from "./models_5";
6
+ import { CapacityReservationSpecification, PeeringConnectionOptionsRequest, Purchase } from "./models_5";
7
+ export interface ModifyVpcPeeringConnectionOptionsRequest {
8
+ /**
9
+ * <p>The VPC peering connection options for the accepter VPC.</p>
10
+ */
11
+ AccepterPeeringConnectionOptions?: PeeringConnectionOptionsRequest;
12
+ /**
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
+ * <p>The VPC peering connection options for the requester VPC.</p>
20
+ */
21
+ RequesterPeeringConnectionOptions?: PeeringConnectionOptionsRequest;
22
+ /**
23
+ * <p>The ID of the VPC peering connection.</p>
24
+ */
25
+ VpcPeeringConnectionId: string | undefined;
26
+ }
27
+ /**
28
+ * <note>
29
+ * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
30
+ * </note>
31
+ * <p>Describes the VPC peering connection options.</p>
32
+ */
33
+ export interface PeeringConnectionOptions {
34
+ /**
35
+ * <p>If true, the public DNS hostnames of instances in the specified VPC resolve to private
36
+ * IP addresses when queried from instances in the peer VPC.</p>
37
+ */
38
+ AllowDnsResolutionFromRemoteVpc?: boolean;
39
+ /**
40
+ * <p>If true, enables outbound communication from an EC2-Classic instance that's linked to
41
+ * a local VPC using ClassicLink to instances in a peer VPC.</p>
42
+ */
43
+ AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
44
+ /**
45
+ * <p>If true, enables outbound communication from instances in a local VPC to an
46
+ * EC2-Classic instance that's linked to a peer VPC using ClassicLink.</p>
47
+ */
48
+ AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
49
+ }
50
+ export interface ModifyVpcPeeringConnectionOptionsResult {
51
+ /**
52
+ * <p>Information about the VPC peering connection options for the accepter VPC.</p>
53
+ */
54
+ AccepterPeeringConnectionOptions?: PeeringConnectionOptions;
55
+ /**
56
+ * <p>Information about the VPC peering connection options for the requester VPC.</p>
57
+ */
58
+ RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
59
+ }
60
+ export declare enum VpcTenancy {
61
+ default = "default"
62
+ }
7
63
  export interface ModifyVpcTenancyRequest {
8
64
  /**
9
65
  * <p>The ID of the VPC.</p>
@@ -1627,7 +1683,7 @@ export interface RequestSpotInstancesRequest {
1627
1683
  ValidUntil?: Date;
1628
1684
  /**
1629
1685
  * <p>The key-value pair for tagging the Spot Instance request on creation. The value for
1630
- * <code>ResourceType</code> must be <code>spot-instances-request</code>, otherwise the
1686
+ * <code>ResourceType</code> must be <code>spot-instances-request</code>, otherwise the
1631
1687
  * Spot Instance request fails. To tag the Spot Instance request after it has been created,
1632
1688
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>. </p>
1633
1689
  */
@@ -3600,6 +3656,18 @@ export interface WithdrawByoipCidrResult {
3600
3656
  */
3601
3657
  ByoipCidr?: ByoipCidr;
3602
3658
  }
3659
+ /**
3660
+ * @internal
3661
+ */
3662
+ export declare const ModifyVpcPeeringConnectionOptionsRequestFilterSensitiveLog: (obj: ModifyVpcPeeringConnectionOptionsRequest) => any;
3663
+ /**
3664
+ * @internal
3665
+ */
3666
+ export declare const PeeringConnectionOptionsFilterSensitiveLog: (obj: PeeringConnectionOptions) => any;
3667
+ /**
3668
+ * @internal
3669
+ */
3670
+ export declare const ModifyVpcPeeringConnectionOptionsResultFilterSensitiveLog: (obj: ModifyVpcPeeringConnectionOptionsResult) => any;
3603
3671
  /**
3604
3672
  * @internal
3605
3673
  */