@aws-sdk/client-ec2 3.908.0 → 3.910.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +217 -78
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/CopyVolumesCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_1.js +64 -9
- package/dist-es/models/models_2.js +0 -20
- package/dist-es/models/models_3.js +7 -4
- package/dist-es/models/models_4.js +4 -4
- package/dist-es/models/models_5.js +5 -5
- package/dist-es/models/models_6.js +5 -0
- package/dist-es/protocols/Aws_ec2.js +113 -36
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CopyVolumesCommand.d.ts +137 -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/CreateVolumeCommand.d.ts +3 -1
- package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -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/DescribeVolumeStatusCommand.d.ts +3 -2
- package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/GetManagedPrefixListEntriesCommand.d.ts +2 -1
- package/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +1 -2
- 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/ProvisionIpamByoasnCommand.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/index.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +351 -115
- package/dist-types/models/models_2.d.ts +104 -227
- package/dist-types/models/models_3.d.ts +45 -83
- package/dist-types/models/models_4.d.ts +83 -30
- package/dist-types/models/models_5.d.ts +37 -32
- package/dist-types/models/models_6.d.ts +32 -46
- package/dist-types/models/models_7.d.ts +52 -43
- package/dist-types/models/models_8.d.ts +44 -7
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/CopyVolumesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetManagedPrefixListEntriesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +109 -31
- package/dist-types/ts3.4/models/models_2.d.ts +18 -57
- package/dist-types/ts3.4/models/models_3.d.ts +14 -15
- package/dist-types/ts3.4/models/models_4.d.ts +13 -10
- package/dist-types/ts3.4/models/models_5.d.ts +13 -14
- package/dist-types/ts3.4/models/models_6.d.ts +13 -12
- package/dist-types/ts3.4/models/models_7.d.ts +12 -11
- package/dist-types/ts3.4/models/models_8.d.ts +12 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +35 -35
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CopyVolumesCommand, se_CopyVolumesCommand } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CopyVolumesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonEC2", "CopyVolumes", {})
|
|
17
|
+
.n("EC2Client", "CopyVolumesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CopyVolumesCommand)
|
|
20
|
+
.de(de_CopyVolumesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -58,6 +58,7 @@ export * from "./ConfirmProductInstanceCommand";
|
|
|
58
58
|
export * from "./CopyFpgaImageCommand";
|
|
59
59
|
export * from "./CopyImageCommand";
|
|
60
60
|
export * from "./CopySnapshotCommand";
|
|
61
|
+
export * from "./CopyVolumesCommand";
|
|
61
62
|
export * from "./CreateCapacityReservationBySplittingCommand";
|
|
62
63
|
export * from "./CreateCapacityReservationCommand";
|
|
63
64
|
export * from "./CreateCapacityReservationFleetCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://ec2.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const VolumeType = {
|
|
3
|
+
gp2: "gp2",
|
|
4
|
+
gp3: "gp3",
|
|
5
|
+
io1: "io1",
|
|
6
|
+
io2: "io2",
|
|
7
|
+
sc1: "sc1",
|
|
8
|
+
st1: "st1",
|
|
9
|
+
standard: "standard",
|
|
10
|
+
};
|
|
11
|
+
export const SSEType = {
|
|
12
|
+
none: "none",
|
|
13
|
+
sse_ebs: "sse-ebs",
|
|
14
|
+
sse_kms: "sse-kms",
|
|
15
|
+
};
|
|
16
|
+
export const VolumeState = {
|
|
17
|
+
available: "available",
|
|
18
|
+
creating: "creating",
|
|
19
|
+
deleted: "deleted",
|
|
20
|
+
deleting: "deleting",
|
|
21
|
+
error: "error",
|
|
22
|
+
in_use: "in-use",
|
|
23
|
+
};
|
|
2
24
|
export const CapacityReservationDeliveryPreference = {
|
|
3
25
|
FIXED: "fixed",
|
|
4
26
|
INCREMENTAL: "incremental",
|
|
@@ -276,6 +298,26 @@ export const _InstanceType = {
|
|
|
276
298
|
c8gn_metal_24xl: "c8gn.metal-24xl",
|
|
277
299
|
c8gn_metal_48xl: "c8gn.metal-48xl",
|
|
278
300
|
c8gn_xlarge: "c8gn.xlarge",
|
|
301
|
+
c8i_12xlarge: "c8i.12xlarge",
|
|
302
|
+
c8i_16xlarge: "c8i.16xlarge",
|
|
303
|
+
c8i_24xlarge: "c8i.24xlarge",
|
|
304
|
+
c8i_2xlarge: "c8i.2xlarge",
|
|
305
|
+
c8i_32xlarge: "c8i.32xlarge",
|
|
306
|
+
c8i_48xlarge: "c8i.48xlarge",
|
|
307
|
+
c8i_4xlarge: "c8i.4xlarge",
|
|
308
|
+
c8i_8xlarge: "c8i.8xlarge",
|
|
309
|
+
c8i_96xlarge: "c8i.96xlarge",
|
|
310
|
+
c8i_flex_12xlarge: "c8i-flex.12xlarge",
|
|
311
|
+
c8i_flex_16xlarge: "c8i-flex.16xlarge",
|
|
312
|
+
c8i_flex_2xlarge: "c8i-flex.2xlarge",
|
|
313
|
+
c8i_flex_4xlarge: "c8i-flex.4xlarge",
|
|
314
|
+
c8i_flex_8xlarge: "c8i-flex.8xlarge",
|
|
315
|
+
c8i_flex_large: "c8i-flex.large",
|
|
316
|
+
c8i_flex_xlarge: "c8i-flex.xlarge",
|
|
317
|
+
c8i_large: "c8i.large",
|
|
318
|
+
c8i_metal_48xl: "c8i.metal-48xl",
|
|
319
|
+
c8i_metal_96xl: "c8i.metal-96xl",
|
|
320
|
+
c8i_xlarge: "c8i.xlarge",
|
|
279
321
|
cc1_4xlarge: "cc1.4xlarge",
|
|
280
322
|
cc2_8xlarge: "cc2.8xlarge",
|
|
281
323
|
cg1_4xlarge: "cg1.4xlarge",
|
|
@@ -663,6 +705,18 @@ export const _InstanceType = {
|
|
|
663
705
|
m7i_metal_24xl: "m7i.metal-24xl",
|
|
664
706
|
m7i_metal_48xl: "m7i.metal-48xl",
|
|
665
707
|
m7i_xlarge: "m7i.xlarge",
|
|
708
|
+
m8a_12xlarge: "m8a.12xlarge",
|
|
709
|
+
m8a_16xlarge: "m8a.16xlarge",
|
|
710
|
+
m8a_24xlarge: "m8a.24xlarge",
|
|
711
|
+
m8a_2xlarge: "m8a.2xlarge",
|
|
712
|
+
m8a_48xlarge: "m8a.48xlarge",
|
|
713
|
+
m8a_4xlarge: "m8a.4xlarge",
|
|
714
|
+
m8a_8xlarge: "m8a.8xlarge",
|
|
715
|
+
m8a_large: "m8a.large",
|
|
716
|
+
m8a_medium: "m8a.medium",
|
|
717
|
+
m8a_metal_24xl: "m8a.metal-24xl",
|
|
718
|
+
m8a_metal_48xl: "m8a.metal-48xl",
|
|
719
|
+
m8a_xlarge: "m8a.xlarge",
|
|
666
720
|
m8g_12xlarge: "m8g.12xlarge",
|
|
667
721
|
m8g_16xlarge: "m8g.16xlarge",
|
|
668
722
|
m8g_24xlarge: "m8g.24xlarge",
|
|
@@ -933,6 +987,16 @@ export const _InstanceType = {
|
|
|
933
987
|
r8g_metal_24xl: "r8g.metal-24xl",
|
|
934
988
|
r8g_metal_48xl: "r8g.metal-48xl",
|
|
935
989
|
r8g_xlarge: "r8g.xlarge",
|
|
990
|
+
r8gb_12xlarge: "r8gb.12xlarge",
|
|
991
|
+
r8gb_16xlarge: "r8gb.16xlarge",
|
|
992
|
+
r8gb_24xlarge: "r8gb.24xlarge",
|
|
993
|
+
r8gb_2xlarge: "r8gb.2xlarge",
|
|
994
|
+
r8gb_4xlarge: "r8gb.4xlarge",
|
|
995
|
+
r8gb_8xlarge: "r8gb.8xlarge",
|
|
996
|
+
r8gb_large: "r8gb.large",
|
|
997
|
+
r8gb_medium: "r8gb.medium",
|
|
998
|
+
r8gb_metal_24xl: "r8gb.metal-24xl",
|
|
999
|
+
r8gb_xlarge: "r8gb.xlarge",
|
|
936
1000
|
r8gd_12xlarge: "r8gd.12xlarge",
|
|
937
1001
|
r8gd_16xlarge: "r8gd.16xlarge",
|
|
938
1002
|
r8gd_24xlarge: "r8gd.24xlarge",
|
|
@@ -1199,15 +1263,6 @@ export const FleetExcessCapacityTerminationPolicy = {
|
|
|
1199
1263
|
NO_TERMINATION: "no-termination",
|
|
1200
1264
|
TERMINATION: "termination",
|
|
1201
1265
|
};
|
|
1202
|
-
export const VolumeType = {
|
|
1203
|
-
gp2: "gp2",
|
|
1204
|
-
gp3: "gp3",
|
|
1205
|
-
io1: "io1",
|
|
1206
|
-
io2: "io2",
|
|
1207
|
-
sc1: "sc1",
|
|
1208
|
-
st1: "st1",
|
|
1209
|
-
standard: "standard",
|
|
1210
|
-
};
|
|
1211
1266
|
export const BareMetal = {
|
|
1212
1267
|
EXCLUDED: "excluded",
|
|
1213
1268
|
INCLUDED: "included",
|
|
@@ -187,11 +187,6 @@ export const RouteState = {
|
|
|
187
187
|
blackhole: "blackhole",
|
|
188
188
|
filtered: "filtered",
|
|
189
189
|
};
|
|
190
|
-
export const SSEType = {
|
|
191
|
-
none: "none",
|
|
192
|
-
sse_ebs: "sse-ebs",
|
|
193
|
-
sse_kms: "sse-kms",
|
|
194
|
-
};
|
|
195
190
|
export const SnapshotState = {
|
|
196
191
|
completed: "completed",
|
|
197
192
|
error: "error",
|
|
@@ -354,14 +349,6 @@ export const VerifiedAccessEndpointStatusCode = {
|
|
|
354
349
|
pending: "pending",
|
|
355
350
|
updating: "updating",
|
|
356
351
|
};
|
|
357
|
-
export const VolumeState = {
|
|
358
|
-
available: "available",
|
|
359
|
-
creating: "creating",
|
|
360
|
-
deleted: "deleted",
|
|
361
|
-
deleting: "deleting",
|
|
362
|
-
error: "error",
|
|
363
|
-
in_use: "in-use",
|
|
364
|
-
};
|
|
365
352
|
export const InternetGatewayExclusionMode = {
|
|
366
353
|
allow_bidirectional: "allow-bidirectional",
|
|
367
354
|
allow_egress: "allow-egress",
|
|
@@ -384,13 +371,6 @@ export const DnsRecordIpType = {
|
|
|
384
371
|
ipv6: "ipv6",
|
|
385
372
|
service_defined: "service-defined",
|
|
386
373
|
};
|
|
387
|
-
export const VpcEndpointType = {
|
|
388
|
-
Gateway: "Gateway",
|
|
389
|
-
GatewayLoadBalancer: "GatewayLoadBalancer",
|
|
390
|
-
Interface: "Interface",
|
|
391
|
-
Resource: "Resource",
|
|
392
|
-
ServiceNetwork: "ServiceNetwork",
|
|
393
|
-
};
|
|
394
374
|
export const ResponseLaunchTemplateDataFilterSensitiveLog = (obj) => ({
|
|
395
375
|
...obj,
|
|
396
376
|
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { BundleTaskFilterSensitiveLog, VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const VpcEndpointType = {
|
|
4
|
+
Gateway: "Gateway",
|
|
5
|
+
GatewayLoadBalancer: "GatewayLoadBalancer",
|
|
6
|
+
Interface: "Interface",
|
|
7
|
+
Resource: "Resource",
|
|
8
|
+
ServiceNetwork: "ServiceNetwork",
|
|
9
|
+
};
|
|
3
10
|
export const State = {
|
|
4
11
|
Available: "Available",
|
|
5
12
|
Deleted: "Deleted",
|
|
@@ -168,10 +175,6 @@ export const CapacityBlockInterconnectStatus = {
|
|
|
168
175
|
insufficient_data: "insufficient-data",
|
|
169
176
|
ok: "ok",
|
|
170
177
|
};
|
|
171
|
-
export const CallerRole = {
|
|
172
|
-
odcr_owner: "odcr-owner",
|
|
173
|
-
unused_reservation_billing_owner: "unused-reservation-billing-owner",
|
|
174
|
-
};
|
|
175
178
|
export const VpnTunnelOptionsSpecificationFilterSensitiveLog = (obj) => ({
|
|
176
179
|
...obj,
|
|
177
180
|
...(obj.PreSharedKey && { PreSharedKey: SENSITIVE_STRING }),
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const CallerRole = {
|
|
3
|
+
odcr_owner: "odcr-owner",
|
|
4
|
+
unused_reservation_billing_owner: "unused-reservation-billing-owner",
|
|
5
|
+
};
|
|
2
6
|
export const CapacityReservationBillingRequestStatus = {
|
|
3
7
|
accepted: "accepted",
|
|
4
8
|
cancelled: "cancelled",
|
|
@@ -319,10 +323,6 @@ export const FlexibleEnaQueuesSupport = {
|
|
|
319
323
|
SUPPORTED: "supported",
|
|
320
324
|
UNSUPPORTED: "unsupported",
|
|
321
325
|
};
|
|
322
|
-
export const NitroEnclavesSupport = {
|
|
323
|
-
SUPPORTED: "supported",
|
|
324
|
-
UNSUPPORTED: "unsupported",
|
|
325
|
-
};
|
|
326
326
|
export const DiskImageDescriptionFilterSensitiveLog = (obj) => ({
|
|
327
327
|
...obj,
|
|
328
328
|
...(obj.ImportManifestUrl && { ImportManifestUrl: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_2";
|
|
4
|
+
export const NitroEnclavesSupport = {
|
|
5
|
+
SUPPORTED: "supported",
|
|
6
|
+
UNSUPPORTED: "unsupported",
|
|
7
|
+
};
|
|
4
8
|
export const NitroTpmSupport = {
|
|
5
9
|
SUPPORTED: "supported",
|
|
6
10
|
UNSUPPORTED: "unsupported",
|
|
@@ -165,6 +169,7 @@ export const VolumeModificationState = {
|
|
|
165
169
|
export const InitializationType = {
|
|
166
170
|
default: "default",
|
|
167
171
|
provisioned_rate: "provisioned-rate",
|
|
172
|
+
volume_copy: "volume-copy",
|
|
168
173
|
};
|
|
169
174
|
export const VolumeStatusName = {
|
|
170
175
|
initialization_state: "initialization-state",
|
|
@@ -177,11 +182,6 @@ export const VolumeStatusInfoStatus = {
|
|
|
177
182
|
ok: "ok",
|
|
178
183
|
warning: "warning",
|
|
179
184
|
};
|
|
180
|
-
export const VpcAttributeName = {
|
|
181
|
-
enableDnsHostnames: "enableDnsHostnames",
|
|
182
|
-
enableDnsSupport: "enableDnsSupport",
|
|
183
|
-
enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics",
|
|
184
|
-
};
|
|
185
185
|
export const DescribeLaunchTemplateVersionsResultFilterSensitiveLog = (obj) => ({
|
|
186
186
|
...obj,
|
|
187
187
|
...(obj.LaunchTemplateVersions && {
|
|
@@ -2,6 +2,11 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_2";
|
|
4
4
|
import { VpnConnectionFilterSensitiveLog, } from "./models_3";
|
|
5
|
+
export const VpcAttributeName = {
|
|
6
|
+
enableDnsHostnames: "enableDnsHostnames",
|
|
7
|
+
enableDnsSupport: "enableDnsSupport",
|
|
8
|
+
enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics",
|
|
9
|
+
};
|
|
5
10
|
export const VpcBlockPublicAccessExclusionsAllowed = {
|
|
6
11
|
allowed: "allowed",
|
|
7
12
|
not_allowed: "not-allowed",
|
|
@@ -603,6 +603,16 @@ export const se_CopySnapshotCommand = async (input, context) => {
|
|
|
603
603
|
});
|
|
604
604
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
605
605
|
};
|
|
606
|
+
export const se_CopyVolumesCommand = async (input, context) => {
|
|
607
|
+
const headers = SHARED_HEADERS;
|
|
608
|
+
let body;
|
|
609
|
+
body = buildFormUrlencodedString({
|
|
610
|
+
...se_CopyVolumesRequest(input, context),
|
|
611
|
+
[_A]: _CV,
|
|
612
|
+
[_V]: _,
|
|
613
|
+
});
|
|
614
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
615
|
+
};
|
|
606
616
|
export const se_CreateCapacityReservationCommand = async (input, context) => {
|
|
607
617
|
const headers = SHARED_HEADERS;
|
|
608
618
|
let body;
|
|
@@ -1438,7 +1448,7 @@ export const se_CreateVolumeCommand = async (input, context) => {
|
|
|
1438
1448
|
let body;
|
|
1439
1449
|
body = buildFormUrlencodedString({
|
|
1440
1450
|
...se_CreateVolumeRequest(input, context),
|
|
1441
|
-
[_A]:
|
|
1451
|
+
[_A]: _CVr,
|
|
1442
1452
|
[_V]: _,
|
|
1443
1453
|
});
|
|
1444
1454
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -1448,7 +1458,7 @@ export const se_CreateVpcCommand = async (input, context) => {
|
|
|
1448
1458
|
let body;
|
|
1449
1459
|
body = buildFormUrlencodedString({
|
|
1450
1460
|
...se_CreateVpcRequest(input, context),
|
|
1451
|
-
[_A]:
|
|
1461
|
+
[_A]: _CVre,
|
|
1452
1462
|
[_V]: _,
|
|
1453
1463
|
});
|
|
1454
1464
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -7711,6 +7721,19 @@ export const de_CopySnapshotCommand = async (output, context) => {
|
|
|
7711
7721
|
};
|
|
7712
7722
|
return response;
|
|
7713
7723
|
};
|
|
7724
|
+
export const de_CopyVolumesCommand = async (output, context) => {
|
|
7725
|
+
if (output.statusCode >= 300) {
|
|
7726
|
+
return de_CommandError(output, context);
|
|
7727
|
+
}
|
|
7728
|
+
const data = await parseBody(output.body, context);
|
|
7729
|
+
let contents = {};
|
|
7730
|
+
contents = de_CopyVolumesResult(data, context);
|
|
7731
|
+
const response = {
|
|
7732
|
+
$metadata: deserializeMetadata(output),
|
|
7733
|
+
...contents,
|
|
7734
|
+
};
|
|
7735
|
+
return response;
|
|
7736
|
+
};
|
|
7714
7737
|
export const de_CreateCapacityReservationCommand = async (output, context) => {
|
|
7715
7738
|
if (output.statusCode >= 300) {
|
|
7716
7739
|
return de_CommandError(output, context);
|
|
@@ -17796,6 +17819,44 @@ const se_CopySnapshotRequest = (input, context) => {
|
|
|
17796
17819
|
}
|
|
17797
17820
|
return entries;
|
|
17798
17821
|
};
|
|
17822
|
+
const se_CopyVolumesRequest = (input, context) => {
|
|
17823
|
+
const entries = {};
|
|
17824
|
+
if (input[_SVI] != null) {
|
|
17825
|
+
entries[_SVI] = input[_SVI];
|
|
17826
|
+
}
|
|
17827
|
+
if (input[_I] != null) {
|
|
17828
|
+
entries[_I] = input[_I];
|
|
17829
|
+
}
|
|
17830
|
+
if (input[_Siz] != null) {
|
|
17831
|
+
entries[_Siz] = input[_Siz];
|
|
17832
|
+
}
|
|
17833
|
+
if (input[_VT] != null) {
|
|
17834
|
+
entries[_VT] = input[_VT];
|
|
17835
|
+
}
|
|
17836
|
+
if (input[_DRr] != null) {
|
|
17837
|
+
entries[_DRr] = input[_DRr];
|
|
17838
|
+
}
|
|
17839
|
+
if (input[_TS] != null) {
|
|
17840
|
+
const memberEntries = se_TagSpecificationList(input[_TS], context);
|
|
17841
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
17842
|
+
const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
|
|
17843
|
+
entries[loc] = value;
|
|
17844
|
+
});
|
|
17845
|
+
}
|
|
17846
|
+
if (input[_MAE] != null) {
|
|
17847
|
+
entries[_MAE] = input[_MAE];
|
|
17848
|
+
}
|
|
17849
|
+
if (input[_Th] != null) {
|
|
17850
|
+
entries[_Th] = input[_Th];
|
|
17851
|
+
}
|
|
17852
|
+
if (input[_CTl] === undefined) {
|
|
17853
|
+
input[_CTl] = generateIdempotencyToken();
|
|
17854
|
+
}
|
|
17855
|
+
if (input[_CTl] != null) {
|
|
17856
|
+
entries[_CTl] = input[_CTl];
|
|
17857
|
+
}
|
|
17858
|
+
return entries;
|
|
17859
|
+
};
|
|
17799
17860
|
const se_CpuManufacturerSet = (input, context) => {
|
|
17800
17861
|
const entries = {};
|
|
17801
17862
|
let counter = 1;
|
|
@@ -20689,8 +20750,8 @@ const se_CreateVerifiedAccessNativeApplicationOidcOptions = (input, context) =>
|
|
|
20689
20750
|
if (input[_PSKE] != null) {
|
|
20690
20751
|
entries[_PSKE] = input[_PSKE];
|
|
20691
20752
|
}
|
|
20692
|
-
if (input[
|
|
20693
|
-
entries[
|
|
20753
|
+
if (input[_Is] != null) {
|
|
20754
|
+
entries[_Is] = input[_Is];
|
|
20694
20755
|
}
|
|
20695
20756
|
if (input[_AE] != null) {
|
|
20696
20757
|
entries[_AE] = input[_AE];
|
|
@@ -20724,8 +20785,8 @@ const se_CreateVerifiedAccessTrustProviderDeviceOptions = (input, context) => {
|
|
|
20724
20785
|
};
|
|
20725
20786
|
const se_CreateVerifiedAccessTrustProviderOidcOptions = (input, context) => {
|
|
20726
20787
|
const entries = {};
|
|
20727
|
-
if (input[
|
|
20728
|
-
entries[
|
|
20788
|
+
if (input[_Is] != null) {
|
|
20789
|
+
entries[_Is] = input[_Is];
|
|
20729
20790
|
}
|
|
20730
20791
|
if (input[_AE] != null) {
|
|
20731
20792
|
entries[_AE] = input[_AE];
|
|
@@ -20864,8 +20925,8 @@ const se_CreateVolumeRequest = (input, context) => {
|
|
|
20864
20925
|
if (input[_Enc] != null) {
|
|
20865
20926
|
entries[_Enc] = input[_Enc];
|
|
20866
20927
|
}
|
|
20867
|
-
if (input[
|
|
20868
|
-
entries[
|
|
20928
|
+
if (input[_I] != null) {
|
|
20929
|
+
entries[_I] = input[_I];
|
|
20869
20930
|
}
|
|
20870
20931
|
if (input[_KKI] != null) {
|
|
20871
20932
|
entries[_KKI] = input[_KKI];
|
|
@@ -27445,8 +27506,8 @@ const se_EbsBlockDevice = (input, context) => {
|
|
|
27445
27506
|
if (input[_DOT] != null) {
|
|
27446
27507
|
entries[_DOT] = input[_DOT];
|
|
27447
27508
|
}
|
|
27448
|
-
if (input[
|
|
27449
|
-
entries[
|
|
27509
|
+
if (input[_I] != null) {
|
|
27510
|
+
entries[_I] = input[_I];
|
|
27450
27511
|
}
|
|
27451
27512
|
if (input[_SIn] != null) {
|
|
27452
27513
|
entries[_SIn] = input[_SIn];
|
|
@@ -28163,8 +28224,8 @@ const se_FleetEbsBlockDeviceRequest = (input, context) => {
|
|
|
28163
28224
|
if (input[_DOT] != null) {
|
|
28164
28225
|
entries[_DOT] = input[_DOT];
|
|
28165
28226
|
}
|
|
28166
|
-
if (input[
|
|
28167
|
-
entries[
|
|
28227
|
+
if (input[_I] != null) {
|
|
28228
|
+
entries[_I] = input[_I];
|
|
28168
28229
|
}
|
|
28169
28230
|
if (input[_Th] != null) {
|
|
28170
28231
|
entries[_Th] = input[_Th];
|
|
@@ -31272,8 +31333,8 @@ const se_LaunchTemplateEbsBlockDeviceRequest = (input, context) => {
|
|
|
31272
31333
|
if (input[_DOT] != null) {
|
|
31273
31334
|
entries[_DOT] = input[_DOT];
|
|
31274
31335
|
}
|
|
31275
|
-
if (input[
|
|
31276
|
-
entries[
|
|
31336
|
+
if (input[_I] != null) {
|
|
31337
|
+
entries[_I] = input[_I];
|
|
31277
31338
|
}
|
|
31278
31339
|
if (input[_KKI] != null) {
|
|
31279
31340
|
entries[_KKI] = input[_KKI];
|
|
@@ -33783,8 +33844,8 @@ const se_ModifyVerifiedAccessNativeApplicationOidcOptions = (input, context) =>
|
|
|
33783
33844
|
if (input[_PSKE] != null) {
|
|
33784
33845
|
entries[_PSKE] = input[_PSKE];
|
|
33785
33846
|
}
|
|
33786
|
-
if (input[
|
|
33787
|
-
entries[
|
|
33847
|
+
if (input[_Is] != null) {
|
|
33848
|
+
entries[_Is] = input[_Is];
|
|
33788
33849
|
}
|
|
33789
33850
|
if (input[_AE] != null) {
|
|
33790
33851
|
entries[_AE] = input[_AE];
|
|
@@ -33815,8 +33876,8 @@ const se_ModifyVerifiedAccessTrustProviderDeviceOptions = (input, context) => {
|
|
|
33815
33876
|
};
|
|
33816
33877
|
const se_ModifyVerifiedAccessTrustProviderOidcOptions = (input, context) => {
|
|
33817
33878
|
const entries = {};
|
|
33818
|
-
if (input[
|
|
33819
|
-
entries[
|
|
33879
|
+
if (input[_Is] != null) {
|
|
33880
|
+
entries[_Is] = input[_Is];
|
|
33820
33881
|
}
|
|
33821
33882
|
if (input[_AE] != null) {
|
|
33822
33883
|
entries[_AE] = input[_AE];
|
|
@@ -33916,8 +33977,8 @@ const se_ModifyVolumeRequest = (input, context) => {
|
|
|
33916
33977
|
if (input[_VT] != null) {
|
|
33917
33978
|
entries[_VT] = input[_VT];
|
|
33918
33979
|
}
|
|
33919
|
-
if (input[
|
|
33920
|
-
entries[
|
|
33980
|
+
if (input[_I] != null) {
|
|
33981
|
+
entries[_I] = input[_I];
|
|
33921
33982
|
}
|
|
33922
33983
|
if (input[_Th] != null) {
|
|
33923
33984
|
entries[_Th] = input[_Th];
|
|
@@ -37520,8 +37581,8 @@ const se_ScheduledInstancesEbs = (input, context) => {
|
|
|
37520
37581
|
if (input[_Enc] != null) {
|
|
37521
37582
|
entries[_Enc] = input[_Enc];
|
|
37522
37583
|
}
|
|
37523
|
-
if (input[
|
|
37524
|
-
entries[
|
|
37584
|
+
if (input[_I] != null) {
|
|
37585
|
+
entries[_I] = input[_I];
|
|
37525
37586
|
}
|
|
37526
37587
|
if (input[_SIn] != null) {
|
|
37527
37588
|
entries[_SIn] = input[_SIn];
|
|
@@ -42660,6 +42721,16 @@ const de_CopySnapshotResult = (output, context) => {
|
|
|
42660
42721
|
}
|
|
42661
42722
|
return contents;
|
|
42662
42723
|
};
|
|
42724
|
+
const de_CopyVolumesResult = (output, context) => {
|
|
42725
|
+
const contents = {};
|
|
42726
|
+
if (String(output.volumeSet).trim() === "") {
|
|
42727
|
+
contents[_Vol] = [];
|
|
42728
|
+
}
|
|
42729
|
+
else if (output[_vS] != null && output[_vS][_i] != null) {
|
|
42730
|
+
contents[_Vol] = de_VolumeList(__getArrayIfSingleItem(output[_vS][_i]), context);
|
|
42731
|
+
}
|
|
42732
|
+
return contents;
|
|
42733
|
+
};
|
|
42663
42734
|
const de_CoreCountList = (output, context) => {
|
|
42664
42735
|
return (output || [])
|
|
42665
42736
|
.filter((e) => e != null)
|
|
@@ -47235,7 +47306,7 @@ const de_EbsBlockDevice = (output, context) => {
|
|
|
47235
47306
|
contents[_DOT] = __parseBoolean(output[_dOT]);
|
|
47236
47307
|
}
|
|
47237
47308
|
if (output[_io] != null) {
|
|
47238
|
-
contents[
|
|
47309
|
+
contents[_I] = __strictParseInt32(output[_io]);
|
|
47239
47310
|
}
|
|
47240
47311
|
if (output[_sIn] != null) {
|
|
47241
47312
|
contents[_SIn] = __expectString(output[_sIn]);
|
|
@@ -47278,7 +47349,7 @@ const de_EbsBlockDeviceResponse = (output, context) => {
|
|
|
47278
47349
|
contents[_DOT] = __parseBoolean(output[_dOT]);
|
|
47279
47350
|
}
|
|
47280
47351
|
if (output[_io] != null) {
|
|
47281
|
-
contents[
|
|
47352
|
+
contents[_I] = __strictParseInt32(output[_io]);
|
|
47282
47353
|
}
|
|
47283
47354
|
if (output[_th] != null) {
|
|
47284
47355
|
contents[_Th] = __strictParseInt32(output[_th]);
|
|
@@ -53648,7 +53719,7 @@ const de_LaunchTemplateEbsBlockDevice = (output, context) => {
|
|
|
53648
53719
|
contents[_DOT] = __parseBoolean(output[_dOT]);
|
|
53649
53720
|
}
|
|
53650
53721
|
if (output[_io] != null) {
|
|
53651
|
-
contents[
|
|
53722
|
+
contents[_I] = __strictParseInt32(output[_io]);
|
|
53652
53723
|
}
|
|
53653
53724
|
if (output[_kKI] != null) {
|
|
53654
53725
|
contents[_KKI] = __expectString(output[_kKI]);
|
|
@@ -55396,7 +55467,7 @@ const de_NativeApplicationOidcOptions = (output, context) => {
|
|
|
55396
55467
|
contents[_PSKE] = __expectString(output[_pSKE]);
|
|
55397
55468
|
}
|
|
55398
55469
|
if (output[_is] != null) {
|
|
55399
|
-
contents[
|
|
55470
|
+
contents[_Is] = __expectString(output[_is]);
|
|
55400
55471
|
}
|
|
55401
55472
|
if (output[_aE] != null) {
|
|
55402
55473
|
contents[_AE] = __expectString(output[_aE]);
|
|
@@ -56221,7 +56292,7 @@ const de_OccurrenceDaySet = (output, context) => {
|
|
|
56221
56292
|
const de_OidcOptions = (output, context) => {
|
|
56222
56293
|
const contents = {};
|
|
56223
56294
|
if (output[_is] != null) {
|
|
56224
|
-
contents[
|
|
56295
|
+
contents[_Is] = __expectString(output[_is]);
|
|
56225
56296
|
}
|
|
56226
56297
|
if (output[_aE] != null) {
|
|
56227
56298
|
contents[_AE] = __expectString(output[_aE]);
|
|
@@ -56476,8 +56547,8 @@ const de_PciId = (output, context) => {
|
|
|
56476
56547
|
if (output[_SIubs] != null) {
|
|
56477
56548
|
contents[_SIubs] = __expectString(output[_SIubs]);
|
|
56478
56549
|
}
|
|
56479
|
-
if (output[
|
|
56480
|
-
contents[
|
|
56550
|
+
if (output[_SVIu] != null) {
|
|
56551
|
+
contents[_SVIu] = __expectString(output[_SVIu]);
|
|
56481
56552
|
}
|
|
56482
56553
|
return contents;
|
|
56483
56554
|
};
|
|
@@ -62775,7 +62846,7 @@ const de_VerifiedAccessInstanceUserTrustProviderClientConfiguration = (output, c
|
|
|
62775
62846
|
contents[_Scop] = __expectString(output[_scop]);
|
|
62776
62847
|
}
|
|
62777
62848
|
if (output[_is] != null) {
|
|
62778
|
-
contents[
|
|
62849
|
+
contents[_Is] = __expectString(output[_is]);
|
|
62779
62850
|
}
|
|
62780
62851
|
if (output[_aE] != null) {
|
|
62781
62852
|
contents[_AE] = __expectString(output[_aE]);
|
|
@@ -63007,8 +63078,11 @@ const de_Volume = (output, context) => {
|
|
|
63007
63078
|
if (output[_oA] != null) {
|
|
63008
63079
|
contents[_OA] = __expectString(output[_oA]);
|
|
63009
63080
|
}
|
|
63081
|
+
if (output[_sVI] != null) {
|
|
63082
|
+
contents[_SVI] = __expectString(output[_sVI]);
|
|
63083
|
+
}
|
|
63010
63084
|
if (output[_io] != null) {
|
|
63011
|
-
contents[
|
|
63085
|
+
contents[_I] = __strictParseInt32(output[_io]);
|
|
63012
63086
|
}
|
|
63013
63087
|
if (String(output.tagSet).trim() === "") {
|
|
63014
63088
|
contents[_Ta] = [];
|
|
@@ -64661,7 +64735,7 @@ const _CTonv = "ConversionTask";
|
|
|
64661
64735
|
const _CTr = "CreateTime";
|
|
64662
64736
|
const _CTre = "CreationTime";
|
|
64663
64737
|
const _CTrea = "CreationTimestamp";
|
|
64664
|
-
const _CV = "
|
|
64738
|
+
const _CV = "CopyVolumes";
|
|
64665
64739
|
const _CVAE = "CreateVerifiedAccessEndpoint";
|
|
64666
64740
|
const _CVAG = "CreateVerifiedAccessGroup";
|
|
64667
64741
|
const _CVAI = "CreateVerifiedAccessInstance";
|
|
@@ -64680,7 +64754,8 @@ const _CVP = "CreateVolumePermission";
|
|
|
64680
64754
|
const _CVPC = "CreateVpcPeeringConnection";
|
|
64681
64755
|
const _CVPr = "CreateVolumePermissions";
|
|
64682
64756
|
const _CVTN = "ClientVpnTargetNetworks";
|
|
64683
|
-
const _CVr = "
|
|
64757
|
+
const _CVr = "CreateVolume";
|
|
64758
|
+
const _CVre = "CreateVpc";
|
|
64684
64759
|
const _CVu = "CurrentVersion";
|
|
64685
64760
|
const _CWL = "CloudWatchLogs";
|
|
64686
64761
|
const _CWLO = "CloudWatchLogOptions";
|
|
@@ -65430,7 +65505,7 @@ const _HTo = "HostnameType";
|
|
|
65430
65505
|
const _HZI = "HostedZoneId";
|
|
65431
65506
|
const _Hi = "Hibernate";
|
|
65432
65507
|
const _Ho = "Hosts";
|
|
65433
|
-
const _I = "
|
|
65508
|
+
const _I = "Iops";
|
|
65434
65509
|
const _IA = "Ipv6Addresses";
|
|
65435
65510
|
const _IAA = "Ipv6AddressAttribute";
|
|
65436
65511
|
const _IAC = "Ipv6AddressCount";
|
|
@@ -65651,11 +65726,11 @@ const _Ima = "Images";
|
|
|
65651
65726
|
const _In = "Instances";
|
|
65652
65727
|
const _Ins = "Instance";
|
|
65653
65728
|
const _Int = "Interval";
|
|
65654
|
-
const _Io = "Iops";
|
|
65655
65729
|
const _Ip = "Ipv4";
|
|
65656
65730
|
const _Ipa = "Ipam";
|
|
65657
65731
|
const _Ipam = "Ipams";
|
|
65658
65732
|
const _Ipv = "Ipv6";
|
|
65733
|
+
const _Is = "Issuer";
|
|
65659
65734
|
const _K = "Kernel";
|
|
65660
65735
|
const _KDF = "KinesisDataFirehose";
|
|
65661
65736
|
const _KF = "KeyFormat";
|
|
@@ -66689,7 +66764,8 @@ const _STto = "StorageTier";
|
|
|
66689
66764
|
const _SUC = "SupportedUsageClasses";
|
|
66690
66765
|
const _SV = "SourceVersion";
|
|
66691
66766
|
const _SVESPDV = "StartVpcEndpointServicePrivateDnsVerification";
|
|
66692
|
-
const _SVI = "
|
|
66767
|
+
const _SVI = "SourceVolumeId";
|
|
66768
|
+
const _SVIu = "SubsystemVendorId";
|
|
66693
66769
|
const _SVT = "SupportedVirtualizationTypes";
|
|
66694
66770
|
const _SVh = "ShellVersion";
|
|
66695
66771
|
const _SVo = "SourceVpc";
|
|
@@ -68631,6 +68707,7 @@ const _sTs = "sseType";
|
|
|
68631
68707
|
const _sTt = "storageTier";
|
|
68632
68708
|
const _sUC = "supportedUsageClasses";
|
|
68633
68709
|
const _sV = "sourceVpc";
|
|
68710
|
+
const _sVI = "sourceVolumeId";
|
|
68634
68711
|
const _sVT = "supportedVirtualizationTypes";
|
|
68635
68712
|
const _sVh = "shellVersion";
|
|
68636
68713
|
const _sVu = "supportedVersions";
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ import { ConfirmProductInstanceCommandInput, ConfirmProductInstanceCommandOutput
|
|
|
59
59
|
import { CopyFpgaImageCommandInput, CopyFpgaImageCommandOutput } from "./commands/CopyFpgaImageCommand";
|
|
60
60
|
import { CopyImageCommandInput, CopyImageCommandOutput } from "./commands/CopyImageCommand";
|
|
61
61
|
import { CopySnapshotCommandInput, CopySnapshotCommandOutput } from "./commands/CopySnapshotCommand";
|
|
62
|
+
import { CopyVolumesCommandInput, CopyVolumesCommandOutput } from "./commands/CopyVolumesCommand";
|
|
62
63
|
import { CreateCapacityReservationBySplittingCommandInput, CreateCapacityReservationBySplittingCommandOutput } from "./commands/CreateCapacityReservationBySplittingCommand";
|
|
63
64
|
import { CreateCapacityReservationCommandInput, CreateCapacityReservationCommandOutput } from "./commands/CreateCapacityReservationCommand";
|
|
64
65
|
import { CreateCapacityReservationFleetCommandInput, CreateCapacityReservationFleetCommandOutput } from "./commands/CreateCapacityReservationFleetCommand";
|
|
@@ -1061,6 +1062,12 @@ export interface EC2 {
|
|
|
1061
1062
|
copySnapshot(args: CopySnapshotCommandInput, options?: __HttpHandlerOptions): Promise<CopySnapshotCommandOutput>;
|
|
1062
1063
|
copySnapshot(args: CopySnapshotCommandInput, cb: (err: any, data?: CopySnapshotCommandOutput) => void): void;
|
|
1063
1064
|
copySnapshot(args: CopySnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopySnapshotCommandOutput) => void): void;
|
|
1065
|
+
/**
|
|
1066
|
+
* @see {@link CopyVolumesCommand}
|
|
1067
|
+
*/
|
|
1068
|
+
copyVolumes(args: CopyVolumesCommandInput, options?: __HttpHandlerOptions): Promise<CopyVolumesCommandOutput>;
|
|
1069
|
+
copyVolumes(args: CopyVolumesCommandInput, cb: (err: any, data?: CopyVolumesCommandOutput) => void): void;
|
|
1070
|
+
copyVolumes(args: CopyVolumesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyVolumesCommandOutput) => void): void;
|
|
1064
1071
|
/**
|
|
1065
1072
|
* @see {@link CreateCapacityReservationCommand}
|
|
1066
1073
|
*/
|