@aws-sdk/client-ec2 3.758.0 → 3.760.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/index.js +311 -217
- package/dist-es/commands/CreateVpnConnectionCommand.js +2 -1
- package/dist-es/models/models_1.js +19 -4
- package/dist-es/models/models_2.js +4 -9
- package/dist-es/models/models_3.js +10 -15
- package/dist-es/models/models_4.js +15 -0
- package/dist-es/models/models_5.js +1 -1
- package/dist-es/models/models_6.js +0 -6
- package/dist-es/models/models_7.js +7 -1
- package/dist-es/protocols/Aws_ec2.js +74 -4
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +37 -2
- package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -2
- package/dist-types/commands/CreateVpcCommand.d.ts +37 -2
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -1
- package/dist-types/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +1 -2
- package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +2 -1
- package/dist-types/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRegionsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVpcsCommand.d.ts +37 -2
- package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -2
- package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
- package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +73 -222
- package/dist-types/models/models_2.d.ts +224 -214
- package/dist-types/models/models_3.d.ts +211 -230
- package/dist-types/models/models_4.d.ts +234 -181
- package/dist-types/models/models_5.d.ts +182 -105
- package/dist-types/models/models_6.d.ts +104 -122
- package/dist-types/models/models_7.d.ts +124 -111
- package/dist-types/models/models_8.d.ts +108 -1
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFastLaunchImagesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribePrincipalIdFormatCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StopInstancesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +46 -36
- package/dist-types/ts3.4/models/models_2.d.ts +36 -51
- package/dist-types/ts3.4/models/models_3.d.ts +58 -54
- package/dist-types/ts3.4/models/models_4.d.ts +58 -38
- package/dist-types/ts3.4/models/models_5.d.ts +40 -32
- package/dist-types/ts3.4/models/models_6.d.ts +29 -35
- package/dist-types/ts3.4/models/models_7.d.ts +35 -31
- package/dist-types/ts3.4/models/models_8.d.ts +28 -1
- package/package.json +1 -1
|
@@ -1,10 +1,129 @@
|
|
|
1
1
|
import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, MarketType, OperatorRequest, Placement, RequestIpamResourceTag, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
|
|
3
|
-
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, ManagedPrefixList, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RuleAction, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion,
|
|
4
|
-
import { Byoasn, CapacityBlockExtension,
|
|
5
|
-
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, InstanceStatusEvent, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis,
|
|
6
|
-
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, LaunchTemplateConfig, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
|
|
7
|
-
import { CapacityReservationSpecification, IpamResourceCidr, OperationType, Purchase
|
|
3
|
+
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, ManagedPrefixList, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RuleAction, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
|
|
4
|
+
import { Byoasn, CapacityBlockExtension, Filter, InstanceTagNotificationAttribute, IpamPoolCidr, VpnConnection } from "./models_3";
|
|
5
|
+
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, InstanceStatusEvent, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, TpmSupportValues } from "./models_4";
|
|
6
|
+
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, LaunchTemplateConfig, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
|
|
7
|
+
import { CapacityReservationSpecification, IpamResourceCidr, OperationType, Purchase } from "./models_6";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface ModifyInstanceCpuOptionsRequest {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The ID of the instance to update.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
InstanceId: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The number of CPU cores to activate for the specified instance.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
CoreCount: number | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The number of threads to run for each CPU core.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
ThreadsPerCore: number | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
29
|
+
* request, and provides an error response. If you have the required permissions, the error response is
|
|
30
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
DryRun?: boolean | undefined;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export interface ModifyInstanceCpuOptionsResult {
|
|
39
|
+
/**
|
|
40
|
+
* <p>The ID of the instance that was updated.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
InstanceId?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>The number of CPU cores that are running for the specified instance after the
|
|
46
|
+
* update.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
CoreCount?: number | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The number of threads that are running per CPU core for the specified
|
|
52
|
+
* instance after the update.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
ThreadsPerCore?: number | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>Describes the credit option for CPU usage of a burstable performance instance.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export interface InstanceCreditSpecificationRequest {
|
|
62
|
+
/**
|
|
63
|
+
* <p>The ID of the instance.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
InstanceId: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The credit option for CPU usage of the instance.</p>
|
|
69
|
+
* <p>Valid values: <code>standard</code> | <code>unlimited</code>
|
|
70
|
+
* </p>
|
|
71
|
+
* <p>T3 instances with <code>host</code> tenancy do not support the <code>unlimited</code>
|
|
72
|
+
* CPU credit option.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
CpuCredits?: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export interface ModifyInstanceCreditSpecificationRequest {
|
|
81
|
+
/**
|
|
82
|
+
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
83
|
+
* request, and provides an error response. If you have the required permissions, the error response is
|
|
84
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
DryRun?: boolean | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>A unique, case-sensitive token that you provide to ensure idempotency of your
|
|
90
|
+
* modification request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
91
|
+
* Idempotency</a>.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
ClientToken?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>Information about the credit option for CPU usage.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
InstanceCreditSpecifications: InstanceCreditSpecificationRequest[] | undefined;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* <p>Describes the burstable performance instance whose credit option for CPU usage was
|
|
103
|
+
* successfully modified.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export interface SuccessfulInstanceCreditSpecificationItem {
|
|
107
|
+
/**
|
|
108
|
+
* <p>The ID of the instance.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
InstanceId?: string | undefined;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @enum
|
|
116
|
+
*/
|
|
117
|
+
export declare const UnsuccessfulInstanceCreditSpecificationErrorCode: {
|
|
118
|
+
readonly INCORRECT_INSTANCE_STATE: "IncorrectInstanceState";
|
|
119
|
+
readonly INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported";
|
|
120
|
+
readonly INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound";
|
|
121
|
+
readonly INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed";
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export type UnsuccessfulInstanceCreditSpecificationErrorCode = (typeof UnsuccessfulInstanceCreditSpecificationErrorCode)[keyof typeof UnsuccessfulInstanceCreditSpecificationErrorCode];
|
|
8
127
|
/**
|
|
9
128
|
* <p>Information about the error for the burstable performance instance whose credit option
|
|
10
129
|
* for CPU usage was not modified.</p>
|
|
@@ -8205,112 +8324,6 @@ export interface StopInstancesRequest {
|
|
|
8205
8324
|
*/
|
|
8206
8325
|
Force?: boolean | undefined;
|
|
8207
8326
|
}
|
|
8208
|
-
/**
|
|
8209
|
-
* @public
|
|
8210
|
-
*/
|
|
8211
|
-
export interface StopInstancesResult {
|
|
8212
|
-
/**
|
|
8213
|
-
* <p>Information about the stopped instances.</p>
|
|
8214
|
-
* @public
|
|
8215
|
-
*/
|
|
8216
|
-
StoppingInstances?: InstanceStateChange[] | undefined;
|
|
8217
|
-
}
|
|
8218
|
-
/**
|
|
8219
|
-
* @public
|
|
8220
|
-
*/
|
|
8221
|
-
export interface TerminateClientVpnConnectionsRequest {
|
|
8222
|
-
/**
|
|
8223
|
-
* <p>The ID of the Client VPN endpoint to which the client is connected.</p>
|
|
8224
|
-
* @public
|
|
8225
|
-
*/
|
|
8226
|
-
ClientVpnEndpointId: string | undefined;
|
|
8227
|
-
/**
|
|
8228
|
-
* <p>The ID of the client connection to be terminated.</p>
|
|
8229
|
-
* @public
|
|
8230
|
-
*/
|
|
8231
|
-
ConnectionId?: string | undefined;
|
|
8232
|
-
/**
|
|
8233
|
-
* <p>The name of the user who initiated the connection. Use this option to terminate all active connections for
|
|
8234
|
-
* the specified user. This option can only be used if the user has established up to five connections.</p>
|
|
8235
|
-
* @public
|
|
8236
|
-
*/
|
|
8237
|
-
Username?: string | undefined;
|
|
8238
|
-
/**
|
|
8239
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8240
|
-
* @public
|
|
8241
|
-
*/
|
|
8242
|
-
DryRun?: boolean | undefined;
|
|
8243
|
-
}
|
|
8244
|
-
/**
|
|
8245
|
-
* <p>Information about a terminated Client VPN endpoint client connection.</p>
|
|
8246
|
-
* @public
|
|
8247
|
-
*/
|
|
8248
|
-
export interface TerminateConnectionStatus {
|
|
8249
|
-
/**
|
|
8250
|
-
* <p>The ID of the client connection.</p>
|
|
8251
|
-
* @public
|
|
8252
|
-
*/
|
|
8253
|
-
ConnectionId?: string | undefined;
|
|
8254
|
-
/**
|
|
8255
|
-
* <p>The state of the client connection.</p>
|
|
8256
|
-
* @public
|
|
8257
|
-
*/
|
|
8258
|
-
PreviousStatus?: ClientVpnConnectionStatus | undefined;
|
|
8259
|
-
/**
|
|
8260
|
-
* <p>A message about the status of the client connection, if applicable.</p>
|
|
8261
|
-
* @public
|
|
8262
|
-
*/
|
|
8263
|
-
CurrentStatus?: ClientVpnConnectionStatus | undefined;
|
|
8264
|
-
}
|
|
8265
|
-
/**
|
|
8266
|
-
* @public
|
|
8267
|
-
*/
|
|
8268
|
-
export interface TerminateClientVpnConnectionsResult {
|
|
8269
|
-
/**
|
|
8270
|
-
* <p>The ID of the Client VPN endpoint.</p>
|
|
8271
|
-
* @public
|
|
8272
|
-
*/
|
|
8273
|
-
ClientVpnEndpointId?: string | undefined;
|
|
8274
|
-
/**
|
|
8275
|
-
* <p>The user who established the terminated client connections.</p>
|
|
8276
|
-
* @public
|
|
8277
|
-
*/
|
|
8278
|
-
Username?: string | undefined;
|
|
8279
|
-
/**
|
|
8280
|
-
* <p>The current state of the client connections.</p>
|
|
8281
|
-
* @public
|
|
8282
|
-
*/
|
|
8283
|
-
ConnectionStatuses?: TerminateConnectionStatus[] | undefined;
|
|
8284
|
-
}
|
|
8285
|
-
/**
|
|
8286
|
-
* @public
|
|
8287
|
-
*/
|
|
8288
|
-
export interface TerminateInstancesRequest {
|
|
8289
|
-
/**
|
|
8290
|
-
* <p>The IDs of the instances.</p>
|
|
8291
|
-
* <p>Constraints: Up to 1000 instance IDs. We recommend breaking up this request into
|
|
8292
|
-
* smaller batches.</p>
|
|
8293
|
-
* @public
|
|
8294
|
-
*/
|
|
8295
|
-
InstanceIds: string[] | undefined;
|
|
8296
|
-
/**
|
|
8297
|
-
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
8298
|
-
* request, and provides an error response. If you have the required permissions, the error response is
|
|
8299
|
-
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8300
|
-
* @public
|
|
8301
|
-
*/
|
|
8302
|
-
DryRun?: boolean | undefined;
|
|
8303
|
-
}
|
|
8304
|
-
/**
|
|
8305
|
-
* @public
|
|
8306
|
-
*/
|
|
8307
|
-
export interface TerminateInstancesResult {
|
|
8308
|
-
/**
|
|
8309
|
-
* <p>Information about the terminated instances.</p>
|
|
8310
|
-
* @public
|
|
8311
|
-
*/
|
|
8312
|
-
TerminatingInstances?: InstanceStateChange[] | undefined;
|
|
8313
|
-
}
|
|
8314
8327
|
/**
|
|
8315
8328
|
* @internal
|
|
8316
8329
|
*/
|
|
@@ -1,5 +1,112 @@
|
|
|
1
1
|
import { ByoipCidr, IpPermission, NatGatewayAddress } from "./models_0";
|
|
2
|
-
import {
|
|
2
|
+
import { ClientVpnConnectionStatus } from "./models_3";
|
|
3
|
+
import { InstanceMonitoring, InstanceStateChange } from "./models_7";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface StopInstancesResult {
|
|
8
|
+
/**
|
|
9
|
+
* <p>Information about the stopped instances.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
StoppingInstances?: InstanceStateChange[] | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface TerminateClientVpnConnectionsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* <p>The ID of the Client VPN endpoint to which the client is connected.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
ClientVpnEndpointId: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The ID of the client connection to be terminated.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
ConnectionId?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The name of the user who initiated the connection. Use this option to terminate all active connections for
|
|
30
|
+
* the specified user. This option can only be used if the user has established up to five connections.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
Username?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
DryRun?: boolean | undefined;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* <p>Information about a terminated Client VPN endpoint client connection.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export interface TerminateConnectionStatus {
|
|
45
|
+
/**
|
|
46
|
+
* <p>The ID of the client connection.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
ConnectionId?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The state of the client connection.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
PreviousStatus?: ClientVpnConnectionStatus | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>A message about the status of the client connection, if applicable.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
CurrentStatus?: ClientVpnConnectionStatus | undefined;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export interface TerminateClientVpnConnectionsResult {
|
|
65
|
+
/**
|
|
66
|
+
* <p>The ID of the Client VPN endpoint.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
ClientVpnEndpointId?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>The user who established the terminated client connections.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
Username?: string | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* <p>The current state of the client connections.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
ConnectionStatuses?: TerminateConnectionStatus[] | undefined;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export interface TerminateInstancesRequest {
|
|
85
|
+
/**
|
|
86
|
+
* <p>The IDs of the instances.</p>
|
|
87
|
+
* <p>Constraints: Up to 1000 instance IDs. We recommend breaking up this request into
|
|
88
|
+
* smaller batches.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
InstanceIds: string[] | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
94
|
+
* request, and provides an error response. If you have the required permissions, the error response is
|
|
95
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
DryRun?: boolean | undefined;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export interface TerminateInstancesResult {
|
|
104
|
+
/**
|
|
105
|
+
* <p>Information about the terminated instances.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
TerminatingInstances?: InstanceStateChange[] | undefined;
|
|
109
|
+
}
|
|
3
110
|
/**
|
|
4
111
|
* @public
|
|
5
112
|
*/
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
CreateLocalGatewayRouteTableRequest,
|
|
10
10
|
CreateLocalGatewayRouteTableResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_2";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface CreateLocalGatewayRouteTableCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest,
|
|
10
|
+
CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult,
|
|
11
|
+
} from "../models/models_2";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
CreateVpnConnectionResult,
|
|
11
|
-
} from "../models/models_2";
|
|
8
|
+
import { CreateVpnConnectionRequest } from "../models/models_2";
|
|
9
|
+
import { CreateVpnConnectionResult } from "../models/models_3";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface CreateVpnConnectionCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import { CreateVpnConnectionRouteRequest } from "../models/
|
|
8
|
+
import { CreateVpnConnectionRouteRequest } from "../models/models_3";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface CreateVpnConnectionRouteCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
CreateVpnGatewayRequest,
|
|
10
10
|
CreateVpnGatewayResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_3";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface CreateVpnGatewayCommandInput extends CreateVpnGatewayRequest {}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
DescribeFastLaunchImagesResult,
|
|
11
|
-
} from "../models/models_3";
|
|
8
|
+
import { DescribeFastLaunchImagesRequest } from "../models/models_3";
|
|
9
|
+
import { DescribeFastLaunchImagesResult } from "../models/models_4";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface DescribeFastLaunchImagesCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DescribeFastSnapshotRestoresRequest,
|
|
10
|
+
DescribeFastSnapshotRestoresResult,
|
|
11
|
+
} from "../models/models_4";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DescribeFastSnapshotRestoresCommandInput
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
DescribePrincipalIdFormatResult,
|
|
11
|
-
} from "../models/models_4";
|
|
8
|
+
import { DescribePrincipalIdFormatRequest } from "../models/models_4";
|
|
9
|
+
import { DescribePrincipalIdFormatResult } from "../models/models_5";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface DescribePrincipalIdFormatCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DescribeRegionsRequest,
|
|
10
|
+
DescribeRegionsResult,
|
|
11
|
+
} from "../models/models_5";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DescribeRegionsCommandInput extends DescribeRegionsRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DisassociateTransitGatewayMulticastDomainRequest,
|
|
10
10
|
DisassociateTransitGatewayMulticastDomainResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_6";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface DisassociateTransitGatewayMulticastDomainCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DisassociateTransitGatewayPolicyTableRequest,
|
|
10
10
|
DisassociateTransitGatewayPolicyTableResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_6";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface DisassociateTransitGatewayPolicyTableCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DisassociateTransitGatewayRouteTableRequest,
|
|
10
10
|
DisassociateTransitGatewayRouteTableResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_6";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface DisassociateTransitGatewayRouteTableCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ModifyInstanceCpuOptionsRequest,
|
|
10
10
|
ModifyInstanceCpuOptionsResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_7";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ModifyInstanceCpuOptionsCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
ModifyInstanceCreditSpecificationRequest,
|
|
10
|
+
ModifyInstanceCreditSpecificationResult,
|
|
11
|
+
} from "../models/models_7";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface ModifyInstanceCreditSpecificationCommandInput
|
|
@@ -5,7 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import { StopInstancesRequest
|
|
8
|
+
import { StopInstancesRequest } from "../models/models_7";
|
|
9
|
+
import { StopInstancesResult } from "../models/models_8";
|
|
9
10
|
export { __MetadataBearer };
|
|
10
11
|
export { $Command };
|
|
11
12
|
export interface StopInstancesCommandInput extends StopInstancesRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
TerminateClientVpnConnectionsRequest,
|
|
10
10
|
TerminateClientVpnConnectionsResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_8";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface TerminateClientVpnConnectionsCommandInput
|