@aws-sdk/client-ec2 3.301.0 → 3.304.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 (66) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EC2.js +30 -0
  3. package/dist-cjs/commands/GetVpnTunnelReplacementStatusCommand.js +45 -0
  4. package/dist-cjs/commands/ReplaceVpnTunnelCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/ruleset.js +3 -3
  7. package/dist-cjs/models/models_0.js +1126 -1192
  8. package/dist-cjs/models/models_1.js +397 -469
  9. package/dist-cjs/models/models_2.js +280 -336
  10. package/dist-cjs/models/models_3.js +241 -286
  11. package/dist-cjs/models/models_4.js +197 -235
  12. package/dist-cjs/models/models_5.js +77 -91
  13. package/dist-cjs/models/models_6.js +65 -79
  14. package/dist-cjs/protocols/Aws_ec2.js +180 -15
  15. package/dist-es/EC2.js +30 -0
  16. package/dist-es/commands/GetVpnTunnelReplacementStatusCommand.js +41 -0
  17. package/dist-es/commands/ReplaceVpnTunnelCommand.js +41 -0
  18. package/dist-es/commands/index.js +2 -0
  19. package/dist-es/endpoint/ruleset.js +3 -3
  20. package/dist-es/models/models_0.js +1126 -1192
  21. package/dist-es/models/models_1.js +397 -469
  22. package/dist-es/models/models_2.js +280 -336
  23. package/dist-es/models/models_3.js +241 -286
  24. package/dist-es/models/models_4.js +197 -235
  25. package/dist-es/models/models_5.js +77 -91
  26. package/dist-es/models/models_6.js +65 -79
  27. package/dist-es/protocols/Aws_ec2.js +161 -0
  28. package/dist-types/EC2.d.ts +16 -0
  29. package/dist-types/EC2Client.d.ts +4 -2
  30. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -0
  31. package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +65 -0
  32. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  34. package/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +66 -0
  35. package/dist-types/commands/StartInstancesCommand.d.ts +2 -1
  36. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  37. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -2
  38. package/dist-types/commands/index.d.ts +2 -0
  39. package/dist-types/models/models_0.d.ts +1464 -1134
  40. package/dist-types/models/models_1.d.ts +757 -397
  41. package/dist-types/models/models_2.d.ts +568 -280
  42. package/dist-types/models/models_3.d.ts +466 -241
  43. package/dist-types/models/models_4.d.ts +388 -198
  44. package/dist-types/models/models_5.d.ts +214 -192
  45. package/dist-types/models/models_6.d.ts +299 -159
  46. package/dist-types/models/models_7.d.ts +95 -3
  47. package/dist-types/protocols/Aws_ec2.d.ts +6 -0
  48. package/dist-types/ts3.4/EC2.d.ts +34 -0
  49. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  50. package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +37 -0
  53. package/dist-types/ts3.4/commands/StartInstancesCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +1244 -1126
  58. package/dist-types/ts3.4/models/models_1.d.ts +523 -397
  59. package/dist-types/ts3.4/models/models_2.d.ts +381 -280
  60. package/dist-types/ts3.4/models/models_3.d.ts +324 -241
  61. package/dist-types/ts3.4/models/models_4.d.ts +261 -197
  62. package/dist-types/ts3.4/models/models_5.d.ts +123 -101
  63. package/dist-types/ts3.4/models/models_6.d.ts +126 -91
  64. package/dist-types/ts3.4/models/models_7.d.ts +37 -3
  65. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  66. package/package.json +36 -36
@@ -1,9 +1,122 @@
1
- import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
1
+ import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CreditSpecificationRequest, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, TpmSupportValues } from "./models_3";
5
- import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InstanceState, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, NetworkInsightsAccessScopeAnalysis, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration } from "./models_4";
6
- import { DiskImageDetail, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, VolumeDetail, VolumeModification } from "./models_5";
4
+ import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
5
+ import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration } from "./models_4";
6
+ import { ClientData, DiskImageDetail, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, UserBucket, VolumeDetail, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ * <p>The disk container object for the import snapshot request.</p>
10
+ */
11
+ export interface SnapshotDiskContainer {
12
+ /**
13
+ * <p>The description of the disk image being imported.</p>
14
+ */
15
+ Description?: string;
16
+ /**
17
+ * <p>The format of the disk image being imported.</p>
18
+ * <p>Valid values: <code>VHD</code> | <code>VMDK</code> | <code>RAW</code>
19
+ * </p>
20
+ */
21
+ Format?: string;
22
+ /**
23
+ * <p>The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon
24
+ * S3 URL (s3://..).</p>
25
+ */
26
+ Url?: string;
27
+ /**
28
+ * <p>The Amazon S3 bucket for the disk image.</p>
29
+ */
30
+ UserBucket?: UserBucket;
31
+ }
32
+ /**
33
+ * @public
34
+ */
35
+ export interface ImportSnapshotRequest {
36
+ /**
37
+ * <p>The client-specific data.</p>
38
+ */
39
+ ClientData?: ClientData;
40
+ /**
41
+ * <p>Token to enable idempotency for VM import requests.</p>
42
+ */
43
+ ClientToken?: string;
44
+ /**
45
+ * <p>The description string for the import snapshot task.</p>
46
+ */
47
+ Description?: string;
48
+ /**
49
+ * <p>Information about the disk container.</p>
50
+ */
51
+ DiskContainer?: SnapshotDiskContainer;
52
+ /**
53
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
54
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
55
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
56
+ */
57
+ DryRun?: boolean;
58
+ /**
59
+ * <p>Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is
60
+ * used unless you specify a non-default KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS Encryption</a> in the
61
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
62
+ */
63
+ Encrypted?: boolean;
64
+ /**
65
+ * <p>An identifier for the symmetric KMS key to use when creating the
66
+ * encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this
67
+ * parameter is not specified, the default KMS key for EBS is used. If a <code>KmsKeyId</code> is
68
+ * specified, the <code>Encrypted</code> flag must also be set. </p>
69
+ * <p>The KMS key identifier may be provided in any of the following formats: </p>
70
+ * <ul>
71
+ * <li>
72
+ * <p>Key ID</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>Key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>alias</code> namespace, and then the key alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>ARN using key ID. The ID ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>key</code> namespace, and then the key ID. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:key/<i>abcd1234-a123-456a-a12b-a123b4cd56ef</i>.</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>ARN using key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>alias</code> namespace, and then the key alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>. </p>
82
+ * </li>
83
+ * </ul>
84
+ * <p>Amazon Web Services parses <code>KmsKeyId</code> asynchronously, meaning that the action you call may appear to complete even
85
+ * though you provided an invalid identifier. This action will eventually report failure. </p>
86
+ * <p>The specified KMS key must exist in the Region that the snapshot is being copied to.</p>
87
+ * <p>Amazon EBS does not support asymmetric KMS keys.</p>
88
+ */
89
+ KmsKeyId?: string;
90
+ /**
91
+ * <p>The name of the role to use when not using the default role, 'vmimport'.</p>
92
+ */
93
+ RoleName?: string;
94
+ /**
95
+ * <p>The tags to apply to the import snapshot task during creation.</p>
96
+ */
97
+ TagSpecifications?: TagSpecification[];
98
+ }
99
+ /**
100
+ * @public
101
+ */
102
+ export interface ImportSnapshotResult {
103
+ /**
104
+ * <p>A description of the import snapshot task.</p>
105
+ */
106
+ Description?: string;
107
+ /**
108
+ * <p>The ID of the import snapshot task.</p>
109
+ */
110
+ ImportTaskId?: string;
111
+ /**
112
+ * <p>Information about the import snapshot task.</p>
113
+ */
114
+ SnapshotTaskDetail?: SnapshotTaskDetail;
115
+ /**
116
+ * <p>Any tags assigned to the import snapshot task.</p>
117
+ */
118
+ Tags?: Tag[];
119
+ }
7
120
  /**
8
121
  * @public
9
122
  */
@@ -203,11 +316,16 @@ export interface ModifyAddressAttributeResult {
203
316
  }
204
317
  /**
205
318
  * @public
319
+ * @enum
206
320
  */
207
- export declare enum ModifyAvailabilityZoneOptInStatus {
208
- not_opted_in = "not-opted-in",
209
- opted_in = "opted-in"
210
- }
321
+ export declare const ModifyAvailabilityZoneOptInStatus: {
322
+ readonly not_opted_in: "not-opted-in";
323
+ readonly opted_in: "opted-in";
324
+ };
325
+ /**
326
+ * @public
327
+ */
328
+ export type ModifyAvailabilityZoneOptInStatus = (typeof ModifyAvailabilityZoneOptInStatus)[keyof typeof ModifyAvailabilityZoneOptInStatus];
211
329
  /**
212
330
  * @public
213
331
  */
@@ -615,11 +733,16 @@ export interface LoadPermissionModifications {
615
733
  }
616
734
  /**
617
735
  * @public
736
+ * @enum
618
737
  */
619
- export declare enum OperationType {
620
- add = "add",
621
- remove = "remove"
622
- }
738
+ export declare const OperationType: {
739
+ readonly add: "add";
740
+ readonly remove: "remove";
741
+ };
742
+ /**
743
+ * @public
744
+ */
745
+ export type OperationType = (typeof OperationType)[keyof typeof OperationType];
623
746
  /**
624
747
  * @public
625
748
  */
@@ -1154,13 +1277,18 @@ export interface SuccessfulInstanceCreditSpecificationItem {
1154
1277
  }
1155
1278
  /**
1156
1279
  * @public
1280
+ * @enum
1157
1281
  */
1158
- export declare enum UnsuccessfulInstanceCreditSpecificationErrorCode {
1159
- INCORRECT_INSTANCE_STATE = "IncorrectInstanceState",
1160
- INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED = "InstanceCreditSpecification.NotSupported",
1161
- INSTANCE_NOT_FOUND = "InvalidInstanceID.NotFound",
1162
- INVALID_INSTANCE_ID = "InvalidInstanceID.Malformed"
1163
- }
1282
+ export declare const UnsuccessfulInstanceCreditSpecificationErrorCode: {
1283
+ readonly INCORRECT_INSTANCE_STATE: "IncorrectInstanceState";
1284
+ readonly INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported";
1285
+ readonly INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound";
1286
+ readonly INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed";
1287
+ };
1288
+ /**
1289
+ * @public
1290
+ */
1291
+ export type UnsuccessfulInstanceCreditSpecificationErrorCode = (typeof UnsuccessfulInstanceCreditSpecificationErrorCode)[keyof typeof UnsuccessfulInstanceCreditSpecificationErrorCode];
1164
1292
  /**
1165
1293
  * @public
1166
1294
  * <p>Information about the error for the burstable performance instance whose credit option
@@ -1421,11 +1549,16 @@ export interface ModifyInstanceMetadataOptionsResult {
1421
1549
  }
1422
1550
  /**
1423
1551
  * @public
1552
+ * @enum
1424
1553
  */
1425
- export declare enum HostTenancy {
1426
- dedicated = "dedicated",
1427
- host = "host"
1428
- }
1554
+ export declare const HostTenancy: {
1555
+ readonly dedicated: "dedicated";
1556
+ readonly host: "host";
1557
+ };
1558
+ /**
1559
+ * @public
1560
+ */
1561
+ export type HostTenancy = (typeof HostTenancy)[keyof typeof HostTenancy];
1429
1562
  /**
1430
1563
  * @public
1431
1564
  */
@@ -2140,10 +2273,15 @@ export interface ModifySnapshotAttributeRequest {
2140
2273
  }
2141
2274
  /**
2142
2275
  * @public
2276
+ * @enum
2143
2277
  */
2144
- export declare enum TargetStorageTier {
2145
- archive = "archive"
2146
- }
2278
+ export declare const TargetStorageTier: {
2279
+ readonly archive: "archive";
2280
+ };
2281
+ /**
2282
+ * @public
2283
+ */
2284
+ export type TargetStorageTier = (typeof TargetStorageTier)[keyof typeof TargetStorageTier];
2147
2285
  /**
2148
2286
  * @public
2149
2287
  */
@@ -2326,13 +2464,18 @@ export interface ModifyTrafficMirrorFilterNetworkServicesResult {
2326
2464
  }
2327
2465
  /**
2328
2466
  * @public
2467
+ * @enum
2329
2468
  */
2330
- export declare enum TrafficMirrorFilterRuleField {
2331
- description = "description",
2332
- destination_port_range = "destination-port-range",
2333
- protocol = "protocol",
2334
- source_port_range = "source-port-range"
2335
- }
2469
+ export declare const TrafficMirrorFilterRuleField: {
2470
+ readonly description: "description";
2471
+ readonly destination_port_range: "destination-port-range";
2472
+ readonly protocol: "protocol";
2473
+ readonly source_port_range: "source-port-range";
2474
+ };
2475
+ /**
2476
+ * @public
2477
+ */
2478
+ export type TrafficMirrorFilterRuleField = (typeof TrafficMirrorFilterRuleField)[keyof typeof TrafficMirrorFilterRuleField];
2336
2479
  /**
2337
2480
  * @public
2338
2481
  */
@@ -2401,12 +2544,17 @@ export interface ModifyTrafficMirrorFilterRuleResult {
2401
2544
  }
2402
2545
  /**
2403
2546
  * @public
2547
+ * @enum
2404
2548
  */
2405
- export declare enum TrafficMirrorSessionField {
2406
- description = "description",
2407
- packet_length = "packet-length",
2408
- virtual_network_id = "virtual-network-id"
2409
- }
2549
+ export declare const TrafficMirrorSessionField: {
2550
+ readonly description: "description";
2551
+ readonly packet_length: "packet-length";
2552
+ readonly virtual_network_id: "virtual-network-id";
2553
+ };
2554
+ /**
2555
+ * @public
2556
+ */
2557
+ export type TrafficMirrorSessionField = (typeof TrafficMirrorSessionField)[keyof typeof TrafficMirrorSessionField];
2410
2558
  /**
2411
2559
  * @public
2412
2560
  */
@@ -3472,10 +3620,15 @@ export interface ModifyVpcPeeringConnectionOptionsResult {
3472
3620
  }
3473
3621
  /**
3474
3622
  * @public
3623
+ * @enum
3475
3624
  */
3476
- export declare enum VpcTenancy {
3477
- default = "default"
3478
- }
3625
+ export declare const VpcTenancy: {
3626
+ readonly default: "default";
3627
+ };
3628
+ /**
3629
+ * @public
3630
+ */
3631
+ export type VpcTenancy = (typeof VpcTenancy)[keyof typeof VpcTenancy];
3479
3632
  /**
3480
3633
  * @public
3481
3634
  */
@@ -3809,6 +3962,10 @@ export interface ModifyVpnTunnelOptionsSpecification {
3809
3962
  * <p>Options for logging VPN tunnel activity.</p>
3810
3963
  */
3811
3964
  LogOptions?: VpnTunnelLogOptionsSpecification;
3965
+ /**
3966
+ * <p>Turn on or off tunnel endpoint lifecycle control feature.</p>
3967
+ */
3968
+ EnableTunnelLifecycleControl?: boolean;
3812
3969
  }
3813
3970
  /**
3814
3971
  * @public
@@ -3833,6 +3990,12 @@ export interface ModifyVpnTunnelOptionsRequest {
3833
3990
  * <code>UnauthorizedOperation</code>.</p>
3834
3991
  */
3835
3992
  DryRun?: boolean;
3993
+ /**
3994
+ * <p>Choose whether or not to trigger immediate tunnel replacement.</p>
3995
+ * <p>Valid values: <code>True</code> | <code>False</code>
3996
+ * </p>
3997
+ */
3998
+ SkipTunnelReplacement?: boolean;
3836
3999
  }
3837
4000
  /**
3838
4001
  * @public
@@ -3898,12 +4061,17 @@ export interface MoveAddressToVpcRequest {
3898
4061
  }
3899
4062
  /**
3900
4063
  * @public
4064
+ * @enum
3901
4065
  */
3902
- export declare enum Status {
3903
- inClassic = "InClassic",
3904
- inVpc = "InVpc",
3905
- moveInProgress = "MoveInProgress"
3906
- }
4066
+ export declare const Status: {
4067
+ readonly inClassic: "InClassic";
4068
+ readonly inVpc: "InVpc";
4069
+ readonly moveInProgress: "MoveInProgress";
4070
+ };
4071
+ /**
4072
+ * @public
4073
+ */
4074
+ export type Status = (typeof Status)[keyof typeof Status];
3907
4075
  /**
3908
4076
  * @public
3909
4077
  */
@@ -5016,24 +5184,64 @@ export interface ReplaceTransitGatewayRouteResult {
5016
5184
  /**
5017
5185
  * @public
5018
5186
  */
5019
- export declare enum ReportInstanceReasonCodes {
5020
- instance_stuck_in_state = "instance-stuck-in-state",
5021
- not_accepting_credentials = "not-accepting-credentials",
5022
- other = "other",
5023
- password_not_available = "password-not-available",
5024
- performance_ebs_volume = "performance-ebs-volume",
5025
- performance_instance_store = "performance-instance-store",
5026
- performance_network = "performance-network",
5027
- performance_other = "performance-other",
5028
- unresponsive = "unresponsive"
5187
+ export interface ReplaceVpnTunnelRequest {
5188
+ /**
5189
+ * <p>The ID of the Site-to-Site VPN connection. </p>
5190
+ */
5191
+ VpnConnectionId: string | undefined;
5192
+ /**
5193
+ * <p>The external IP address of the VPN tunnel.</p>
5194
+ */
5195
+ VpnTunnelOutsideIpAddress: string | undefined;
5196
+ /**
5197
+ * <p>Trigger pending tunnel endpoint maintenance.</p>
5198
+ */
5199
+ ApplyPendingMaintenance?: boolean;
5200
+ /**
5201
+ * <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>
5202
+ */
5203
+ DryRun?: boolean;
5029
5204
  }
5030
5205
  /**
5031
5206
  * @public
5032
5207
  */
5033
- export declare enum ReportStatusType {
5034
- impaired = "impaired",
5035
- ok = "ok"
5208
+ export interface ReplaceVpnTunnelResult {
5209
+ /**
5210
+ * <p>Confirmation of replace tunnel operation.</p>
5211
+ */
5212
+ Return?: boolean;
5036
5213
  }
5214
+ /**
5215
+ * @public
5216
+ * @enum
5217
+ */
5218
+ export declare const ReportInstanceReasonCodes: {
5219
+ readonly instance_stuck_in_state: "instance-stuck-in-state";
5220
+ readonly not_accepting_credentials: "not-accepting-credentials";
5221
+ readonly other: "other";
5222
+ readonly password_not_available: "password-not-available";
5223
+ readonly performance_ebs_volume: "performance-ebs-volume";
5224
+ readonly performance_instance_store: "performance-instance-store";
5225
+ readonly performance_network: "performance-network";
5226
+ readonly performance_other: "performance-other";
5227
+ readonly unresponsive: "unresponsive";
5228
+ };
5229
+ /**
5230
+ * @public
5231
+ */
5232
+ export type ReportInstanceReasonCodes = (typeof ReportInstanceReasonCodes)[keyof typeof ReportInstanceReasonCodes];
5233
+ /**
5234
+ * @public
5235
+ * @enum
5236
+ */
5237
+ export declare const ReportStatusType: {
5238
+ readonly impaired: "impaired";
5239
+ readonly ok: "ok";
5240
+ };
5241
+ /**
5242
+ * @public
5243
+ */
5244
+ export type ReportStatusType = (typeof ReportStatusType)[keyof typeof ReportStatusType];
5037
5245
  /**
5038
5246
  * @public
5039
5247
  */
@@ -5384,10 +5592,15 @@ export interface ResetEbsDefaultKmsKeyIdResult {
5384
5592
  }
5385
5593
  /**
5386
5594
  * @public
5595
+ * @enum
5387
5596
  */
5388
- export declare enum ResetFpgaImageAttributeName {
5389
- loadPermission = "loadPermission"
5390
- }
5597
+ export declare const ResetFpgaImageAttributeName: {
5598
+ readonly loadPermission: "loadPermission";
5599
+ };
5600
+ /**
5601
+ * @public
5602
+ */
5603
+ export type ResetFpgaImageAttributeName = (typeof ResetFpgaImageAttributeName)[keyof typeof ResetFpgaImageAttributeName];
5391
5604
  /**
5392
5605
  * @public
5393
5606
  */
@@ -5418,10 +5631,15 @@ export interface ResetFpgaImageAttributeResult {
5418
5631
  }
5419
5632
  /**
5420
5633
  * @public
5634
+ * @enum
5421
5635
  */
5422
- export declare enum ResetImageAttributeName {
5423
- launchPermission = "launchPermission"
5424
- }
5636
+ export declare const ResetImageAttributeName: {
5637
+ readonly launchPermission: "launchPermission";
5638
+ };
5639
+ /**
5640
+ * @public
5641
+ */
5642
+ export type ResetImageAttributeName = (typeof ResetImageAttributeName)[keyof typeof ResetImageAttributeName];
5425
5643
  /**
5426
5644
  * @public
5427
5645
  * <p>Contains the parameters for ResetImageAttribute.</p>
@@ -6344,6 +6562,15 @@ export interface RunInstancesRequest {
6344
6562
  * accelerators are a resource you can attach to your Amazon EC2 instances to accelerate
6345
6563
  * your Deep Learning (DL) inference workloads.</p>
6346
6564
  * <p>You cannot specify accelerators from different generations in the same request.</p>
6565
+ * <note>
6566
+ * <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon
6567
+ * Elastic Inference (EI), and will help current customers migrate their workloads to
6568
+ * options that offer better price and performance. After April 15, 2023, new customers
6569
+ * will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
6570
+ * Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during
6571
+ * the past 30-day period are considered current customers and will be able to continue
6572
+ * using the service.</p>
6573
+ * </note>
6347
6574
  */
6348
6575
  ElasticInferenceAccelerators?: ElasticInferenceAccelerator[];
6349
6576
  /**
@@ -6884,11 +7111,16 @@ export interface SearchTransitGatewayMulticastGroupsRequest {
6884
7111
  }
6885
7112
  /**
6886
7113
  * @public
7114
+ * @enum
6887
7115
  */
6888
- export declare enum MembershipType {
6889
- igmp = "igmp",
6890
- static = "static"
6891
- }
7116
+ export declare const MembershipType: {
7117
+ readonly igmp: "igmp";
7118
+ readonly static: "static";
7119
+ };
7120
+ /**
7121
+ * @public
7122
+ */
7123
+ export type MembershipType = (typeof MembershipType)[keyof typeof MembershipType];
6892
7124
  /**
6893
7125
  * @public
6894
7126
  * <p>Describes the transit gateway multicast group resources.</p>
@@ -7067,98 +7299,6 @@ export interface StartInstancesRequest {
7067
7299
  */
7068
7300
  DryRun?: boolean;
7069
7301
  }
7070
- /**
7071
- * @public
7072
- * <p>Describes an instance state change.</p>
7073
- */
7074
- export interface InstanceStateChange {
7075
- /**
7076
- * <p>The current state of the instance.</p>
7077
- */
7078
- CurrentState?: InstanceState;
7079
- /**
7080
- * <p>The ID of the instance.</p>
7081
- */
7082
- InstanceId?: string;
7083
- /**
7084
- * <p>The previous state of the instance.</p>
7085
- */
7086
- PreviousState?: InstanceState;
7087
- }
7088
- /**
7089
- * @public
7090
- */
7091
- export interface StartInstancesResult {
7092
- /**
7093
- * <p>Information about the started instances.</p>
7094
- */
7095
- StartingInstances?: InstanceStateChange[];
7096
- }
7097
- /**
7098
- * @public
7099
- */
7100
- export interface StartNetworkInsightsAccessScopeAnalysisRequest {
7101
- /**
7102
- * <p>The ID of the Network Access Scope.</p>
7103
- */
7104
- NetworkInsightsAccessScopeId: string | undefined;
7105
- /**
7106
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7107
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7108
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7109
- */
7110
- DryRun?: boolean;
7111
- /**
7112
- * <p>The tags to apply.</p>
7113
- */
7114
- TagSpecifications?: TagSpecification[];
7115
- /**
7116
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information,
7117
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
7118
- */
7119
- ClientToken?: string;
7120
- }
7121
- /**
7122
- * @public
7123
- */
7124
- export interface StartNetworkInsightsAccessScopeAnalysisResult {
7125
- /**
7126
- * <p>The Network Access Scope analysis.</p>
7127
- */
7128
- NetworkInsightsAccessScopeAnalysis?: NetworkInsightsAccessScopeAnalysis;
7129
- }
7130
- /**
7131
- * @public
7132
- */
7133
- export interface StartNetworkInsightsAnalysisRequest {
7134
- /**
7135
- * <p>The ID of the path.</p>
7136
- */
7137
- NetworkInsightsPathId: string | undefined;
7138
- /**
7139
- * <p>The member accounts that contain resources that the path can traverse.</p>
7140
- */
7141
- AdditionalAccounts?: string[];
7142
- /**
7143
- * <p>The Amazon Resource Names (ARN) of the resources that the path must traverse.</p>
7144
- */
7145
- FilterInArns?: string[];
7146
- /**
7147
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7148
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7149
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7150
- */
7151
- DryRun?: boolean;
7152
- /**
7153
- * <p>The tags to apply.</p>
7154
- */
7155
- TagSpecifications?: TagSpecification[];
7156
- /**
7157
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information,
7158
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
7159
- */
7160
- ClientToken?: string;
7161
- }
7162
7302
  /**
7163
7303
  * @internal
7164
7304
  */