@aws-sdk/client-ec2 3.556.0 → 3.561.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 (61) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +164 -26
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/DisableImageDeregistrationProtectionCommand.js +24 -0
  5. package/dist-es/commands/EnableImageDeregistrationProtectionCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_3.js +1 -0
  8. package/dist-es/models/models_5.js +0 -11
  9. package/dist-es/models/models_6.js +11 -0
  10. package/dist-es/protocols/Aws_ec2.js +110 -13
  11. package/dist-types/EC2.d.ts +14 -0
  12. package/dist-types/EC2Client.d.ts +4 -2
  13. package/dist-types/commands/CancelSpotFleetRequestsCommand.d.ts +9 -0
  14. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +6 -5
  17. package/dist-types/commands/DeleteFleetsCommand.d.ts +15 -8
  18. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
  20. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  22. package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -0
  23. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +4 -0
  25. package/dist-types/commands/DescribeTagsCommand.d.ts +4 -0
  26. package/dist-types/commands/DescribeVolumesCommand.d.ts +4 -0
  27. package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +66 -0
  28. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +66 -0
  29. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -0
  30. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
  31. package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -2
  32. package/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +3 -2
  33. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -1
  34. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  35. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -2
  36. package/dist-types/commands/index.d.ts +2 -0
  37. package/dist-types/models/models_0.d.ts +2 -1
  38. package/dist-types/models/models_1.d.ts +23 -20
  39. package/dist-types/models/models_2.d.ts +10 -8
  40. package/dist-types/models/models_3.d.ts +22 -0
  41. package/dist-types/models/models_4.d.ts +38 -16
  42. package/dist-types/models/models_5.d.ts +65 -83
  43. package/dist-types/models/models_6.d.ts +90 -104
  44. package/dist-types/models/models_7.d.ts +114 -37
  45. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  46. package/dist-types/ts3.4/EC2.d.ts +46 -0
  47. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  48. package/dist-types/ts3.4/commands/DisableImageDeregistrationProtectionCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +39 -0
  50. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  56. package/dist-types/ts3.4/models/models_3.d.ts +4 -0
  57. package/dist-types/ts3.4/models/models_5.d.ts +15 -27
  58. package/dist-types/ts3.4/models/models_6.d.ts +28 -27
  59. package/dist-types/ts3.4/models/models_7.d.ts +24 -0
  60. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  61. package/package.json +1 -1
@@ -7331,6 +7331,7 @@ export interface DescribeIdFormatResult {
7331
7331
  export declare const ImageAttributeName: {
7332
7332
  readonly blockDeviceMapping: "blockDeviceMapping";
7333
7333
  readonly bootMode: "bootMode";
7334
+ readonly deregistrationProtection: "deregistrationProtection";
7334
7335
  readonly description: "description";
7335
7336
  readonly imdsSupport: "imdsSupport";
7336
7337
  readonly kernel: "kernel";
@@ -7485,6 +7486,11 @@ export interface ImageAttribute {
7485
7486
  * @public
7486
7487
  */
7487
7488
  ImdsSupport?: AttributeValue;
7489
+ /**
7490
+ * <p>Indicates whether deregistration protection is enabled for the AMI.</p>
7491
+ * @public
7492
+ */
7493
+ DeregistrationProtection?: AttributeValue;
7488
7494
  }
7489
7495
  /**
7490
7496
  * @public
@@ -8026,6 +8032,22 @@ export interface Image {
8026
8032
  * @public
8027
8033
  */
8028
8034
  SourceInstanceId?: string;
8035
+ /**
8036
+ * <p>Indicates whether deregistration protection is enabled for the AMI.</p>
8037
+ * @public
8038
+ */
8039
+ DeregistrationProtection?: string;
8040
+ /**
8041
+ * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
8042
+ * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
8043
+ * to launch an instance, there is a 24-hour delay before that usage is reported.</p>
8044
+ * <note>
8045
+ * <p>
8046
+ * <code>lastLaunchedTime</code> data is available starting April 2017.</p>
8047
+ * </note>
8048
+ * @public
8049
+ */
8050
+ LastLaunchedTime?: string;
8029
8051
  }
8030
8052
  /**
8031
8053
  * @public
@@ -2957,6 +2957,27 @@ export interface DescribeInstanceTypeOfferingsRequest {
2957
2957
  DryRun?: boolean;
2958
2958
  /**
2959
2959
  * <p>The location type.</p>
2960
+ * <ul>
2961
+ * <li>
2962
+ * <p>
2963
+ * <code>availability-zone</code> - The Availability Zone. When you specify a location filter, it must be
2964
+ * an Availability Zone for the current Region.</p>
2965
+ * </li>
2966
+ * <li>
2967
+ * <p>
2968
+ * <code>availability-zone-id</code> - The AZ ID. When you specify a location filter, it must be
2969
+ * an AZ ID for the current Region.</p>
2970
+ * </li>
2971
+ * <li>
2972
+ * <p>
2973
+ * <code>outpost</code> - The Outpost ARN. When you specify a location filter, it must be an Outpost ARN
2974
+ * for the current Region.</p>
2975
+ * </li>
2976
+ * <li>
2977
+ * <p>
2978
+ * <code>region</code> - The current Region. If you specify a location filter, it must match the current Region.</p>
2979
+ * </li>
2980
+ * </ul>
2960
2981
  * @public
2961
2982
  */
2962
2983
  LocationType?: LocationType;
@@ -2965,13 +2986,12 @@ export interface DescribeInstanceTypeOfferingsRequest {
2965
2986
  * <ul>
2966
2987
  * <li>
2967
2988
  * <p>
2968
- * <code>location</code> - This depends on the location type. For example, if the location type is
2969
- * <code>region</code> (default), the location is the Region code (for example, <code>us-east-2</code>.)</p>
2989
+ * <code>instance-type</code> - The instance type. For a list of possible values, see
2990
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html">Instance</a>.</p>
2970
2991
  * </li>
2971
2992
  * <li>
2972
2993
  * <p>
2973
- * <code>instance-type</code> - The instance type. For example,
2974
- * <code>c5.2xlarge</code>.</p>
2994
+ * <code>location</code> - The location. For a list of possible identifiers, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html">Regions and Zones</a>.</p>
2975
2995
  * </li>
2976
2996
  * </ul>
2977
2997
  * @public
@@ -3017,7 +3037,7 @@ export interface InstanceTypeOffering {
3017
3037
  */
3018
3038
  export interface DescribeInstanceTypeOfferingsResult {
3019
3039
  /**
3020
- * <p>The instance types offered.</p>
3040
+ * <p>The instance types offered in the location.</p>
3021
3041
  * @public
3022
3042
  */
3023
3043
  InstanceTypeOfferings?: InstanceTypeOffering[];
@@ -3040,7 +3060,7 @@ export interface DescribeInstanceTypesRequest {
3040
3060
  */
3041
3061
  DryRun?: boolean;
3042
3062
  /**
3043
- * <p>The instance types. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
3063
+ * <p>The instance types.</p>
3044
3064
  * @public
3045
3065
  */
3046
3066
  InstanceTypes?: _InstanceType[];
@@ -4261,7 +4281,7 @@ export interface InstanceTypeInfo {
4261
4281
  */
4262
4282
  export interface DescribeInstanceTypesResult {
4263
4283
  /**
4264
- * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
4284
+ * <p>The instance type.</p>
4265
4285
  * @public
4266
4286
  */
4267
4287
  InstanceTypes?: InstanceTypeInfo[];
@@ -4942,8 +4962,7 @@ export interface DescribeLaunchTemplateVersionsRequest {
4942
4962
  /**
4943
4963
  * <p>The ID of the launch template.</p>
4944
4964
  * <p>To describe one or more versions of a specified launch template, you must specify
4945
- * either the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not
4946
- * both.</p>
4965
+ * either the launch template ID or the launch template name, but not both.</p>
4947
4966
  * <p>To describe all the latest or default launch template versions in your account, you
4948
4967
  * must omit this parameter.</p>
4949
4968
  * @public
@@ -4952,8 +4971,7 @@ export interface DescribeLaunchTemplateVersionsRequest {
4952
4971
  /**
4953
4972
  * <p>The name of the launch template.</p>
4954
4973
  * <p>To describe one or more versions of a specified launch template, you must specify
4955
- * either the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not
4956
- * both.</p>
4974
+ * either the launch template name or the launch template ID, but not both.</p>
4957
4975
  * <p>To describe all the latest or default launch template versions in your account, you
4958
4976
  * must omit this parameter.</p>
4959
4977
  * @public
@@ -7034,7 +7052,7 @@ export interface DescribeNetworkInterfacesRequest {
7034
7052
  */
7035
7053
  export interface DescribeNetworkInterfacesResult {
7036
7054
  /**
7037
- * <p>Information about one or more network interfaces.</p>
7055
+ * <p>Information about the network interfaces.</p>
7038
7056
  * @public
7039
7057
  */
7040
7058
  NetworkInterfaces?: NetworkInterface[];
@@ -10094,6 +10112,8 @@ export interface SpotFleetTagSpecification {
10094
10112
  export interface SpotFleetLaunchSpecification {
10095
10113
  /**
10096
10114
  * <p>The security groups.</p>
10115
+ * <p>If you specify a network interface, you must specify any security groups as part of
10116
+ * the network interface instead of using this parameter.</p>
10097
10117
  * @public
10098
10118
  */
10099
10119
  SecurityGroups?: GroupIdentifier[];
@@ -10148,11 +10168,11 @@ export interface SpotFleetLaunchSpecification {
10148
10168
  */
10149
10169
  Monitoring?: SpotFleetMonitoring;
10150
10170
  /**
10151
- * <p>One or more network interfaces. If you specify a network interface, you must specify
10152
- * subnet IDs and security group IDs using the network interface.</p>
10171
+ * <p>The network interfaces.</p>
10153
10172
  * <note>
10154
10173
  * <p>
10155
- * <code>SpotFleetLaunchSpecification</code> currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html">LaunchTemplateConfig</a>.</p>
10174
+ * <code>SpotFleetLaunchSpecification</code> does not support Elastic Fabric Adapter (EFA).
10175
+ * You must use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html">LaunchTemplateConfig</a> instead.</p>
10156
10176
  * </note>
10157
10177
  * @public
10158
10178
  */
@@ -10180,7 +10200,9 @@ export interface SpotFleetLaunchSpecification {
10180
10200
  SpotPrice?: string;
10181
10201
  /**
10182
10202
  * <p>The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate
10183
- * them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".</p>
10203
+ * them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".</p>
10204
+ * <p>If you specify a network interface, you must specify any subnets as part of the
10205
+ * network interface instead of using this parameter.</p>
10184
10206
  * @public
10185
10207
  */
10186
10208
  SubnetId?: string;
@@ -499,7 +499,8 @@ export interface DescribeTagsRequest {
499
499
  * </li>
500
500
  * <li>
501
501
  * <p>
502
- * <code>resource-type</code> - The resource type (<code>customer-gateway</code> | <code>dedicated-host</code> | <code>dhcp-options</code> | <code>elastic-ip</code> | <code>fleet</code> | <code>fpga-image</code> | <code>host-reservation</code> | <code>image</code> | <code>instance</code> | <code>internet-gateway</code> | <code>key-pair</code> | <code>launch-template</code> | <code>natgateway</code> | <code>network-acl</code> | <code>network-interface</code> | <code>placement-group</code> | <code>reserved-instances</code> | <code>route-table</code> | <code>security-group</code> | <code>snapshot</code> | <code>spot-instances-request</code> | <code>subnet</code> | <code>volume</code> | <code>vpc</code> | <code>vpc-endpoint</code> | <code>vpc-endpoint-service</code> | <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>).</p>
502
+ * <code>resource-type</code> - The resource type. For a list of possible values, see
503
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TagSpecification.html">TagSpecification</a>.</p>
503
504
  * </li>
504
505
  * <li>
505
506
  * <p>
@@ -4531,6 +4532,33 @@ export interface DisableImageDeprecationResult {
4531
4532
  */
4532
4533
  Return?: boolean;
4533
4534
  }
4535
+ /**
4536
+ * @public
4537
+ */
4538
+ export interface DisableImageDeregistrationProtectionRequest {
4539
+ /**
4540
+ * <p>The ID of the AMI.</p>
4541
+ * @public
4542
+ */
4543
+ ImageId: string | undefined;
4544
+ /**
4545
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
4546
+ * and provides an error response. If you have the required permissions, the error response is
4547
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4548
+ * @public
4549
+ */
4550
+ DryRun?: boolean;
4551
+ }
4552
+ /**
4553
+ * @public
4554
+ */
4555
+ export interface DisableImageDeregistrationProtectionResult {
4556
+ /**
4557
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
4558
+ * @public
4559
+ */
4560
+ Return?: string;
4561
+ }
4534
4562
  /**
4535
4563
  * @public
4536
4564
  */
@@ -5744,6 +5772,39 @@ export interface EnableImageDeprecationResult {
5744
5772
  */
5745
5773
  Return?: boolean;
5746
5774
  }
5775
+ /**
5776
+ * @public
5777
+ */
5778
+ export interface EnableImageDeregistrationProtectionRequest {
5779
+ /**
5780
+ * <p>The ID of the AMI.</p>
5781
+ * @public
5782
+ */
5783
+ ImageId: string | undefined;
5784
+ /**
5785
+ * <p>If <code>true</code>, enforces deregistration protection for 24 hours after deregistration
5786
+ * protection is disabled.</p>
5787
+ * @public
5788
+ */
5789
+ WithCooldown?: boolean;
5790
+ /**
5791
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
5792
+ * and provides an error response. If you have the required permissions, the error response is
5793
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5794
+ * @public
5795
+ */
5796
+ DryRun?: boolean;
5797
+ }
5798
+ /**
5799
+ * @public
5800
+ */
5801
+ export interface EnableImageDeregistrationProtectionResult {
5802
+ /**
5803
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
5804
+ * @public
5805
+ */
5806
+ Return?: string;
5807
+ }
5747
5808
  /**
5748
5809
  * @public
5749
5810
  */
@@ -6311,14 +6372,14 @@ export interface AssociatedRole {
6311
6372
  */
6312
6373
  CertificateS3BucketName?: string;
6313
6374
  /**
6314
- * <p>The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key bundle
6315
- * is stored. The object key is formated as follows: <code>role_arn</code>/<code>certificate_arn</code>.
6375
+ * <p>The key of the Amazon S3 object where the certificate, certificate chain, and encrypted private key bundle
6376
+ * are stored. The object key is formatted as follows: <code>role_arn</code>/<code>certificate_arn</code>.
6316
6377
  * </p>
6317
6378
  * @public
6318
6379
  */
6319
6380
  CertificateS3ObjectKey?: string;
6320
6381
  /**
6321
- * <p>The ID of the KMS customer master key (CMK) used to encrypt the private key.</p>
6382
+ * <p>The ID of the KMS key used to encrypt the private key.</p>
6322
6383
  * @public
6323
6384
  */
6324
6385
  EncryptionKmsKeyId?: string;
@@ -7675,85 +7736,6 @@ export interface IpamDiscoveredAccount {
7675
7736
  */
7676
7737
  LastSuccessfulDiscoveryTime?: Date;
7677
7738
  }
7678
- /**
7679
- * @public
7680
- */
7681
- export interface GetIpamDiscoveredAccountsResult {
7682
- /**
7683
- * <p>Discovered accounts.</p>
7684
- * @public
7685
- */
7686
- IpamDiscoveredAccounts?: IpamDiscoveredAccount[];
7687
- /**
7688
- * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
7689
- * @public
7690
- */
7691
- NextToken?: string;
7692
- }
7693
- /**
7694
- * @public
7695
- */
7696
- export interface GetIpamDiscoveredPublicAddressesRequest {
7697
- /**
7698
- * <p>A check for whether you have the required permissions for the action without actually making the request
7699
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7700
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7701
- * @public
7702
- */
7703
- DryRun?: boolean;
7704
- /**
7705
- * <p>An IPAM resource discovery ID.</p>
7706
- * @public
7707
- */
7708
- IpamResourceDiscoveryId: string | undefined;
7709
- /**
7710
- * <p>The Amazon Web Services Region for the IP address.</p>
7711
- * @public
7712
- */
7713
- AddressRegion: string | undefined;
7714
- /**
7715
- * <p>Filters.</p>
7716
- * @public
7717
- */
7718
- Filters?: Filter[];
7719
- /**
7720
- * <p>The token for the next page of results.</p>
7721
- * @public
7722
- */
7723
- NextToken?: string;
7724
- /**
7725
- * <p>The maximum number of IPAM discovered public addresses to return in one page of results.</p>
7726
- * @public
7727
- */
7728
- MaxResults?: number;
7729
- }
7730
- /**
7731
- * @public
7732
- * @enum
7733
- */
7734
- export declare const IpamPublicAddressType: {
7735
- readonly AMAZON_OWNED_EIP: "amazon-owned-eip";
7736
- readonly BYOIP: "byoip";
7737
- readonly EC2_PUBLIC_IP: "ec2-public-ip";
7738
- readonly SERVICE_MANAGED_BYOIP: "service-managed-byoip";
7739
- readonly SERVICE_MANAGED_IP: "service-managed-ip";
7740
- };
7741
- /**
7742
- * @public
7743
- */
7744
- export type IpamPublicAddressType = (typeof IpamPublicAddressType)[keyof typeof IpamPublicAddressType];
7745
- /**
7746
- * @public
7747
- * @enum
7748
- */
7749
- export declare const IpamPublicAddressAssociationStatus: {
7750
- readonly ASSOCIATED: "associated";
7751
- readonly DISASSOCIATED: "disassociated";
7752
- };
7753
- /**
7754
- * @public
7755
- */
7756
- export type IpamPublicAddressAssociationStatus = (typeof IpamPublicAddressAssociationStatus)[keyof typeof IpamPublicAddressAssociationStatus];
7757
7739
  /**
7758
7740
  * @internal
7759
7741
  */
@@ -1,9 +1,88 @@
1
- import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
1
+ import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceDiscovery, IpamResourceTag, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType, VolumeType } from "./models_1";
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
- import { AnalysisStatus, ArchitectureType, AttributeBooleanValue, CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchTemplateConfig, LockState, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotTaskDetail } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, IpamComplianceStatus, IpamOverlapStatus, IpamPublicAddressAssociationStatus, IpamPublicAddressType, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_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";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface GetIpamDiscoveredAccountsResult {
11
+ /**
12
+ * <p>Discovered accounts.</p>
13
+ * @public
14
+ */
15
+ IpamDiscoveredAccounts?: IpamDiscoveredAccount[];
16
+ /**
17
+ * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface GetIpamDiscoveredPublicAddressesRequest {
26
+ /**
27
+ * <p>A check for whether you have the required permissions for the action without actually making the request
28
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
29
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
30
+ * @public
31
+ */
32
+ DryRun?: boolean;
33
+ /**
34
+ * <p>An IPAM resource discovery ID.</p>
35
+ * @public
36
+ */
37
+ IpamResourceDiscoveryId: string | undefined;
38
+ /**
39
+ * <p>The Amazon Web Services Region for the IP address.</p>
40
+ * @public
41
+ */
42
+ AddressRegion: string | undefined;
43
+ /**
44
+ * <p>Filters.</p>
45
+ * @public
46
+ */
47
+ Filters?: Filter[];
48
+ /**
49
+ * <p>The token for the next page of results.</p>
50
+ * @public
51
+ */
52
+ NextToken?: string;
53
+ /**
54
+ * <p>The maximum number of IPAM discovered public addresses to return in one page of results.</p>
55
+ * @public
56
+ */
57
+ MaxResults?: number;
58
+ }
59
+ /**
60
+ * @public
61
+ * @enum
62
+ */
63
+ export declare const IpamPublicAddressType: {
64
+ readonly AMAZON_OWNED_EIP: "amazon-owned-eip";
65
+ readonly BYOIP: "byoip";
66
+ readonly EC2_PUBLIC_IP: "ec2-public-ip";
67
+ readonly SERVICE_MANAGED_BYOIP: "service-managed-byoip";
68
+ readonly SERVICE_MANAGED_IP: "service-managed-ip";
69
+ };
70
+ /**
71
+ * @public
72
+ */
73
+ export type IpamPublicAddressType = (typeof IpamPublicAddressType)[keyof typeof IpamPublicAddressType];
74
+ /**
75
+ * @public
76
+ * @enum
77
+ */
78
+ export declare const IpamPublicAddressAssociationStatus: {
79
+ readonly ASSOCIATED: "associated";
80
+ readonly DISASSOCIATED: "disassociated";
81
+ };
82
+ /**
83
+ * @public
84
+ */
85
+ export type IpamPublicAddressAssociationStatus = (typeof IpamPublicAddressAssociationStatus)[keyof typeof IpamPublicAddressAssociationStatus];
7
86
  /**
8
87
  * <p>The security group that the resource with the public IP address is in.</p>
9
88
  * @public
@@ -4744,11 +4823,10 @@ export interface ModifyInstanceMetadataDefaultsRequest {
4744
4823
  */
4745
4824
  HttpTokens?: MetadataDefaultHttpTokensState;
4746
4825
  /**
4747
- * <p>The maximum number of hops that the metadata token can travel.</p>
4748
- * <p>Minimum: <code>1</code>
4749
- * </p>
4750
- * <p>Maximum: <code>64</code>
4751
- * </p>
4826
+ * <p>The maximum number of hops that the metadata token can travel. To indicate no
4827
+ * preference, specify <code>-1</code>.</p>
4828
+ * <p>Possible values: Integers from <code>1</code> to <code>64</code>, and <code>-1</code>
4829
+ * to indicate no preference</p>
4752
4830
  * @public
4753
4831
  */
4754
4832
  HttpPutResponseHopLimit?: number;
@@ -5254,15 +5332,15 @@ export interface ModifyLaunchTemplateRequest {
5254
5332
  ClientToken?: string;
5255
5333
  /**
5256
5334
  * <p>The ID of the launch template.</p>
5257
- * <p>You must specify either the <code>LaunchTemplateId</code> or the
5258
- * <code>LaunchTemplateName</code>, but not both.</p>
5335
+ * <p>You must specify either the launch template ID or the
5336
+ * launch template name, but not both.</p>
5259
5337
  * @public
5260
5338
  */
5261
5339
  LaunchTemplateId?: string;
5262
5340
  /**
5263
5341
  * <p>The name of the launch template.</p>
5264
- * <p>You must specify either the <code>LaunchTemplateName</code> or the
5265
- * <code>LaunchTemplateId</code>, but not both.</p>
5342
+ * <p>You must specify either the launch template ID or the
5343
+ * launch template name, but not both.</p>
5266
5344
  * @public
5267
5345
  */
5268
5346
  LaunchTemplateName?: string;
@@ -8206,98 +8284,6 @@ export interface ProvisionPublicIpv4PoolCidrRequest {
8206
8284
  */
8207
8285
  NetmaskLength: number | undefined;
8208
8286
  }
8209
- /**
8210
- * @public
8211
- */
8212
- export interface ProvisionPublicIpv4PoolCidrResult {
8213
- /**
8214
- * <p>The ID of the pool that you want to provision the CIDR to.</p>
8215
- * @public
8216
- */
8217
- PoolId?: string;
8218
- /**
8219
- * <p>Information about the address range of the public IPv4 pool.</p>
8220
- * @public
8221
- */
8222
- PoolAddressRange?: PublicIpv4PoolRange;
8223
- }
8224
- /**
8225
- * @public
8226
- */
8227
- export interface PurchaseCapacityBlockRequest {
8228
- /**
8229
- * <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>
8230
- * @public
8231
- */
8232
- DryRun?: boolean;
8233
- /**
8234
- * <p>The tags to apply to the Capacity Block during launch.</p>
8235
- * @public
8236
- */
8237
- TagSpecifications?: TagSpecification[];
8238
- /**
8239
- * <p>The ID of the Capacity Block offering.</p>
8240
- * @public
8241
- */
8242
- CapacityBlockOfferingId: string | undefined;
8243
- /**
8244
- * <p>The type of operating system for which to reserve capacity.</p>
8245
- * @public
8246
- */
8247
- InstancePlatform: CapacityReservationInstancePlatform | undefined;
8248
- }
8249
- /**
8250
- * @public
8251
- */
8252
- export interface PurchaseCapacityBlockResult {
8253
- /**
8254
- * <p>The Capacity Reservation.</p>
8255
- * @public
8256
- */
8257
- CapacityReservation?: CapacityReservation;
8258
- }
8259
- /**
8260
- * @public
8261
- */
8262
- export interface PurchaseHostReservationRequest {
8263
- /**
8264
- * <p>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>
8265
- * @public
8266
- */
8267
- ClientToken?: string;
8268
- /**
8269
- * <p>The currency in which the <code>totalUpfrontPrice</code>, <code>LimitPrice</code>, and
8270
- * <code>totalHourlyPrice</code> amounts are specified. At this time, the only
8271
- * supported currency is <code>USD</code>.</p>
8272
- * @public
8273
- */
8274
- CurrencyCode?: CurrencyCodeValues;
8275
- /**
8276
- * <p>The IDs of the Dedicated Hosts with which the reservation will be associated.</p>
8277
- * @public
8278
- */
8279
- HostIdSet: string[] | undefined;
8280
- /**
8281
- * <p>The specified limit is checked against the total upfront cost of the reservation
8282
- * (calculated as the offering's upfront cost multiplied by the host count). If the total
8283
- * upfront cost is greater than the specified price limit, the request fails. This is used
8284
- * to ensure that the purchase does not exceed the expected upfront cost of the purchase.
8285
- * At this time, the only supported currency is <code>USD</code>. For example, to indicate
8286
- * a limit price of USD 100, specify 100.00.</p>
8287
- * @public
8288
- */
8289
- LimitPrice?: string;
8290
- /**
8291
- * <p>The ID of the offering.</p>
8292
- * @public
8293
- */
8294
- OfferingId: string | undefined;
8295
- /**
8296
- * <p>The tags to apply to the Dedicated Host Reservation during purchase.</p>
8297
- * @public
8298
- */
8299
- TagSpecifications?: TagSpecification[];
8300
- }
8301
8287
  /**
8302
8288
  * @internal
8303
8289
  */