@aws-sdk/client-ec2 3.567.0 → 3.569.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 (31) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +111 -13
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/GetInstanceTpmEkPubCommand.js +25 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_5.js +13 -5
  7. package/dist-es/models/models_6.js +5 -0
  8. package/dist-es/protocols/Aws_ec2.js +66 -7
  9. package/dist-types/EC2.d.ts +7 -0
  10. package/dist-types/EC2Client.d.ts +3 -2
  11. package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +66 -0
  12. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -2
  13. package/dist-types/commands/ProvisionIpamPoolCidrCommand.d.ts +1 -1
  14. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +1 -2
  15. package/dist-types/commands/index.d.ts +1 -0
  16. package/dist-types/models/models_5.d.ts +82 -123
  17. package/dist-types/models/models_6.d.ts +124 -91
  18. package/dist-types/models/models_7.d.ts +91 -1
  19. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  20. package/dist-types/ts3.4/EC2.d.ts +17 -0
  21. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  22. package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +39 -0
  23. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +4 -2
  24. package/dist-types/ts3.4/commands/ProvisionIpamPoolCidrCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +4 -2
  26. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  27. package/dist-types/ts3.4/models/models_5.d.ts +26 -26
  28. package/dist-types/ts3.4/models/models_6.d.ts +26 -22
  29. package/dist-types/ts3.4/models/models_7.d.ts +22 -0
  30. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  31. package/package.json +7 -5
@@ -3,7 +3,130 @@ import { AttributeValue, CapacityReservationPreference, CapacityReservationTarge
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, BootModeValues, Byoasn, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, ImportImageLicenseConfigurationResponse, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, VirtualizationType } from "./models_3";
5
5
  import { AnalysisStatus, ArchitectureType, AttributeBooleanValue, CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchTemplateConfig, LockState, Monitoring, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotTaskDetail } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, IpamComplianceStatus, IpamDiscoveredAccount, IpamOverlapStatus, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
6
+ import { InstanceFamilyCreditSpecification, IpamComplianceStatus, IpamOverlapStatus, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface GetIpamDiscoveredAccountsRequest {
11
+ /**
12
+ * <p>A check for whether you have the required permissions for the action without actually making the request
13
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
14
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
15
+ * @public
16
+ */
17
+ DryRun?: boolean;
18
+ /**
19
+ * <p>A resource discovery ID.</p>
20
+ * @public
21
+ */
22
+ IpamResourceDiscoveryId: string | undefined;
23
+ /**
24
+ * <p>The Amazon Web Services Region that the account information is returned from.</p>
25
+ * @public
26
+ */
27
+ DiscoveryRegion: string | undefined;
28
+ /**
29
+ * <p>Discovered account filters.</p>
30
+ * @public
31
+ */
32
+ Filters?: Filter[];
33
+ /**
34
+ * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
35
+ * @public
36
+ */
37
+ NextToken?: string;
38
+ /**
39
+ * <p>The maximum number of discovered accounts to return in one page of results.</p>
40
+ * @public
41
+ */
42
+ MaxResults?: number;
43
+ }
44
+ /**
45
+ * @public
46
+ * @enum
47
+ */
48
+ export declare const IpamDiscoveryFailureCode: {
49
+ readonly assume_role_failure: "assume-role-failure";
50
+ readonly throttling_failure: "throttling-failure";
51
+ readonly unauthorized_failure: "unauthorized-failure";
52
+ };
53
+ /**
54
+ * @public
55
+ */
56
+ export type IpamDiscoveryFailureCode = (typeof IpamDiscoveryFailureCode)[keyof typeof IpamDiscoveryFailureCode];
57
+ /**
58
+ * <p>The discovery failure reason.</p>
59
+ * @public
60
+ */
61
+ export interface IpamDiscoveryFailureReason {
62
+ /**
63
+ * <p>The discovery failure code.</p>
64
+ * <ul>
65
+ * <li>
66
+ * <p>
67
+ * <code>assume-role-failure</code> - IPAM could not assume the Amazon Web Services IAM service-linked role. This could be because of any of the following:</p>
68
+ * <ul>
69
+ * <li>
70
+ * <p>SLR has not been created yet and IPAM is still creating it.</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>You have opted-out of the IPAM home Region.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>Account you are using as your IPAM account has been suspended.</p>
77
+ * </li>
78
+ * </ul>
79
+ * </li>
80
+ * <li>
81
+ * <p>
82
+ * <code>throttling-failure</code> - IPAM account is already using the allotted transactions per second and IPAM is receiving a throttling error when assuming the Amazon Web Services IAM SLR.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>
86
+ * <code>unauthorized-failure</code> - Amazon Web Services account making the request is not authorized. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">AuthFailure</a> in the <i>Amazon Elastic Compute Cloud API Reference</i>.</p>
87
+ * </li>
88
+ * </ul>
89
+ * @public
90
+ */
91
+ Code?: IpamDiscoveryFailureCode;
92
+ /**
93
+ * <p>The discovery failure message.</p>
94
+ * @public
95
+ */
96
+ Message?: string;
97
+ }
98
+ /**
99
+ * <p>An IPAM discovered account. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts.</p>
100
+ * @public
101
+ */
102
+ export interface IpamDiscoveredAccount {
103
+ /**
104
+ * <p>The account ID.</p>
105
+ * @public
106
+ */
107
+ AccountId?: string;
108
+ /**
109
+ * <p>The Amazon Web Services Region that the account information is returned from.
110
+ * An account can be discovered in multiple regions and will have a separate discovered account for each Region.</p>
111
+ * @public
112
+ */
113
+ DiscoveryRegion?: string;
114
+ /**
115
+ * <p>The resource discovery failure reason.</p>
116
+ * @public
117
+ */
118
+ FailureReason?: IpamDiscoveryFailureReason;
119
+ /**
120
+ * <p>The last attempted resource discovery time.</p>
121
+ * @public
122
+ */
123
+ LastAttemptedDiscoveryTime?: Date;
124
+ /**
125
+ * <p>The last successful resource discovery time.</p>
126
+ * @public
127
+ */
128
+ LastSuccessfulDiscoveryTime?: Date;
129
+ }
7
130
  /**
8
131
  * @public
9
132
  */
@@ -8200,96 +8323,6 @@ export interface ProvisionIpamByoasnResult {
8200
8323
  */
8201
8324
  Byoasn?: Byoasn;
8202
8325
  }
8203
- /**
8204
- * <p>A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.</p>
8205
- * @public
8206
- */
8207
- export interface IpamCidrAuthorizationContext {
8208
- /**
8209
- * <p>The plain-text authorization message for the prefix and account.</p>
8210
- * @public
8211
- */
8212
- Message?: string;
8213
- /**
8214
- * <p>The signed authorization message for the prefix and account.</p>
8215
- * @public
8216
- */
8217
- Signature?: string;
8218
- }
8219
- /**
8220
- * @public
8221
- */
8222
- export interface ProvisionIpamPoolCidrRequest {
8223
- /**
8224
- * <p>A check for whether you have the required permissions for the action without actually making the request
8225
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8226
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8227
- * @public
8228
- */
8229
- DryRun?: boolean;
8230
- /**
8231
- * <p>The ID of the IPAM pool to which you want to assign a CIDR.</p>
8232
- * @public
8233
- */
8234
- IpamPoolId: string | undefined;
8235
- /**
8236
- * <p>The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.</p>
8237
- * @public
8238
- */
8239
- Cidr?: string;
8240
- /**
8241
- * <p>A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.</p>
8242
- * @public
8243
- */
8244
- CidrAuthorizationContext?: IpamCidrAuthorizationContext;
8245
- /**
8246
- * <p>The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.</p>
8247
- * @public
8248
- */
8249
- NetmaskLength?: number;
8250
- /**
8251
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
8252
- * @public
8253
- */
8254
- ClientToken?: string;
8255
- }
8256
- /**
8257
- * @public
8258
- */
8259
- export interface ProvisionIpamPoolCidrResult {
8260
- /**
8261
- * <p>Information about the provisioned CIDR.</p>
8262
- * @public
8263
- */
8264
- IpamPoolCidr?: IpamPoolCidr;
8265
- }
8266
- /**
8267
- * @public
8268
- */
8269
- export interface ProvisionPublicIpv4PoolCidrRequest {
8270
- /**
8271
- * <p>A check for whether you have the required permissions for the action without actually making the request
8272
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8273
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8274
- * @public
8275
- */
8276
- DryRun?: boolean;
8277
- /**
8278
- * <p>The ID of the IPAM pool you would like to use to allocate this CIDR.</p>
8279
- * @public
8280
- */
8281
- IpamPoolId: string | undefined;
8282
- /**
8283
- * <p>The ID of the public IPv4 pool you would like to use for this CIDR.</p>
8284
- * @public
8285
- */
8286
- PoolId: string | undefined;
8287
- /**
8288
- * <p>The netmask length of the CIDR you would like to allocate to the public IPv4 pool.</p>
8289
- * @public
8290
- */
8291
- NetmaskLength: number | undefined;
8292
- }
8293
8326
  /**
8294
8327
  * @internal
8295
8328
  */
@@ -1,10 +1,100 @@
1
1
  import { _InstanceType, AddressAttribute, AddressAttributeName, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
2
  import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RuleAction, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
3
  import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
- import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, Filter, ImdsSupportValues, InstanceTagNotificationAttribute, TpmSupportValues } from "./models_3";
4
+ import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, Filter, ImdsSupportValues, InstanceTagNotificationAttribute, IpamPoolCidr, TpmSupportValues } from "./models_3";
5
5
  import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
6
  import { Purchase } from "./models_5";
7
7
  import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_6";
8
+ /**
9
+ * <p>A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.</p>
10
+ * @public
11
+ */
12
+ export interface IpamCidrAuthorizationContext {
13
+ /**
14
+ * <p>The plain-text authorization message for the prefix and account.</p>
15
+ * @public
16
+ */
17
+ Message?: string;
18
+ /**
19
+ * <p>The signed authorization message for the prefix and account.</p>
20
+ * @public
21
+ */
22
+ Signature?: string;
23
+ }
24
+ /**
25
+ * @public
26
+ */
27
+ export interface ProvisionIpamPoolCidrRequest {
28
+ /**
29
+ * <p>A check for whether you have the required permissions for the action without actually making the request
30
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
31
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
32
+ * @public
33
+ */
34
+ DryRun?: boolean;
35
+ /**
36
+ * <p>The ID of the IPAM pool to which you want to assign a CIDR.</p>
37
+ * @public
38
+ */
39
+ IpamPoolId: string | undefined;
40
+ /**
41
+ * <p>The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.</p>
42
+ * @public
43
+ */
44
+ Cidr?: string;
45
+ /**
46
+ * <p>A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.</p>
47
+ * @public
48
+ */
49
+ CidrAuthorizationContext?: IpamCidrAuthorizationContext;
50
+ /**
51
+ * <p>The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.</p>
52
+ * @public
53
+ */
54
+ NetmaskLength?: number;
55
+ /**
56
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
57
+ * @public
58
+ */
59
+ ClientToken?: string;
60
+ }
61
+ /**
62
+ * @public
63
+ */
64
+ export interface ProvisionIpamPoolCidrResult {
65
+ /**
66
+ * <p>Information about the provisioned CIDR.</p>
67
+ * @public
68
+ */
69
+ IpamPoolCidr?: IpamPoolCidr;
70
+ }
71
+ /**
72
+ * @public
73
+ */
74
+ export interface ProvisionPublicIpv4PoolCidrRequest {
75
+ /**
76
+ * <p>A check for whether you have the required permissions for the action without actually making the request
77
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
78
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
79
+ * @public
80
+ */
81
+ DryRun?: boolean;
82
+ /**
83
+ * <p>The ID of the IPAM pool you would like to use to allocate this CIDR.</p>
84
+ * @public
85
+ */
86
+ IpamPoolId: string | undefined;
87
+ /**
88
+ * <p>The ID of the public IPv4 pool you would like to use for this CIDR.</p>
89
+ * @public
90
+ */
91
+ PoolId: string | undefined;
92
+ /**
93
+ * <p>The netmask length of the CIDR you would like to allocate to the public IPv4 pool.</p>
94
+ * @public
95
+ */
96
+ NetmaskLength: number | undefined;
97
+ }
8
98
  /**
9
99
  * @public
10
100
  */
@@ -443,6 +443,7 @@ import { GetGroupsForCapacityReservationCommandInput, GetGroupsForCapacityReserv
443
443
  import { GetHostReservationPurchasePreviewCommandInput, GetHostReservationPurchasePreviewCommandOutput } from "../commands/GetHostReservationPurchasePreviewCommand";
444
444
  import { GetImageBlockPublicAccessStateCommandInput, GetImageBlockPublicAccessStateCommandOutput } from "../commands/GetImageBlockPublicAccessStateCommand";
445
445
  import { GetInstanceMetadataDefaultsCommandInput, GetInstanceMetadataDefaultsCommandOutput } from "../commands/GetInstanceMetadataDefaultsCommand";
446
+ import { GetInstanceTpmEkPubCommandInput, GetInstanceTpmEkPubCommandOutput } from "../commands/GetInstanceTpmEkPubCommand";
446
447
  import { GetInstanceTypesFromInstanceRequirementsCommandInput, GetInstanceTypesFromInstanceRequirementsCommandOutput } from "../commands/GetInstanceTypesFromInstanceRequirementsCommand";
447
448
  import { GetInstanceUefiDataCommandInput, GetInstanceUefiDataCommandOutput } from "../commands/GetInstanceUefiDataCommand";
448
449
  import { GetIpamAddressHistoryCommandInput, GetIpamAddressHistoryCommandOutput } from "../commands/GetIpamAddressHistoryCommand";
@@ -2392,6 +2393,10 @@ export declare const se_GetImageBlockPublicAccessStateCommand: (input: GetImageB
2392
2393
  * serializeAws_ec2GetInstanceMetadataDefaultsCommand
2393
2394
  */
2394
2395
  export declare const se_GetInstanceMetadataDefaultsCommand: (input: GetInstanceMetadataDefaultsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2396
+ /**
2397
+ * serializeAws_ec2GetInstanceTpmEkPubCommand
2398
+ */
2399
+ export declare const se_GetInstanceTpmEkPubCommand: (input: GetInstanceTpmEkPubCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2395
2400
  /**
2396
2401
  * serializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand
2397
2402
  */
@@ -4872,6 +4877,10 @@ export declare const de_GetImageBlockPublicAccessStateCommand: (output: __HttpRe
4872
4877
  * deserializeAws_ec2GetInstanceMetadataDefaultsCommand
4873
4878
  */
4874
4879
  export declare const de_GetInstanceMetadataDefaultsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInstanceMetadataDefaultsCommandOutput>;
4880
+ /**
4881
+ * deserializeAws_ec2GetInstanceTpmEkPubCommand
4882
+ */
4883
+ export declare const de_GetInstanceTpmEkPubCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInstanceTpmEkPubCommandOutput>;
4875
4884
  /**
4876
4885
  * deserializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand
4877
4886
  */
@@ -1771,6 +1771,10 @@ import {
1771
1771
  GetInstanceMetadataDefaultsCommandInput,
1772
1772
  GetInstanceMetadataDefaultsCommandOutput,
1773
1773
  } from "./commands/GetInstanceMetadataDefaultsCommand";
1774
+ import {
1775
+ GetInstanceTpmEkPubCommandInput,
1776
+ GetInstanceTpmEkPubCommandOutput,
1777
+ } from "./commands/GetInstanceTpmEkPubCommand";
1774
1778
  import {
1775
1779
  GetInstanceTypesFromInstanceRequirementsCommandInput,
1776
1780
  GetInstanceTypesFromInstanceRequirementsCommandOutput,
@@ -8937,6 +8941,19 @@ export interface EC2 {
8937
8941
  options: __HttpHandlerOptions,
8938
8942
  cb: (err: any, data?: GetInstanceMetadataDefaultsCommandOutput) => void
8939
8943
  ): void;
8944
+ getInstanceTpmEkPub(
8945
+ args: GetInstanceTpmEkPubCommandInput,
8946
+ options?: __HttpHandlerOptions
8947
+ ): Promise<GetInstanceTpmEkPubCommandOutput>;
8948
+ getInstanceTpmEkPub(
8949
+ args: GetInstanceTpmEkPubCommandInput,
8950
+ cb: (err: any, data?: GetInstanceTpmEkPubCommandOutput) => void
8951
+ ): void;
8952
+ getInstanceTpmEkPub(
8953
+ args: GetInstanceTpmEkPubCommandInput,
8954
+ options: __HttpHandlerOptions,
8955
+ cb: (err: any, data?: GetInstanceTpmEkPubCommandOutput) => void
8956
+ ): void;
8940
8957
  getInstanceTypesFromInstanceRequirements(
8941
8958
  args: GetInstanceTypesFromInstanceRequirementsCommandInput,
8942
8959
  options?: __HttpHandlerOptions
@@ -1817,6 +1817,10 @@ import {
1817
1817
  GetInstanceMetadataDefaultsCommandInput,
1818
1818
  GetInstanceMetadataDefaultsCommandOutput,
1819
1819
  } from "./commands/GetInstanceMetadataDefaultsCommand";
1820
+ import {
1821
+ GetInstanceTpmEkPubCommandInput,
1822
+ GetInstanceTpmEkPubCommandOutput,
1823
+ } from "./commands/GetInstanceTpmEkPubCommand";
1820
1824
  import {
1821
1825
  GetInstanceTypesFromInstanceRequirementsCommandInput,
1822
1826
  GetInstanceTypesFromInstanceRequirementsCommandOutput,
@@ -2976,6 +2980,7 @@ export type ServiceInputTypes =
2976
2980
  | GetHostReservationPurchasePreviewCommandInput
2977
2981
  | GetImageBlockPublicAccessStateCommandInput
2978
2982
  | GetInstanceMetadataDefaultsCommandInput
2983
+ | GetInstanceTpmEkPubCommandInput
2979
2984
  | GetInstanceTypesFromInstanceRequirementsCommandInput
2980
2985
  | GetInstanceUefiDataCommandInput
2981
2986
  | GetIpamAddressHistoryCommandInput
@@ -3597,6 +3602,7 @@ export type ServiceOutputTypes =
3597
3602
  | GetHostReservationPurchasePreviewCommandOutput
3598
3603
  | GetImageBlockPublicAccessStateCommandOutput
3599
3604
  | GetInstanceMetadataDefaultsCommandOutput
3605
+ | GetInstanceTpmEkPubCommandOutput
3600
3606
  | GetInstanceTypesFromInstanceRequirementsCommandOutput
3601
3607
  | GetInstanceUefiDataCommandOutput
3602
3608
  | GetIpamAddressHistoryCommandOutput
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ GetInstanceTpmEkPubRequest,
10
+ GetInstanceTpmEkPubResult,
11
+ } from "../models/models_5";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetInstanceTpmEkPubCommandInput
14
+ extends GetInstanceTpmEkPubRequest {}
15
+ export interface GetInstanceTpmEkPubCommandOutput
16
+ extends GetInstanceTpmEkPubResult,
17
+ __MetadataBearer {}
18
+ declare const GetInstanceTpmEkPubCommand_base: {
19
+ new (
20
+ input: GetInstanceTpmEkPubCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetInstanceTpmEkPubCommandInput,
23
+ GetInstanceTpmEkPubCommandOutput,
24
+ EC2ClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: GetInstanceTpmEkPubCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetInstanceTpmEkPubCommandInput,
32
+ GetInstanceTpmEkPubCommandOutput,
33
+ EC2ClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetInstanceTpmEkPubCommand extends GetInstanceTpmEkPubCommand_base {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { GetIpamDiscoveredAccountsRequest } from "../models/models_5";
9
- import { GetIpamDiscoveredAccountsResult } from "../models/models_6";
8
+ import {
9
+ GetIpamDiscoveredAccountsRequest,
10
+ GetIpamDiscoveredAccountsResult,
11
+ } from "../models/models_6";
10
12
  export { __MetadataBearer, $Command };
11
13
  export interface GetIpamDiscoveredAccountsCommandInput
12
14
  extends GetIpamDiscoveredAccountsRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ProvisionIpamPoolCidrRequest,
10
10
  ProvisionIpamPoolCidrResult,
11
- } from "../models/models_6";
11
+ } from "../models/models_7";
12
12
  export { __MetadataBearer, $Command };
13
13
  export interface ProvisionIpamPoolCidrCommandInput
14
14
  extends ProvisionIpamPoolCidrRequest {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ProvisionPublicIpv4PoolCidrRequest } from "../models/models_6";
9
- import { ProvisionPublicIpv4PoolCidrResult } from "../models/models_7";
8
+ import {
9
+ ProvisionPublicIpv4PoolCidrRequest,
10
+ ProvisionPublicIpv4PoolCidrResult,
11
+ } from "../models/models_7";
10
12
  export { __MetadataBearer, $Command };
11
13
  export interface ProvisionPublicIpv4PoolCidrCommandInput
12
14
  extends ProvisionPublicIpv4PoolCidrRequest {}
@@ -441,6 +441,7 @@ export * from "./GetGroupsForCapacityReservationCommand";
441
441
  export * from "./GetHostReservationPurchasePreviewCommand";
442
442
  export * from "./GetImageBlockPublicAccessStateCommand";
443
443
  export * from "./GetInstanceMetadataDefaultsCommand";
444
+ export * from "./GetInstanceTpmEkPubCommand";
444
445
  export * from "./GetInstanceTypesFromInstanceRequirementsCommand";
445
446
  export * from "./GetInstanceUefiDataCommand";
446
447
  export * from "./GetIpamAddressHistoryCommand";
@@ -1541,6 +1541,29 @@ export interface InstanceMetadataDefaultsResponse {
1541
1541
  export interface GetInstanceMetadataDefaultsResult {
1542
1542
  AccountLevel?: InstanceMetadataDefaultsResponse;
1543
1543
  }
1544
+ export declare const EkPubKeyFormat: {
1545
+ readonly der: "der";
1546
+ readonly tpmt: "tpmt";
1547
+ };
1548
+ export type EkPubKeyFormat =
1549
+ (typeof EkPubKeyFormat)[keyof typeof EkPubKeyFormat];
1550
+ export declare const EkPubKeyType: {
1551
+ readonly ECC_SEC_P384: "ecc-sec-p384";
1552
+ readonly RSA_2048: "rsa-2048";
1553
+ };
1554
+ export type EkPubKeyType = (typeof EkPubKeyType)[keyof typeof EkPubKeyType];
1555
+ export interface GetInstanceTpmEkPubRequest {
1556
+ InstanceId: string | undefined;
1557
+ KeyType: EkPubKeyType | undefined;
1558
+ KeyFormat: EkPubKeyFormat | undefined;
1559
+ DryRun?: boolean;
1560
+ }
1561
+ export interface GetInstanceTpmEkPubResult {
1562
+ InstanceId?: string;
1563
+ KeyType?: EkPubKeyType;
1564
+ KeyFormat?: EkPubKeyFormat;
1565
+ KeyValue?: string;
1566
+ }
1544
1567
  export interface GetInstanceTypesFromInstanceRequirementsRequest {
1545
1568
  DryRun?: boolean;
1546
1569
  ArchitectureTypes: ArchitectureType[] | undefined;
@@ -1615,32 +1638,6 @@ export interface GetIpamAddressHistoryResult {
1615
1638
  HistoryRecords?: IpamAddressHistoryRecord[];
1616
1639
  NextToken?: string;
1617
1640
  }
1618
- export interface GetIpamDiscoveredAccountsRequest {
1619
- DryRun?: boolean;
1620
- IpamResourceDiscoveryId: string | undefined;
1621
- DiscoveryRegion: string | undefined;
1622
- Filters?: Filter[];
1623
- NextToken?: string;
1624
- MaxResults?: number;
1625
- }
1626
- export declare const IpamDiscoveryFailureCode: {
1627
- readonly assume_role_failure: "assume-role-failure";
1628
- readonly throttling_failure: "throttling-failure";
1629
- readonly unauthorized_failure: "unauthorized-failure";
1630
- };
1631
- export type IpamDiscoveryFailureCode =
1632
- (typeof IpamDiscoveryFailureCode)[keyof typeof IpamDiscoveryFailureCode];
1633
- export interface IpamDiscoveryFailureReason {
1634
- Code?: IpamDiscoveryFailureCode;
1635
- Message?: string;
1636
- }
1637
- export interface IpamDiscoveredAccount {
1638
- AccountId?: string;
1639
- DiscoveryRegion?: string;
1640
- FailureReason?: IpamDiscoveryFailureReason;
1641
- LastAttemptedDiscoveryTime?: Date;
1642
- LastSuccessfulDiscoveryTime?: Date;
1643
- }
1644
1641
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1645
1642
  obj: DescribeVerifiedAccessTrustProvidersResult
1646
1643
  ) => any;
@@ -1650,3 +1647,6 @@ export declare const DescribeVpnConnectionsResultFilterSensitiveLog: (
1650
1647
  export declare const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1651
1648
  obj: DetachVerifiedAccessTrustProviderResult
1652
1649
  ) => any;
1650
+ export declare const GetInstanceTpmEkPubResultFilterSensitiveLog: (
1651
+ obj: GetInstanceTpmEkPubResult
1652
+ ) => any;
@@ -137,7 +137,6 @@ import {
137
137
  import {
138
138
  InstanceFamilyCreditSpecification,
139
139
  IpamComplianceStatus,
140
- IpamDiscoveredAccount,
141
140
  IpamOverlapStatus,
142
141
  SnapshotBlockPublicAccessState,
143
142
  TransitGatewayPropagationState,
@@ -145,6 +144,32 @@ import {
145
144
  VerifiedAccessInstanceLoggingConfiguration,
146
145
  VolumeModification,
147
146
  } from "./models_5";
147
+ export interface GetIpamDiscoveredAccountsRequest {
148
+ DryRun?: boolean;
149
+ IpamResourceDiscoveryId: string | undefined;
150
+ DiscoveryRegion: string | undefined;
151
+ Filters?: Filter[];
152
+ NextToken?: string;
153
+ MaxResults?: number;
154
+ }
155
+ export declare const IpamDiscoveryFailureCode: {
156
+ readonly assume_role_failure: "assume-role-failure";
157
+ readonly throttling_failure: "throttling-failure";
158
+ readonly unauthorized_failure: "unauthorized-failure";
159
+ };
160
+ export type IpamDiscoveryFailureCode =
161
+ (typeof IpamDiscoveryFailureCode)[keyof typeof IpamDiscoveryFailureCode];
162
+ export interface IpamDiscoveryFailureReason {
163
+ Code?: IpamDiscoveryFailureCode;
164
+ Message?: string;
165
+ }
166
+ export interface IpamDiscoveredAccount {
167
+ AccountId?: string;
168
+ DiscoveryRegion?: string;
169
+ FailureReason?: IpamDiscoveryFailureReason;
170
+ LastAttemptedDiscoveryTime?: Date;
171
+ LastSuccessfulDiscoveryTime?: Date;
172
+ }
148
173
  export interface GetIpamDiscoveredAccountsResult {
149
174
  IpamDiscoveredAccounts?: IpamDiscoveredAccount[];
150
175
  NextToken?: string;
@@ -1863,27 +1888,6 @@ export interface ProvisionIpamByoasnRequest {
1863
1888
  export interface ProvisionIpamByoasnResult {
1864
1889
  Byoasn?: Byoasn;
1865
1890
  }
1866
- export interface IpamCidrAuthorizationContext {
1867
- Message?: string;
1868
- Signature?: string;
1869
- }
1870
- export interface ProvisionIpamPoolCidrRequest {
1871
- DryRun?: boolean;
1872
- IpamPoolId: string | undefined;
1873
- Cidr?: string;
1874
- CidrAuthorizationContext?: IpamCidrAuthorizationContext;
1875
- NetmaskLength?: number;
1876
- ClientToken?: string;
1877
- }
1878
- export interface ProvisionIpamPoolCidrResult {
1879
- IpamPoolCidr?: IpamPoolCidr;
1880
- }
1881
- export interface ProvisionPublicIpv4PoolCidrRequest {
1882
- DryRun?: boolean;
1883
- IpamPoolId: string | undefined;
1884
- PoolId: string | undefined;
1885
- NetmaskLength: number | undefined;
1886
- }
1887
1891
  export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
1888
1892
  obj: GetLaunchTemplateDataResult
1889
1893
  ) => any;