@aws-sdk/client-ec2 3.204.0 → 3.206.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.
- package/dist-cjs/commands/CreateSubnetCidrReservationCommand.js +2 -1
- package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -2
- package/dist-cjs/commands/DescribeLaunchTemplatesCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
- package/dist-cjs/commands/DisassociateTrunkInterfaceCommand.js +1 -2
- package/dist-cjs/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -2
- package/dist-cjs/models/models_1.js +13 -13
- package/dist-cjs/models/models_2.js +14 -14
- package/dist-cjs/models/models_3.js +13 -13
- package/dist-cjs/models/models_4.js +14 -14
- package/dist-cjs/models/models_5.js +14 -14
- package/dist-cjs/models/models_6.js +12 -4
- package/dist-cjs/protocols/Aws_ec2.js +114 -0
- package/dist-es/commands/CreateSubnetCidrReservationCommand.js +2 -1
- package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -2
- package/dist-es/commands/DescribeLaunchTemplatesCommand.js +1 -1
- package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
- package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +1 -2
- package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -2
- package/dist-es/models/models_1.js +6 -6
- package/dist-es/models/models_2.js +6 -6
- package/dist-es/models/models_3.js +6 -6
- package/dist-es/models/models_4.js +6 -6
- package/dist-es/models/models_5.js +6 -6
- package/dist-es/models/models_6.js +6 -0
- package/dist-es/protocols/Aws_ec2.js +114 -0
- package/dist-types/EC2.d.ts +51 -44
- package/dist-types/commands/AllocateHostsCommand.d.ts +3 -3
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +5 -5
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +3 -2
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -1
- package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -2
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -2
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +5 -5
- package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +6 -5
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +4 -3
- package/dist-types/commands/ModifyHostsCommand.d.ts +8 -7
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +2 -2
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -2
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +24 -26
- package/dist-types/models/models_1.d.ts +201 -94
- package/dist-types/models/models_2.d.ts +58 -49
- package/dist-types/models/models_3.d.ts +95 -120
- package/dist-types/models/models_4.d.ts +96 -57
- package/dist-types/models/models_5.d.ts +75 -86
- package/dist-types/models/models_6.d.ts +77 -20
- package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_1.d.ts +21 -18
- package/dist-types/ts3.4/models/models_2.d.ts +19 -18
- package/dist-types/ts3.4/models/models_3.d.ts +18 -24
- package/dist-types/ts3.4/models/models_4.d.ts +19 -15
- package/dist-types/ts3.4/models/models_5.d.ts +17 -18
- package/dist-types/ts3.4/models/models_6.d.ts +18 -1
- package/package.json +1 -1
|
@@ -1,7 +1,68 @@
|
|
|
1
|
-
import { _InstanceType, ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AssociationStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification,
|
|
2
|
-
import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, 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";
|
|
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
|
+
}
|
|
5
66
|
export interface DescribeLaunchTemplateVersionsRequest {
|
|
6
67
|
/**
|
|
7
68
|
* <p>Checks whether you have the required permissions for the action, without actually
|
|
@@ -12,18 +73,20 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
12
73
|
DryRun?: boolean;
|
|
13
74
|
/**
|
|
14
75
|
* <p>The ID of the launch template.</p>
|
|
15
|
-
* <p>To describe one or more versions of a specified launch
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
76
|
+
* <p>To describe one or more versions of a specified launch template, you must specify
|
|
77
|
+
* either the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not
|
|
78
|
+
* both.</p>
|
|
79
|
+
* <p>To describe all the latest or default launch template versions in your account, you
|
|
80
|
+
* must omit this parameter.</p>
|
|
19
81
|
*/
|
|
20
82
|
LaunchTemplateId?: string;
|
|
21
83
|
/**
|
|
22
84
|
* <p>The name of the launch template.</p>
|
|
23
|
-
* <p>To describe one or more versions of a specified
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
85
|
+
* <p>To describe one or more versions of a specified launch template, you must specify
|
|
86
|
+
* either the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not
|
|
87
|
+
* both.</p>
|
|
88
|
+
* <p>To describe all the latest or default launch template versions in your account, you
|
|
89
|
+
* must omit this parameter.</p>
|
|
27
90
|
*/
|
|
28
91
|
LaunchTemplateName?: string;
|
|
29
92
|
/**
|
|
@@ -79,7 +142,7 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
79
142
|
* <p>
|
|
80
143
|
* <code>http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint for the
|
|
81
144
|
* instance metadata service is enabled (<code>enabled</code> |
|
|
82
|
-
*
|
|
145
|
+
* <code>disabled</code>).</p>
|
|
83
146
|
* </li>
|
|
84
147
|
* <li>
|
|
85
148
|
* <p>
|
|
@@ -1536,8 +1599,8 @@ export interface DescribePlacementGroupsRequest {
|
|
|
1536
1599
|
* </li>
|
|
1537
1600
|
* <li>
|
|
1538
1601
|
* <p>
|
|
1539
|
-
* <code>spread-level</code> - The spread level for the placement group
|
|
1540
|
-
*
|
|
1602
|
+
* <code>spread-level</code> - The spread level for the placement group
|
|
1603
|
+
* (<code>host</code> | <code>rack</code>). </p>
|
|
1541
1604
|
* </li>
|
|
1542
1605
|
* <li>
|
|
1543
1606
|
* <p>
|
|
@@ -3655,7 +3718,7 @@ export interface DescribeSpotDatafeedSubscriptionRequest {
|
|
|
3655
3718
|
* <p>Checks whether you have the required permissions for the action, without actually
|
|
3656
3719
|
* making the request, and provides an error response. If you have the required
|
|
3657
3720
|
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
3658
|
-
*
|
|
3721
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
3659
3722
|
*/
|
|
3660
3723
|
DryRun?: boolean;
|
|
3661
3724
|
}
|
|
@@ -4300,7 +4363,7 @@ export interface SpotFleetRequestConfigData {
|
|
|
4300
4363
|
/**
|
|
4301
4364
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
4302
4365
|
* 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
|
|
4303
|
-
* strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide
|
|
4366
|
+
* strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
4304
4367
|
* <p>
|
|
4305
4368
|
* <code>lowestPrice</code> - Spot Fleet launches instances from the lowest-price Spot Instance pool
|
|
4306
4369
|
* that has available capacity. If the cheapest pool doesn't have available capacity, the
|
|
@@ -4365,7 +4428,7 @@ export interface SpotFleetRequestConfigData {
|
|
|
4365
4428
|
* <p>The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that
|
|
4366
4429
|
* grants the Spot Fleet the permission to request, launch, terminate, and tag instances on
|
|
4367
4430
|
* your behalf. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites">Spot
|
|
4368
|
-
* Fleet prerequisites</a> in the <i>Amazon EC2 User Guide
|
|
4431
|
+
* Fleet prerequisites</a> in the <i>Amazon EC2 User Guide</i>. Spot Fleet
|
|
4369
4432
|
* can terminate Spot Instances on your behalf when you cancel its Spot Fleet request using
|
|
4370
4433
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests">CancelSpotFleetRequests</a> or when the Spot Fleet request expires, if you set
|
|
4371
4434
|
* <code>TerminateInstancesWithExpiration</code>.</p>
|
|
@@ -5020,16 +5083,16 @@ export interface DescribeSpotPriceHistoryRequest {
|
|
|
5020
5083
|
* <li>
|
|
5021
5084
|
* <p>
|
|
5022
5085
|
* <code>instance-type</code> - The type of instance (for example,
|
|
5023
|
-
*
|
|
5086
|
+
* <code>m3.medium</code>).</p>
|
|
5024
5087
|
* </li>
|
|
5025
5088
|
* <li>
|
|
5026
5089
|
* <p>
|
|
5027
5090
|
* <code>product-description</code> - The product description for the Spot price
|
|
5028
|
-
*
|
|
5029
|
-
*
|
|
5091
|
+
* (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
|
|
5092
|
+
* <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
|
|
5030
5093
|
* VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |
|
|
5031
|
-
*
|
|
5032
|
-
*
|
|
5094
|
+
* <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
|
|
5095
|
+
* VPC)</code>).</p>
|
|
5033
5096
|
* </li>
|
|
5034
5097
|
* <li>
|
|
5035
5098
|
* <p>
|
|
@@ -5040,7 +5103,7 @@ export interface DescribeSpotPriceHistoryRequest {
|
|
|
5040
5103
|
* <p>
|
|
5041
5104
|
* <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
|
|
5042
5105
|
* (for example,
|
|
5043
|
-
*
|
|
5106
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
|
|
5044
5107
|
* You can use wildcards (* and ?). Greater than or less than comparison is not
|
|
5045
5108
|
* supported.</p>
|
|
5046
5109
|
* </li>
|
|
@@ -5055,13 +5118,13 @@ export interface DescribeSpotPriceHistoryRequest {
|
|
|
5055
5118
|
* <p>Checks whether you have the required permissions for the action, without actually
|
|
5056
5119
|
* making the request, and provides an error response. If you have the required
|
|
5057
5120
|
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
5058
|
-
*
|
|
5121
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
5059
5122
|
*/
|
|
5060
5123
|
DryRun?: boolean;
|
|
5061
5124
|
/**
|
|
5062
5125
|
* <p>The date and time, up to the current date, from which to stop retrieving the price
|
|
5063
5126
|
* history data, in UTC format (for example,
|
|
5064
|
-
*
|
|
5127
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
5065
5128
|
*/
|
|
5066
5129
|
EndTime?: Date;
|
|
5067
5130
|
/**
|
|
@@ -5085,7 +5148,7 @@ export interface DescribeSpotPriceHistoryRequest {
|
|
|
5085
5148
|
/**
|
|
5086
5149
|
* <p>The date and time, up to the past 90 days, from which to start retrieving the price
|
|
5087
5150
|
* history data, in UTC format (for example,
|
|
5088
|
-
*
|
|
5151
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
5089
5152
|
*/
|
|
5090
5153
|
StartTime?: Date;
|
|
5091
5154
|
}
|
|
@@ -8702,30 +8765,14 @@ export interface DisassociateTransitGatewayRouteTableRequest {
|
|
|
8702
8765
|
*/
|
|
8703
8766
|
DryRun?: boolean;
|
|
8704
8767
|
}
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
* <p>The ID of the association</p>
|
|
8714
|
-
*/
|
|
8715
|
-
AssociationId: string | undefined;
|
|
8716
|
-
/**
|
|
8717
|
-
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
8718
|
-
* request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to Ensure
|
|
8719
|
-
* Idempotency</a>.</p>
|
|
8720
|
-
*/
|
|
8721
|
-
ClientToken?: string;
|
|
8722
|
-
/**
|
|
8723
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8724
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8725
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8726
|
-
*/
|
|
8727
|
-
DryRun?: boolean;
|
|
8728
|
-
}
|
|
8768
|
+
/**
|
|
8769
|
+
* @internal
|
|
8770
|
+
*/
|
|
8771
|
+
export declare const DescribeLaunchTemplatesRequestFilterSensitiveLog: (obj: DescribeLaunchTemplatesRequest) => any;
|
|
8772
|
+
/**
|
|
8773
|
+
* @internal
|
|
8774
|
+
*/
|
|
8775
|
+
export declare const DescribeLaunchTemplatesResultFilterSensitiveLog: (obj: DescribeLaunchTemplatesResult) => any;
|
|
8729
8776
|
/**
|
|
8730
8777
|
* @internal
|
|
8731
8778
|
*/
|
|
@@ -9826,11 +9873,3 @@ export declare const DisassociateTransitGatewayPolicyTableResultFilterSensitiveL
|
|
|
9826
9873
|
* @internal
|
|
9827
9874
|
*/
|
|
9828
9875
|
export declare const DisassociateTransitGatewayRouteTableRequestFilterSensitiveLog: (obj: DisassociateTransitGatewayRouteTableRequest) => any;
|
|
9829
|
-
/**
|
|
9830
|
-
* @internal
|
|
9831
|
-
*/
|
|
9832
|
-
export declare const DisassociateTransitGatewayRouteTableResultFilterSensitiveLog: (obj: DisassociateTransitGatewayRouteTableResult) => any;
|
|
9833
|
-
/**
|
|
9834
|
-
* @internal
|
|
9835
|
-
*/
|
|
9836
|
-
export declare const DisassociateTrunkInterfaceRequestFilterSensitiveLog: (obj: DisassociateTrunkInterfaceRequest) => any;
|
|
@@ -1,8 +1,32 @@
|
|
|
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,
|
|
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
|
+
}
|
|
6
30
|
export interface DisassociateTrunkInterfaceResult {
|
|
7
31
|
/**
|
|
8
32
|
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
@@ -3862,30 +3886,28 @@ export interface ModifyHostsRequest {
|
|
|
3862
3886
|
*/
|
|
3863
3887
|
HostIds: string[] | undefined;
|
|
3864
3888
|
/**
|
|
3865
|
-
* <p>Indicates whether to enable or disable host recovery for the Dedicated Host. For more
|
|
3866
|
-
*
|
|
3867
|
-
*
|
|
3889
|
+
* <p>Indicates whether to enable or disable host recovery for the Dedicated Host. For more
|
|
3890
|
+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html"> Host recovery</a>
|
|
3891
|
+
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
3868
3892
|
*/
|
|
3869
3893
|
HostRecovery?: HostRecovery | string;
|
|
3870
3894
|
/**
|
|
3871
|
-
* <p>Specifies the instance type to be supported by the Dedicated Host. Specify this
|
|
3872
|
-
*
|
|
3895
|
+
* <p>Specifies the instance type to be supported by the Dedicated Host. Specify this
|
|
3896
|
+
* parameter to modify a Dedicated Host to support only a specific instance type.</p>
|
|
3873
3897
|
*
|
|
3874
|
-
*
|
|
3875
|
-
*
|
|
3876
|
-
*
|
|
3877
|
-
* <b>InstanceFamily</b> in the same request.</p>
|
|
3898
|
+
* <p>If you want to modify a Dedicated Host to support multiple instance types in its
|
|
3899
|
+
* current instance family, omit this parameter and specify <b>InstanceFamily</b> instead. You cannot specify <b>InstanceType</b> and <b>InstanceFamily</b> in the
|
|
3900
|
+
* same request.</p>
|
|
3878
3901
|
*/
|
|
3879
3902
|
InstanceType?: string;
|
|
3880
3903
|
/**
|
|
3881
|
-
* <p>Specifies the instance family to be supported by the Dedicated Host. Specify this
|
|
3882
|
-
*
|
|
3883
|
-
*
|
|
3904
|
+
* <p>Specifies the instance family to be supported by the Dedicated Host. Specify this
|
|
3905
|
+
* parameter to modify a Dedicated Host to support multiple instance types within its
|
|
3906
|
+
* current instance family.</p>
|
|
3884
3907
|
*
|
|
3885
|
-
*
|
|
3886
|
-
*
|
|
3887
|
-
*
|
|
3888
|
-
* in the same request.</p>
|
|
3908
|
+
* <p>If you want to modify a Dedicated Host to support a specific instance type only, omit
|
|
3909
|
+
* this parameter and specify <b>InstanceType</b> instead. You
|
|
3910
|
+
* cannot specify <b>InstanceFamily</b> and <b>InstanceType</b> in the same request.</p>
|
|
3889
3911
|
*/
|
|
3890
3912
|
InstanceFamily?: string;
|
|
3891
3913
|
}
|
|
@@ -3895,8 +3917,8 @@ export interface ModifyHostsResult {
|
|
|
3895
3917
|
*/
|
|
3896
3918
|
Successful?: string[];
|
|
3897
3919
|
/**
|
|
3898
|
-
* <p>The IDs of the Dedicated Hosts that could not be modified. Check whether the
|
|
3899
|
-
*
|
|
3920
|
+
* <p>The IDs of the Dedicated Hosts that could not be modified. Check whether the setting
|
|
3921
|
+
* you requested can be used.</p>
|
|
3900
3922
|
*/
|
|
3901
3923
|
Unsuccessful?: UnsuccessfulItem[];
|
|
3902
3924
|
}
|
|
@@ -4074,10 +4096,13 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
4074
4096
|
/**
|
|
4075
4097
|
* <p>The name of the attribute to modify.</p>
|
|
4076
4098
|
* <important>
|
|
4077
|
-
* <p>You can modify the following attributes only: <code>disableApiTermination</code> |
|
|
4078
|
-
*
|
|
4079
|
-
*
|
|
4080
|
-
* <code>
|
|
4099
|
+
* <p>You can modify the following attributes only: <code>disableApiTermination</code> |
|
|
4100
|
+
* <code>instanceType</code> | <code>kernel</code> | <code>ramdisk</code> |
|
|
4101
|
+
* <code>instanceInitiatedShutdownBehavior</code> | <code>blockDeviceMapping</code>
|
|
4102
|
+
* | <code>userData</code> | <code>sourceDestCheck</code> | <code>groupSet</code> |
|
|
4103
|
+
* <code>ebsOptimized</code> | <code>sriovNetSupport</code> |
|
|
4104
|
+
* <code>enaSupport</code> | <code>nvmeSupport</code> | <code>disableApiStop</code>
|
|
4105
|
+
* | <code>enclaveOptions</code>
|
|
4081
4106
|
* </p>
|
|
4082
4107
|
* </important>
|
|
4083
4108
|
*/
|
|
@@ -4171,8 +4196,9 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
4171
4196
|
*/
|
|
4172
4197
|
Value?: string;
|
|
4173
4198
|
/**
|
|
4174
|
-
* <p>Indicates whether an instance is enabled for stop protection.
|
|
4175
|
-
*
|
|
4199
|
+
* <p>Indicates whether an instance is enabled for stop protection. For more information,
|
|
4200
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection">Stop
|
|
4201
|
+
* Protection</a>.</p>
|
|
4176
4202
|
* <p></p>
|
|
4177
4203
|
*/
|
|
4178
4204
|
DisableApiStop?: AttributeBooleanValue;
|
|
@@ -4343,7 +4369,7 @@ export interface ModifyInstanceEventStartTimeRequest {
|
|
|
4343
4369
|
}
|
|
4344
4370
|
export interface ModifyInstanceEventStartTimeResult {
|
|
4345
4371
|
/**
|
|
4346
|
-
* <p>
|
|
4372
|
+
* <p>Information about the event.</p>
|
|
4347
4373
|
*/
|
|
4348
4374
|
Event?: InstanceStatusEvent;
|
|
4349
4375
|
}
|
|
@@ -4513,8 +4539,7 @@ export interface ModifyInstancePlacementRequest {
|
|
|
4513
4539
|
* groups, the instance must have a tenancy of <code>default</code>. For cluster and
|
|
4514
4540
|
* partition placement groups, the instance must have a tenancy of <code>default</code> or
|
|
4515
4541
|
* <code>dedicated</code>.</p>
|
|
4516
|
-
* <p>To remove an instance from a placement group, specify an empty string
|
|
4517
|
-
* ("").</p>
|
|
4542
|
+
* <p>To remove an instance from a placement group, specify an empty string ("").</p>
|
|
4518
4543
|
*/
|
|
4519
4544
|
GroupName?: string;
|
|
4520
4545
|
/**
|
|
@@ -4529,11 +4554,11 @@ export interface ModifyInstancePlacementRequest {
|
|
|
4529
4554
|
* <p>The tenancy for the instance.</p>
|
|
4530
4555
|
*
|
|
4531
4556
|
* <note>
|
|
4532
|
-
* <p>For T3 instances, you can't change the tenancy from <code>dedicated</code>
|
|
4533
|
-
*
|
|
4534
|
-
*
|
|
4535
|
-
*
|
|
4536
|
-
*
|
|
4557
|
+
* <p>For T3 instances, you can't change the tenancy from <code>dedicated</code> to
|
|
4558
|
+
* <code>host</code>, or from <code>host</code> to <code>dedicated</code>.
|
|
4559
|
+
* Attempting to make one of these unsupported tenancy changes results in the
|
|
4560
|
+
* <code>InvalidTenancy</code> error code.</p>
|
|
4561
|
+
* </note>
|
|
4537
4562
|
*/
|
|
4538
4563
|
Tenancy?: HostTenancy | string;
|
|
4539
4564
|
/**
|
|
@@ -4545,6 +4570,11 @@ export interface ModifyInstancePlacementRequest {
|
|
|
4545
4570
|
* <p>The ARN of the host resource group in which to place the instance.</p>
|
|
4546
4571
|
*/
|
|
4547
4572
|
HostResourceGroupArn?: string;
|
|
4573
|
+
/**
|
|
4574
|
+
* <p>The Group Id of a placement group. You must specify the Placement Group <b>Group Id</b> to launch an instance in a shared placement
|
|
4575
|
+
* group.</p>
|
|
4576
|
+
*/
|
|
4577
|
+
GroupId?: string;
|
|
4548
4578
|
}
|
|
4549
4579
|
export interface ModifyInstancePlacementResult {
|
|
4550
4580
|
/**
|
|
@@ -4734,12 +4764,14 @@ export interface ModifyLaunchTemplateRequest {
|
|
|
4734
4764
|
ClientToken?: string;
|
|
4735
4765
|
/**
|
|
4736
4766
|
* <p>The ID of the launch template.</p>
|
|
4737
|
-
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
4767
|
+
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
4768
|
+
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
4738
4769
|
*/
|
|
4739
4770
|
LaunchTemplateId?: string;
|
|
4740
4771
|
/**
|
|
4741
4772
|
* <p>The name of the launch template.</p>
|
|
4742
|
-
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
4773
|
+
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
4774
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
4743
4775
|
*/
|
|
4744
4776
|
LaunchTemplateName?: string;
|
|
4745
4777
|
/**
|
|
@@ -5878,49 +5910,14 @@ export interface PeeringConnectionOptionsRequest {
|
|
|
5878
5910
|
*/
|
|
5879
5911
|
AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
|
|
5880
5912
|
}
|
|
5881
|
-
export interface ModifyVpcPeeringConnectionOptionsRequest {
|
|
5882
|
-
/**
|
|
5883
|
-
* <p>The VPC peering connection options for the accepter VPC.</p>
|
|
5884
|
-
*/
|
|
5885
|
-
AccepterPeeringConnectionOptions?: PeeringConnectionOptionsRequest;
|
|
5886
|
-
/**
|
|
5887
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
5888
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
5889
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
5890
|
-
*/
|
|
5891
|
-
DryRun?: boolean;
|
|
5892
|
-
/**
|
|
5893
|
-
* <p>The VPC peering connection options for the requester VPC.</p>
|
|
5894
|
-
*/
|
|
5895
|
-
RequesterPeeringConnectionOptions?: PeeringConnectionOptionsRequest;
|
|
5896
|
-
/**
|
|
5897
|
-
* <p>The ID of the VPC peering connection.</p>
|
|
5898
|
-
*/
|
|
5899
|
-
VpcPeeringConnectionId: string | undefined;
|
|
5900
|
-
}
|
|
5901
5913
|
/**
|
|
5902
|
-
*
|
|
5903
|
-
* <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>
|
|
5904
|
-
* </note>
|
|
5905
|
-
* <p>Describes the VPC peering connection options.</p>
|
|
5914
|
+
* @internal
|
|
5906
5915
|
*/
|
|
5907
|
-
export
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
AllowDnsResolutionFromRemoteVpc?: boolean;
|
|
5913
|
-
/**
|
|
5914
|
-
* <p>If true, enables outbound communication from an EC2-Classic instance that's linked to
|
|
5915
|
-
* a local VPC using ClassicLink to instances in a peer VPC.</p>
|
|
5916
|
-
*/
|
|
5917
|
-
AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
|
|
5918
|
-
/**
|
|
5919
|
-
* <p>If true, enables outbound communication from instances in a local VPC to an
|
|
5920
|
-
* EC2-Classic instance that's linked to a peer VPC using ClassicLink.</p>
|
|
5921
|
-
*/
|
|
5922
|
-
AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
|
|
5923
|
-
}
|
|
5916
|
+
export declare const DisassociateTransitGatewayRouteTableResultFilterSensitiveLog: (obj: DisassociateTransitGatewayRouteTableResult) => any;
|
|
5917
|
+
/**
|
|
5918
|
+
* @internal
|
|
5919
|
+
*/
|
|
5920
|
+
export declare const DisassociateTrunkInterfaceRequestFilterSensitiveLog: (obj: DisassociateTrunkInterfaceRequest) => any;
|
|
5924
5921
|
/**
|
|
5925
5922
|
* @internal
|
|
5926
5923
|
*/
|
|
@@ -7053,11 +7050,3 @@ export declare const ModifyVpcEndpointServicePermissionsResultFilterSensitiveLog
|
|
|
7053
7050
|
* @internal
|
|
7054
7051
|
*/
|
|
7055
7052
|
export declare const PeeringConnectionOptionsRequestFilterSensitiveLog: (obj: PeeringConnectionOptionsRequest) => any;
|
|
7056
|
-
/**
|
|
7057
|
-
* @internal
|
|
7058
|
-
*/
|
|
7059
|
-
export declare const ModifyVpcPeeringConnectionOptionsRequestFilterSensitiveLog: (obj: ModifyVpcPeeringConnectionOptionsRequest) => any;
|
|
7060
|
-
/**
|
|
7061
|
-
* @internal
|
|
7062
|
-
*/
|
|
7063
|
-
export declare const PeeringConnectionOptionsFilterSensitiveLog: (obj: PeeringConnectionOptions) => any;
|