@aws-sdk/client-ec2 3.535.0 → 3.540.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 (44) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  3. package/dist-cjs/index.js +119 -3
  4. package/dist-es/EC2.js +2 -0
  5. package/dist-es/commands/DescribeMacHostsCommand.js +24 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/endpoint/endpointResolver.js +3 -1
  8. package/dist-es/index.js +0 -1
  9. package/dist-es/pagination/DescribeMacHostsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_ec2.js +98 -0
  12. package/dist-types/EC2.d.ts +8 -0
  13. package/dist-types/EC2Client.d.ts +3 -2
  14. package/dist-types/commands/DescribeMacHostsCommand.d.ts +79 -0
  15. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -1
  16. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -2
  17. package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +2 -1
  18. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/index.d.ts +0 -1
  21. package/dist-types/models/models_4.d.ts +77 -87
  22. package/dist-types/models/models_5.d.ts +89 -134
  23. package/dist-types/models/models_6.d.ts +135 -173
  24. package/dist-types/models/models_7.d.ts +172 -2
  25. package/dist-types/pagination/DescribeMacHostsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  28. package/dist-types/ts3.4/EC2.d.ts +18 -0
  29. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  30. package/dist-types/ts3.4/commands/DescribeMacHostsCommand.d.ts +38 -0
  31. package/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +4 -2
  33. package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +2 -4
  34. package/dist-types/ts3.4/commands/RegisterImageCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  36. package/dist-types/ts3.4/index.d.ts +0 -1
  37. package/dist-types/ts3.4/models/models_4.d.ts +14 -17
  38. package/dist-types/ts3.4/models/models_5.d.ts +23 -30
  39. package/dist-types/ts3.4/models/models_6.d.ts +34 -30
  40. package/dist-types/ts3.4/models/models_7.d.ts +31 -1
  41. package/dist-types/ts3.4/pagination/DescribeMacHostsPaginator.d.ts +11 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  43. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  44. package/package.json +5 -5
@@ -1,8 +1,95 @@
1
- import { AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
1
+ import { _InstanceType, AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { DiskImageFormat, InstanceRequirementsRequest, Subnet, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
5
- import { ArchitectureType, AttributeBooleanValue } from "./models_4";
5
+ import { ArchitectureType, AttributeBooleanValue, RIProductDescription } from "./models_4";
6
+ /**
7
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
8
+ * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
9
+ * <important>
10
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
11
+ * </important>
12
+ * @public
13
+ */
14
+ export interface SpotPrice {
15
+ /**
16
+ * <p>The Availability Zone.</p>
17
+ * @public
18
+ */
19
+ AvailabilityZone?: string;
20
+ /**
21
+ * <p>The instance type.</p>
22
+ * @public
23
+ */
24
+ InstanceType?: _InstanceType;
25
+ /**
26
+ * <p>A general description of the AMI.</p>
27
+ * @public
28
+ */
29
+ ProductDescription?: RIProductDescription;
30
+ /**
31
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
32
+ * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
33
+ * <important>
34
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
35
+ * </important>
36
+ * @public
37
+ */
38
+ SpotPrice?: string;
39
+ /**
40
+ * <p>The date and time the request was created, in UTC format (for example,
41
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
42
+ * @public
43
+ */
44
+ Timestamp?: Date;
45
+ }
46
+ /**
47
+ * <p>Contains the output of DescribeSpotPriceHistory.</p>
48
+ * @public
49
+ */
50
+ export interface DescribeSpotPriceHistoryResult {
51
+ /**
52
+ * <p>The token to include in another request to get the next page of items. This value is
53
+ * an empty string (<code>""</code>) or <code>null</code> when there are no more items to return.</p>
54
+ * @public
55
+ */
56
+ NextToken?: string;
57
+ /**
58
+ * <p>The historical Spot prices.</p>
59
+ * @public
60
+ */
61
+ SpotPriceHistory?: SpotPrice[];
62
+ }
63
+ /**
64
+ * @public
65
+ */
66
+ export interface DescribeStaleSecurityGroupsRequest {
67
+ /**
68
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
69
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
70
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
71
+ * @public
72
+ */
73
+ DryRun?: boolean;
74
+ /**
75
+ * <p>The maximum number of items to return for this request. To get the next page of items,
76
+ * make another request with the token returned in the output. For more information,
77
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
78
+ * @public
79
+ */
80
+ MaxResults?: number;
81
+ /**
82
+ * <p>The token returned from a previous paginated request.
83
+ * Pagination continues from the end of the items returned by the previous request.</p>
84
+ * @public
85
+ */
86
+ NextToken?: string;
87
+ /**
88
+ * <p>The ID of the VPC.</p>
89
+ * @public
90
+ */
91
+ VpcId: string | undefined;
92
+ }
6
93
  /**
7
94
  * <p>Describes a stale rule in a security group.</p>
8
95
  * @public
@@ -7652,138 +7739,6 @@ export interface IpamPublicAddressTag {
7652
7739
  */
7653
7740
  Value?: string;
7654
7741
  }
7655
- /**
7656
- * <p>Tags for a public IP address discovered by IPAM.</p>
7657
- * @public
7658
- */
7659
- export interface IpamPublicAddressTags {
7660
- /**
7661
- * <p>Tags for an Elastic IP address.</p>
7662
- * @public
7663
- */
7664
- EipTags?: IpamPublicAddressTag[];
7665
- }
7666
- /**
7667
- * <p>A public IP Address discovered by IPAM.</p>
7668
- * @public
7669
- */
7670
- export interface IpamDiscoveredPublicAddress {
7671
- /**
7672
- * <p>The resource discovery ID.</p>
7673
- * @public
7674
- */
7675
- IpamResourceDiscoveryId?: string;
7676
- /**
7677
- * <p>The Region of the resource the IP address is assigned to.</p>
7678
- * @public
7679
- */
7680
- AddressRegion?: string;
7681
- /**
7682
- * <p>The IP address.</p>
7683
- * @public
7684
- */
7685
- Address?: string;
7686
- /**
7687
- * <p>The ID of the owner of the resource the IP address is assigned to.</p>
7688
- * @public
7689
- */
7690
- AddressOwnerId?: string;
7691
- /**
7692
- * <p>The allocation ID of the resource the IP address is assigned to.</p>
7693
- * @public
7694
- */
7695
- AddressAllocationId?: string;
7696
- /**
7697
- * <p>The association status.</p>
7698
- * @public
7699
- */
7700
- AssociationStatus?: IpamPublicAddressAssociationStatus;
7701
- /**
7702
- * <p>The IP address type.</p>
7703
- * @public
7704
- */
7705
- AddressType?: IpamPublicAddressType;
7706
- /**
7707
- * <p>The Amazon Web Services service associated with the IP address.</p>
7708
- * @public
7709
- */
7710
- Service?: IpamPublicAddressAwsService;
7711
- /**
7712
- * <p>The resource ARN or ID.</p>
7713
- * @public
7714
- */
7715
- ServiceResource?: string;
7716
- /**
7717
- * <p>The ID of the VPC that the resource with the assigned IP address is in.</p>
7718
- * @public
7719
- */
7720
- VpcId?: string;
7721
- /**
7722
- * <p>The ID of the subnet that the resource with the assigned IP address is in.</p>
7723
- * @public
7724
- */
7725
- SubnetId?: string;
7726
- /**
7727
- * <p>The ID of the public IPv4 pool that the resource with the assigned IP address is from.</p>
7728
- * @public
7729
- */
7730
- PublicIpv4PoolId?: string;
7731
- /**
7732
- * <p>The network interface ID of the resource with the assigned IP address.</p>
7733
- * @public
7734
- */
7735
- NetworkInterfaceId?: string;
7736
- /**
7737
- * <p>The description of the network interface that IP address is assigned to.</p>
7738
- * @public
7739
- */
7740
- NetworkInterfaceDescription?: string;
7741
- /**
7742
- * <p>The instance ID of the instance the assigned IP address is assigned to.</p>
7743
- * @public
7744
- */
7745
- InstanceId?: string;
7746
- /**
7747
- * <p>Tags associated with the IP address.</p>
7748
- * @public
7749
- */
7750
- Tags?: IpamPublicAddressTags;
7751
- /**
7752
- * <p>The network border group that the resource that the IP address is assigned to is in.</p>
7753
- * @public
7754
- */
7755
- NetworkBorderGroup?: string;
7756
- /**
7757
- * <p>Security groups associated with the resource that the IP address is assigned to.</p>
7758
- * @public
7759
- */
7760
- SecurityGroups?: IpamPublicAddressSecurityGroup[];
7761
- /**
7762
- * <p>The last successful resource discovery time.</p>
7763
- * @public
7764
- */
7765
- SampleTime?: Date;
7766
- }
7767
- /**
7768
- * @public
7769
- */
7770
- export interface GetIpamDiscoveredPublicAddressesResult {
7771
- /**
7772
- * <p>IPAM discovered public addresses.</p>
7773
- * @public
7774
- */
7775
- IpamDiscoveredPublicAddresses?: IpamDiscoveredPublicAddress[];
7776
- /**
7777
- * <p>The oldest successful resource discovery time.</p>
7778
- * @public
7779
- */
7780
- OldestSampleTime?: Date;
7781
- /**
7782
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
7783
- * @public
7784
- */
7785
- NextToken?: string;
7786
- }
7787
7742
  /**
7788
7743
  * @internal
7789
7744
  */
@@ -1,9 +1,141 @@
1
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";
2
- import { AttributeValue, BlockDeviceMapping, 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";
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
- import { ArchitectureValues, BootModeValues, Byoasn, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, TpmSupportValues, VirtualizationType } from "./models_3";
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, PublicIpv4PoolRange, ReservedInstancesConfiguration, ScheduledInstance, SnapshotAttributeName, SnapshotTaskDetail } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, IpamComplianceStatus, IpamOverlapStatus, Purchase, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
6
+ import { InstanceFamilyCreditSpecification, IpamComplianceStatus, IpamOverlapStatus, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressSecurityGroup, IpamPublicAddressTag, IpamPublicAddressType, Purchase, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * <p>Tags for a public IP address discovered by IPAM.</p>
9
+ * @public
10
+ */
11
+ export interface IpamPublicAddressTags {
12
+ /**
13
+ * <p>Tags for an Elastic IP address.</p>
14
+ * @public
15
+ */
16
+ EipTags?: IpamPublicAddressTag[];
17
+ }
18
+ /**
19
+ * <p>A public IP Address discovered by IPAM.</p>
20
+ * @public
21
+ */
22
+ export interface IpamDiscoveredPublicAddress {
23
+ /**
24
+ * <p>The resource discovery ID.</p>
25
+ * @public
26
+ */
27
+ IpamResourceDiscoveryId?: string;
28
+ /**
29
+ * <p>The Region of the resource the IP address is assigned to.</p>
30
+ * @public
31
+ */
32
+ AddressRegion?: string;
33
+ /**
34
+ * <p>The IP address.</p>
35
+ * @public
36
+ */
37
+ Address?: string;
38
+ /**
39
+ * <p>The ID of the owner of the resource the IP address is assigned to.</p>
40
+ * @public
41
+ */
42
+ AddressOwnerId?: string;
43
+ /**
44
+ * <p>The allocation ID of the resource the IP address is assigned to.</p>
45
+ * @public
46
+ */
47
+ AddressAllocationId?: string;
48
+ /**
49
+ * <p>The association status.</p>
50
+ * @public
51
+ */
52
+ AssociationStatus?: IpamPublicAddressAssociationStatus;
53
+ /**
54
+ * <p>The IP address type.</p>
55
+ * @public
56
+ */
57
+ AddressType?: IpamPublicAddressType;
58
+ /**
59
+ * <p>The Amazon Web Services service associated with the IP address.</p>
60
+ * @public
61
+ */
62
+ Service?: IpamPublicAddressAwsService;
63
+ /**
64
+ * <p>The resource ARN or ID.</p>
65
+ * @public
66
+ */
67
+ ServiceResource?: string;
68
+ /**
69
+ * <p>The ID of the VPC that the resource with the assigned IP address is in.</p>
70
+ * @public
71
+ */
72
+ VpcId?: string;
73
+ /**
74
+ * <p>The ID of the subnet that the resource with the assigned IP address is in.</p>
75
+ * @public
76
+ */
77
+ SubnetId?: string;
78
+ /**
79
+ * <p>The ID of the public IPv4 pool that the resource with the assigned IP address is from.</p>
80
+ * @public
81
+ */
82
+ PublicIpv4PoolId?: string;
83
+ /**
84
+ * <p>The network interface ID of the resource with the assigned IP address.</p>
85
+ * @public
86
+ */
87
+ NetworkInterfaceId?: string;
88
+ /**
89
+ * <p>The description of the network interface that IP address is assigned to.</p>
90
+ * @public
91
+ */
92
+ NetworkInterfaceDescription?: string;
93
+ /**
94
+ * <p>The instance ID of the instance the assigned IP address is assigned to.</p>
95
+ * @public
96
+ */
97
+ InstanceId?: string;
98
+ /**
99
+ * <p>Tags associated with the IP address.</p>
100
+ * @public
101
+ */
102
+ Tags?: IpamPublicAddressTags;
103
+ /**
104
+ * <p>The network border group that the resource that the IP address is assigned to is in.</p>
105
+ * @public
106
+ */
107
+ NetworkBorderGroup?: string;
108
+ /**
109
+ * <p>Security groups associated with the resource that the IP address is assigned to.</p>
110
+ * @public
111
+ */
112
+ SecurityGroups?: IpamPublicAddressSecurityGroup[];
113
+ /**
114
+ * <p>The last successful resource discovery time.</p>
115
+ * @public
116
+ */
117
+ SampleTime?: Date;
118
+ }
119
+ /**
120
+ * @public
121
+ */
122
+ export interface GetIpamDiscoveredPublicAddressesResult {
123
+ /**
124
+ * <p>IPAM discovered public addresses.</p>
125
+ * @public
126
+ */
127
+ IpamDiscoveredPublicAddresses?: IpamDiscoveredPublicAddress[];
128
+ /**
129
+ * <p>The oldest successful resource discovery time.</p>
130
+ * @public
131
+ */
132
+ OldestSampleTime?: Date;
133
+ /**
134
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
135
+ * @public
136
+ */
137
+ NextToken?: string;
138
+ }
7
139
  /**
8
140
  * @public
9
141
  */
@@ -8162,176 +8294,6 @@ export interface RebootInstancesRequest {
8162
8294
  */
8163
8295
  DryRun?: boolean;
8164
8296
  }
8165
- /**
8166
- * <p>Contains the parameters for RegisterImage.</p>
8167
- * @public
8168
- */
8169
- export interface RegisterImageRequest {
8170
- /**
8171
- * <p>The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the
8172
- * <code>aws-exec-read</code> canned access control list (ACL) to ensure that it can be accessed
8173
- * by Amazon EC2. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl">Canned ACLs</a> in the
8174
- * <i>Amazon S3 Service Developer Guide</i>.</p>
8175
- * @public
8176
- */
8177
- ImageLocation?: string;
8178
- /**
8179
- * <p>The architecture of the AMI.</p>
8180
- * <p>Default: For Amazon EBS-backed AMIs, <code>i386</code>.
8181
- * For instance store-backed AMIs, the architecture specified in the manifest file.</p>
8182
- * @public
8183
- */
8184
- Architecture?: ArchitectureValues;
8185
- /**
8186
- * <p>The block device mapping entries.</p>
8187
- * <p>If you specify an Amazon EBS volume using the ID of an Amazon EBS snapshot, you can't specify the encryption state of the volume.</p>
8188
- * <p>If you create an AMI on an Outpost, then all backing snapshots must be on the same
8189
- * Outpost or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can
8190
- * be used to launch instances on the same Outpost only. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Amazon EBS local
8191
- * snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
8192
- * @public
8193
- */
8194
- BlockDeviceMappings?: BlockDeviceMapping[];
8195
- /**
8196
- * <p>A description for your AMI.</p>
8197
- * @public
8198
- */
8199
- Description?: string;
8200
- /**
8201
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8202
- * and provides an error response. If you have the required permissions, the error response is
8203
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8204
- * @public
8205
- */
8206
- DryRun?: boolean;
8207
- /**
8208
- * <p>Set to <code>true</code> to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.</p>
8209
- * <p>This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.</p>
8210
- * @public
8211
- */
8212
- EnaSupport?: boolean;
8213
- /**
8214
- * <p>The ID of the kernel.</p>
8215
- * @public
8216
- */
8217
- KernelId?: string;
8218
- /**
8219
- * <p>A name for your AMI.</p>
8220
- * <p>Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)</p>
8221
- * @public
8222
- */
8223
- Name: string | undefined;
8224
- /**
8225
- * <p>The billing product codes. Your account must be authorized to specify billing product codes.</p>
8226
- * <p>If your account is not authorized to specify billing product codes, you can publish AMIs
8227
- * that include billable software and list them on the Amazon Web Services Marketplace. You must first register as a seller
8228
- * on the Amazon Web Services Marketplace. For more information, see <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html">Getting started as a
8229
- * seller</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html">AMI-based
8230
- * products</a> in the <i>Amazon Web Services Marketplace Seller Guide</i>.</p>
8231
- * @public
8232
- */
8233
- BillingProducts?: string[];
8234
- /**
8235
- * <p>The ID of the RAM disk.</p>
8236
- * @public
8237
- */
8238
- RamdiskId?: string;
8239
- /**
8240
- * <p>The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>
8241
- * @public
8242
- */
8243
- RootDeviceName?: string;
8244
- /**
8245
- * <p>Set to <code>simple</code> to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.</p>
8246
- * <p>There is no way to disable <code>sriovNetSupport</code> at this time.</p>
8247
- * <p>This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.</p>
8248
- * @public
8249
- */
8250
- SriovNetSupport?: string;
8251
- /**
8252
- * <p>The type of virtualization (<code>hvm</code> | <code>paravirtual</code>).</p>
8253
- * <p>Default: <code>paravirtual</code>
8254
- * </p>
8255
- * @public
8256
- */
8257
- VirtualizationType?: string;
8258
- /**
8259
- * <p>The boot mode of the AMI. A value of <code>uefi-preferred</code> indicates that the AMI supports both UEFI and Legacy BIOS.</p>
8260
- * <note>
8261
- * <p>The operating system contained in the AMI must be configured to support the specified boot mode.</p>
8262
- * </note>
8263
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
8264
- * <i>Amazon EC2 User Guide</i>.</p>
8265
- * @public
8266
- */
8267
- BootMode?: BootModeValues;
8268
- /**
8269
- * <p>Set to <code>v2.0</code> to enable Trusted Platform Module (TPM) support. For more
8270
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the <i>Amazon EC2 User Guide</i>.</p>
8271
- * @public
8272
- */
8273
- TpmSupport?: TpmSupportValues;
8274
- /**
8275
- * <p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,
8276
- * use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the
8277
- * <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
8278
- * GitHub. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot</a> in the
8279
- * <i>Amazon EC2 User Guide</i>.</p>
8280
- * @public
8281
- */
8282
- UefiData?: string;
8283
- /**
8284
- * <p>Set to <code>v2.0</code> to indicate that IMDSv2 is specified in the AMI. Instances
8285
- * launched from this AMI will have <code>HttpTokens</code> automatically set to
8286
- * <code>required</code> so that, by default, the instance requires that IMDSv2 is used when
8287
- * requesting instance metadata. In addition, <code>HttpPutResponseHopLimit</code> is set to
8288
- * <code>2</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
8289
- * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
8290
- * <note>
8291
- * <p>If you set the value to <code>v2.0</code>, make sure that your AMI software can support IMDSv2.</p>
8292
- * </note>
8293
- * @public
8294
- */
8295
- ImdsSupport?: ImdsSupportValues;
8296
- /**
8297
- * <p>The tags to apply to the AMI.</p>
8298
- * <p>To tag the AMI, the value for <code>ResourceType</code> must be <code>image</code>. If you
8299
- * specify another value for <code>ResourceType</code>, the request fails.</p>
8300
- * <p>To tag an AMI after it has been registered, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
8301
- * @public
8302
- */
8303
- TagSpecifications?: TagSpecification[];
8304
- }
8305
- /**
8306
- * <p>Contains the output of RegisterImage.</p>
8307
- * @public
8308
- */
8309
- export interface RegisterImageResult {
8310
- /**
8311
- * <p>The ID of the newly registered AMI.</p>
8312
- * @public
8313
- */
8314
- ImageId?: string;
8315
- }
8316
- /**
8317
- * <p>Information about the tag keys to register for the current Region. You can either specify
8318
- * individual tag keys or register all tag keys in the current Region. You must specify either
8319
- * <code>IncludeAllTagsOfInstance</code> or <code>InstanceTagKeys</code> in the request</p>
8320
- * @public
8321
- */
8322
- export interface RegisterInstanceTagAttributeRequest {
8323
- /**
8324
- * <p>Indicates whether to register all tag keys in the current Region. Specify <code>true</code>
8325
- * to register all tag keys.</p>
8326
- * @public
8327
- */
8328
- IncludeAllTagsOfInstance?: boolean;
8329
- /**
8330
- * <p>The tag keys to register.</p>
8331
- * @public
8332
- */
8333
- InstanceTagKeys?: string[];
8334
- }
8335
8297
  /**
8336
8298
  * @internal
8337
8299
  */