@aws-sdk/client-ec2 3.818.0 → 3.821.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 (46) hide show
  1. package/dist-cjs/index.js +47 -9
  2. package/dist-es/models/models_3.js +7 -0
  3. package/dist-es/protocols/Aws_ec2.js +41 -9
  4. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +1 -1
  5. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateImageCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +2 -2
  8. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +3 -3
  9. package/dist-types/commands/DeregisterImageCommand.d.ts +19 -6
  10. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +1 -2
  11. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +3 -3
  12. package/dist-types/commands/DescribeVpcsCommand.d.ts +1 -1
  13. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +1 -1
  14. package/dist-types/commands/DisableImageDeprecationCommand.d.ts +1 -1
  15. package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +2 -2
  16. package/dist-types/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
  17. package/dist-types/commands/EnableImageCommand.d.ts +2 -2
  18. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +2 -2
  19. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  20. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -1
  21. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -2
  22. package/dist-types/commands/RegisterImageCommand.d.ts +2 -2
  23. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +2 -1
  24. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  25. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +3 -2
  26. package/dist-types/models/models_1.d.ts +5 -4
  27. package/dist-types/models/models_3.d.ts +82 -94
  28. package/dist-types/models/models_4.d.ts +104 -133
  29. package/dist-types/models/models_5.d.ts +125 -123
  30. package/dist-types/models/models_6.d.ts +122 -49
  31. package/dist-types/models/models_7.d.ts +57 -50
  32. package/dist-types/models/models_8.d.ts +41 -2
  33. package/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/DescribeVpcsCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -4
  37. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +4 -2
  38. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +2 -4
  39. package/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_3.d.ts +18 -21
  41. package/dist-types/ts3.4/models/models_4.d.ts +21 -18
  42. package/dist-types/ts3.4/models/models_5.d.ts +17 -13
  43. package/dist-types/ts3.4/models/models_6.d.ts +12 -13
  44. package/dist-types/ts3.4/models/models_7.d.ts +14 -9
  45. package/dist-types/ts3.4/models/models_8.d.ts +11 -1
  46. package/package.json +35 -35
@@ -4315,6 +4315,16 @@ export interface DeregisterImageRequest {
4315
4315
  * @public
4316
4316
  */
4317
4317
  ImageId: string | undefined;
4318
+ /**
4319
+ * <p>Specifies whether to delete the snapshots associated with the AMI during
4320
+ * deregistration.</p>
4321
+ * <note>
4322
+ * <p>If a snapshot is associated with multiple AMIs, it is not deleted, regardless of this setting.</p>
4323
+ * </note>
4324
+ * <p>Default: The snapshots are not deleted.</p>
4325
+ * @public
4326
+ */
4327
+ DeleteAssociatedSnapshots?: boolean | undefined;
4318
4328
  /**
4319
4329
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
4320
4330
  * and provides an error response. If you have the required permissions, the error response is
@@ -4323,10 +4333,82 @@ export interface DeregisterImageRequest {
4323
4333
  */
4324
4334
  DryRun?: boolean | undefined;
4325
4335
  }
4336
+ /**
4337
+ * @public
4338
+ * @enum
4339
+ */
4340
+ export declare const SnapshotReturnCodes: {
4341
+ readonly ERROR_CODE_CLIENT_ERROR: "client-error";
4342
+ readonly ERROR_CODE_INTERNAL_ERROR: "internal-error";
4343
+ readonly ERROR_MISSING_PERMISSIONS: "missing-permissions";
4344
+ readonly SUCCESS: "success";
4345
+ readonly WARN_SKIPPED: "skipped";
4346
+ };
4347
+ /**
4348
+ * @public
4349
+ */
4350
+ export type SnapshotReturnCodes = (typeof SnapshotReturnCodes)[keyof typeof SnapshotReturnCodes];
4351
+ /**
4352
+ * <p>The snapshot ID and its deletion result code.</p>
4353
+ * @public
4354
+ */
4355
+ export interface DeleteSnapshotReturnCode {
4356
+ /**
4357
+ * <p>The ID of the snapshot.</p>
4358
+ * @public
4359
+ */
4360
+ SnapshotId?: string | undefined;
4361
+ /**
4362
+ * <p>The result code from the snapshot deletion attempt. Possible values:</p>
4363
+ * <ul>
4364
+ * <li>
4365
+ * <p>
4366
+ * <code>success</code> - The snapshot was successfully deleted.</p>
4367
+ * </li>
4368
+ * <li>
4369
+ * <p>
4370
+ * <code>skipped</code> - The snapshot was not deleted because it's associated with other
4371
+ * AMIs.</p>
4372
+ * </li>
4373
+ * <li>
4374
+ * <p>
4375
+ * <code>missing-permissions</code> - The snapshot was not deleted because the role lacks
4376
+ * <code>DeleteSnapshot</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/security_iam_service-with-iam.html">How
4377
+ * Amazon EBS works with IAM</a>.</p>
4378
+ * </li>
4379
+ * <li>
4380
+ * <p>
4381
+ * <code>internal-error</code> - The snapshot was not deleted due to a server
4382
+ * error.</p>
4383
+ * </li>
4384
+ * <li>
4385
+ * <p>
4386
+ * <code>client-error</code> - The snapshot was not deleted due to a client configuration
4387
+ * error.</p>
4388
+ * </li>
4389
+ * </ul>
4390
+ * <p>For details about an error, check the <code>DeleteSnapshot</code> event in the CloudTrail
4391
+ * event history. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/tutorial-event-history.html">View event history</a>
4392
+ * in the <i>Amazon Web Services CloudTrail User Guide</i>.</p>
4393
+ * @public
4394
+ */
4395
+ ReturnCode?: SnapshotReturnCodes | undefined;
4396
+ }
4326
4397
  /**
4327
4398
  * @public
4328
4399
  */
4329
4400
  export interface DeregisterImageResult {
4401
+ /**
4402
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
4403
+ * @public
4404
+ */
4405
+ Return?: boolean | undefined;
4406
+ /**
4407
+ * <p>The deletion result for each snapshot associated with the AMI, including the snapshot ID
4408
+ * and its success or error code.</p>
4409
+ * @public
4410
+ */
4411
+ DeleteSnapshotResults?: DeleteSnapshotReturnCode[] | undefined;
4330
4412
  }
4331
4413
  /**
4332
4414
  * <p>Information about the tag keys to deregister for the current Region. You can either
@@ -6599,100 +6681,6 @@ export declare const ClientVpnConnectionStatusCode: {
6599
6681
  * @public
6600
6682
  */
6601
6683
  export type ClientVpnConnectionStatusCode = (typeof ClientVpnConnectionStatusCode)[keyof typeof ClientVpnConnectionStatusCode];
6602
- /**
6603
- * <p>Describes the status of a client connection.</p>
6604
- * @public
6605
- */
6606
- export interface ClientVpnConnectionStatus {
6607
- /**
6608
- * <p>The state of the client connection.</p>
6609
- * @public
6610
- */
6611
- Code?: ClientVpnConnectionStatusCode | undefined;
6612
- /**
6613
- * <p>A message about the status of the client connection, if applicable.</p>
6614
- * @public
6615
- */
6616
- Message?: string | undefined;
6617
- }
6618
- /**
6619
- * <p>Describes a client connection.</p>
6620
- * @public
6621
- */
6622
- export interface ClientVpnConnection {
6623
- /**
6624
- * <p>The ID of the Client VPN endpoint to which the client is connected.</p>
6625
- * @public
6626
- */
6627
- ClientVpnEndpointId?: string | undefined;
6628
- /**
6629
- * <p>The current date and time.</p>
6630
- * @public
6631
- */
6632
- Timestamp?: string | undefined;
6633
- /**
6634
- * <p>The ID of the client connection.</p>
6635
- * @public
6636
- */
6637
- ConnectionId?: string | undefined;
6638
- /**
6639
- * <p>The username of the client who established the client connection. This information is only provided
6640
- * if Active Directory client authentication is used.</p>
6641
- * @public
6642
- */
6643
- Username?: string | undefined;
6644
- /**
6645
- * <p>The date and time the client connection was established.</p>
6646
- * @public
6647
- */
6648
- ConnectionEstablishedTime?: string | undefined;
6649
- /**
6650
- * <p>The number of bytes sent by the client.</p>
6651
- * @public
6652
- */
6653
- IngressBytes?: string | undefined;
6654
- /**
6655
- * <p>The number of bytes received by the client.</p>
6656
- * @public
6657
- */
6658
- EgressBytes?: string | undefined;
6659
- /**
6660
- * <p>The number of packets sent by the client.</p>
6661
- * @public
6662
- */
6663
- IngressPackets?: string | undefined;
6664
- /**
6665
- * <p>The number of packets received by the client.</p>
6666
- * @public
6667
- */
6668
- EgressPackets?: string | undefined;
6669
- /**
6670
- * <p>The IP address of the client.</p>
6671
- * @public
6672
- */
6673
- ClientIp?: string | undefined;
6674
- /**
6675
- * <p>The common name associated with the client. This is either the name of the client certificate,
6676
- * or the Active Directory user name.</p>
6677
- * @public
6678
- */
6679
- CommonName?: string | undefined;
6680
- /**
6681
- * <p>The current state of the client connection.</p>
6682
- * @public
6683
- */
6684
- Status?: ClientVpnConnectionStatus | undefined;
6685
- /**
6686
- * <p>The date and time the client connection was terminated.</p>
6687
- * @public
6688
- */
6689
- ConnectionEndTime?: string | undefined;
6690
- /**
6691
- * <p>The statuses returned by the client connect handler for posture compliance, if applicable.</p>
6692
- * @public
6693
- */
6694
- PostureComplianceStatuses?: string[] | undefined;
6695
- }
6696
6684
  /**
6697
6685
  * @internal
6698
6686
  */
@@ -1,7 +1,101 @@
1
1
  import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, Tag } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
2
+ import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
3
  import { GroupIdentifier, InstanceIpv6Address, NetworkInterfaceStatus, StateReason } from "./models_2";
4
- import { Byoasn, ClientVpnConnection, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
4
+ import { Byoasn, ClientVpnConnectionStatusCode, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
+ /**
6
+ * <p>Describes the status of a client connection.</p>
7
+ * @public
8
+ */
9
+ export interface ClientVpnConnectionStatus {
10
+ /**
11
+ * <p>The state of the client connection.</p>
12
+ * @public
13
+ */
14
+ Code?: ClientVpnConnectionStatusCode | undefined;
15
+ /**
16
+ * <p>A message about the status of the client connection, if applicable.</p>
17
+ * @public
18
+ */
19
+ Message?: string | undefined;
20
+ }
21
+ /**
22
+ * <p>Describes a client connection.</p>
23
+ * @public
24
+ */
25
+ export interface ClientVpnConnection {
26
+ /**
27
+ * <p>The ID of the Client VPN endpoint to which the client is connected.</p>
28
+ * @public
29
+ */
30
+ ClientVpnEndpointId?: string | undefined;
31
+ /**
32
+ * <p>The current date and time.</p>
33
+ * @public
34
+ */
35
+ Timestamp?: string | undefined;
36
+ /**
37
+ * <p>The ID of the client connection.</p>
38
+ * @public
39
+ */
40
+ ConnectionId?: string | undefined;
41
+ /**
42
+ * <p>The username of the client who established the client connection. This information is only provided
43
+ * if Active Directory client authentication is used.</p>
44
+ * @public
45
+ */
46
+ Username?: string | undefined;
47
+ /**
48
+ * <p>The date and time the client connection was established.</p>
49
+ * @public
50
+ */
51
+ ConnectionEstablishedTime?: string | undefined;
52
+ /**
53
+ * <p>The number of bytes sent by the client.</p>
54
+ * @public
55
+ */
56
+ IngressBytes?: string | undefined;
57
+ /**
58
+ * <p>The number of bytes received by the client.</p>
59
+ * @public
60
+ */
61
+ EgressBytes?: string | undefined;
62
+ /**
63
+ * <p>The number of packets sent by the client.</p>
64
+ * @public
65
+ */
66
+ IngressPackets?: string | undefined;
67
+ /**
68
+ * <p>The number of packets received by the client.</p>
69
+ * @public
70
+ */
71
+ EgressPackets?: string | undefined;
72
+ /**
73
+ * <p>The IP address of the client.</p>
74
+ * @public
75
+ */
76
+ ClientIp?: string | undefined;
77
+ /**
78
+ * <p>The common name associated with the client. This is either the name of the client certificate,
79
+ * or the Active Directory user name.</p>
80
+ * @public
81
+ */
82
+ CommonName?: string | undefined;
83
+ /**
84
+ * <p>The current state of the client connection.</p>
85
+ * @public
86
+ */
87
+ Status?: ClientVpnConnectionStatus | undefined;
88
+ /**
89
+ * <p>The date and time the client connection was terminated.</p>
90
+ * @public
91
+ */
92
+ ConnectionEndTime?: string | undefined;
93
+ /**
94
+ * <p>The statuses returned by the client connect handler for posture compliance, if applicable.</p>
95
+ * @public
96
+ */
97
+ PostureComplianceStatuses?: string[] | undefined;
98
+ }
5
99
  /**
6
100
  * @public
7
101
  */
@@ -4253,8 +4347,8 @@ export interface ImageAttribute {
4253
4347
  * <p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,
4254
4348
  * use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the
4255
4349
  * <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
4256
- * GitHub. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot</a> in the
4257
- * <i>Amazon EC2 User Guide</i>.</p>
4350
+ * GitHub. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot for Amazon EC2
4351
+ * instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
4258
4352
  * @public
4259
4353
  */
4260
4354
  UefiData?: AttributeValue | undefined;
@@ -4769,8 +4863,8 @@ export interface Image {
4769
4863
  */
4770
4864
  VirtualizationType?: VirtualizationType | undefined;
4771
4865
  /**
4772
- * <p>The boot mode of the image. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
4773
- * <i>Amazon EC2 User Guide</i>.</p>
4866
+ * <p>The boot mode of the image. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Instance launch behavior with Amazon EC2
4867
+ * boot modes</a> in the <i>Amazon EC2 User Guide</i>.</p>
4774
4868
  * @public
4775
4869
  */
4776
4870
  BootMode?: BootModeValues | undefined;
@@ -4835,8 +4929,8 @@ export interface Image {
4835
4929
  * <p>The ID only appears if the AMI was created using <a>CreateImage</a>, <a>CopyImage</a>, or <a>CreateRestoreImageTask</a>. The ID does not appear
4836
4930
  * if the AMI was created using any other API. For some older AMIs, the ID might not be
4837
4931
  * available. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html">Identify the
4838
- * source AMI used to create a new AMI</a> in the
4839
- * <i>Amazon EC2 User Guide</i>.</p>
4932
+ * source AMI used to create a new Amazon EC2 AMI</a> in the
4933
+ * <i>Amazon EC2 User Guide</i>.</p>
4840
4934
  * @public
4841
4935
  */
4842
4936
  SourceImageId?: string | undefined;
@@ -4845,8 +4939,8 @@ export interface Image {
4845
4939
  * <p>The Region only appears if the AMI was created using <a>CreateImage</a>, <a>CopyImage</a>, or <a>CreateRestoreImageTask</a>. The Region does not
4846
4940
  * appear if the AMI was created using any other API. For some older AMIs, the Region might not
4847
4941
  * be available. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html">Identify the
4848
- * source AMI used to create a new AMI</a> in the
4849
- * <i>Amazon EC2 User Guide</i>.</p>
4942
+ * source AMI used to create a new Amazon EC2 AMI</a> in the
4943
+ * <i>Amazon EC2 User Guide</i>.</p>
4850
4944
  * @public
4851
4945
  */
4852
4946
  SourceImageRegion?: string | undefined;
@@ -10539,129 +10633,6 @@ export interface DescribeIpv6PoolsResult {
10539
10633
  */
10540
10634
  NextToken?: string | undefined;
10541
10635
  }
10542
- /**
10543
- * @public
10544
- */
10545
- export interface DescribeKeyPairsRequest {
10546
- /**
10547
- * <p>The key pair names.</p>
10548
- * <p>Default: Describes all of your key pairs.</p>
10549
- * @public
10550
- */
10551
- KeyNames?: string[] | undefined;
10552
- /**
10553
- * <p>The IDs of the key pairs.</p>
10554
- * @public
10555
- */
10556
- KeyPairIds?: string[] | undefined;
10557
- /**
10558
- * <p>If <code>true</code>, the public key material is included in the response.</p>
10559
- * <p>Default: <code>false</code>
10560
- * </p>
10561
- * @public
10562
- */
10563
- IncludePublicKey?: boolean | undefined;
10564
- /**
10565
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10566
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10567
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10568
- * @public
10569
- */
10570
- DryRun?: boolean | undefined;
10571
- /**
10572
- * <p>The filters.</p>
10573
- * <ul>
10574
- * <li>
10575
- * <p>
10576
- * <code>key-pair-id</code> - The ID of the key pair.</p>
10577
- * </li>
10578
- * <li>
10579
- * <p>
10580
- * <code>fingerprint</code> - The fingerprint of the key pair.</p>
10581
- * </li>
10582
- * <li>
10583
- * <p>
10584
- * <code>key-name</code> - The name of the key pair.</p>
10585
- * </li>
10586
- * <li>
10587
- * <p>
10588
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
10589
- * </li>
10590
- * <li>
10591
- * <p>
10592
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
10593
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
10594
- * </li>
10595
- * </ul>
10596
- * @public
10597
- */
10598
- Filters?: Filter[] | undefined;
10599
- }
10600
- /**
10601
- * <p>Describes a key pair.</p>
10602
- * @public
10603
- */
10604
- export interface KeyPairInfo {
10605
- /**
10606
- * <p>The ID of the key pair.</p>
10607
- * @public
10608
- */
10609
- KeyPairId?: string | undefined;
10610
- /**
10611
- * <p>The type of key pair.</p>
10612
- * @public
10613
- */
10614
- KeyType?: KeyType | undefined;
10615
- /**
10616
- * <p>Any tags applied to the key pair.</p>
10617
- * @public
10618
- */
10619
- Tags?: Tag[] | undefined;
10620
- /**
10621
- * <p>The public key material.</p>
10622
- * @public
10623
- */
10624
- PublicKey?: string | undefined;
10625
- /**
10626
- * <p>If you used Amazon EC2 to create the key pair, this is the date and time when the key
10627
- * was created, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO
10628
- * 8601 date-time format</a>, in the UTC time zone.</p>
10629
- * <p>If you imported an existing key pair to Amazon EC2, this is the date and time the key
10630
- * was imported, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO
10631
- * 8601 date-time format</a>, in the UTC time zone.</p>
10632
- * @public
10633
- */
10634
- CreateTime?: Date | undefined;
10635
- /**
10636
- * <p>The name of the key pair.</p>
10637
- * @public
10638
- */
10639
- KeyName?: string | undefined;
10640
- /**
10641
- * <p>If you used <a>CreateKeyPair</a> to create the key pair:</p>
10642
- * <ul>
10643
- * <li>
10644
- * <p>For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.</p>
10645
- * </li>
10646
- * <li>
10647
- * <p>For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which
10648
- * is the default for OpenSSH, starting with <a href="http://www.openssh.com/txt/release-6.8">OpenSSH 6.8</a>.</p>
10649
- * </li>
10650
- * </ul>
10651
- * <p>If you used <a>ImportKeyPair</a> to provide Amazon Web Services the public key:</p>
10652
- * <ul>
10653
- * <li>
10654
- * <p>For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC4716.</p>
10655
- * </li>
10656
- * <li>
10657
- * <p>For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256
10658
- * digest, which is the default for OpenSSH, starting with <a href="http://www.openssh.com/txt/release-6.8">OpenSSH 6.8</a>.</p>
10659
- * </li>
10660
- * </ul>
10661
- * @public
10662
- */
10663
- KeyFingerprint?: string | undefined;
10664
- }
10665
10636
  /**
10666
10637
  * @internal
10667
10638
  */