@aws-sdk/client-ec2 3.565.0 → 3.568.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 (34) 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/DeleteTransitGatewayRouteTableCommand.d.ts +2 -2
  12. package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +66 -0
  13. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -2
  14. package/dist-types/commands/ProvisionIpamPoolCidrCommand.d.ts +1 -1
  15. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +1 -2
  16. package/dist-types/commands/index.d.ts +1 -0
  17. package/dist-types/models/models_1.d.ts +4 -1
  18. package/dist-types/models/models_2.d.ts +12 -3
  19. package/dist-types/models/models_5.d.ts +89 -123
  20. package/dist-types/models/models_6.d.ts +124 -91
  21. package/dist-types/models/models_7.d.ts +91 -1
  22. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  23. package/dist-types/ts3.4/EC2.d.ts +17 -0
  24. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  25. package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +39 -0
  26. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +4 -2
  27. package/dist-types/ts3.4/commands/ProvisionIpamPoolCidrCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  30. package/dist-types/ts3.4/models/models_5.d.ts +26 -26
  31. package/dist-types/ts3.4/models/models_6.d.ts +26 -22
  32. package/dist-types/ts3.4/models/models_7.d.ts +22 -0
  33. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  34. package/package.json +16 -17
@@ -1454,6 +1454,13 @@ export interface DescribeTransitGatewaysRequest {
1454
1454
  * <p>
1455
1455
  * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
1456
1456
  * </li>
1457
+ * <li>
1458
+ * <p>
1459
+ * <code>tag-key </code>- The key/value combination of a tag assigned to the resource. Use the
1460
+ * tag key in the filter name and the tag value as the filter value. For example, to
1461
+ * find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify
1462
+ * <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
1463
+ * </li>
1457
1464
  * </ul>
1458
1465
  * @public
1459
1466
  */
@@ -7348,6 +7355,84 @@ export interface GetInstanceMetadataDefaultsResult {
7348
7355
  */
7349
7356
  AccountLevel?: InstanceMetadataDefaultsResponse;
7350
7357
  }
7358
+ /**
7359
+ * @public
7360
+ * @enum
7361
+ */
7362
+ export declare const EkPubKeyFormat: {
7363
+ readonly der: "der";
7364
+ readonly tpmt: "tpmt";
7365
+ };
7366
+ /**
7367
+ * @public
7368
+ */
7369
+ export type EkPubKeyFormat = (typeof EkPubKeyFormat)[keyof typeof EkPubKeyFormat];
7370
+ /**
7371
+ * @public
7372
+ * @enum
7373
+ */
7374
+ export declare const EkPubKeyType: {
7375
+ readonly ECC_SEC_P384: "ecc-sec-p384";
7376
+ readonly RSA_2048: "rsa-2048";
7377
+ };
7378
+ /**
7379
+ * @public
7380
+ */
7381
+ export type EkPubKeyType = (typeof EkPubKeyType)[keyof typeof EkPubKeyType];
7382
+ /**
7383
+ * @public
7384
+ */
7385
+ export interface GetInstanceTpmEkPubRequest {
7386
+ /**
7387
+ * <p>The ID of the instance for which to get the public endorsement key.</p>
7388
+ * @public
7389
+ */
7390
+ InstanceId: string | undefined;
7391
+ /**
7392
+ * <p>The required public endorsement key type.</p>
7393
+ * @public
7394
+ */
7395
+ KeyType: EkPubKeyType | undefined;
7396
+ /**
7397
+ * <p>The required public endorsement key format. Specify <code>der</code> for a DER-encoded public
7398
+ * key that is compatible with OpenSSL. Specify <code>tpmt</code> for a TPM 2.0 format that is
7399
+ * compatible with tpm2-tools. The returned key is base64 encoded.</p>
7400
+ * @public
7401
+ */
7402
+ KeyFormat: EkPubKeyFormat | undefined;
7403
+ /**
7404
+ * <p>Specify this parameter to verify whether the request will succeed, without actually making the
7405
+ * request. If the request will succeed, the response is <code>DryRunOperation</code>. Otherwise,
7406
+ * the response is <code>UnauthorizedOperation</code>.</p>
7407
+ * @public
7408
+ */
7409
+ DryRun?: boolean;
7410
+ }
7411
+ /**
7412
+ * @public
7413
+ */
7414
+ export interface GetInstanceTpmEkPubResult {
7415
+ /**
7416
+ * <p>The ID of the instance.</p>
7417
+ * @public
7418
+ */
7419
+ InstanceId?: string;
7420
+ /**
7421
+ * <p>The public endorsement key type.</p>
7422
+ * @public
7423
+ */
7424
+ KeyType?: EkPubKeyType;
7425
+ /**
7426
+ * <p>The public endorsement key format.</p>
7427
+ * @public
7428
+ */
7429
+ KeyFormat?: EkPubKeyFormat;
7430
+ /**
7431
+ * <p>The public endorsement key material.</p>
7432
+ * @public
7433
+ */
7434
+ KeyValue?: string;
7435
+ }
7351
7436
  /**
7352
7437
  * @public
7353
7438
  */
@@ -7613,129 +7698,6 @@ export interface GetIpamAddressHistoryResult {
7613
7698
  */
7614
7699
  NextToken?: string;
7615
7700
  }
7616
- /**
7617
- * @public
7618
- */
7619
- export interface GetIpamDiscoveredAccountsRequest {
7620
- /**
7621
- * <p>A check for whether you have the required permissions for the action without actually making the request
7622
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7623
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7624
- * @public
7625
- */
7626
- DryRun?: boolean;
7627
- /**
7628
- * <p>A resource discovery ID.</p>
7629
- * @public
7630
- */
7631
- IpamResourceDiscoveryId: string | undefined;
7632
- /**
7633
- * <p>The Amazon Web Services Region that the account information is returned from.</p>
7634
- * @public
7635
- */
7636
- DiscoveryRegion: string | undefined;
7637
- /**
7638
- * <p>Discovered account filters.</p>
7639
- * @public
7640
- */
7641
- Filters?: Filter[];
7642
- /**
7643
- * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
7644
- * @public
7645
- */
7646
- NextToken?: string;
7647
- /**
7648
- * <p>The maximum number of discovered accounts to return in one page of results.</p>
7649
- * @public
7650
- */
7651
- MaxResults?: number;
7652
- }
7653
- /**
7654
- * @public
7655
- * @enum
7656
- */
7657
- export declare const IpamDiscoveryFailureCode: {
7658
- readonly assume_role_failure: "assume-role-failure";
7659
- readonly throttling_failure: "throttling-failure";
7660
- readonly unauthorized_failure: "unauthorized-failure";
7661
- };
7662
- /**
7663
- * @public
7664
- */
7665
- export type IpamDiscoveryFailureCode = (typeof IpamDiscoveryFailureCode)[keyof typeof IpamDiscoveryFailureCode];
7666
- /**
7667
- * <p>The discovery failure reason.</p>
7668
- * @public
7669
- */
7670
- export interface IpamDiscoveryFailureReason {
7671
- /**
7672
- * <p>The discovery failure code.</p>
7673
- * <ul>
7674
- * <li>
7675
- * <p>
7676
- * <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>
7677
- * <ul>
7678
- * <li>
7679
- * <p>SLR has not been created yet and IPAM is still creating it.</p>
7680
- * </li>
7681
- * <li>
7682
- * <p>You have opted-out of the IPAM home Region.</p>
7683
- * </li>
7684
- * <li>
7685
- * <p>Account you are using as your IPAM account has been suspended.</p>
7686
- * </li>
7687
- * </ul>
7688
- * </li>
7689
- * <li>
7690
- * <p>
7691
- * <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>
7692
- * </li>
7693
- * <li>
7694
- * <p>
7695
- * <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>
7696
- * </li>
7697
- * </ul>
7698
- * @public
7699
- */
7700
- Code?: IpamDiscoveryFailureCode;
7701
- /**
7702
- * <p>The discovery failure message.</p>
7703
- * @public
7704
- */
7705
- Message?: string;
7706
- }
7707
- /**
7708
- * <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>
7709
- * @public
7710
- */
7711
- export interface IpamDiscoveredAccount {
7712
- /**
7713
- * <p>The account ID.</p>
7714
- * @public
7715
- */
7716
- AccountId?: string;
7717
- /**
7718
- * <p>The Amazon Web Services Region that the account information is returned from.
7719
- * An account can be discovered in multiple regions and will have a separate discovered account for each Region.</p>
7720
- * @public
7721
- */
7722
- DiscoveryRegion?: string;
7723
- /**
7724
- * <p>The resource discovery failure reason.</p>
7725
- * @public
7726
- */
7727
- FailureReason?: IpamDiscoveryFailureReason;
7728
- /**
7729
- * <p>The last attempted resource discovery time.</p>
7730
- * @public
7731
- */
7732
- LastAttemptedDiscoveryTime?: Date;
7733
- /**
7734
- * <p>The last successful resource discovery time.</p>
7735
- * @public
7736
- */
7737
- LastSuccessfulDiscoveryTime?: Date;
7738
- }
7739
7701
  /**
7740
7702
  * @internal
7741
7703
  */
@@ -7748,3 +7710,7 @@ export declare const DescribeVpnConnectionsResultFilterSensitiveLog: (obj: Descr
7748
7710
  * @internal
7749
7711
  */
7750
7712
  export declare const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog: (obj: DetachVerifiedAccessTrustProviderResult) => any;
7713
+ /**
7714
+ * @internal
7715
+ */
7716
+ export declare const GetInstanceTpmEkPubResultFilterSensitiveLog: (obj: GetInstanceTpmEkPubResult) => any;
@@ -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