@aws-sdk/client-ec2 3.678.0 → 3.682.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/README.md +8 -0
- package/dist-cjs/index.js +180 -23
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/DescribeInstanceImageMetadataCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_4.js +8 -12
- package/dist-es/models/models_5.js +4 -6
- package/dist-es/models/models_6.js +6 -0
- package/dist-es/pagination/DescribeInstanceImageMetadataPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +140 -2
- package/dist-types/EC2.d.ts +8 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +132 -0
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -2
- package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
- package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +51 -15
- package/dist-types/models/models_4.d.ts +274 -167
- package/dist-types/models/models_5.d.ts +96 -53
- package/dist-types/models/models_6.d.ts +54 -117
- package/dist-types/models/models_7.d.ts +114 -0
- package/dist-types/pagination/DescribeInstanceImageMetadataPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +18 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +46 -36
- package/dist-types/ts3.4/models/models_5.d.ts +23 -21
- package/dist-types/ts3.4/models/models_6.d.ts +20 -27
- package/dist-types/ts3.4/models/models_7.d.ts +25 -0
- package/dist-types/ts3.4/pagination/DescribeInstanceImageMetadataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +15 -15
|
@@ -64,7 +64,6 @@ import {
|
|
|
64
64
|
ServiceConnectivityType,
|
|
65
65
|
ServiceTypeDetail,
|
|
66
66
|
SpotInstanceStateFault,
|
|
67
|
-
SSEType,
|
|
68
67
|
State,
|
|
69
68
|
TrafficMirrorFilter,
|
|
70
69
|
TrafficMirrorFilterRule,
|
|
@@ -99,10 +98,31 @@ import {
|
|
|
99
98
|
} from "./models_3";
|
|
100
99
|
import {
|
|
101
100
|
AttributeBooleanValue,
|
|
102
|
-
|
|
101
|
+
HistoryRecord,
|
|
103
102
|
RIProductDescription,
|
|
104
|
-
SpotFleetMonitoring,
|
|
105
103
|
} from "./models_4";
|
|
104
|
+
export interface DescribeSpotFleetRequestHistoryResponse {
|
|
105
|
+
HistoryRecords?: HistoryRecord[];
|
|
106
|
+
LastEvaluatedTime?: Date;
|
|
107
|
+
NextToken?: string;
|
|
108
|
+
SpotFleetRequestId?: string;
|
|
109
|
+
StartTime?: Date;
|
|
110
|
+
}
|
|
111
|
+
export interface DescribeSpotFleetRequestsRequest {
|
|
112
|
+
DryRun?: boolean;
|
|
113
|
+
SpotFleetRequestIds?: string[];
|
|
114
|
+
NextToken?: string;
|
|
115
|
+
MaxResults?: number;
|
|
116
|
+
}
|
|
117
|
+
export declare const ExcessCapacityTerminationPolicy: {
|
|
118
|
+
readonly DEFAULT: "default";
|
|
119
|
+
readonly NO_TERMINATION: "noTermination";
|
|
120
|
+
};
|
|
121
|
+
export type ExcessCapacityTerminationPolicy =
|
|
122
|
+
(typeof ExcessCapacityTerminationPolicy)[keyof typeof ExcessCapacityTerminationPolicy];
|
|
123
|
+
export interface SpotFleetMonitoring {
|
|
124
|
+
Enabled?: boolean;
|
|
125
|
+
}
|
|
106
126
|
export interface InstanceNetworkInterfaceSpecification {
|
|
107
127
|
AssociatePublicIpAddress?: boolean;
|
|
108
128
|
DeleteOnTermination?: boolean;
|
|
@@ -1708,24 +1728,6 @@ export interface GetDefaultCreditSpecificationResult {
|
|
|
1708
1728
|
export interface GetEbsDefaultKmsKeyIdRequest {
|
|
1709
1729
|
DryRun?: boolean;
|
|
1710
1730
|
}
|
|
1711
|
-
export interface GetEbsDefaultKmsKeyIdResult {
|
|
1712
|
-
KmsKeyId?: string;
|
|
1713
|
-
}
|
|
1714
|
-
export interface GetEbsEncryptionByDefaultRequest {
|
|
1715
|
-
DryRun?: boolean;
|
|
1716
|
-
}
|
|
1717
|
-
export interface GetEbsEncryptionByDefaultResult {
|
|
1718
|
-
EbsEncryptionByDefault?: boolean;
|
|
1719
|
-
SseType?: SSEType;
|
|
1720
|
-
}
|
|
1721
|
-
export declare const PartitionLoadFrequency: {
|
|
1722
|
-
readonly DAILY: "daily";
|
|
1723
|
-
readonly MONTHLY: "monthly";
|
|
1724
|
-
readonly NONE: "none";
|
|
1725
|
-
readonly WEEKLY: "weekly";
|
|
1726
|
-
};
|
|
1727
|
-
export type PartitionLoadFrequency =
|
|
1728
|
-
(typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
|
|
1729
1731
|
export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
|
|
1730
1732
|
obj: SpotFleetLaunchSpecification
|
|
1731
1733
|
) => any;
|
|
@@ -71,6 +71,7 @@ import {
|
|
|
71
71
|
DefaultRouteTablePropagationValue,
|
|
72
72
|
DnsOptionsSpecification,
|
|
73
73
|
IpAddressType,
|
|
74
|
+
SSEType,
|
|
74
75
|
SubnetCidrReservation,
|
|
75
76
|
SubnetConfiguration,
|
|
76
77
|
TrafficDirection,
|
|
@@ -104,7 +105,6 @@ import {
|
|
|
104
105
|
AttributeBooleanValue,
|
|
105
106
|
BootModeValues,
|
|
106
107
|
CreateVolumePermission,
|
|
107
|
-
ExcessCapacityTerminationPolicy,
|
|
108
108
|
HttpTokensState,
|
|
109
109
|
ImportImageLicenseConfigurationResponse,
|
|
110
110
|
InstanceAttributeName,
|
|
@@ -123,15 +123,33 @@ import {
|
|
|
123
123
|
VirtualizationType,
|
|
124
124
|
} from "./models_4";
|
|
125
125
|
import {
|
|
126
|
+
ExcessCapacityTerminationPolicy,
|
|
126
127
|
InstanceFamilyCreditSpecification,
|
|
127
128
|
LaunchTemplateConfig,
|
|
128
|
-
PartitionLoadFrequency,
|
|
129
129
|
SnapshotBlockPublicAccessState,
|
|
130
130
|
TransitGatewayPropagationState,
|
|
131
131
|
UnlimitedSupportedInstanceFamily,
|
|
132
132
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
133
133
|
VolumeModification,
|
|
134
134
|
} from "./models_5";
|
|
135
|
+
export interface GetEbsDefaultKmsKeyIdResult {
|
|
136
|
+
KmsKeyId?: string;
|
|
137
|
+
}
|
|
138
|
+
export interface GetEbsEncryptionByDefaultRequest {
|
|
139
|
+
DryRun?: boolean;
|
|
140
|
+
}
|
|
141
|
+
export interface GetEbsEncryptionByDefaultResult {
|
|
142
|
+
EbsEncryptionByDefault?: boolean;
|
|
143
|
+
SseType?: SSEType;
|
|
144
|
+
}
|
|
145
|
+
export declare const PartitionLoadFrequency: {
|
|
146
|
+
readonly DAILY: "daily";
|
|
147
|
+
readonly MONTHLY: "monthly";
|
|
148
|
+
readonly NONE: "none";
|
|
149
|
+
readonly WEEKLY: "weekly";
|
|
150
|
+
};
|
|
151
|
+
export type PartitionLoadFrequency =
|
|
152
|
+
(typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
|
|
135
153
|
export interface AthenaIntegration {
|
|
136
154
|
IntegrationResultS3DestinationArn: string | undefined;
|
|
137
155
|
PartitionLoadFrequency: PartitionLoadFrequency | undefined;
|
|
@@ -1876,31 +1894,6 @@ export interface ModifyVpcEndpointRequest {
|
|
|
1876
1894
|
export interface ModifyVpcEndpointResult {
|
|
1877
1895
|
Return?: boolean;
|
|
1878
1896
|
}
|
|
1879
|
-
export interface ModifyVpcEndpointConnectionNotificationRequest {
|
|
1880
|
-
DryRun?: boolean;
|
|
1881
|
-
ConnectionNotificationId: string | undefined;
|
|
1882
|
-
ConnectionNotificationArn?: string;
|
|
1883
|
-
ConnectionEvents?: string[];
|
|
1884
|
-
}
|
|
1885
|
-
export interface ModifyVpcEndpointConnectionNotificationResult {
|
|
1886
|
-
ReturnValue?: boolean;
|
|
1887
|
-
}
|
|
1888
|
-
export interface ModifyVpcEndpointServiceConfigurationRequest {
|
|
1889
|
-
DryRun?: boolean;
|
|
1890
|
-
ServiceId: string | undefined;
|
|
1891
|
-
PrivateDnsName?: string;
|
|
1892
|
-
RemovePrivateDnsName?: boolean;
|
|
1893
|
-
AcceptanceRequired?: boolean;
|
|
1894
|
-
AddNetworkLoadBalancerArns?: string[];
|
|
1895
|
-
RemoveNetworkLoadBalancerArns?: string[];
|
|
1896
|
-
AddGatewayLoadBalancerArns?: string[];
|
|
1897
|
-
RemoveGatewayLoadBalancerArns?: string[];
|
|
1898
|
-
AddSupportedIpAddressTypes?: string[];
|
|
1899
|
-
RemoveSupportedIpAddressTypes?: string[];
|
|
1900
|
-
}
|
|
1901
|
-
export interface ModifyVpcEndpointServiceConfigurationResult {
|
|
1902
|
-
Return?: boolean;
|
|
1903
|
-
}
|
|
1904
1897
|
export declare const GetInstanceTpmEkPubResultFilterSensitiveLog: (
|
|
1905
1898
|
obj: GetInstanceTpmEkPubResult
|
|
1906
1899
|
) => any;
|
|
@@ -87,6 +87,31 @@ import {
|
|
|
87
87
|
SpotPlacement,
|
|
88
88
|
} from "./models_5";
|
|
89
89
|
import { CapacityReservationSpecification, Purchase } from "./models_6";
|
|
90
|
+
export interface ModifyVpcEndpointConnectionNotificationRequest {
|
|
91
|
+
DryRun?: boolean;
|
|
92
|
+
ConnectionNotificationId: string | undefined;
|
|
93
|
+
ConnectionNotificationArn?: string;
|
|
94
|
+
ConnectionEvents?: string[];
|
|
95
|
+
}
|
|
96
|
+
export interface ModifyVpcEndpointConnectionNotificationResult {
|
|
97
|
+
ReturnValue?: boolean;
|
|
98
|
+
}
|
|
99
|
+
export interface ModifyVpcEndpointServiceConfigurationRequest {
|
|
100
|
+
DryRun?: boolean;
|
|
101
|
+
ServiceId: string | undefined;
|
|
102
|
+
PrivateDnsName?: string;
|
|
103
|
+
RemovePrivateDnsName?: boolean;
|
|
104
|
+
AcceptanceRequired?: boolean;
|
|
105
|
+
AddNetworkLoadBalancerArns?: string[];
|
|
106
|
+
RemoveNetworkLoadBalancerArns?: string[];
|
|
107
|
+
AddGatewayLoadBalancerArns?: string[];
|
|
108
|
+
RemoveGatewayLoadBalancerArns?: string[];
|
|
109
|
+
AddSupportedIpAddressTypes?: string[];
|
|
110
|
+
RemoveSupportedIpAddressTypes?: string[];
|
|
111
|
+
}
|
|
112
|
+
export interface ModifyVpcEndpointServiceConfigurationResult {
|
|
113
|
+
Return?: boolean;
|
|
114
|
+
}
|
|
90
115
|
export interface ModifyVpcEndpointServicePayerResponsibilityRequest {
|
|
91
116
|
DryRun?: boolean;
|
|
92
117
|
ServiceId: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeInstanceImageMetadataCommandInput,
|
|
4
|
+
DescribeInstanceImageMetadataCommandOutput,
|
|
5
|
+
} from "../commands/DescribeInstanceImageMetadataCommand";
|
|
6
|
+
import { EC2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateDescribeInstanceImageMetadata: (
|
|
8
|
+
config: EC2PaginationConfiguration,
|
|
9
|
+
input: DescribeInstanceImageMetadataCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeInstanceImageMetadataCommandOutput>;
|
|
@@ -33,6 +33,7 @@ export * from "./DescribeImportSnapshotTasksPaginator";
|
|
|
33
33
|
export * from "./DescribeInstanceConnectEndpointsPaginator";
|
|
34
34
|
export * from "./DescribeInstanceCreditSpecificationsPaginator";
|
|
35
35
|
export * from "./DescribeInstanceEventWindowsPaginator";
|
|
36
|
+
export * from "./DescribeInstanceImageMetadataPaginator";
|
|
36
37
|
export * from "./DescribeInstanceStatusPaginator";
|
|
37
38
|
export * from "./DescribeInstanceTopologyPaginator";
|
|
38
39
|
export * from "./DescribeInstanceTypeOfferingsPaginator";
|
|
@@ -1103,6 +1103,10 @@ import {
|
|
|
1103
1103
|
DescribeInstanceEventWindowsCommandInput,
|
|
1104
1104
|
DescribeInstanceEventWindowsCommandOutput,
|
|
1105
1105
|
} from "../commands/DescribeInstanceEventWindowsCommand";
|
|
1106
|
+
import {
|
|
1107
|
+
DescribeInstanceImageMetadataCommandInput,
|
|
1108
|
+
DescribeInstanceImageMetadataCommandOutput,
|
|
1109
|
+
} from "../commands/DescribeInstanceImageMetadataCommand";
|
|
1106
1110
|
import {
|
|
1107
1111
|
DescribeInstancesCommandInput,
|
|
1108
1112
|
DescribeInstancesCommandOutput,
|
|
@@ -3635,6 +3639,10 @@ export declare const se_DescribeInstanceEventWindowsCommand: (
|
|
|
3635
3639
|
input: DescribeInstanceEventWindowsCommandInput,
|
|
3636
3640
|
context: __SerdeContext
|
|
3637
3641
|
) => Promise<__HttpRequest>;
|
|
3642
|
+
export declare const se_DescribeInstanceImageMetadataCommand: (
|
|
3643
|
+
input: DescribeInstanceImageMetadataCommandInput,
|
|
3644
|
+
context: __SerdeContext
|
|
3645
|
+
) => Promise<__HttpRequest>;
|
|
3638
3646
|
export declare const se_DescribeInstancesCommand: (
|
|
3639
3647
|
input: DescribeInstancesCommandInput,
|
|
3640
3648
|
context: __SerdeContext
|
|
@@ -6167,6 +6175,10 @@ export declare const de_DescribeInstanceEventWindowsCommand: (
|
|
|
6167
6175
|
output: __HttpResponse,
|
|
6168
6176
|
context: __SerdeContext
|
|
6169
6177
|
) => Promise<DescribeInstanceEventWindowsCommandOutput>;
|
|
6178
|
+
export declare const de_DescribeInstanceImageMetadataCommand: (
|
|
6179
|
+
output: __HttpResponse,
|
|
6180
|
+
context: __SerdeContext
|
|
6181
|
+
) => Promise<DescribeInstanceImageMetadataCommandOutput>;
|
|
6170
6182
|
export declare const de_DescribeInstancesCommand: (
|
|
6171
6183
|
output: __HttpResponse,
|
|
6172
6184
|
context: __SerdeContext
|
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.682.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.682.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.682.0",
|
|
25
|
+
"@aws-sdk/core": "3.679.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.682.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.679.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.679.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.679.0",
|
|
30
|
+
"@aws-sdk/middleware-sdk-ec2": "3.679.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.682.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.679.0",
|
|
33
|
+
"@aws-sdk/types": "3.679.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.679.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.679.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.682.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.9",
|
|
38
38
|
"@smithy/core": "^2.4.8",
|
|
39
39
|
"@smithy/fetch-http-handler": "^3.2.9",
|