@aws-sdk/client-ec2 3.1065.0 → 3.1067.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 +14 -0
- package/dist-cjs/index.js +28 -0
- package/dist-cjs/schemas/schemas_0.js +127 -66
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/AttachImageWatermarkCommand.js +16 -0
- package/dist-es/commands/DetachImageWatermarkCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +65 -4
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/AttachImageWatermarkCommand.d.ts +84 -0
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -2
- package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
- package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +9 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -2
- package/dist-types/commands/DetachImageWatermarkCommand.d.ts +82 -0
- package/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -2
- package/dist-types/commands/ModifyIpamScopeCommand.d.ts +2 -1
- package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +37 -22
- package/dist-types/models/models_1.d.ts +24 -100
- package/dist-types/models/models_2.d.ts +100 -34
- package/dist-types/models/models_3.d.ts +73 -120
- package/dist-types/models/models_4.d.ts +128 -172
- package/dist-types/models/models_5.d.ts +204 -183
- package/dist-types/models/models_6.d.ts +186 -119
- package/dist-types/models/models_7.d.ts +115 -1
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/EC2.d.ts +34 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/AttachImageWatermarkCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DetachImageWatermarkCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -6
- package/dist-types/ts3.4/models/models_1.d.ts +7 -20
- package/dist-types/ts3.4/models/models_2.d.ts +23 -9
- package/dist-types/ts3.4/models/models_3.d.ts +16 -26
- package/dist-types/ts3.4/models/models_4.d.ts +30 -26
- package/dist-types/ts3.4/models/models_5.d.ts +35 -37
- package/dist-types/ts3.4/models/models_6.d.ts +37 -29
- package/dist-types/ts3.4/models/models_7.d.ts +26 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +2 -2
|
@@ -7,9 +7,11 @@ import {
|
|
|
7
7
|
AutoPlacement,
|
|
8
8
|
BootModeValues,
|
|
9
9
|
CapacityManagerMonitoredTagKeyStatus,
|
|
10
|
+
CapacityManagerStatus,
|
|
10
11
|
CapacityReservationPreference,
|
|
11
12
|
CapacityReservationState,
|
|
12
13
|
CapacityTenancy,
|
|
14
|
+
Comparison,
|
|
13
15
|
CurrencyCodeValues,
|
|
14
16
|
DefaultHttpTokensEnforcedState,
|
|
15
17
|
DefaultInstanceMetadataEndpointState,
|
|
@@ -18,6 +20,7 @@ import {
|
|
|
18
20
|
EkPubKeyFormat,
|
|
19
21
|
EkPubKeyType,
|
|
20
22
|
EndDateType,
|
|
23
|
+
FilterByDimension,
|
|
21
24
|
FleetExcessCapacityTerminationPolicy,
|
|
22
25
|
FpgaImageAttributeName,
|
|
23
26
|
GroupBy,
|
|
@@ -26,6 +29,7 @@ import {
|
|
|
26
29
|
HostTenancy,
|
|
27
30
|
HttpTokensEnforcedState,
|
|
28
31
|
HttpTokensState,
|
|
32
|
+
IngestionStatus,
|
|
29
33
|
InstanceAttributeName,
|
|
30
34
|
InstanceAutoRecoveryState,
|
|
31
35
|
InstanceBandwidthWeighting,
|
|
@@ -121,9 +125,6 @@ import {
|
|
|
121
125
|
IpamPrefixListResolverTarget,
|
|
122
126
|
IpamResourceDiscovery,
|
|
123
127
|
IpamResourceTag,
|
|
124
|
-
IpamScope,
|
|
125
|
-
LaunchTemplate,
|
|
126
|
-
LocalGatewayRoute,
|
|
127
128
|
NetworkInsightsAccessScopeContent,
|
|
128
129
|
Placement,
|
|
129
130
|
RequestIpamResourceTag,
|
|
@@ -143,14 +144,45 @@ import {
|
|
|
143
144
|
IpamPoolCidr,
|
|
144
145
|
LaunchPermission,
|
|
145
146
|
SnapshotDetail,
|
|
146
|
-
SnapshotTaskDetail,
|
|
147
147
|
} from "./models_3";
|
|
148
148
|
import {
|
|
149
149
|
AttributeBooleanValue,
|
|
150
150
|
InstanceMetadataOptionsResponse,
|
|
151
151
|
InstanceStatusEvent,
|
|
152
|
+
SnapshotTaskDetail,
|
|
152
153
|
} from "./models_4";
|
|
153
|
-
import {
|
|
154
|
+
import { RouteServerPropagation } from "./models_5";
|
|
155
|
+
export interface GetCapacityManagerAttributesRequest {
|
|
156
|
+
DryRun?: boolean | undefined;
|
|
157
|
+
}
|
|
158
|
+
export interface GetCapacityManagerAttributesResult {
|
|
159
|
+
CapacityManagerStatus?: CapacityManagerStatus | undefined;
|
|
160
|
+
OrganizationsAccess?: boolean | undefined;
|
|
161
|
+
DataExportCount?: number | undefined;
|
|
162
|
+
IngestionStatus?: IngestionStatus | undefined;
|
|
163
|
+
IngestionStatusMessage?: string | undefined;
|
|
164
|
+
EarliestDatapointTimestamp?: Date | undefined;
|
|
165
|
+
LatestDatapointTimestamp?: Date | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface DimensionCondition {
|
|
168
|
+
Dimension?: FilterByDimension | undefined;
|
|
169
|
+
Comparison?: Comparison | undefined;
|
|
170
|
+
Values?: string[] | undefined;
|
|
171
|
+
}
|
|
172
|
+
export interface CapacityManagerCondition {
|
|
173
|
+
DimensionCondition?: DimensionCondition | undefined;
|
|
174
|
+
}
|
|
175
|
+
export interface GetCapacityManagerMetricDataRequest {
|
|
176
|
+
MetricNames: Metric[] | undefined;
|
|
177
|
+
StartTime: Date | undefined;
|
|
178
|
+
EndTime: Date | undefined;
|
|
179
|
+
Period: number | undefined;
|
|
180
|
+
GroupBy?: GroupBy[] | undefined;
|
|
181
|
+
FilterBy?: CapacityManagerCondition[] | undefined;
|
|
182
|
+
MaxResults?: number | undefined;
|
|
183
|
+
NextToken?: string | undefined;
|
|
184
|
+
DryRun?: boolean | undefined;
|
|
185
|
+
}
|
|
154
186
|
export interface CapacityManagerTagDimension {
|
|
155
187
|
Key?: string | undefined;
|
|
156
188
|
Value?: string | undefined;
|
|
@@ -1868,27 +1900,3 @@ export interface ModifyIpamScopeRequest {
|
|
|
1868
1900
|
ExternalAuthorityConfiguration?: ExternalAuthorityConfiguration | undefined;
|
|
1869
1901
|
RemoveExternalAuthorityConfiguration?: boolean | undefined;
|
|
1870
1902
|
}
|
|
1871
|
-
export interface ModifyIpamScopeResult {
|
|
1872
|
-
IpamScope?: IpamScope | undefined;
|
|
1873
|
-
}
|
|
1874
|
-
export interface ModifyLaunchTemplateRequest {
|
|
1875
|
-
DryRun?: boolean | undefined;
|
|
1876
|
-
ClientToken?: string | undefined;
|
|
1877
|
-
LaunchTemplateId?: string | undefined;
|
|
1878
|
-
LaunchTemplateName?: string | undefined;
|
|
1879
|
-
DefaultVersion?: string | undefined;
|
|
1880
|
-
}
|
|
1881
|
-
export interface ModifyLaunchTemplateResult {
|
|
1882
|
-
LaunchTemplate?: LaunchTemplate | undefined;
|
|
1883
|
-
}
|
|
1884
|
-
export interface ModifyLocalGatewayRouteRequest {
|
|
1885
|
-
DestinationCidrBlock?: string | undefined;
|
|
1886
|
-
LocalGatewayRouteTableId: string | undefined;
|
|
1887
|
-
LocalGatewayVirtualInterfaceGroupId?: string | undefined;
|
|
1888
|
-
NetworkInterfaceId?: string | undefined;
|
|
1889
|
-
DryRun?: boolean | undefined;
|
|
1890
|
-
DestinationPrefixListId?: string | undefined;
|
|
1891
|
-
}
|
|
1892
|
-
export interface ModifyLocalGatewayRouteResult {
|
|
1893
|
-
Route?: LocalGatewayRoute | undefined;
|
|
1894
|
-
}
|
|
@@ -100,6 +100,8 @@ import {
|
|
|
100
100
|
ElasticGpuSpecification,
|
|
101
101
|
IcmpTypeCode,
|
|
102
102
|
InstanceIpv6Address,
|
|
103
|
+
IpamScope,
|
|
104
|
+
LaunchTemplate,
|
|
103
105
|
LocalGatewayRoute,
|
|
104
106
|
ManagedPrefixList,
|
|
105
107
|
OperatorRequest,
|
|
@@ -170,6 +172,30 @@ import {
|
|
|
170
172
|
ManagedResourceVisibilitySettings,
|
|
171
173
|
Purchase,
|
|
172
174
|
} from "./models_6";
|
|
175
|
+
export interface ModifyIpamScopeResult {
|
|
176
|
+
IpamScope?: IpamScope | undefined;
|
|
177
|
+
}
|
|
178
|
+
export interface ModifyLaunchTemplateRequest {
|
|
179
|
+
DryRun?: boolean | undefined;
|
|
180
|
+
ClientToken?: string | undefined;
|
|
181
|
+
LaunchTemplateId?: string | undefined;
|
|
182
|
+
LaunchTemplateName?: string | undefined;
|
|
183
|
+
DefaultVersion?: string | undefined;
|
|
184
|
+
}
|
|
185
|
+
export interface ModifyLaunchTemplateResult {
|
|
186
|
+
LaunchTemplate?: LaunchTemplate | undefined;
|
|
187
|
+
}
|
|
188
|
+
export interface ModifyLocalGatewayRouteRequest {
|
|
189
|
+
DestinationCidrBlock?: string | undefined;
|
|
190
|
+
LocalGatewayRouteTableId: string | undefined;
|
|
191
|
+
LocalGatewayVirtualInterfaceGroupId?: string | undefined;
|
|
192
|
+
NetworkInterfaceId?: string | undefined;
|
|
193
|
+
DryRun?: boolean | undefined;
|
|
194
|
+
DestinationPrefixListId?: string | undefined;
|
|
195
|
+
}
|
|
196
|
+
export interface ModifyLocalGatewayRouteResult {
|
|
197
|
+
Route?: LocalGatewayRoute | undefined;
|
|
198
|
+
}
|
|
173
199
|
export interface RemovePrefixListEntry {
|
|
174
200
|
Cidr: string | undefined;
|
|
175
201
|
}
|
|
@@ -114,6 +114,8 @@ export declare var AssociationStatus$: StaticStructureSchema;
|
|
|
114
114
|
export declare var AthenaIntegration$: StaticStructureSchema;
|
|
115
115
|
export declare var AttachClassicLinkVpcRequest$: StaticStructureSchema;
|
|
116
116
|
export declare var AttachClassicLinkVpcResult$: StaticStructureSchema;
|
|
117
|
+
export declare var AttachImageWatermarkRequest$: StaticStructureSchema;
|
|
118
|
+
export declare var AttachImageWatermarkResult$: StaticStructureSchema;
|
|
117
119
|
export declare var AttachInternetGatewayRequest$: StaticStructureSchema;
|
|
118
120
|
export declare var AttachmentEnaSrdSpecification$: StaticStructureSchema;
|
|
119
121
|
export declare var AttachmentEnaSrdUdpSpecification$: StaticStructureSchema;
|
|
@@ -1066,6 +1068,8 @@ export declare var DestinationOptionsRequest$: StaticStructureSchema;
|
|
|
1066
1068
|
export declare var DestinationOptionsResponse$: StaticStructureSchema;
|
|
1067
1069
|
export declare var DetachClassicLinkVpcRequest$: StaticStructureSchema;
|
|
1068
1070
|
export declare var DetachClassicLinkVpcResult$: StaticStructureSchema;
|
|
1071
|
+
export declare var DetachImageWatermarkRequest$: StaticStructureSchema;
|
|
1072
|
+
export declare var DetachImageWatermarkResult$: StaticStructureSchema;
|
|
1069
1073
|
export declare var DetachInternetGatewayRequest$: StaticStructureSchema;
|
|
1070
1074
|
export declare var DetachNetworkInterfaceRequest$: StaticStructureSchema;
|
|
1071
1075
|
export declare var DetachVerifiedAccessTrustProviderRequest$: StaticStructureSchema;
|
|
@@ -1467,6 +1471,7 @@ export declare var ImageUsageResourceType$: StaticStructureSchema;
|
|
|
1467
1471
|
export declare var ImageUsageResourceTypeOption$: StaticStructureSchema;
|
|
1468
1472
|
export declare var ImageUsageResourceTypeOptionRequest$: StaticStructureSchema;
|
|
1469
1473
|
export declare var ImageUsageResourceTypeRequest$: StaticStructureSchema;
|
|
1474
|
+
export declare var ImageWatermark$: StaticStructureSchema;
|
|
1470
1475
|
export declare var ImportClientVpnClientCertificateRevocationListRequest$: StaticStructureSchema;
|
|
1471
1476
|
export declare var ImportClientVpnClientCertificateRevocationListResult$: StaticStructureSchema;
|
|
1472
1477
|
export declare var ImportImageLicenseConfigurationRequest$: StaticStructureSchema;
|
|
@@ -2434,6 +2439,7 @@ export declare var AssociateTransitGatewayRouteTable$: StaticOperationSchema;
|
|
|
2434
2439
|
export declare var AssociateTrunkInterface$: StaticOperationSchema;
|
|
2435
2440
|
export declare var AssociateVpcCidrBlock$: StaticOperationSchema;
|
|
2436
2441
|
export declare var AttachClassicLinkVpc$: StaticOperationSchema;
|
|
2442
|
+
export declare var AttachImageWatermark$: StaticOperationSchema;
|
|
2437
2443
|
export declare var AttachInternetGateway$: StaticOperationSchema;
|
|
2438
2444
|
export declare var AttachNetworkInterface$: StaticOperationSchema;
|
|
2439
2445
|
export declare var AttachVerifiedAccessTrustProvider$: StaticOperationSchema;
|
|
@@ -2853,6 +2859,7 @@ export declare var DescribeVpnConcentrators$: StaticOperationSchema;
|
|
|
2853
2859
|
export declare var DescribeVpnConnections$: StaticOperationSchema;
|
|
2854
2860
|
export declare var DescribeVpnGateways$: StaticOperationSchema;
|
|
2855
2861
|
export declare var DetachClassicLinkVpc$: StaticOperationSchema;
|
|
2862
|
+
export declare var DetachImageWatermark$: StaticOperationSchema;
|
|
2856
2863
|
export declare var DetachInternetGateway$: StaticOperationSchema;
|
|
2857
2864
|
export declare var DetachNetworkInterface$: StaticOperationSchema;
|
|
2858
2865
|
export declare var DetachVerifiedAccessTrustProvider$: StaticOperationSchema;
|
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.1067.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
30
|
"@aws-sdk/core": "^3.974.20",
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.55",
|
|
32
32
|
"@aws-sdk/middleware-sdk-ec2": "^3.972.34",
|
|
33
33
|
"@aws-sdk/types": "^3.973.12",
|
|
34
34
|
"@smithy/core": "^3.24.6",
|