@aws-sdk/client-ec2 3.369.0 → 3.371.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/commands/RunScheduledInstancesCommand.js +2 -2
- package/dist-cjs/models/models_0.js +11 -0
- package/dist-cjs/models/models_4.js +6 -2
- package/dist-cjs/models/models_5.js +1 -6
- package/dist-cjs/models/models_6.js +7 -12
- package/dist-cjs/models/models_7.js +11 -1
- package/dist-cjs/protocols/Aws_ec2.js +23 -0
- package/dist-es/commands/RunScheduledInstancesCommand.js +1 -1
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/models/models_4.js +4 -0
- package/dist-es/models/models_5.js +0 -4
- package/dist-es/models/models_6.js +4 -8
- package/dist-es/models/models_7.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +23 -0
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +8 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RunScheduledInstancesCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +11 -0
- package/dist-types/models/models_4.d.ts +30 -44
- package/dist-types/models/models_5.d.ts +45 -48
- package/dist-types/models/models_6.d.ts +46 -104
- package/dist-types/models/models_7.d.ts +106 -1
- package/dist-types/ts3.4/commands/RunScheduledInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/dist-types/ts3.4/models/models_4.d.ts +11 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -16
- package/dist-types/ts3.4/models/models_6.d.ts +14 -31
- package/dist-types/ts3.4/models/models_7.d.ts +37 -1
- package/package.json +17 -18
|
@@ -3,7 +3,104 @@ import { LocalGatewayRoute } from "./models_1";
|
|
|
3
3
|
import { TransitGatewayRoute } from "./models_2";
|
|
4
4
|
import { ClientVpnConnectionStatus, Filter } from "./models_3";
|
|
5
5
|
import { InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_4";
|
|
6
|
-
import { InstanceMonitoring } from "./models_6";
|
|
6
|
+
import { InstanceMonitoring, ScheduledInstancesBlockDeviceMapping, ScheduledInstancesIamInstanceProfile, ScheduledInstancesMonitoring, ScheduledInstancesNetworkInterface, ScheduledInstancesPlacement } from "./models_6";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>Describes the launch specification for a Scheduled Instance.</p>
|
|
10
|
+
* <p>If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet.
|
|
11
|
+
* You can specify the subnet using either <code>SubnetId</code> or <code>NetworkInterface</code>.</p>
|
|
12
|
+
*/
|
|
13
|
+
export interface ScheduledInstancesLaunchSpecification {
|
|
14
|
+
/**
|
|
15
|
+
* <p>The block device mapping entries.</p>
|
|
16
|
+
*/
|
|
17
|
+
BlockDeviceMappings?: ScheduledInstancesBlockDeviceMapping[];
|
|
18
|
+
/**
|
|
19
|
+
* <p>Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.</p>
|
|
20
|
+
* <p>Default: <code>false</code>
|
|
21
|
+
* </p>
|
|
22
|
+
*/
|
|
23
|
+
EbsOptimized?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The IAM instance profile.</p>
|
|
26
|
+
*/
|
|
27
|
+
IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The ID of the Amazon Machine Image (AMI).</p>
|
|
30
|
+
*/
|
|
31
|
+
ImageId: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The instance type.</p>
|
|
34
|
+
*/
|
|
35
|
+
InstanceType?: string;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The ID of the kernel.</p>
|
|
38
|
+
*/
|
|
39
|
+
KernelId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The name of the key pair.</p>
|
|
42
|
+
*/
|
|
43
|
+
KeyName?: string;
|
|
44
|
+
/**
|
|
45
|
+
* <p>Enable or disable monitoring for the instances.</p>
|
|
46
|
+
*/
|
|
47
|
+
Monitoring?: ScheduledInstancesMonitoring;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The network interfaces.</p>
|
|
50
|
+
*/
|
|
51
|
+
NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
|
|
52
|
+
/**
|
|
53
|
+
* <p>The placement information.</p>
|
|
54
|
+
*/
|
|
55
|
+
Placement?: ScheduledInstancesPlacement;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The ID of the RAM disk.</p>
|
|
58
|
+
*/
|
|
59
|
+
RamdiskId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The IDs of the security groups.</p>
|
|
62
|
+
*/
|
|
63
|
+
SecurityGroupIds?: string[];
|
|
64
|
+
/**
|
|
65
|
+
* <p>The ID of the subnet in which to launch the instances.</p>
|
|
66
|
+
*/
|
|
67
|
+
SubnetId?: string;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The base64-encoded MIME user data.</p>
|
|
70
|
+
*/
|
|
71
|
+
UserData?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* <p>Contains the parameters for RunScheduledInstances.</p>
|
|
76
|
+
*/
|
|
77
|
+
export interface RunScheduledInstancesRequest {
|
|
78
|
+
/**
|
|
79
|
+
* <p>Unique, case-sensitive identifier that ensures the idempotency of the request.
|
|
80
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
|
|
81
|
+
*/
|
|
82
|
+
ClientToken?: string;
|
|
83
|
+
/**
|
|
84
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
85
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
86
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
87
|
+
*/
|
|
88
|
+
DryRun?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The number of instances.</p>
|
|
91
|
+
* <p>Default: 1</p>
|
|
92
|
+
*/
|
|
93
|
+
InstanceCount?: number;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The launch specification. You must match the instance type, Availability Zone,
|
|
96
|
+
* network, and platform of the schedule that you purchased.</p>
|
|
97
|
+
*/
|
|
98
|
+
LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The Scheduled Instance ID.</p>
|
|
101
|
+
*/
|
|
102
|
+
ScheduledInstanceId: string | undefined;
|
|
103
|
+
}
|
|
7
104
|
/**
|
|
8
105
|
* @public
|
|
9
106
|
* <p>Contains the output of RunScheduledInstances.</p>
|
|
@@ -828,3 +925,11 @@ export interface WithdrawByoipCidrResult {
|
|
|
828
925
|
*/
|
|
829
926
|
ByoipCidr?: ByoipCidr;
|
|
830
927
|
}
|
|
928
|
+
/**
|
|
929
|
+
* @internal
|
|
930
|
+
*/
|
|
931
|
+
export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (obj: ScheduledInstancesLaunchSpecification) => any;
|
|
932
|
+
/**
|
|
933
|
+
* @internal
|
|
934
|
+
*/
|
|
935
|
+
export declare const RunScheduledInstancesRequestFilterSensitiveLog: (obj: RunScheduledInstancesRequest) => any;
|
|
@@ -11,8 +11,10 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../EC2Client";
|
|
14
|
-
import {
|
|
15
|
-
|
|
14
|
+
import {
|
|
15
|
+
RunScheduledInstancesRequest,
|
|
16
|
+
RunScheduledInstancesResult,
|
|
17
|
+
} from "../models/models_7";
|
|
16
18
|
export { __MetadataBearer, $Command };
|
|
17
19
|
export interface RunScheduledInstancesCommandInput
|
|
18
20
|
extends RunScheduledInstancesRequest {}
|
|
@@ -2060,6 +2060,14 @@ export declare const _InstanceType: {
|
|
|
2060
2060
|
readonly c7g_medium: "c7g.medium";
|
|
2061
2061
|
readonly c7g_metal: "c7g.metal";
|
|
2062
2062
|
readonly c7g_xlarge: "c7g.xlarge";
|
|
2063
|
+
readonly c7gn_12xlarge: "c7gn.12xlarge";
|
|
2064
|
+
readonly c7gn_16xlarge: "c7gn.16xlarge";
|
|
2065
|
+
readonly c7gn_2xlarge: "c7gn.2xlarge";
|
|
2066
|
+
readonly c7gn_4xlarge: "c7gn.4xlarge";
|
|
2067
|
+
readonly c7gn_8xlarge: "c7gn.8xlarge";
|
|
2068
|
+
readonly c7gn_large: "c7gn.large";
|
|
2069
|
+
readonly c7gn_medium: "c7gn.medium";
|
|
2070
|
+
readonly c7gn_xlarge: "c7gn.xlarge";
|
|
2063
2071
|
readonly cc1_4xlarge: "cc1.4xlarge";
|
|
2064
2072
|
readonly cc2_8xlarge: "cc2.8xlarge";
|
|
2065
2073
|
readonly cg1_4xlarge: "cg1.4xlarge";
|
|
@@ -2121,6 +2129,9 @@ export declare const _InstanceType: {
|
|
|
2121
2129
|
readonly hi1_4xlarge: "hi1.4xlarge";
|
|
2122
2130
|
readonly hpc6a_48xlarge: "hpc6a.48xlarge";
|
|
2123
2131
|
readonly hpc6id_32xlarge: "hpc6id.32xlarge";
|
|
2132
|
+
readonly hpc7g_16xlarge: "hpc7g.16xlarge";
|
|
2133
|
+
readonly hpc7g_4xlarge: "hpc7g.4xlarge";
|
|
2134
|
+
readonly hpc7g_8xlarge: "hpc7g.8xlarge";
|
|
2124
2135
|
readonly hs1_8xlarge: "hs1.8xlarge";
|
|
2125
2136
|
readonly i2_2xlarge: "i2.2xlarge";
|
|
2126
2137
|
readonly i2_4xlarge: "i2.4xlarge";
|
|
@@ -541,6 +541,15 @@ export declare const NitroEnclavesSupport: {
|
|
|
541
541
|
};
|
|
542
542
|
export type NitroEnclavesSupport =
|
|
543
543
|
(typeof NitroEnclavesSupport)[keyof typeof NitroEnclavesSupport];
|
|
544
|
+
export interface NitroTpmInfo {
|
|
545
|
+
SupportedVersions?: string[];
|
|
546
|
+
}
|
|
547
|
+
export declare const NitroTpmSupport: {
|
|
548
|
+
readonly SUPPORTED: "supported";
|
|
549
|
+
readonly UNSUPPORTED: "unsupported";
|
|
550
|
+
};
|
|
551
|
+
export type NitroTpmSupport =
|
|
552
|
+
(typeof NitroTpmSupport)[keyof typeof NitroTpmSupport];
|
|
544
553
|
export declare const PlacementGroupStrategy: {
|
|
545
554
|
readonly cluster: "cluster";
|
|
546
555
|
readonly partition: "partition";
|
|
@@ -620,6 +629,8 @@ export interface InstanceTypeInfo {
|
|
|
620
629
|
AutoRecoverySupported?: boolean;
|
|
621
630
|
SupportedBootModes?: (BootModeType | string)[];
|
|
622
631
|
NitroEnclavesSupport?: NitroEnclavesSupport | string;
|
|
632
|
+
NitroTpmSupport?: NitroTpmSupport | string;
|
|
633
|
+
NitroTpmInfo?: NitroTpmInfo;
|
|
623
634
|
}
|
|
624
635
|
export interface DescribeInstanceTypesResult {
|
|
625
636
|
InstanceTypes?: InstanceTypeInfo[];
|
|
@@ -2070,18 +2081,6 @@ export interface VerifiedAccessLogCloudWatchLogsDestination {
|
|
|
2070
2081
|
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
2071
2082
|
LogGroup?: string;
|
|
2072
2083
|
}
|
|
2073
|
-
export interface VerifiedAccessLogKinesisDataFirehoseDestination {
|
|
2074
|
-
Enabled?: boolean;
|
|
2075
|
-
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
2076
|
-
DeliveryStream?: string;
|
|
2077
|
-
}
|
|
2078
|
-
export interface VerifiedAccessLogS3Destination {
|
|
2079
|
-
Enabled?: boolean;
|
|
2080
|
-
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
2081
|
-
BucketName?: string;
|
|
2082
|
-
Prefix?: string;
|
|
2083
|
-
BucketOwner?: string;
|
|
2084
|
-
}
|
|
2085
2084
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2086
2085
|
obj: DescribeLaunchTemplateVersionsResult
|
|
2087
2086
|
) => any;
|
|
@@ -75,9 +75,20 @@ import {
|
|
|
75
75
|
AnalysisStatus,
|
|
76
76
|
ArchitectureType,
|
|
77
77
|
VerifiedAccessLogCloudWatchLogsDestination,
|
|
78
|
-
|
|
79
|
-
VerifiedAccessLogS3Destination,
|
|
78
|
+
VerifiedAccessLogDeliveryStatus,
|
|
80
79
|
} from "./models_4";
|
|
80
|
+
export interface VerifiedAccessLogKinesisDataFirehoseDestination {
|
|
81
|
+
Enabled?: boolean;
|
|
82
|
+
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
83
|
+
DeliveryStream?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface VerifiedAccessLogS3Destination {
|
|
86
|
+
Enabled?: boolean;
|
|
87
|
+
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
88
|
+
BucketName?: string;
|
|
89
|
+
Prefix?: string;
|
|
90
|
+
BucketOwner?: string;
|
|
91
|
+
}
|
|
81
92
|
export interface VerifiedAccessLogs {
|
|
82
93
|
S3?: VerifiedAccessLogS3Destination;
|
|
83
94
|
CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination;
|
|
@@ -1651,17 +1662,6 @@ export interface UserBucket {
|
|
|
1651
1662
|
S3Bucket?: string;
|
|
1652
1663
|
S3Key?: string;
|
|
1653
1664
|
}
|
|
1654
|
-
export interface ImageDiskContainer {
|
|
1655
|
-
Description?: string;
|
|
1656
|
-
DeviceName?: string;
|
|
1657
|
-
Format?: string;
|
|
1658
|
-
SnapshotId?: string;
|
|
1659
|
-
Url?: string;
|
|
1660
|
-
UserBucket?: UserBucket;
|
|
1661
|
-
}
|
|
1662
|
-
export interface ImportImageLicenseConfigurationRequest {
|
|
1663
|
-
LicenseConfigurationArn?: string;
|
|
1664
|
-
}
|
|
1665
1665
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1666
1666
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1667
1667
|
) => any;
|
|
@@ -1677,6 +1677,3 @@ export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
|
|
|
1677
1677
|
export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
|
|
1678
1678
|
obj: GetVpnConnectionDeviceSampleConfigurationResult
|
|
1679
1679
|
) => any;
|
|
1680
|
-
export declare const ImageDiskContainerFilterSensitiveLog: (
|
|
1681
|
-
obj: ImageDiskContainer
|
|
1682
|
-
) => any;
|
|
@@ -143,8 +143,6 @@ import {
|
|
|
143
143
|
} from "./models_4";
|
|
144
144
|
import {
|
|
145
145
|
ClientData,
|
|
146
|
-
ImageDiskContainer,
|
|
147
|
-
ImportImageLicenseConfigurationRequest,
|
|
148
146
|
InstanceFamilyCreditSpecification,
|
|
149
147
|
IpamResourceCidr,
|
|
150
148
|
Purchase,
|
|
@@ -153,6 +151,17 @@ import {
|
|
|
153
151
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
154
152
|
VolumeModification,
|
|
155
153
|
} from "./models_5";
|
|
154
|
+
export interface ImageDiskContainer {
|
|
155
|
+
Description?: string;
|
|
156
|
+
DeviceName?: string;
|
|
157
|
+
Format?: string;
|
|
158
|
+
SnapshotId?: string;
|
|
159
|
+
Url?: string;
|
|
160
|
+
UserBucket?: UserBucket;
|
|
161
|
+
}
|
|
162
|
+
export interface ImportImageLicenseConfigurationRequest {
|
|
163
|
+
LicenseConfigurationArn?: string;
|
|
164
|
+
}
|
|
156
165
|
export interface ImportImageRequest {
|
|
157
166
|
Architecture?: string;
|
|
158
167
|
ClientData?: ClientData;
|
|
@@ -1866,29 +1875,9 @@ export interface ScheduledInstancesPlacement {
|
|
|
1866
1875
|
AvailabilityZone?: string;
|
|
1867
1876
|
GroupName?: string;
|
|
1868
1877
|
}
|
|
1869
|
-
export
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
|
|
1873
|
-
ImageId: string | undefined;
|
|
1874
|
-
InstanceType?: string;
|
|
1875
|
-
KernelId?: string;
|
|
1876
|
-
KeyName?: string;
|
|
1877
|
-
Monitoring?: ScheduledInstancesMonitoring;
|
|
1878
|
-
NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
|
|
1879
|
-
Placement?: ScheduledInstancesPlacement;
|
|
1880
|
-
RamdiskId?: string;
|
|
1881
|
-
SecurityGroupIds?: string[];
|
|
1882
|
-
SubnetId?: string;
|
|
1883
|
-
UserData?: string;
|
|
1884
|
-
}
|
|
1885
|
-
export interface RunScheduledInstancesRequest {
|
|
1886
|
-
ClientToken?: string;
|
|
1887
|
-
DryRun?: boolean;
|
|
1888
|
-
InstanceCount?: number;
|
|
1889
|
-
LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
|
|
1890
|
-
ScheduledInstanceId: string | undefined;
|
|
1891
|
-
}
|
|
1878
|
+
export declare const ImageDiskContainerFilterSensitiveLog: (
|
|
1879
|
+
obj: ImageDiskContainer
|
|
1880
|
+
) => any;
|
|
1892
1881
|
export declare const ImportImageRequestFilterSensitiveLog: (
|
|
1893
1882
|
obj: ImportImageRequest
|
|
1894
1883
|
) => any;
|
|
@@ -1966,9 +1955,3 @@ export declare const RequestSpotInstancesResultFilterSensitiveLog: (
|
|
|
1966
1955
|
export declare const RunInstancesRequestFilterSensitiveLog: (
|
|
1967
1956
|
obj: RunInstancesRequest
|
|
1968
1957
|
) => any;
|
|
1969
|
-
export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (
|
|
1970
|
-
obj: ScheduledInstancesLaunchSpecification
|
|
1971
|
-
) => any;
|
|
1972
|
-
export declare const RunScheduledInstancesRequestFilterSensitiveLog: (
|
|
1973
|
-
obj: RunScheduledInstancesRequest
|
|
1974
|
-
) => any;
|
|
@@ -13,7 +13,37 @@ import {
|
|
|
13
13
|
NetworkInsightsAccessScopeAnalysis,
|
|
14
14
|
NetworkInsightsAnalysis,
|
|
15
15
|
} from "./models_4";
|
|
16
|
-
import {
|
|
16
|
+
import {
|
|
17
|
+
InstanceMonitoring,
|
|
18
|
+
ScheduledInstancesBlockDeviceMapping,
|
|
19
|
+
ScheduledInstancesIamInstanceProfile,
|
|
20
|
+
ScheduledInstancesMonitoring,
|
|
21
|
+
ScheduledInstancesNetworkInterface,
|
|
22
|
+
ScheduledInstancesPlacement,
|
|
23
|
+
} from "./models_6";
|
|
24
|
+
export interface ScheduledInstancesLaunchSpecification {
|
|
25
|
+
BlockDeviceMappings?: ScheduledInstancesBlockDeviceMapping[];
|
|
26
|
+
EbsOptimized?: boolean;
|
|
27
|
+
IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
|
|
28
|
+
ImageId: string | undefined;
|
|
29
|
+
InstanceType?: string;
|
|
30
|
+
KernelId?: string;
|
|
31
|
+
KeyName?: string;
|
|
32
|
+
Monitoring?: ScheduledInstancesMonitoring;
|
|
33
|
+
NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
|
|
34
|
+
Placement?: ScheduledInstancesPlacement;
|
|
35
|
+
RamdiskId?: string;
|
|
36
|
+
SecurityGroupIds?: string[];
|
|
37
|
+
SubnetId?: string;
|
|
38
|
+
UserData?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface RunScheduledInstancesRequest {
|
|
41
|
+
ClientToken?: string;
|
|
42
|
+
DryRun?: boolean;
|
|
43
|
+
InstanceCount?: number;
|
|
44
|
+
LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
|
|
45
|
+
ScheduledInstanceId: string | undefined;
|
|
46
|
+
}
|
|
17
47
|
export interface RunScheduledInstancesResult {
|
|
18
48
|
InstanceIdSet?: string[];
|
|
19
49
|
}
|
|
@@ -207,3 +237,9 @@ export interface WithdrawByoipCidrRequest {
|
|
|
207
237
|
export interface WithdrawByoipCidrResult {
|
|
208
238
|
ByoipCidr?: ByoipCidr;
|
|
209
239
|
}
|
|
240
|
+
export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (
|
|
241
|
+
obj: ScheduledInstancesLaunchSpecification
|
|
242
|
+
) => any;
|
|
243
|
+
export declare const RunScheduledInstancesRequestFilterSensitiveLog: (
|
|
244
|
+
obj: RunScheduledInstancesRequest
|
|
245
|
+
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.371.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,30 +21,30 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.370.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.370.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.370.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.370.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.370.0",
|
|
29
|
+
"@aws-sdk/middleware-sdk-ec2": "3.370.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.370.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.370.0",
|
|
32
|
+
"@aws-sdk/types": "3.370.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.370.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.370.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.370.0",
|
|
36
36
|
"@smithy/config-resolver": "^1.0.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^1.0.1",
|
|
38
38
|
"@smithy/hash-node": "^1.0.1",
|
|
39
39
|
"@smithy/invalid-dependency": "^1.0.1",
|
|
40
40
|
"@smithy/middleware-content-length": "^1.0.1",
|
|
41
|
-
"@smithy/middleware-endpoint": "^1.0.
|
|
42
|
-
"@smithy/middleware-retry": "^1.0.
|
|
41
|
+
"@smithy/middleware-endpoint": "^1.0.2",
|
|
42
|
+
"@smithy/middleware-retry": "^1.0.3",
|
|
43
43
|
"@smithy/middleware-serde": "^1.0.1",
|
|
44
44
|
"@smithy/middleware-stack": "^1.0.1",
|
|
45
45
|
"@smithy/node-config-provider": "^1.0.1",
|
|
46
46
|
"@smithy/node-http-handler": "^1.0.2",
|
|
47
|
-
"@smithy/protocol-http": "^1.0
|
|
47
|
+
"@smithy/protocol-http": "^1.1.0",
|
|
48
48
|
"@smithy/smithy-client": "^1.0.3",
|
|
49
49
|
"@smithy/types": "^1.1.0",
|
|
50
50
|
"@smithy/url-parser": "^1.0.1",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@smithy/util-body-length-node": "^1.0.1",
|
|
54
54
|
"@smithy/util-defaults-mode-browser": "^1.0.1",
|
|
55
55
|
"@smithy/util-defaults-mode-node": "^1.0.1",
|
|
56
|
-
"@smithy/util-retry": "^1.0.
|
|
56
|
+
"@smithy/util-retry": "^1.0.3",
|
|
57
57
|
"@smithy/util-utf8": "^1.0.1",
|
|
58
58
|
"@smithy/util-waiter": "^1.0.1",
|
|
59
59
|
"fast-xml-parser": "4.2.5",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"uuid": "^8.3.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
65
64
|
"@smithy/service-client-documentation-generator": "^1.0.1",
|
|
66
65
|
"@tsconfig/node14": "1.0.3",
|
|
67
66
|
"@types/node": "^14.14.31",
|