@aws-sdk/client-ec2 3.758.0 → 3.764.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 (76) hide show
  1. package/dist-cjs/index.js +387 -282
  2. package/dist-es/commands/CreateVpnConnectionCommand.js +2 -1
  3. package/dist-es/models/models_0.js +4 -4
  4. package/dist-es/models/models_1.js +23 -4
  5. package/dist-es/models/models_2.js +4 -9
  6. package/dist-es/models/models_3.js +10 -15
  7. package/dist-es/models/models_4.js +15 -0
  8. package/dist-es/models/models_5.js +1 -1
  9. package/dist-es/models/models_6.js +0 -6
  10. package/dist-es/models/models_7.js +7 -1
  11. package/dist-es/protocols/Aws_ec2.js +139 -64
  12. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +37 -2
  13. package/dist-types/commands/CreateLocalGatewayRouteCommand.d.ts +2 -1
  14. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -2
  16. package/dist-types/commands/CreateVpcCommand.d.ts +37 -2
  17. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -1
  18. package/dist-types/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -0
  21. package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +2 -1
  24. package/dist-types/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeRegionsCommand.d.ts +1 -2
  26. package/dist-types/commands/DescribeVpcsCommand.d.ts +37 -2
  27. package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -1
  28. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  29. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  30. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  31. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +3 -1
  32. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -2
  34. package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
  35. package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  36. package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
  37. package/dist-types/models/models_0.d.ts +20 -12
  38. package/dist-types/models/models_1.d.ts +86 -233
  39. package/dist-types/models/models_2.d.ts +236 -253
  40. package/dist-types/models/models_3.d.ts +248 -243
  41. package/dist-types/models/models_4.d.ts +247 -197
  42. package/dist-types/models/models_5.d.ts +198 -120
  43. package/dist-types/models/models_6.d.ts +119 -132
  44. package/dist-types/models/models_7.d.ts +134 -148
  45. package/dist-types/models/models_8.d.ts +145 -1
  46. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/CreateVpnGatewayCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeFastLaunchImagesCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +4 -2
  54. package/dist-types/ts3.4/commands/DescribePrincipalIdFormatCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +4 -2
  64. package/dist-types/ts3.4/commands/StopInstancesCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/models/models_0.d.ts +7 -6
  68. package/dist-types/ts3.4/models/models_1.d.ts +52 -40
  69. package/dist-types/ts3.4/models/models_2.d.ts +40 -59
  70. package/dist-types/ts3.4/models/models_3.d.ts +66 -57
  71. package/dist-types/ts3.4/models/models_4.d.ts +60 -42
  72. package/dist-types/ts3.4/models/models_5.d.ts +45 -38
  73. package/dist-types/ts3.4/models/models_6.d.ts +35 -39
  74. package/dist-types/ts3.4/models/models_7.d.ts +38 -37
  75. package/dist-types/ts3.4/models/models_8.d.ts +34 -1
  76. package/package.json +1 -1
@@ -1,10 +1,139 @@
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, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
- import { Byoasn, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
5
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, InstanceStatusEvent, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, TpmSupportValues } from "./models_4";
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, SuccessfulInstanceCreditSpecificationItem, UnsuccessfulInstanceCreditSpecificationErrorCode } from "./models_6";
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 ModifyInstanceCapacityReservationAttributesResult {
12
+ /**
13
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
14
+ * @public
15
+ */
16
+ Return?: boolean | undefined;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface ModifyInstanceCpuOptionsRequest {
22
+ /**
23
+ * <p>The ID of the instance to update.</p>
24
+ * @public
25
+ */
26
+ InstanceId: string | undefined;
27
+ /**
28
+ * <p>The number of CPU cores to activate for the specified instance.</p>
29
+ * @public
30
+ */
31
+ CoreCount: number | undefined;
32
+ /**
33
+ * <p>The number of threads to run for each CPU core.</p>
34
+ * @public
35
+ */
36
+ ThreadsPerCore: number | undefined;
37
+ /**
38
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
39
+ * request, and provides an error response. If you have the required permissions, the error response is
40
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
41
+ * @public
42
+ */
43
+ DryRun?: boolean | undefined;
44
+ }
45
+ /**
46
+ * @public
47
+ */
48
+ export interface ModifyInstanceCpuOptionsResult {
49
+ /**
50
+ * <p>The ID of the instance that was updated.</p>
51
+ * @public
52
+ */
53
+ InstanceId?: string | undefined;
54
+ /**
55
+ * <p>The number of CPU cores that are running for the specified instance after the
56
+ * update.</p>
57
+ * @public
58
+ */
59
+ CoreCount?: number | undefined;
60
+ /**
61
+ * <p>The number of threads that are running per CPU core for the specified
62
+ * instance after the update.</p>
63
+ * @public
64
+ */
65
+ ThreadsPerCore?: number | undefined;
66
+ }
67
+ /**
68
+ * <p>Describes the credit option for CPU usage of a burstable performance instance.</p>
69
+ * @public
70
+ */
71
+ export interface InstanceCreditSpecificationRequest {
72
+ /**
73
+ * <p>The ID of the instance.</p>
74
+ * @public
75
+ */
76
+ InstanceId: string | undefined;
77
+ /**
78
+ * <p>The credit option for CPU usage of the instance.</p>
79
+ * <p>Valid values: <code>standard</code> | <code>unlimited</code>
80
+ * </p>
81
+ * <p>T3 instances with <code>host</code> tenancy do not support the <code>unlimited</code>
82
+ * CPU credit option.</p>
83
+ * @public
84
+ */
85
+ CpuCredits?: string | undefined;
86
+ }
87
+ /**
88
+ * @public
89
+ */
90
+ export interface ModifyInstanceCreditSpecificationRequest {
91
+ /**
92
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
93
+ * request, and provides an error response. If you have the required permissions, the error response is
94
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
95
+ * @public
96
+ */
97
+ DryRun?: boolean | undefined;
98
+ /**
99
+ * <p>A unique, case-sensitive token that you provide to ensure idempotency of your
100
+ * modification request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
101
+ * Idempotency</a>.</p>
102
+ * @public
103
+ */
104
+ ClientToken?: string | undefined;
105
+ /**
106
+ * <p>Information about the credit option for CPU usage.</p>
107
+ * @public
108
+ */
109
+ InstanceCreditSpecifications: InstanceCreditSpecificationRequest[] | undefined;
110
+ }
111
+ /**
112
+ * <p>Describes the burstable performance instance whose credit option for CPU usage was
113
+ * successfully modified.</p>
114
+ * @public
115
+ */
116
+ export interface SuccessfulInstanceCreditSpecificationItem {
117
+ /**
118
+ * <p>The ID of the instance.</p>
119
+ * @public
120
+ */
121
+ InstanceId?: string | undefined;
122
+ }
123
+ /**
124
+ * @public
125
+ * @enum
126
+ */
127
+ export declare const UnsuccessfulInstanceCreditSpecificationErrorCode: {
128
+ readonly INCORRECT_INSTANCE_STATE: "IncorrectInstanceState";
129
+ readonly INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported";
130
+ readonly INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound";
131
+ readonly INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed";
132
+ };
133
+ /**
134
+ * @public
135
+ */
136
+ export type UnsuccessfulInstanceCreditSpecificationErrorCode = (typeof UnsuccessfulInstanceCreditSpecificationErrorCode)[keyof typeof UnsuccessfulInstanceCreditSpecificationErrorCode];
8
137
  /**
9
138
  * <p>Information about the error for the burstable performance instance whose credit option
10
139
  * for CPU usage was not modified.</p>
@@ -8168,149 +8297,6 @@ export interface StartVpcEndpointServicePrivateDnsVerificationResult {
8168
8297
  */
8169
8298
  ReturnValue?: boolean | undefined;
8170
8299
  }
8171
- /**
8172
- * @public
8173
- */
8174
- export interface StopInstancesRequest {
8175
- /**
8176
- * <p>The IDs of the instances.</p>
8177
- * @public
8178
- */
8179
- InstanceIds: string[] | undefined;
8180
- /**
8181
- * <p>Hibernates the instance if the instance was enabled for hibernation at launch. If the
8182
- * instance cannot hibernate successfully, a normal shutdown occurs. For more information,
8183
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate
8184
- * your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
8185
- * <p> Default: <code>false</code>
8186
- * </p>
8187
- * @public
8188
- */
8189
- Hibernate?: boolean | undefined;
8190
- /**
8191
- * <p>Checks whether you have the required permissions for the operation, without actually making the
8192
- * request, and provides an error response. If you have the required permissions, the error response is
8193
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8194
- * @public
8195
- */
8196
- DryRun?: boolean | undefined;
8197
- /**
8198
- * <p>Forces the instances to stop. The instances do not have an opportunity to flush file
8199
- * system caches or file system metadata. If you use this option, you must perform file
8200
- * system check and repair procedures. This option is not recommended for Windows
8201
- * instances.</p>
8202
- * <p>Default: <code>false</code>
8203
- * </p>
8204
- * @public
8205
- */
8206
- Force?: boolean | undefined;
8207
- }
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
8300
  /**
8315
8301
  * @internal
8316
8302
  */
@@ -1,5 +1,149 @@
1
1
  import { ByoipCidr, IpPermission, NatGatewayAddress } from "./models_0";
2
- import { InstanceMonitoring } from "./models_7";
2
+ import { ClientVpnConnectionStatus } from "./models_3";
3
+ import { InstanceMonitoring, InstanceStateChange } from "./models_7";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface StopInstancesRequest {
8
+ /**
9
+ * <p>The IDs of the instances.</p>
10
+ * @public
11
+ */
12
+ InstanceIds: string[] | undefined;
13
+ /**
14
+ * <p>Hibernates the instance if the instance was enabled for hibernation at launch. If the
15
+ * instance cannot hibernate successfully, a normal shutdown occurs. For more information,
16
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate
17
+ * your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
18
+ * <p> Default: <code>false</code>
19
+ * </p>
20
+ * @public
21
+ */
22
+ Hibernate?: boolean | undefined;
23
+ /**
24
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
25
+ * request, and provides an error response. If you have the required permissions, the error response is
26
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
27
+ * @public
28
+ */
29
+ DryRun?: boolean | undefined;
30
+ /**
31
+ * <p>Forces the instances to stop. The instances do not have an opportunity to flush file
32
+ * system caches or file system metadata. If you use this option, you must perform file
33
+ * system check and repair procedures. This option is not recommended for Windows
34
+ * instances.</p>
35
+ * <p>Default: <code>false</code>
36
+ * </p>
37
+ * @public
38
+ */
39
+ Force?: boolean | undefined;
40
+ }
41
+ /**
42
+ * @public
43
+ */
44
+ export interface StopInstancesResult {
45
+ /**
46
+ * <p>Information about the stopped instances.</p>
47
+ * @public
48
+ */
49
+ StoppingInstances?: InstanceStateChange[] | undefined;
50
+ }
51
+ /**
52
+ * @public
53
+ */
54
+ export interface TerminateClientVpnConnectionsRequest {
55
+ /**
56
+ * <p>The ID of the Client VPN endpoint to which the client is connected.</p>
57
+ * @public
58
+ */
59
+ ClientVpnEndpointId: string | undefined;
60
+ /**
61
+ * <p>The ID of the client connection to be terminated.</p>
62
+ * @public
63
+ */
64
+ ConnectionId?: string | undefined;
65
+ /**
66
+ * <p>The name of the user who initiated the connection. Use this option to terminate all active connections for
67
+ * the specified user. This option can only be used if the user has established up to five connections.</p>
68
+ * @public
69
+ */
70
+ Username?: string | undefined;
71
+ /**
72
+ * <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>
73
+ * @public
74
+ */
75
+ DryRun?: boolean | undefined;
76
+ }
77
+ /**
78
+ * <p>Information about a terminated Client VPN endpoint client connection.</p>
79
+ * @public
80
+ */
81
+ export interface TerminateConnectionStatus {
82
+ /**
83
+ * <p>The ID of the client connection.</p>
84
+ * @public
85
+ */
86
+ ConnectionId?: string | undefined;
87
+ /**
88
+ * <p>The state of the client connection.</p>
89
+ * @public
90
+ */
91
+ PreviousStatus?: ClientVpnConnectionStatus | undefined;
92
+ /**
93
+ * <p>A message about the status of the client connection, if applicable.</p>
94
+ * @public
95
+ */
96
+ CurrentStatus?: ClientVpnConnectionStatus | undefined;
97
+ }
98
+ /**
99
+ * @public
100
+ */
101
+ export interface TerminateClientVpnConnectionsResult {
102
+ /**
103
+ * <p>The ID of the Client VPN endpoint.</p>
104
+ * @public
105
+ */
106
+ ClientVpnEndpointId?: string | undefined;
107
+ /**
108
+ * <p>The user who established the terminated client connections.</p>
109
+ * @public
110
+ */
111
+ Username?: string | undefined;
112
+ /**
113
+ * <p>The current state of the client connections.</p>
114
+ * @public
115
+ */
116
+ ConnectionStatuses?: TerminateConnectionStatus[] | undefined;
117
+ }
118
+ /**
119
+ * @public
120
+ */
121
+ export interface TerminateInstancesRequest {
122
+ /**
123
+ * <p>The IDs of the instances.</p>
124
+ * <p>Constraints: Up to 1000 instance IDs. We recommend breaking up this request into
125
+ * smaller batches.</p>
126
+ * @public
127
+ */
128
+ InstanceIds: string[] | undefined;
129
+ /**
130
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
131
+ * request, and provides an error response. If you have the required permissions, the error response is
132
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
133
+ * @public
134
+ */
135
+ DryRun?: boolean | undefined;
136
+ }
137
+ /**
138
+ * @public
139
+ */
140
+ export interface TerminateInstancesResult {
141
+ /**
142
+ * <p>Information about the terminated instances.</p>
143
+ * @public
144
+ */
145
+ TerminatingInstances?: InstanceStateChange[] | undefined;
146
+ }
3
147
  /**
4
148
  * @public
5
149
  */
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- CreateLocalGatewayRouteRequest,
10
- CreateLocalGatewayRouteResult,
11
- } from "../models/models_1";
8
+ import { CreateLocalGatewayRouteRequest } from "../models/models_1";
9
+ import { CreateLocalGatewayRouteResult } from "../models/models_2";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface CreateLocalGatewayRouteCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  CreateLocalGatewayRouteTableRequest,
10
10
  CreateLocalGatewayRouteTableResult,
11
- } from "../models/models_1";
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 { CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest } from "../models/models_1";
9
- import { CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult } from "../models/models_2";
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
- CreateVpnConnectionRequest,
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/models_2";
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/models_2";
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
- DescribeFastLaunchImagesRequest,
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 { DescribeFastSnapshotRestoresRequest } from "../models/models_3";
9
- import { DescribeFastSnapshotRestoresResult } from "../models/models_4";
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
- DescribePrincipalIdFormatRequest,
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
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribePublicIpv4PoolsRequest,
10
10
  DescribePublicIpv4PoolsResult,
11
- } from "../models/models_4";
11
+ } from "../models/models_5";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribePublicIpv4PoolsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeRegionsRequest } from "../models/models_4";
9
- import { DescribeRegionsResult } from "../models/models_5";
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 {}
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DisassociateSubnetCidrBlockRequest,
10
- DisassociateSubnetCidrBlockResult,
11
- } from "../models/models_5";
8
+ import { DisassociateSubnetCidrBlockRequest } from "../models/models_5";
9
+ import { DisassociateSubnetCidrBlockResult } from "../models/models_6";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DisassociateSubnetCidrBlockCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DisassociateTransitGatewayMulticastDomainRequest,
10
10
  DisassociateTransitGatewayMulticastDomainResult,
11
- } from "../models/models_5";
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/models_5";
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/models_5";
11
+ } from "../models/models_6";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DisassociateTransitGatewayRouteTableCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- ModifyInstanceCapacityReservationAttributesRequest,
10
- ModifyInstanceCapacityReservationAttributesResult,
11
- } from "../models/models_6";
8
+ import { ModifyInstanceCapacityReservationAttributesRequest } from "../models/models_6";
9
+ import { ModifyInstanceCapacityReservationAttributesResult } from "../models/models_7";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ModifyInstanceCapacityReservationAttributesCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ModifyInstanceCpuOptionsRequest,
10
10
  ModifyInstanceCpuOptionsResult,
11
- } from "../models/models_6";
11
+ } from "../models/models_7";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ModifyInstanceCpuOptionsCommandInput