@aws-sdk/client-ec2 3.817.0 → 3.819.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 (95) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +309 -135
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
  5. package/dist-es/commands/GetActiveVpnTunnelStatusCommand.js +22 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +5 -0
  8. package/dist-es/models/models_3.js +7 -0
  9. package/dist-es/models/models_5.js +0 -7
  10. package/dist-es/models/models_6.js +7 -0
  11. package/dist-es/protocols/Aws_ec2.js +196 -53
  12. package/dist-types/EC2.d.ts +7 -0
  13. package/dist-types/EC2Client.d.ts +3 -2
  14. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +1 -1
  15. package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
  16. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateImageCommand.d.ts +2 -2
  18. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -1
  21. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -2
  22. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  23. package/dist-types/commands/DeregisterImageCommand.d.ts +19 -6
  24. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -2
  26. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -2
  28. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +3 -3
  29. package/dist-types/commands/DescribeVpcsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +2 -1
  31. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +1 -1
  32. package/dist-types/commands/DisableImageDeprecationCommand.d.ts +1 -1
  33. package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +2 -2
  34. package/dist-types/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
  35. package/dist-types/commands/EnableImageCommand.d.ts +2 -2
  36. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +2 -2
  37. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +84 -0
  38. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  39. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -1
  40. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  41. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
  42. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -0
  43. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  44. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  45. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  46. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  47. package/dist-types/commands/RegisterImageCommand.d.ts +2 -2
  48. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +2 -1
  49. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  50. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  51. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  52. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +3 -2
  53. package/dist-types/commands/index.d.ts +1 -0
  54. package/dist-types/models/models_0.d.ts +64 -48
  55. package/dist-types/models/models_1.d.ts +53 -32
  56. package/dist-types/models/models_2.d.ts +29 -58
  57. package/dist-types/models/models_3.d.ts +150 -151
  58. package/dist-types/models/models_4.d.ts +161 -203
  59. package/dist-types/models/models_5.d.ts +195 -226
  60. package/dist-types/models/models_6.d.ts +254 -149
  61. package/dist-types/models/models_7.d.ts +168 -114
  62. package/dist-types/models/models_8.d.ts +107 -5
  63. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  64. package/dist-types/ts3.4/EC2.d.ts +17 -0
  65. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  66. package/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +2 -4
  68. package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -2
  69. package/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +4 -2
  72. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -2
  74. package/dist-types/ts3.4/commands/DescribeVpcsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -4
  78. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
  80. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +2 -4
  81. package/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +18 -11
  86. package/dist-types/ts3.4/models/models_1.d.ts +11 -7
  87. package/dist-types/ts3.4/models/models_2.d.ts +7 -14
  88. package/dist-types/ts3.4/models/models_3.d.ts +33 -32
  89. package/dist-types/ts3.4/models/models_4.d.ts +33 -29
  90. package/dist-types/ts3.4/models/models_5.d.ts +29 -25
  91. package/dist-types/ts3.4/models/models_6.d.ts +33 -36
  92. package/dist-types/ts3.4/models/models_7.d.ts +40 -26
  93. package/dist-types/ts3.4/models/models_8.d.ts +29 -2
  94. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  95. package/package.json +1 -1
@@ -1,7 +1,157 @@
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, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
- import { GroupIdentifier, NetworkInterfaceStatus, StateReason } from "./models_2";
4
- import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
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
+ import { GroupIdentifier, InstanceIpv6Address, NetworkInterfaceStatus, StateReason } from "./models_2";
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
+ }
99
+ /**
100
+ * @public
101
+ */
102
+ export interface DescribeClientVpnConnectionsResult {
103
+ /**
104
+ * <p>Information about the active and terminated client connections.</p>
105
+ * @public
106
+ */
107
+ Connections?: ClientVpnConnection[] | undefined;
108
+ /**
109
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
110
+ * @public
111
+ */
112
+ NextToken?: string | undefined;
113
+ }
114
+ /**
115
+ * @public
116
+ */
117
+ export interface DescribeClientVpnEndpointsRequest {
118
+ /**
119
+ * <p>The ID of the Client VPN endpoint.</p>
120
+ * @public
121
+ */
122
+ ClientVpnEndpointIds?: string[] | undefined;
123
+ /**
124
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
125
+ * @public
126
+ */
127
+ MaxResults?: number | undefined;
128
+ /**
129
+ * <p>The token to retrieve the next page of results.</p>
130
+ * @public
131
+ */
132
+ NextToken?: string | undefined;
133
+ /**
134
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
135
+ * <ul>
136
+ * <li>
137
+ * <p>
138
+ * <code>endpoint-id</code> - The ID of the Client VPN endpoint.</p>
139
+ * </li>
140
+ * <li>
141
+ * <p>
142
+ * <code>transport-protocol</code> - The transport protocol (<code>tcp</code> |
143
+ * <code>udp</code>).</p>
144
+ * </li>
145
+ * </ul>
146
+ * @public
147
+ */
148
+ Filters?: Filter[] | undefined;
149
+ /**
150
+ * <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>
151
+ * @public
152
+ */
153
+ DryRun?: boolean | undefined;
154
+ }
5
155
  /**
6
156
  * @public
7
157
  * @enum
@@ -4197,8 +4347,8 @@ export interface ImageAttribute {
4197
4347
  * <p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,
4198
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
4199
4349
  * <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
4200
- * 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
4201
- * <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>
4202
4352
  * @public
4203
4353
  */
4204
4354
  UefiData?: AttributeValue | undefined;
@@ -4713,8 +4863,8 @@ export interface Image {
4713
4863
  */
4714
4864
  VirtualizationType?: VirtualizationType | undefined;
4715
4865
  /**
4716
- * <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
4717
- * <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>
4718
4868
  * @public
4719
4869
  */
4720
4870
  BootMode?: BootModeValues | undefined;
@@ -4779,8 +4929,8 @@ export interface Image {
4779
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
4780
4930
  * if the AMI was created using any other API. For some older AMIs, the ID might not be
4781
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
4782
- * source AMI used to create a new AMI</a> in the
4783
- * <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>
4784
4934
  * @public
4785
4935
  */
4786
4936
  SourceImageId?: string | undefined;
@@ -4789,8 +4939,8 @@ export interface Image {
4789
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
4790
4940
  * appear if the AMI was created using any other API. For some older AMIs, the Region might not
4791
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
4792
- * source AMI used to create a new AMI</a> in the
4793
- * <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>
4794
4944
  * @public
4795
4945
  */
4796
4946
  SourceImageRegion?: string | undefined;
@@ -10483,198 +10633,6 @@ export interface DescribeIpv6PoolsResult {
10483
10633
  */
10484
10634
  NextToken?: string | undefined;
10485
10635
  }
10486
- /**
10487
- * @public
10488
- */
10489
- export interface DescribeKeyPairsRequest {
10490
- /**
10491
- * <p>The key pair names.</p>
10492
- * <p>Default: Describes all of your key pairs.</p>
10493
- * @public
10494
- */
10495
- KeyNames?: string[] | undefined;
10496
- /**
10497
- * <p>The IDs of the key pairs.</p>
10498
- * @public
10499
- */
10500
- KeyPairIds?: string[] | undefined;
10501
- /**
10502
- * <p>If <code>true</code>, the public key material is included in the response.</p>
10503
- * <p>Default: <code>false</code>
10504
- * </p>
10505
- * @public
10506
- */
10507
- IncludePublicKey?: boolean | undefined;
10508
- /**
10509
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10510
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10511
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10512
- * @public
10513
- */
10514
- DryRun?: boolean | undefined;
10515
- /**
10516
- * <p>The filters.</p>
10517
- * <ul>
10518
- * <li>
10519
- * <p>
10520
- * <code>key-pair-id</code> - The ID of the key pair.</p>
10521
- * </li>
10522
- * <li>
10523
- * <p>
10524
- * <code>fingerprint</code> - The fingerprint of the key pair.</p>
10525
- * </li>
10526
- * <li>
10527
- * <p>
10528
- * <code>key-name</code> - The name of the key pair.</p>
10529
- * </li>
10530
- * <li>
10531
- * <p>
10532
- * <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>
10533
- * </li>
10534
- * <li>
10535
- * <p>
10536
- * <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.
10537
- * 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>
10538
- * </li>
10539
- * </ul>
10540
- * @public
10541
- */
10542
- Filters?: Filter[] | undefined;
10543
- }
10544
- /**
10545
- * <p>Describes a key pair.</p>
10546
- * @public
10547
- */
10548
- export interface KeyPairInfo {
10549
- /**
10550
- * <p>The ID of the key pair.</p>
10551
- * @public
10552
- */
10553
- KeyPairId?: string | undefined;
10554
- /**
10555
- * <p>The type of key pair.</p>
10556
- * @public
10557
- */
10558
- KeyType?: KeyType | undefined;
10559
- /**
10560
- * <p>Any tags applied to the key pair.</p>
10561
- * @public
10562
- */
10563
- Tags?: Tag[] | undefined;
10564
- /**
10565
- * <p>The public key material.</p>
10566
- * @public
10567
- */
10568
- PublicKey?: string | undefined;
10569
- /**
10570
- * <p>If you used Amazon EC2 to create the key pair, this is the date and time when the key
10571
- * was created, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO
10572
- * 8601 date-time format</a>, in the UTC time zone.</p>
10573
- * <p>If you imported an existing key pair to Amazon EC2, this is the date and time the key
10574
- * was imported, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO
10575
- * 8601 date-time format</a>, in the UTC time zone.</p>
10576
- * @public
10577
- */
10578
- CreateTime?: Date | undefined;
10579
- /**
10580
- * <p>The name of the key pair.</p>
10581
- * @public
10582
- */
10583
- KeyName?: string | undefined;
10584
- /**
10585
- * <p>If you used <a>CreateKeyPair</a> to create the key pair:</p>
10586
- * <ul>
10587
- * <li>
10588
- * <p>For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.</p>
10589
- * </li>
10590
- * <li>
10591
- * <p>For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which
10592
- * is the default for OpenSSH, starting with <a href="http://www.openssh.com/txt/release-6.8">OpenSSH 6.8</a>.</p>
10593
- * </li>
10594
- * </ul>
10595
- * <p>If you used <a>ImportKeyPair</a> to provide Amazon Web Services the public key:</p>
10596
- * <ul>
10597
- * <li>
10598
- * <p>For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC4716.</p>
10599
- * </li>
10600
- * <li>
10601
- * <p>For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256
10602
- * digest, which is the default for OpenSSH, starting with <a href="http://www.openssh.com/txt/release-6.8">OpenSSH 6.8</a>.</p>
10603
- * </li>
10604
- * </ul>
10605
- * @public
10606
- */
10607
- KeyFingerprint?: string | undefined;
10608
- }
10609
- /**
10610
- * @public
10611
- */
10612
- export interface DescribeKeyPairsResult {
10613
- /**
10614
- * <p>Information about the key pairs.</p>
10615
- * @public
10616
- */
10617
- KeyPairs?: KeyPairInfo[] | undefined;
10618
- }
10619
- /**
10620
- * @public
10621
- */
10622
- export interface DescribeLaunchTemplatesRequest {
10623
- /**
10624
- * <p>Checks whether you have the required permissions for the action, without actually
10625
- * making the request, and provides an error response. If you have the required
10626
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10627
- * <code>UnauthorizedOperation</code>.</p>
10628
- * @public
10629
- */
10630
- DryRun?: boolean | undefined;
10631
- /**
10632
- * <p>One or more launch template IDs.</p>
10633
- * @public
10634
- */
10635
- LaunchTemplateIds?: string[] | undefined;
10636
- /**
10637
- * <p>One or more launch template names.</p>
10638
- * @public
10639
- */
10640
- LaunchTemplateNames?: string[] | undefined;
10641
- /**
10642
- * <p>One or more filters.</p>
10643
- * <ul>
10644
- * <li>
10645
- * <p>
10646
- * <code>create-time</code> - The time the launch template was created.</p>
10647
- * </li>
10648
- * <li>
10649
- * <p>
10650
- * <code>launch-template-name</code> - The name of the launch template.</p>
10651
- * </li>
10652
- * <li>
10653
- * <p>
10654
- * <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.
10655
- * 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>
10656
- * </li>
10657
- * <li>
10658
- * <p>
10659
- * <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>
10660
- * </li>
10661
- * </ul>
10662
- * @public
10663
- */
10664
- Filters?: Filter[] | undefined;
10665
- /**
10666
- * <p>The token to request the next page of results.</p>
10667
- * @public
10668
- */
10669
- NextToken?: string | undefined;
10670
- /**
10671
- * <p>The maximum number of results to return in a single call. To retrieve the remaining
10672
- * results, make another call with the returned <code>NextToken</code> value. This value
10673
- * can be between 1 and 200.</p>
10674
- * @public
10675
- */
10676
- MaxResults?: number | undefined;
10677
- }
10678
10636
  /**
10679
10637
  * @internal
10680
10638
  */