@aws-sdk/client-ec2 3.1117.0 → 3.1118.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.
- package/dist-cjs/index.js +55 -6
- package/dist-es/models/enums.js +9 -0
- package/dist-es/schemas/schemas_0.js +40 -5
- package/dist-types/commands/CreateFleetCommand.d.ts +15 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -2
- package/dist-types/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +9 -2
- package/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -2
- package/dist-types/commands/EnableFastLaunchCommand.d.ts +1 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_1.d.ts +74 -59
- package/dist-types/models/models_2.d.ts +52 -29
- package/dist-types/models/models_3.d.ts +69 -118
- package/dist-types/models/models_4.d.ts +113 -154
- package/dist-types/models/models_5.d.ts +153 -86
- package/dist-types/models/models_6.d.ts +86 -131
- package/dist-types/models/models_7.d.ts +135 -49
- package/dist-types/models/models_8.d.ts +46 -2
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_1.d.ts +12 -13
- package/dist-types/ts3.4/models/models_2.d.ts +12 -9
- package/dist-types/ts3.4/models/models_3.d.ts +15 -17
- package/dist-types/ts3.4/models/models_4.d.ts +18 -36
- package/dist-types/ts3.4/models/models_5.d.ts +30 -17
- package/dist-types/ts3.4/models/models_6.d.ts +16 -24
- package/dist-types/ts3.4/models/models_7.d.ts +28 -13
- package/dist-types/ts3.4/models/models_8.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,8 +1,119 @@
|
|
|
1
|
-
import type { _InstanceType, AllocationState, AllowsMultipleInstanceTypes, AmdSevSnp, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, AutoPlacement, BandwidthWeightingType, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, FindingsFound, FlexibleEnaQueuesSupport, FpgaImageAttributeName, FpgaImageStateCode, HaStatus, HostMaintenance, HostnameType, HostRecovery, HttpTokensState, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, LogDestinationType, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, PaymentOption, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, ProductCodeValues, RebootMigrationSupport, RecurringChargeFrequency, ReservationState, ReservedInstanceState, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SqlServerLicenseUsage, StatusName, StatusType, SummaryStatus, SupportedAdditionalProcessorFeature, TaggableResourceType, Tenancy, TpmSupportValues, TrafficType, UsageClassType, VirtualizationType } from "./enums";
|
|
1
|
+
import type { _InstanceType, AllocationState, AllowsMultipleInstanceTypes, AmdSevSnp, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, AutoPlacement, BandwidthWeightingType, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DestinationFileFormat, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, FindingsFound, FlexibleEnaQueuesSupport, FpgaImageAttributeName, FpgaImageStateCode, HaStatus, HostMaintenance, HostnameType, HostRecovery, HttpTokensState, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, LogDestinationType, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, PaymentOption, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, ProductCodeValues, RebootMigrationSupport, RecurringChargeFrequency, ReservationState, ReservedInstanceState, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SqlServerLicenseUsage, StatusName, StatusType, SummaryStatus, SupportedAdditionalProcessorFeature, TaggableResourceType, Tenancy, TpmSupportValues, TrafficType, UsageClassType, VirtualizationType } from "./enums";
|
|
2
2
|
import type { AlternatePathHint, Explanation, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, OperatorResponse, PathComponent, ReservedInstancesListing, Tag } from "./models_0";
|
|
3
3
|
import type { AttributeValue, BlockDeviceMapping, CapacityReservationTargetResponse, Ec2InstanceConnectEndpoint, GroupIdentifier, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, MacModificationTask, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, Placement, StateReason } from "./models_1";
|
|
4
4
|
import type { NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable } from "./models_2";
|
|
5
|
-
import type { Byoasn,
|
|
5
|
+
import type { Byoasn, Filter, FleetData, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface DescribeFleetsResult {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
|
|
12
|
+
* are no more items to return.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
NextToken?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>Information about the EC2 Fleets.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
Fleets?: FleetData[] | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export interface DescribeFlowLogsRequest {
|
|
26
|
+
/**
|
|
27
|
+
* <p>Checks 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 | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>One or more filters.</p>
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>
|
|
38
|
+
* <code>deliver-log-status</code> - The status of the logs delivery (<code>SUCCESS</code> |
|
|
39
|
+
* <code>FAILED</code>).</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>
|
|
43
|
+
* <code>log-destination-type</code> - The type of destination for the flow log
|
|
44
|
+
* data (<code>cloud-watch-logs</code> | <code>s3</code> |
|
|
45
|
+
* <code>kinesis-data-firehose</code>).</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <code>flow-log-id</code> - The ID of the flow log.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <code>log-group-name</code> - The name of the log group.</p>
|
|
54
|
+
* </li>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>
|
|
57
|
+
* <code>resource-id</code> - The ID of the VPC, subnet, or network interface.</p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>
|
|
61
|
+
* <code>traffic-type</code> - The type of traffic (<code>ACCEPT</code> |
|
|
62
|
+
* <code>REJECT</code> | <code>ALL</code>).</p>
|
|
63
|
+
* </li>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>
|
|
66
|
+
* <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
67
|
+
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>
|
|
71
|
+
* <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* </ul>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
Filter?: Filter[] | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>One or more flow log IDs.</p>
|
|
79
|
+
* <p>Constraint: Maximum of 1000 flow log IDs.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
FlowLogIds?: string[] | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The maximum number of items to return for this request.
|
|
85
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
86
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
MaxResults?: number | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
NextToken?: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* <p>Describes the destination options for a flow log.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export interface DestinationOptionsResponse {
|
|
101
|
+
/**
|
|
102
|
+
* <p>The format for the flow log.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
FileFormat?: DestinationFileFormat | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
HiveCompatiblePartitions?: boolean | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>Indicates whether to partition the flow log per hour.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
PerHourPartition?: boolean | undefined;
|
|
116
|
+
}
|
|
6
117
|
/**
|
|
7
118
|
* <p>A single resource's tag configuration associated with the Flow Logs Amazon EC2 Tags feature fields in your custom log format.</p>
|
|
8
119
|
* @public
|
|
@@ -12649,155 +12760,3 @@ export interface DescribeScheduledInstanceAvailabilityResult {
|
|
|
12649
12760
|
*/
|
|
12650
12761
|
ScheduledInstanceAvailabilitySet?: ScheduledInstanceAvailability[] | undefined;
|
|
12651
12762
|
}
|
|
12652
|
-
/**
|
|
12653
|
-
* <p>Describes the time period for a Scheduled Instance to start its first schedule.</p>
|
|
12654
|
-
* @public
|
|
12655
|
-
*/
|
|
12656
|
-
export interface SlotStartTimeRangeRequest {
|
|
12657
|
-
/**
|
|
12658
|
-
* <p>The earliest date and time, in UTC, for the Scheduled Instance to start.</p>
|
|
12659
|
-
* @public
|
|
12660
|
-
*/
|
|
12661
|
-
EarliestTime?: Date | undefined;
|
|
12662
|
-
/**
|
|
12663
|
-
* <p>The latest date and time, in UTC, for the Scheduled Instance to start.</p>
|
|
12664
|
-
* @public
|
|
12665
|
-
*/
|
|
12666
|
-
LatestTime?: Date | undefined;
|
|
12667
|
-
}
|
|
12668
|
-
/**
|
|
12669
|
-
* <p>Contains the parameters for DescribeScheduledInstances.</p>
|
|
12670
|
-
* @public
|
|
12671
|
-
*/
|
|
12672
|
-
export interface DescribeScheduledInstancesRequest {
|
|
12673
|
-
/**
|
|
12674
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
12675
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
12676
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
12677
|
-
* @public
|
|
12678
|
-
*/
|
|
12679
|
-
DryRun?: boolean | undefined;
|
|
12680
|
-
/**
|
|
12681
|
-
* <p>The filters.</p>
|
|
12682
|
-
* <ul>
|
|
12683
|
-
* <li>
|
|
12684
|
-
* <p>
|
|
12685
|
-
* <code>availability-zone</code> - The Availability Zone (for example, <code>us-west-2a</code>).</p>
|
|
12686
|
-
* </li>
|
|
12687
|
-
* <li>
|
|
12688
|
-
* <p>
|
|
12689
|
-
* <code>instance-type</code> - The instance type (for example, <code>c4.large</code>).</p>
|
|
12690
|
-
* </li>
|
|
12691
|
-
* <li>
|
|
12692
|
-
* <p>
|
|
12693
|
-
* <code>platform</code> - The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
|
|
12694
|
-
* </li>
|
|
12695
|
-
* </ul>
|
|
12696
|
-
* @public
|
|
12697
|
-
*/
|
|
12698
|
-
Filters?: Filter[] | undefined;
|
|
12699
|
-
/**
|
|
12700
|
-
* <p>The maximum number of results to return in a single call.
|
|
12701
|
-
* This value can be between 5 and 300. The default value is 100.
|
|
12702
|
-
* To retrieve the remaining results, make another call with the returned
|
|
12703
|
-
* <code>NextToken</code> value.</p>
|
|
12704
|
-
* @public
|
|
12705
|
-
*/
|
|
12706
|
-
MaxResults?: number | undefined;
|
|
12707
|
-
/**
|
|
12708
|
-
* <p>The token for the next set of results.</p>
|
|
12709
|
-
* @public
|
|
12710
|
-
*/
|
|
12711
|
-
NextToken?: string | undefined;
|
|
12712
|
-
/**
|
|
12713
|
-
* <p>The Scheduled Instance IDs.</p>
|
|
12714
|
-
* @public
|
|
12715
|
-
*/
|
|
12716
|
-
ScheduledInstanceIds?: string[] | undefined;
|
|
12717
|
-
/**
|
|
12718
|
-
* <p>The time period for the first schedule to start.</p>
|
|
12719
|
-
* @public
|
|
12720
|
-
*/
|
|
12721
|
-
SlotStartTimeRange?: SlotStartTimeRangeRequest | undefined;
|
|
12722
|
-
}
|
|
12723
|
-
/**
|
|
12724
|
-
* <p>Describes a Scheduled Instance.</p>
|
|
12725
|
-
* @public
|
|
12726
|
-
*/
|
|
12727
|
-
export interface ScheduledInstance {
|
|
12728
|
-
/**
|
|
12729
|
-
* <p>The Availability Zone.</p>
|
|
12730
|
-
* @public
|
|
12731
|
-
*/
|
|
12732
|
-
AvailabilityZone?: string | undefined;
|
|
12733
|
-
/**
|
|
12734
|
-
* <p>The date when the Scheduled Instance was purchased.</p>
|
|
12735
|
-
* @public
|
|
12736
|
-
*/
|
|
12737
|
-
CreateDate?: Date | undefined;
|
|
12738
|
-
/**
|
|
12739
|
-
* <p>The hourly price for a single instance.</p>
|
|
12740
|
-
* @public
|
|
12741
|
-
*/
|
|
12742
|
-
HourlyPrice?: string | undefined;
|
|
12743
|
-
/**
|
|
12744
|
-
* <p>The number of instances.</p>
|
|
12745
|
-
* @public
|
|
12746
|
-
*/
|
|
12747
|
-
InstanceCount?: number | undefined;
|
|
12748
|
-
/**
|
|
12749
|
-
* <p>The instance type.</p>
|
|
12750
|
-
* @public
|
|
12751
|
-
*/
|
|
12752
|
-
InstanceType?: string | undefined;
|
|
12753
|
-
/**
|
|
12754
|
-
* <p>The network platform.</p>
|
|
12755
|
-
* @public
|
|
12756
|
-
*/
|
|
12757
|
-
NetworkPlatform?: string | undefined;
|
|
12758
|
-
/**
|
|
12759
|
-
* <p>The time for the next schedule to start.</p>
|
|
12760
|
-
* @public
|
|
12761
|
-
*/
|
|
12762
|
-
NextSlotStartTime?: Date | undefined;
|
|
12763
|
-
/**
|
|
12764
|
-
* <p>The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
|
|
12765
|
-
* @public
|
|
12766
|
-
*/
|
|
12767
|
-
Platform?: string | undefined;
|
|
12768
|
-
/**
|
|
12769
|
-
* <p>The time that the previous schedule ended or will end.</p>
|
|
12770
|
-
* @public
|
|
12771
|
-
*/
|
|
12772
|
-
PreviousSlotEndTime?: Date | undefined;
|
|
12773
|
-
/**
|
|
12774
|
-
* <p>The schedule recurrence.</p>
|
|
12775
|
-
* @public
|
|
12776
|
-
*/
|
|
12777
|
-
Recurrence?: ScheduledInstanceRecurrence | undefined;
|
|
12778
|
-
/**
|
|
12779
|
-
* <p>The Scheduled Instance ID.</p>
|
|
12780
|
-
* @public
|
|
12781
|
-
*/
|
|
12782
|
-
ScheduledInstanceId?: string | undefined;
|
|
12783
|
-
/**
|
|
12784
|
-
* <p>The number of hours in the schedule.</p>
|
|
12785
|
-
* @public
|
|
12786
|
-
*/
|
|
12787
|
-
SlotDurationInHours?: number | undefined;
|
|
12788
|
-
/**
|
|
12789
|
-
* <p>The end date for the Scheduled Instance.</p>
|
|
12790
|
-
* @public
|
|
12791
|
-
*/
|
|
12792
|
-
TermEndDate?: Date | undefined;
|
|
12793
|
-
/**
|
|
12794
|
-
* <p>The start date for the Scheduled Instance.</p>
|
|
12795
|
-
* @public
|
|
12796
|
-
*/
|
|
12797
|
-
TermStartDate?: Date | undefined;
|
|
12798
|
-
/**
|
|
12799
|
-
* <p>The total number of hours for a single instance for the entire term.</p>
|
|
12800
|
-
* @public
|
|
12801
|
-
*/
|
|
12802
|
-
TotalScheduledInstanceHours?: number | undefined;
|
|
12803
|
-
}
|
|
@@ -3,7 +3,159 @@ import type { ActiveInstance, AddressTransfer, AllowedPrincipal, AsnAssociation,
|
|
|
3
3
|
import type { BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, GroupIdentifier, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, Subnet, Vpc, VpcEncryptionControl } from "./models_1";
|
|
4
4
|
import type { ConnectionNotification, DnsEntry, PayerResponsibilityEntry, SecondaryNetwork, SecondarySubnet, ServiceConfiguration, ServiceTypeDetail, Snapshot, SpotDatafeedSubscription, SpotInstanceStateFault, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConcentrator, VpnConnection, VpnGateway } from "./models_2";
|
|
5
5
|
import type { EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchSnapshotConfigurationResponse, Filter } from "./models_3";
|
|
6
|
-
import type { AttributeBooleanValue, ProductCode, RegisteredInstance,
|
|
6
|
+
import type { AttributeBooleanValue, ProductCode, RegisteredInstance, ScheduledInstanceRecurrence } from "./models_4";
|
|
7
|
+
/**
|
|
8
|
+
* <p>Describes the time period for a Scheduled Instance to start its first schedule.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface SlotStartTimeRangeRequest {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The earliest date and time, in UTC, for the Scheduled Instance to start.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
EarliestTime?: Date | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The latest date and time, in UTC, for the Scheduled Instance to start.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
LatestTime?: Date | undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* <p>Contains the parameters for DescribeScheduledInstances.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export interface DescribeScheduledInstancesRequest {
|
|
28
|
+
/**
|
|
29
|
+
* <p>Checks 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 | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The filters.</p>
|
|
37
|
+
* <ul>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <code>availability-zone</code> - The Availability Zone (for example, <code>us-west-2a</code>).</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>instance-type</code> - The instance type (for example, <code>c4.large</code>).</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>
|
|
48
|
+
* <code>platform</code> - The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
|
|
49
|
+
* </li>
|
|
50
|
+
* </ul>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
Filters?: Filter[] | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The maximum number of results to return in a single call.
|
|
56
|
+
* This value can be between 5 and 300. The default value is 100.
|
|
57
|
+
* To retrieve the remaining results, make another call with the returned
|
|
58
|
+
* <code>NextToken</code> value.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
MaxResults?: number | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The token for the next set of results.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
NextToken?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The Scheduled Instance IDs.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
ScheduledInstanceIds?: string[] | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>The time period for the first schedule to start.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
SlotStartTimeRange?: SlotStartTimeRangeRequest | undefined;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>Describes a Scheduled Instance.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export interface ScheduledInstance {
|
|
83
|
+
/**
|
|
84
|
+
* <p>The Availability Zone.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
AvailabilityZone?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>The date when the Scheduled Instance was purchased.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
CreateDate?: Date | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The hourly price for a single instance.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
HourlyPrice?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The number of instances.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
InstanceCount?: number | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* <p>The instance type.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
InstanceType?: string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>The network platform.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
NetworkPlatform?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* <p>The time for the next schedule to start.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
NextSlotStartTime?: Date | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
Platform?: string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The time that the previous schedule ended or will end.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
PreviousSlotEndTime?: Date | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The schedule recurrence.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
Recurrence?: ScheduledInstanceRecurrence | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* <p>The Scheduled Instance ID.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
ScheduledInstanceId?: string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* <p>The number of hours in the schedule.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
SlotDurationInHours?: number | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* <p>The end date for the Scheduled Instance.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
TermEndDate?: Date | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* <p>The start date for the Scheduled Instance.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
TermStartDate?: Date | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The total number of hours for a single instance for the entire term.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
TotalScheduledInstanceHours?: number | undefined;
|
|
158
|
+
}
|
|
7
159
|
/**
|
|
8
160
|
* <p>Contains the output of DescribeScheduledInstances.</p>
|
|
9
161
|
* @public
|
|
@@ -9719,88 +9871,3 @@ export interface EnableEbsEncryptionByDefaultResult {
|
|
|
9719
9871
|
*/
|
|
9720
9872
|
EbsEncryptionByDefault?: boolean | undefined;
|
|
9721
9873
|
}
|
|
9722
|
-
/**
|
|
9723
|
-
* <p>Request to create a launch template for a Windows fast launch enabled AMI.</p>
|
|
9724
|
-
* <note>
|
|
9725
|
-
* <p>Note - You can specify either the <code>LaunchTemplateName</code> or the
|
|
9726
|
-
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
9727
|
-
* </note>
|
|
9728
|
-
* @public
|
|
9729
|
-
*/
|
|
9730
|
-
export interface FastLaunchLaunchTemplateSpecificationRequest {
|
|
9731
|
-
/**
|
|
9732
|
-
* <p>Specify the ID of the launch template that the AMI should use for Windows fast
|
|
9733
|
-
* launch.</p>
|
|
9734
|
-
* @public
|
|
9735
|
-
*/
|
|
9736
|
-
LaunchTemplateId?: string | undefined;
|
|
9737
|
-
/**
|
|
9738
|
-
* <p>Specify the name of the launch template that the AMI should use for Windows fast
|
|
9739
|
-
* launch.</p>
|
|
9740
|
-
* @public
|
|
9741
|
-
*/
|
|
9742
|
-
LaunchTemplateName?: string | undefined;
|
|
9743
|
-
/**
|
|
9744
|
-
* <p>Specify the version of the launch template that the AMI should use for Windows fast
|
|
9745
|
-
* launch.</p>
|
|
9746
|
-
* @public
|
|
9747
|
-
*/
|
|
9748
|
-
Version: string | undefined;
|
|
9749
|
-
}
|
|
9750
|
-
/**
|
|
9751
|
-
* <p>Configuration settings for creating and managing pre-provisioned snapshots for a Windows
|
|
9752
|
-
* fast launch enabled AMI.</p>
|
|
9753
|
-
* @public
|
|
9754
|
-
*/
|
|
9755
|
-
export interface FastLaunchSnapshotConfigurationRequest {
|
|
9756
|
-
/**
|
|
9757
|
-
* <p>The number of pre-provisioned snapshots to keep on hand for a Windows fast launch enabled
|
|
9758
|
-
* AMI.</p>
|
|
9759
|
-
* @public
|
|
9760
|
-
*/
|
|
9761
|
-
TargetResourceCount?: number | undefined;
|
|
9762
|
-
}
|
|
9763
|
-
/**
|
|
9764
|
-
* @public
|
|
9765
|
-
*/
|
|
9766
|
-
export interface EnableFastLaunchRequest {
|
|
9767
|
-
/**
|
|
9768
|
-
* <p>Specify the ID of the image for which to enable Windows fast launch.</p>
|
|
9769
|
-
* @public
|
|
9770
|
-
*/
|
|
9771
|
-
ImageId: string | undefined;
|
|
9772
|
-
/**
|
|
9773
|
-
* <p>The type of resource to use for pre-provisioning the AMI for Windows fast launch.
|
|
9774
|
-
* Supported values include: <code>snapshot</code>, which is the default value.</p>
|
|
9775
|
-
* @public
|
|
9776
|
-
*/
|
|
9777
|
-
ResourceType?: string | undefined;
|
|
9778
|
-
/**
|
|
9779
|
-
* <p>Configuration settings for creating and managing the snapshots that are used for
|
|
9780
|
-
* pre-provisioning the AMI for Windows fast launch. The associated <code>ResourceType</code>
|
|
9781
|
-
* must be <code>snapshot</code>.</p>
|
|
9782
|
-
* @public
|
|
9783
|
-
*/
|
|
9784
|
-
SnapshotConfiguration?: FastLaunchSnapshotConfigurationRequest | undefined;
|
|
9785
|
-
/**
|
|
9786
|
-
* <p>The launch template to use when launching Windows instances from pre-provisioned
|
|
9787
|
-
* snapshots. Launch template parameters can include either the name or ID of the launch
|
|
9788
|
-
* template, but not both.</p>
|
|
9789
|
-
* @public
|
|
9790
|
-
*/
|
|
9791
|
-
LaunchTemplate?: FastLaunchLaunchTemplateSpecificationRequest | undefined;
|
|
9792
|
-
/**
|
|
9793
|
-
* <p>The maximum number of instances that Amazon EC2 can launch at the same time to create
|
|
9794
|
-
* pre-provisioned snapshots for Windows fast launch. Value must be <code>6</code> or
|
|
9795
|
-
* greater.</p>
|
|
9796
|
-
* @public
|
|
9797
|
-
*/
|
|
9798
|
-
MaxParallelLaunches?: number | undefined;
|
|
9799
|
-
/**
|
|
9800
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9801
|
-
* and provides an error response. If you have the required permissions, the error response is
|
|
9802
|
-
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9803
|
-
* @public
|
|
9804
|
-
*/
|
|
9805
|
-
DryRun?: boolean | undefined;
|
|
9806
|
-
}
|