@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,7 +1,7 @@
1
1
  import { _InstanceType, AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, MetricType, PaymentOption, PeriodType, SnapshotDetail, SnapshotTaskDetail, StatisticType, VirtualizationType } from "./models_3";
4
+ import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, MetricType, PaymentOption, PeriodType, SnapshotDetail, StatisticType, VirtualizationType } from "./models_3";
5
5
  import { AnalysisStatus, ArchitectureType } from "./models_4";
6
6
  /**
7
7
  * @public
@@ -97,13 +97,18 @@ export interface DescribeVolumesModificationsRequest {
97
97
  }
98
98
  /**
99
99
  * @public
100
+ * @enum
100
101
  */
101
- export declare enum VolumeModificationState {
102
- completed = "completed",
103
- failed = "failed",
104
- modifying = "modifying",
105
- optimizing = "optimizing"
106
- }
102
+ export declare const VolumeModificationState: {
103
+ readonly completed: "completed";
104
+ readonly failed: "failed";
105
+ readonly modifying: "modifying";
106
+ readonly optimizing: "optimizing";
107
+ };
108
+ /**
109
+ * @public
110
+ */
111
+ export type VolumeModificationState = (typeof VolumeModificationState)[keyof typeof VolumeModificationState];
107
112
  /**
108
113
  * @public
109
114
  * <p>Describes the modification status of an EBS volume.</p>
@@ -352,11 +357,16 @@ export interface VolumeStatusEvent {
352
357
  }
353
358
  /**
354
359
  * @public
360
+ * @enum
355
361
  */
356
- export declare enum VolumeStatusName {
357
- io_enabled = "io-enabled",
358
- io_performance = "io-performance"
359
- }
362
+ export declare const VolumeStatusName: {
363
+ readonly io_enabled: "io-enabled";
364
+ readonly io_performance: "io-performance";
365
+ };
366
+ /**
367
+ * @public
368
+ */
369
+ export type VolumeStatusName = (typeof VolumeStatusName)[keyof typeof VolumeStatusName];
360
370
  /**
361
371
  * @public
362
372
  * <p>Describes a volume status.</p>
@@ -373,12 +383,17 @@ export interface VolumeStatusDetails {
373
383
  }
374
384
  /**
375
385
  * @public
386
+ * @enum
376
387
  */
377
- export declare enum VolumeStatusInfoStatus {
378
- impaired = "impaired",
379
- insufficient_data = "insufficient-data",
380
- ok = "ok"
381
- }
388
+ export declare const VolumeStatusInfoStatus: {
389
+ readonly impaired: "impaired";
390
+ readonly insufficient_data: "insufficient-data";
391
+ readonly ok: "ok";
392
+ };
393
+ /**
394
+ * @public
395
+ */
396
+ export type VolumeStatusInfoStatus = (typeof VolumeStatusInfoStatus)[keyof typeof VolumeStatusInfoStatus];
382
397
  /**
383
398
  * @public
384
399
  * <p>Describes the status of a volume.</p>
@@ -443,12 +458,17 @@ export interface DescribeVolumeStatusResult {
443
458
  }
444
459
  /**
445
460
  * @public
461
+ * @enum
446
462
  */
447
- export declare enum VpcAttributeName {
448
- enableDnsHostnames = "enableDnsHostnames",
449
- enableDnsSupport = "enableDnsSupport",
450
- enableNetworkAddressUsageMetrics = "enableNetworkAddressUsageMetrics"
451
- }
463
+ export declare const VpcAttributeName: {
464
+ readonly enableDnsHostnames: "enableDnsHostnames";
465
+ readonly enableDnsSupport: "enableDnsSupport";
466
+ readonly enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics";
467
+ };
468
+ /**
469
+ * @public
470
+ */
471
+ export type VpcAttributeName = (typeof VpcAttributeName)[keyof typeof VpcAttributeName];
452
472
  /**
453
473
  * @public
454
474
  */
@@ -2088,13 +2108,18 @@ export interface DisableTransitGatewayRouteTablePropagationRequest {
2088
2108
  }
2089
2109
  /**
2090
2110
  * @public
2111
+ * @enum
2091
2112
  */
2092
- export declare enum TransitGatewayPropagationState {
2093
- disabled = "disabled",
2094
- disabling = "disabling",
2095
- enabled = "enabled",
2096
- enabling = "enabling"
2097
- }
2113
+ export declare const TransitGatewayPropagationState: {
2114
+ readonly disabled: "disabled";
2115
+ readonly disabling: "disabling";
2116
+ readonly enabled: "enabled";
2117
+ readonly enabling: "enabling";
2118
+ };
2119
+ /**
2120
+ * @public
2121
+ */
2122
+ export type TransitGatewayPropagationState = (typeof TransitGatewayPropagationState)[keyof typeof TransitGatewayPropagationState];
2098
2123
  /**
2099
2124
  * @public
2100
2125
  * <p>Describes route propagation.</p>
@@ -3144,11 +3169,16 @@ export interface ExportClientVpnClientCertificateRevocationListRequest {
3144
3169
  }
3145
3170
  /**
3146
3171
  * @public
3172
+ * @enum
3147
3173
  */
3148
- export declare enum ClientCertificateRevocationListStatusCode {
3149
- active = "active",
3150
- pending = "pending"
3151
- }
3174
+ export declare const ClientCertificateRevocationListStatusCode: {
3175
+ readonly active: "active";
3176
+ readonly pending: "pending";
3177
+ };
3178
+ /**
3179
+ * @public
3180
+ */
3181
+ export type ClientCertificateRevocationListStatusCode = (typeof ClientCertificateRevocationListStatusCode)[keyof typeof ClientCertificateRevocationListStatusCode];
3152
3182
  /**
3153
3183
  * @public
3154
3184
  * <p>Describes the state of a client certificate revocation list.</p>
@@ -3853,13 +3883,18 @@ export interface GetConsoleScreenshotResult {
3853
3883
  }
3854
3884
  /**
3855
3885
  * @public
3886
+ * @enum
3856
3887
  */
3857
- export declare enum UnlimitedSupportedInstanceFamily {
3858
- t2 = "t2",
3859
- t3 = "t3",
3860
- t3a = "t3a",
3861
- t4g = "t4g"
3862
- }
3888
+ export declare const UnlimitedSupportedInstanceFamily: {
3889
+ readonly t2: "t2";
3890
+ readonly t3: "t3";
3891
+ readonly t3a: "t3a";
3892
+ readonly t4g: "t4g";
3893
+ };
3894
+ /**
3895
+ * @public
3896
+ */
3897
+ export type UnlimitedSupportedInstanceFamily = (typeof UnlimitedSupportedInstanceFamily)[keyof typeof UnlimitedSupportedInstanceFamily];
3863
3898
  /**
3864
3899
  * @public
3865
3900
  */
@@ -3942,13 +3977,18 @@ export interface GetEbsEncryptionByDefaultResult {
3942
3977
  }
3943
3978
  /**
3944
3979
  * @public
3980
+ * @enum
3945
3981
  */
3946
- export declare enum PartitionLoadFrequency {
3947
- DAILY = "daily",
3948
- MONTHLY = "monthly",
3949
- NONE = "none",
3950
- WEEKLY = "weekly"
3951
- }
3982
+ export declare const PartitionLoadFrequency: {
3983
+ readonly DAILY: "daily";
3984
+ readonly MONTHLY: "monthly";
3985
+ readonly NONE: "none";
3986
+ readonly WEEKLY: "weekly";
3987
+ };
3988
+ /**
3989
+ * @public
3990
+ */
3991
+ export type PartitionLoadFrequency = (typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
3952
3992
  /**
3953
3993
  * @public
3954
3994
  * <p>Describes integration options for Amazon Athena.</p>
@@ -4018,7 +4058,8 @@ export interface GetFlowLogsIntegrationTemplateResult {
4018
4058
  */
4019
4059
  export interface GetGroupsForCapacityReservationRequest {
4020
4060
  /**
4021
- * <p>The ID of the Capacity Reservation.</p>
4061
+ * <p>The ID of the Capacity Reservation. If you specify a Capacity Reservation that is shared
4062
+ * with you, the operation returns only Capacity Reservation groups that you own.</p>
4022
4063
  */
4023
4064
  CapacityReservationId: string | undefined;
4024
4065
  /**
@@ -4266,31 +4307,46 @@ export interface GetIpamAddressHistoryRequest {
4266
4307
  }
4267
4308
  /**
4268
4309
  * @public
4310
+ * @enum
4269
4311
  */
4270
- export declare enum IpamComplianceStatus {
4271
- compliant = "compliant",
4272
- ignored = "ignored",
4273
- noncompliant = "noncompliant",
4274
- unmanaged = "unmanaged"
4275
- }
4312
+ export declare const IpamComplianceStatus: {
4313
+ readonly compliant: "compliant";
4314
+ readonly ignored: "ignored";
4315
+ readonly noncompliant: "noncompliant";
4316
+ readonly unmanaged: "unmanaged";
4317
+ };
4276
4318
  /**
4277
4319
  * @public
4278
4320
  */
4279
- export declare enum IpamOverlapStatus {
4280
- ignored = "ignored",
4281
- nonoverlapping = "nonoverlapping",
4282
- overlapping = "overlapping"
4283
- }
4321
+ export type IpamComplianceStatus = (typeof IpamComplianceStatus)[keyof typeof IpamComplianceStatus];
4284
4322
  /**
4285
4323
  * @public
4324
+ * @enum
4286
4325
  */
4287
- export declare enum IpamAddressHistoryResourceType {
4288
- eip = "eip",
4289
- instance = "instance",
4290
- network_interface = "network-interface",
4291
- subnet = "subnet",
4292
- vpc = "vpc"
4293
- }
4326
+ export declare const IpamOverlapStatus: {
4327
+ readonly ignored: "ignored";
4328
+ readonly nonoverlapping: "nonoverlapping";
4329
+ readonly overlapping: "overlapping";
4330
+ };
4331
+ /**
4332
+ * @public
4333
+ */
4334
+ export type IpamOverlapStatus = (typeof IpamOverlapStatus)[keyof typeof IpamOverlapStatus];
4335
+ /**
4336
+ * @public
4337
+ * @enum
4338
+ */
4339
+ export declare const IpamAddressHistoryResourceType: {
4340
+ readonly eip: "eip";
4341
+ readonly instance: "instance";
4342
+ readonly network_interface: "network-interface";
4343
+ readonly subnet: "subnet";
4344
+ readonly vpc: "vpc";
4345
+ };
4346
+ /**
4347
+ * @public
4348
+ */
4349
+ export type IpamAddressHistoryResourceType = (typeof IpamAddressHistoryResourceType)[keyof typeof IpamAddressHistoryResourceType];
4294
4350
  /**
4295
4351
  * @public
4296
4352
  * <p>The historical record of a CIDR within an IPAM scope. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/view-history-cidr-ipam.html">View the history of IP addresses</a> in the <i>Amazon VPC IPAM User Guide</i>.
@@ -4388,12 +4444,17 @@ export interface GetIpamDiscoveredAccountsRequest {
4388
4444
  }
4389
4445
  /**
4390
4446
  * @public
4447
+ * @enum
4391
4448
  */
4392
- export declare enum IpamDiscoveryFailureCode {
4393
- assume_role_failure = "assume-role-failure",
4394
- throttling_failure = "throttling-failure",
4395
- unauthorized_failure = "unauthorized-failure"
4396
- }
4449
+ export declare const IpamDiscoveryFailureCode: {
4450
+ readonly assume_role_failure: "assume-role-failure";
4451
+ readonly throttling_failure: "throttling-failure";
4452
+ readonly unauthorized_failure: "unauthorized-failure";
4453
+ };
4454
+ /**
4455
+ * @public
4456
+ */
4457
+ export type IpamDiscoveryFailureCode = (typeof IpamDiscoveryFailureCode)[keyof typeof IpamDiscoveryFailureCode];
4397
4458
  /**
4398
4459
  * @public
4399
4460
  * <p>The discovery failure reason.</p>
@@ -4506,14 +4567,19 @@ export interface GetIpamDiscoveredResourceCidrsRequest {
4506
4567
  }
4507
4568
  /**
4508
4569
  * @public
4570
+ * @enum
4509
4571
  */
4510
- export declare enum IpamResourceType {
4511
- eip = "eip",
4512
- ipv6_pool = "ipv6-pool",
4513
- public_ipv4_pool = "public-ipv4-pool",
4514
- subnet = "subnet",
4515
- vpc = "vpc"
4516
- }
4572
+ export declare const IpamResourceType: {
4573
+ readonly eip: "eip";
4574
+ readonly ipv6_pool: "ipv6-pool";
4575
+ readonly public_ipv4_pool: "public-ipv4-pool";
4576
+ readonly subnet: "subnet";
4577
+ readonly vpc: "vpc";
4578
+ };
4579
+ /**
4580
+ * @public
4581
+ */
4582
+ export type IpamResourceType = (typeof IpamResourceType)[keyof typeof IpamResourceType];
4517
4583
  /**
4518
4584
  * @public
4519
4585
  * <p>An IPAM discovered resource CIDR. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered resource CIDR is the IP address range in CIDR notation that is associated with the resource.</p>
@@ -4720,12 +4786,17 @@ export interface GetIpamResourceCidrsRequest {
4720
4786
  }
4721
4787
  /**
4722
4788
  * @public
4789
+ * @enum
4723
4790
  */
4724
- export declare enum IpamManagementState {
4725
- ignored = "ignored",
4726
- managed = "managed",
4727
- unmanaged = "unmanaged"
4728
- }
4791
+ export declare const IpamManagementState: {
4792
+ readonly ignored: "ignored";
4793
+ readonly managed: "managed";
4794
+ readonly unmanaged: "unmanaged";
4795
+ };
4796
+ /**
4797
+ * @public
4798
+ */
4799
+ export type IpamManagementState = (typeof IpamManagementState)[keyof typeof IpamManagementState];
4729
4800
  /**
4730
4801
  * @public
4731
4802
  * <p>The CIDR for an IPAM resource.</p>
@@ -6091,6 +6162,70 @@ export interface GetVpnConnectionDeviceTypesResult {
6091
6162
  */
6092
6163
  NextToken?: string;
6093
6164
  }
6165
+ /**
6166
+ * @public
6167
+ */
6168
+ export interface GetVpnTunnelReplacementStatusRequest {
6169
+ /**
6170
+ * <p>The ID of the Site-to-Site VPN connection. </p>
6171
+ */
6172
+ VpnConnectionId: string | undefined;
6173
+ /**
6174
+ * <p>The external IP address of the VPN tunnel.</p>
6175
+ */
6176
+ VpnTunnelOutsideIpAddress: string | undefined;
6177
+ /**
6178
+ * <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>
6179
+ */
6180
+ DryRun?: boolean;
6181
+ }
6182
+ /**
6183
+ * @public
6184
+ * <p>Details for Site-to-Site VPN tunnel endpoint maintenance events.</p>
6185
+ */
6186
+ export interface MaintenanceDetails {
6187
+ /**
6188
+ * <p>Verify existence of a pending maintenance.</p>
6189
+ */
6190
+ PendingMaintenance?: string;
6191
+ /**
6192
+ * <p>The timestamp after which Amazon Web Services will automatically apply maintenance.</p>
6193
+ */
6194
+ MaintenanceAutoAppliedAfter?: Date;
6195
+ /**
6196
+ * <p>Timestamp of last applied maintenance.</p>
6197
+ */
6198
+ LastMaintenanceApplied?: Date;
6199
+ }
6200
+ /**
6201
+ * @public
6202
+ */
6203
+ export interface GetVpnTunnelReplacementStatusResult {
6204
+ /**
6205
+ * <p>The ID of the Site-to-Site VPN connection. </p>
6206
+ */
6207
+ VpnConnectionId?: string;
6208
+ /**
6209
+ * <p>The ID of the transit gateway associated with the VPN connection.</p>
6210
+ */
6211
+ TransitGatewayId?: string;
6212
+ /**
6213
+ * <p>The ID of the customer gateway.</p>
6214
+ */
6215
+ CustomerGatewayId?: string;
6216
+ /**
6217
+ * <p>The ID of the virtual private gateway.</p>
6218
+ */
6219
+ VpnGatewayId?: string;
6220
+ /**
6221
+ * <p>The external IP address of the VPN tunnel.</p>
6222
+ */
6223
+ VpnTunnelOutsideIpAddress?: string;
6224
+ /**
6225
+ * <p>Get details of pending tunnel endpoint maintenance.</p>
6226
+ */
6227
+ MaintenanceDetails?: MaintenanceDetails;
6228
+ }
6094
6229
  /**
6095
6230
  * @public
6096
6231
  */
@@ -6575,119 +6710,6 @@ export interface ImportKeyPairResult {
6575
6710
  */
6576
6711
  Tags?: Tag[];
6577
6712
  }
6578
- /**
6579
- * @public
6580
- * <p>The disk container object for the import snapshot request.</p>
6581
- */
6582
- export interface SnapshotDiskContainer {
6583
- /**
6584
- * <p>The description of the disk image being imported.</p>
6585
- */
6586
- Description?: string;
6587
- /**
6588
- * <p>The format of the disk image being imported.</p>
6589
- * <p>Valid values: <code>VHD</code> | <code>VMDK</code> | <code>RAW</code>
6590
- * </p>
6591
- */
6592
- Format?: string;
6593
- /**
6594
- * <p>The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon
6595
- * S3 URL (s3://..).</p>
6596
- */
6597
- Url?: string;
6598
- /**
6599
- * <p>The Amazon S3 bucket for the disk image.</p>
6600
- */
6601
- UserBucket?: UserBucket;
6602
- }
6603
- /**
6604
- * @public
6605
- */
6606
- export interface ImportSnapshotRequest {
6607
- /**
6608
- * <p>The client-specific data.</p>
6609
- */
6610
- ClientData?: ClientData;
6611
- /**
6612
- * <p>Token to enable idempotency for VM import requests.</p>
6613
- */
6614
- ClientToken?: string;
6615
- /**
6616
- * <p>The description string for the import snapshot task.</p>
6617
- */
6618
- Description?: string;
6619
- /**
6620
- * <p>Information about the disk container.</p>
6621
- */
6622
- DiskContainer?: SnapshotDiskContainer;
6623
- /**
6624
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6625
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6626
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6627
- */
6628
- DryRun?: boolean;
6629
- /**
6630
- * <p>Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is
6631
- * 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
6632
- * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
6633
- */
6634
- Encrypted?: boolean;
6635
- /**
6636
- * <p>An identifier for the symmetric KMS key to use when creating the
6637
- * encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this
6638
- * parameter is not specified, the default KMS key for EBS is used. If a <code>KmsKeyId</code> is
6639
- * specified, the <code>Encrypted</code> flag must also be set. </p>
6640
- * <p>The KMS key identifier may be provided in any of the following formats: </p>
6641
- * <ul>
6642
- * <li>
6643
- * <p>Key ID</p>
6644
- * </li>
6645
- * <li>
6646
- * <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>
6647
- * </li>
6648
- * <li>
6649
- * <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>
6650
- * </li>
6651
- * <li>
6652
- * <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>
6653
- * </li>
6654
- * </ul>
6655
- * <p>Amazon Web Services parses <code>KmsKeyId</code> asynchronously, meaning that the action you call may appear to complete even
6656
- * though you provided an invalid identifier. This action will eventually report failure. </p>
6657
- * <p>The specified KMS key must exist in the Region that the snapshot is being copied to.</p>
6658
- * <p>Amazon EBS does not support asymmetric KMS keys.</p>
6659
- */
6660
- KmsKeyId?: string;
6661
- /**
6662
- * <p>The name of the role to use when not using the default role, 'vmimport'.</p>
6663
- */
6664
- RoleName?: string;
6665
- /**
6666
- * <p>The tags to apply to the import snapshot task during creation.</p>
6667
- */
6668
- TagSpecifications?: TagSpecification[];
6669
- }
6670
- /**
6671
- * @public
6672
- */
6673
- export interface ImportSnapshotResult {
6674
- /**
6675
- * <p>A description of the import snapshot task.</p>
6676
- */
6677
- Description?: string;
6678
- /**
6679
- * <p>The ID of the import snapshot task.</p>
6680
- */
6681
- ImportTaskId?: string;
6682
- /**
6683
- * <p>Information about the import snapshot task.</p>
6684
- */
6685
- SnapshotTaskDetail?: SnapshotTaskDetail;
6686
- /**
6687
- * <p>Any tags assigned to the import snapshot task.</p>
6688
- */
6689
- Tags?: Tag[];
6690
- }
6691
6713
  /**
6692
6714
  * @internal
6693
6715
  */