@aws-sdk/client-ec2 3.712.0 → 3.713.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 +27 -9
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/models/models_4.js +0 -8
- package/dist-es/models/models_5.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +12 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +20 -8
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +22 -10
- package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +1 -2
- package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/EnableAddressTransferCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -2
- package/dist-types/commands/UnlockSnapshotCommand.d.ts +1 -2
- package/dist-types/models/models_2.d.ts +80 -52
- package/dist-types/models/models_3.d.ts +25 -36
- package/dist-types/models/models_4.d.ts +37 -17
- package/dist-types/models/models_5.d.ts +17 -11
- package/dist-types/models/models_6.d.ts +12 -62
- package/dist-types/models/models_7.d.ts +61 -18
- package/dist-types/models/models_8.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_2.d.ts +10 -6
- package/dist-types/ts3.4/models/models_3.d.ts +6 -7
- package/dist-types/ts3.4/models/models_4.d.ts +8 -10
- package/dist-types/ts3.4/models/models_5.d.ts +10 -4
- package/dist-types/ts3.4/models/models_6.d.ts +4 -8
- package/dist-types/ts3.4/models/models_7.d.ts +8 -4
- package/dist-types/ts3.4/models/models_8.d.ts +4 -0
- package/package.json +15 -15
package/dist-cjs/index.js
CHANGED
|
@@ -1015,6 +1015,7 @@ __export(src_exports, {
|
|
|
1015
1015
|
SnapshotBlockPublicAccessState: () => SnapshotBlockPublicAccessState,
|
|
1016
1016
|
SnapshotDetailFilterSensitiveLog: () => SnapshotDetailFilterSensitiveLog,
|
|
1017
1017
|
SnapshotDiskContainerFilterSensitiveLog: () => SnapshotDiskContainerFilterSensitiveLog,
|
|
1018
|
+
SnapshotLocationEnum: () => SnapshotLocationEnum,
|
|
1018
1019
|
SnapshotState: () => SnapshotState,
|
|
1019
1020
|
SnapshotTaskDetailFilterSensitiveLog: () => SnapshotTaskDetailFilterSensitiveLog,
|
|
1020
1021
|
SpotAllocationStrategy: () => SpotAllocationStrategy,
|
|
@@ -20104,6 +20105,9 @@ var se_CreateSnapshotRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
20104
20105
|
entries[loc] = value;
|
|
20105
20106
|
});
|
|
20106
20107
|
}
|
|
20108
|
+
if (input[_Lo] != null) {
|
|
20109
|
+
entries[_Lo] = input[_Lo];
|
|
20110
|
+
}
|
|
20107
20111
|
if (input[_DRr] != null) {
|
|
20108
20112
|
entries[_DRr] = input[_DRr];
|
|
20109
20113
|
}
|
|
@@ -20137,6 +20141,9 @@ var se_CreateSnapshotsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
20137
20141
|
if (input[_CTFS] != null) {
|
|
20138
20142
|
entries[_CTFS] = input[_CTFS];
|
|
20139
20143
|
}
|
|
20144
|
+
if (input[_Lo] != null) {
|
|
20145
|
+
entries[_Lo] = input[_Lo];
|
|
20146
|
+
}
|
|
20140
20147
|
return entries;
|
|
20141
20148
|
}, "se_CreateSnapshotsRequest");
|
|
20142
20149
|
var se_CreateSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -56079,6 +56086,9 @@ var de_Snapshot = /* @__PURE__ */ __name((output, context) => {
|
|
|
56079
56086
|
if (output[_sTs] != null) {
|
|
56080
56087
|
contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]);
|
|
56081
56088
|
}
|
|
56089
|
+
if (output[_aZ] != null) {
|
|
56090
|
+
contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
|
|
56091
|
+
}
|
|
56082
56092
|
if (output[_tTr] != null) {
|
|
56083
56093
|
contents[_TTr] = (0, import_smithy_client.expectString)(output[_tTr]);
|
|
56084
56094
|
}
|
|
@@ -56205,6 +56215,9 @@ var de_SnapshotInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
56205
56215
|
if (output[_sTs] != null) {
|
|
56206
56216
|
contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]);
|
|
56207
56217
|
}
|
|
56218
|
+
if (output[_aZ] != null) {
|
|
56219
|
+
contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
|
|
56220
|
+
}
|
|
56208
56221
|
return contents;
|
|
56209
56222
|
}, "de_SnapshotInfo");
|
|
56210
56223
|
var de_SnapshotList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -68683,6 +68696,10 @@ var RouteState = {
|
|
|
68683
68696
|
active: "active",
|
|
68684
68697
|
blackhole: "blackhole"
|
|
68685
68698
|
};
|
|
68699
|
+
var SnapshotLocationEnum = {
|
|
68700
|
+
LOCAL: "local",
|
|
68701
|
+
REGIONAL: "regional"
|
|
68702
|
+
};
|
|
68686
68703
|
var SSEType = {
|
|
68687
68704
|
none: "none",
|
|
68688
68705
|
sse_ebs: "sse-ebs",
|
|
@@ -71504,14 +71521,6 @@ var OfferingClassType = {
|
|
|
71504
71521
|
CONVERTIBLE: "convertible",
|
|
71505
71522
|
STANDARD: "standard"
|
|
71506
71523
|
};
|
|
71507
|
-
var OfferingTypeValues = {
|
|
71508
|
-
All_Upfront: "All Upfront",
|
|
71509
|
-
Heavy_Utilization: "Heavy Utilization",
|
|
71510
|
-
Light_Utilization: "Light Utilization",
|
|
71511
|
-
Medium_Utilization: "Medium Utilization",
|
|
71512
|
-
No_Upfront: "No Upfront",
|
|
71513
|
-
Partial_Upfront: "Partial Upfront"
|
|
71514
|
-
};
|
|
71515
71524
|
var SnapshotDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
71516
71525
|
...obj,
|
|
71517
71526
|
...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -72488,6 +72497,14 @@ var DescribeSpotFleetRequestHistoryCommand = _DescribeSpotFleetRequestHistoryCom
|
|
|
72488
72497
|
|
|
72489
72498
|
// src/models/models_5.ts
|
|
72490
72499
|
|
|
72500
|
+
var OfferingTypeValues = {
|
|
72501
|
+
All_Upfront: "All Upfront",
|
|
72502
|
+
Heavy_Utilization: "Heavy Utilization",
|
|
72503
|
+
Light_Utilization: "Light Utilization",
|
|
72504
|
+
Medium_Utilization: "Medium Utilization",
|
|
72505
|
+
No_Upfront: "No Upfront",
|
|
72506
|
+
Partial_Upfront: "Partial Upfront"
|
|
72507
|
+
};
|
|
72491
72508
|
var RIProductDescription = {
|
|
72492
72509
|
Linux_UNIX: "Linux/UNIX",
|
|
72493
72510
|
Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)",
|
|
@@ -81646,6 +81663,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
81646
81663
|
ReplaceRootVolumeTaskState,
|
|
81647
81664
|
RouteOrigin,
|
|
81648
81665
|
RouteState,
|
|
81666
|
+
SnapshotLocationEnum,
|
|
81649
81667
|
SSEType,
|
|
81650
81668
|
SnapshotState,
|
|
81651
81669
|
StorageTier,
|
|
@@ -81803,7 +81821,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
81803
81821
|
AnalysisStatus,
|
|
81804
81822
|
NetworkInterfaceAttribute,
|
|
81805
81823
|
OfferingClassType,
|
|
81806
|
-
OfferingTypeValues,
|
|
81807
81824
|
SnapshotDetailFilterSensitiveLog,
|
|
81808
81825
|
ImportImageTaskFilterSensitiveLog,
|
|
81809
81826
|
DescribeImportImageTasksResultFilterSensitiveLog,
|
|
@@ -81811,6 +81828,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
81811
81828
|
ImportSnapshotTaskFilterSensitiveLog,
|
|
81812
81829
|
DescribeImportSnapshotTasksResultFilterSensitiveLog,
|
|
81813
81830
|
DescribeLaunchTemplateVersionsResultFilterSensitiveLog,
|
|
81831
|
+
OfferingTypeValues,
|
|
81814
81832
|
RIProductDescription,
|
|
81815
81833
|
RecurringChargeFrequency,
|
|
81816
81834
|
Scope,
|
|
@@ -104,6 +104,10 @@ export const RouteState = {
|
|
|
104
104
|
active: "active",
|
|
105
105
|
blackhole: "blackhole",
|
|
106
106
|
};
|
|
107
|
+
export const SnapshotLocationEnum = {
|
|
108
|
+
LOCAL: "local",
|
|
109
|
+
REGIONAL: "regional",
|
|
110
|
+
};
|
|
107
111
|
export const SSEType = {
|
|
108
112
|
none: "none",
|
|
109
113
|
sse_ebs: "sse-ebs",
|
|
@@ -302,14 +302,6 @@ export const OfferingClassType = {
|
|
|
302
302
|
CONVERTIBLE: "convertible",
|
|
303
303
|
STANDARD: "standard",
|
|
304
304
|
};
|
|
305
|
-
export const OfferingTypeValues = {
|
|
306
|
-
All_Upfront: "All Upfront",
|
|
307
|
-
Heavy_Utilization: "Heavy Utilization",
|
|
308
|
-
Light_Utilization: "Light Utilization",
|
|
309
|
-
Medium_Utilization: "Medium Utilization",
|
|
310
|
-
No_Upfront: "No Upfront",
|
|
311
|
-
Partial_Upfront: "Partial Upfront",
|
|
312
|
-
};
|
|
313
305
|
export const SnapshotDetailFilterSensitiveLog = (obj) => ({
|
|
314
306
|
...obj,
|
|
315
307
|
...(obj.Url && { Url: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
4
|
+
export const OfferingTypeValues = {
|
|
5
|
+
All_Upfront: "All Upfront",
|
|
6
|
+
Heavy_Utilization: "Heavy Utilization",
|
|
7
|
+
Light_Utilization: "Light Utilization",
|
|
8
|
+
Medium_Utilization: "Medium Utilization",
|
|
9
|
+
No_Upfront: "No Upfront",
|
|
10
|
+
Partial_Upfront: "Partial Upfront",
|
|
11
|
+
};
|
|
4
12
|
export const RIProductDescription = {
|
|
5
13
|
Linux_UNIX: "Linux/UNIX",
|
|
6
14
|
Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)",
|
|
@@ -18591,6 +18591,9 @@ const se_CreateSnapshotRequest = (input, context) => {
|
|
|
18591
18591
|
entries[loc] = value;
|
|
18592
18592
|
});
|
|
18593
18593
|
}
|
|
18594
|
+
if (input[_Lo] != null) {
|
|
18595
|
+
entries[_Lo] = input[_Lo];
|
|
18596
|
+
}
|
|
18594
18597
|
if (input[_DRr] != null) {
|
|
18595
18598
|
entries[_DRr] = input[_DRr];
|
|
18596
18599
|
}
|
|
@@ -18624,6 +18627,9 @@ const se_CreateSnapshotsRequest = (input, context) => {
|
|
|
18624
18627
|
if (input[_CTFS] != null) {
|
|
18625
18628
|
entries[_CTFS] = input[_CTFS];
|
|
18626
18629
|
}
|
|
18630
|
+
if (input[_Lo] != null) {
|
|
18631
|
+
entries[_Lo] = input[_Lo];
|
|
18632
|
+
}
|
|
18627
18633
|
return entries;
|
|
18628
18634
|
};
|
|
18629
18635
|
const se_CreateSpotDatafeedSubscriptionRequest = (input, context) => {
|
|
@@ -55697,6 +55703,9 @@ const de_Snapshot = (output, context) => {
|
|
|
55697
55703
|
if (output[_sTs] != null) {
|
|
55698
55704
|
contents[_STs] = __expectString(output[_sTs]);
|
|
55699
55705
|
}
|
|
55706
|
+
if (output[_aZ] != null) {
|
|
55707
|
+
contents[_AZ] = __expectString(output[_aZ]);
|
|
55708
|
+
}
|
|
55700
55709
|
if (output[_tTr] != null) {
|
|
55701
55710
|
contents[_TTr] = __expectString(output[_tTr]);
|
|
55702
55711
|
}
|
|
@@ -55826,6 +55835,9 @@ const de_SnapshotInfo = (output, context) => {
|
|
|
55826
55835
|
if (output[_sTs] != null) {
|
|
55827
55836
|
contents[_STs] = __expectString(output[_sTs]);
|
|
55828
55837
|
}
|
|
55838
|
+
if (output[_aZ] != null) {
|
|
55839
|
+
contents[_AZ] = __expectString(output[_aZ]);
|
|
55840
|
+
}
|
|
55829
55841
|
return contents;
|
|
55830
55842
|
};
|
|
55831
55843
|
const de_SnapshotList = (output, context) => {
|
|
@@ -30,10 +30,21 @@ declare const CreateSnapshotCommand_base: {
|
|
|
30
30
|
* <p>Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for
|
|
31
31
|
* backups, to make copies of EBS volumes, and to save data before shutting down an
|
|
32
32
|
* instance.</p>
|
|
33
|
-
* <p>
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
33
|
+
* <p>The location of the source EBS volume determines where you can create the snapshot.</p>
|
|
34
|
+
* <ul>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>If the source volume is in a Region, you must create the snapshot in the same
|
|
37
|
+
* Region as the volume.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>If the source volume is in a Local Zone, you can create the snapshot in the same
|
|
41
|
+
* Local Zone or in parent Amazon Web Services Region.</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>If the source volume is on an Outpost, you can create the snapshot on the same
|
|
45
|
+
* Outpost or in its parent Amazon Web Services Region.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
37
48
|
* <p>When a snapshot is created, any Amazon Web Services Marketplace product codes that are associated with the
|
|
38
49
|
* source volume are propagated to the snapshot.</p>
|
|
39
50
|
* <p>You can take a snapshot of an attached volume that is in use. However, snapshots only
|
|
@@ -48,10 +59,9 @@ declare const CreateSnapshotCommand_base: {
|
|
|
48
59
|
* that you stop the instance before taking the snapshot.</p>
|
|
49
60
|
* <p>Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that
|
|
50
61
|
* are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes
|
|
51
|
-
* and any associated snapshots always remain protected
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/what-is-ebs.html">Amazon EBS</a> and <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
62
|
+
* and any associated snapshots always remain protected. For more information,
|
|
63
|
+
* <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a>
|
|
64
|
+
* in the <i>Amazon EBS User Guide</i>.</p>
|
|
55
65
|
* @example
|
|
56
66
|
* Use a bare-bones client and the command you need to make an API call.
|
|
57
67
|
* ```javascript
|
|
@@ -73,6 +83,7 @@ declare const CreateSnapshotCommand_base: {
|
|
|
73
83
|
* ],
|
|
74
84
|
* },
|
|
75
85
|
* ],
|
|
86
|
+
* Location: "regional" || "local",
|
|
76
87
|
* DryRun: true || false,
|
|
77
88
|
* };
|
|
78
89
|
* const command = new CreateSnapshotCommand(input);
|
|
@@ -89,6 +100,7 @@ declare const CreateSnapshotCommand_base: {
|
|
|
89
100
|
* // StorageTier: "archive" || "standard",
|
|
90
101
|
* // RestoreExpiryTime: new Date("TIMESTAMP"),
|
|
91
102
|
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
103
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
92
104
|
* // TransferType: "time-based" || "standard",
|
|
93
105
|
* // CompletionDurationMinutes: Number("int"),
|
|
94
106
|
* // CompletionTime: new Date("TIMESTAMP"),
|
|
@@ -27,16 +27,26 @@ declare const CreateSnapshotsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates crash-consistent snapshots of multiple EBS volumes
|
|
31
|
-
* Volumes are chosen by specifying an instance.
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* <p>
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
30
|
+
* <p>Creates crash-consistent snapshots of multiple EBS volumes attached to an Amazon EC2 instance.
|
|
31
|
+
* Volumes are chosen by specifying an instance. Each volume attached to the specified instance
|
|
32
|
+
* will produce one snapshot that is crash-consistent across the instance. You can include all of
|
|
33
|
+
* the volumes currently attached to the instance, or you can exclude the root volume or specific
|
|
34
|
+
* data (non-root) volumes from the multi-volume snapshot set.</p>
|
|
35
|
+
* <p>The location of the source instance determines where you can create the snapshots.</p>
|
|
36
|
+
* <ul>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>If the source instance is in a Region, you must create the snapshots in the same
|
|
39
|
+
* Region as the instance.</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>If the source instance is in a Local Zone, you can create the snapshots in the same
|
|
43
|
+
* Local Zone or in parent Amazon Web Services Region.</p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>If the source instance is on an Outpost, you can create the snapshots on the same
|
|
47
|
+
* Outpost or in its parent Amazon Web Services Region.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* </ul>
|
|
40
50
|
* @example
|
|
41
51
|
* Use a bare-bones client and the command you need to make an API call.
|
|
42
52
|
* ```javascript
|
|
@@ -66,6 +76,7 @@ declare const CreateSnapshotsCommand_base: {
|
|
|
66
76
|
* ],
|
|
67
77
|
* DryRun: true || false,
|
|
68
78
|
* CopyTagsFromSource: "volume",
|
|
79
|
+
* Location: "regional" || "local",
|
|
69
80
|
* };
|
|
70
81
|
* const command = new CreateSnapshotsCommand(input);
|
|
71
82
|
* const response = await client.send(command);
|
|
@@ -89,6 +100,7 @@ declare const CreateSnapshotsCommand_base: {
|
|
|
89
100
|
* // SnapshotId: "STRING_VALUE",
|
|
90
101
|
* // OutpostArn: "STRING_VALUE",
|
|
91
102
|
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
103
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
92
104
|
* // },
|
|
93
105
|
* // ],
|
|
94
106
|
* // };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DeleteClientVpnRouteRequest } from "../models/
|
|
5
|
-
import { DeleteClientVpnRouteResult } from "../models/models_3";
|
|
4
|
+
import { DeleteClientVpnRouteRequest, DeleteClientVpnRouteResult } from "../models/models_3";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeFleetHistoryRequest
|
|
4
|
+
import { DescribeFleetHistoryRequest } from "../models/models_3";
|
|
5
|
+
import { DescribeFleetHistoryResult } from "../models/models_4";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -119,6 +119,7 @@ declare const DescribeSnapshotsCommand_base: {
|
|
|
119
119
|
* // StorageTier: "archive" || "standard",
|
|
120
120
|
* // RestoreExpiryTime: new Date("TIMESTAMP"),
|
|
121
121
|
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
122
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
122
123
|
* // TransferType: "time-based" || "standard",
|
|
123
124
|
* // CompletionDurationMinutes: Number("int"),
|
|
124
125
|
* // CompletionTime: new Date("TIMESTAMP"),
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { EnableAddressTransferRequest
|
|
4
|
+
import { EnableAddressTransferRequest } from "../models/models_5";
|
|
5
|
+
import { EnableAddressTransferResult } from "../models/models_6";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ModifyInstanceEventWindowRequest } from "../models/
|
|
5
|
-
import { ModifyInstanceEventWindowResult } from "../models/models_7";
|
|
4
|
+
import { ModifyInstanceEventWindowRequest, ModifyInstanceEventWindowResult } from "../models/models_7";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { UnlockSnapshotRequest } from "../models/
|
|
5
|
-
import { UnlockSnapshotResult } from "../models/models_8";
|
|
4
|
+
import { UnlockSnapshotRequest, UnlockSnapshotResult } from "../models/models_8";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -2584,6 +2584,18 @@ export interface CreateSecurityGroupResult {
|
|
|
2584
2584
|
*/
|
|
2585
2585
|
SecurityGroupArn?: string | undefined;
|
|
2586
2586
|
}
|
|
2587
|
+
/**
|
|
2588
|
+
* @public
|
|
2589
|
+
* @enum
|
|
2590
|
+
*/
|
|
2591
|
+
export declare const SnapshotLocationEnum: {
|
|
2592
|
+
readonly LOCAL: "local";
|
|
2593
|
+
readonly REGIONAL: "regional";
|
|
2594
|
+
};
|
|
2595
|
+
/**
|
|
2596
|
+
* @public
|
|
2597
|
+
*/
|
|
2598
|
+
export type SnapshotLocationEnum = (typeof SnapshotLocationEnum)[keyof typeof SnapshotLocationEnum];
|
|
2587
2599
|
/**
|
|
2588
2600
|
* @public
|
|
2589
2601
|
*/
|
|
@@ -2594,22 +2606,17 @@ export interface CreateSnapshotRequest {
|
|
|
2594
2606
|
*/
|
|
2595
2607
|
Description?: string | undefined;
|
|
2596
2608
|
/**
|
|
2597
|
-
* <
|
|
2598
|
-
*
|
|
2609
|
+
* <note>
|
|
2610
|
+
* <p>Only supported for volumes on Outposts. If the source volume is not on an Outpost,
|
|
2611
|
+
* omit this parameter.</p>
|
|
2612
|
+
* </note>
|
|
2599
2613
|
* <ul>
|
|
2600
2614
|
* <li>
|
|
2601
|
-
* <p>To create
|
|
2602
|
-
*
|
|
2603
|
-
* </li>
|
|
2604
|
-
* <li>
|
|
2605
|
-
* <p>To create a snapshot of a volume on an Outpost and store the snapshot in the
|
|
2606
|
-
* Region, omit this parameter. The snapshot is created in the Region for the
|
|
2607
|
-
* Outpost.</p>
|
|
2615
|
+
* <p>To create the snapshot on the same Outpost as the source volume, specify the
|
|
2616
|
+
* ARN of that Outpost. The snapshot must be created on the same Outpost as the volume.</p>
|
|
2608
2617
|
* </li>
|
|
2609
2618
|
* <li>
|
|
2610
|
-
* <p>To create
|
|
2611
|
-
* Outpost, specify the ARN of the destination Outpost. The snapshot must be created on
|
|
2612
|
-
* the same Outpost as the volume.</p>
|
|
2619
|
+
* <p>To create the snapshot in the parent Region of the Outpost, omit this parameter.</p>
|
|
2613
2620
|
* </li>
|
|
2614
2621
|
* </ul>
|
|
2615
2622
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot">Create local snapshots from volumes on an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
@@ -2626,6 +2633,26 @@ export interface CreateSnapshotRequest {
|
|
|
2626
2633
|
* @public
|
|
2627
2634
|
*/
|
|
2628
2635
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
2636
|
+
/**
|
|
2637
|
+
* <note>
|
|
2638
|
+
* <p>Only supported for volumes in Local Zones. If the source volume is not in a Local Zone,
|
|
2639
|
+
* omit this parameter.</p>
|
|
2640
|
+
* </note>
|
|
2641
|
+
* <ul>
|
|
2642
|
+
* <li>
|
|
2643
|
+
* <p>To create a local snapshot in the same Local Zone as the source volume, specify
|
|
2644
|
+
* <code>local</code>.</p>
|
|
2645
|
+
* </li>
|
|
2646
|
+
* <li>
|
|
2647
|
+
* <p>To create a regional snapshot in the parent Region of the Local Zone, specify
|
|
2648
|
+
* <code>regional</code> or omit this parameter.</p>
|
|
2649
|
+
* </li>
|
|
2650
|
+
* </ul>
|
|
2651
|
+
* <p>Default value: <code>regional</code>
|
|
2652
|
+
* </p>
|
|
2653
|
+
* @public
|
|
2654
|
+
*/
|
|
2655
|
+
Location?: SnapshotLocationEnum | undefined;
|
|
2629
2656
|
/**
|
|
2630
2657
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
2631
2658
|
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
@@ -2727,6 +2754,12 @@ export interface Snapshot {
|
|
|
2727
2754
|
* @public
|
|
2728
2755
|
*/
|
|
2729
2756
|
SseType?: SSEType | undefined;
|
|
2757
|
+
/**
|
|
2758
|
+
* <p>The Availability Zone or Local Zone of the snapshot. For example, <code>us-west-1a</code>
|
|
2759
|
+
* (Availability Zone) or <code>us-west-2-lax-1a</code> (Local Zone).</p>
|
|
2760
|
+
* @public
|
|
2761
|
+
*/
|
|
2762
|
+
AvailabilityZone?: string | undefined;
|
|
2730
2763
|
/**
|
|
2731
2764
|
* <note>
|
|
2732
2765
|
* <p>Only for snapshot copies.</p>
|
|
@@ -2884,27 +2917,21 @@ export interface CreateSnapshotsRequest {
|
|
|
2884
2917
|
*/
|
|
2885
2918
|
InstanceSpecification: InstanceSpecification | undefined;
|
|
2886
2919
|
/**
|
|
2887
|
-
* <
|
|
2888
|
-
*
|
|
2920
|
+
* <note>
|
|
2921
|
+
* <p>Only supported for instances on Outposts. If the source instance is not on an Outpost,
|
|
2922
|
+
* omit this parameter.</p>
|
|
2923
|
+
* </note>
|
|
2889
2924
|
* <ul>
|
|
2890
2925
|
* <li>
|
|
2891
|
-
* <p>To create snapshots
|
|
2892
|
-
*
|
|
2893
|
-
* </li>
|
|
2894
|
-
* <li>
|
|
2895
|
-
* <p>To create snapshots from an instance on an Outpost and store the snapshots
|
|
2896
|
-
* in the Region, omit this parameter. The snapshots are created in the Region
|
|
2897
|
-
* for the Outpost.</p>
|
|
2926
|
+
* <p>To create the snapshots on the same Outpost as the source instance, specify the
|
|
2927
|
+
* ARN of that Outpost. The snapshots must be created on the same Outpost as the instance.</p>
|
|
2898
2928
|
* </li>
|
|
2899
2929
|
* <li>
|
|
2900
|
-
* <p>To create snapshots
|
|
2901
|
-
* on an Outpost, specify the ARN of the destination Outpost. The snapshots must
|
|
2902
|
-
* be created on the same Outpost as the instance.</p>
|
|
2930
|
+
* <p>To create the snapshots in the parent Region of the Outpost, omit this parameter.</p>
|
|
2903
2931
|
* </li>
|
|
2904
2932
|
* </ul>
|
|
2905
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-
|
|
2906
|
-
*
|
|
2907
|
-
* <i>Amazon EBS User Guide</i>.</p>
|
|
2933
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot">
|
|
2934
|
+
* Create local snapshots from volumes on an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
2908
2935
|
* @public
|
|
2909
2936
|
*/
|
|
2910
2937
|
OutpostArn?: string | undefined;
|
|
@@ -2925,6 +2952,26 @@ export interface CreateSnapshotsRequest {
|
|
|
2925
2952
|
* @public
|
|
2926
2953
|
*/
|
|
2927
2954
|
CopyTagsFromSource?: CopyTagsFromSource | undefined;
|
|
2955
|
+
/**
|
|
2956
|
+
* <note>
|
|
2957
|
+
* <p>Only supported for instances in Local Zones. If the source instance is not in a Local Zone,
|
|
2958
|
+
* omit this parameter.</p>
|
|
2959
|
+
* </note>
|
|
2960
|
+
* <ul>
|
|
2961
|
+
* <li>
|
|
2962
|
+
* <p>To create local snapshots in the same Local Zone as the source instance, specify
|
|
2963
|
+
* <code>local</code>.</p>
|
|
2964
|
+
* </li>
|
|
2965
|
+
* <li>
|
|
2966
|
+
* <p>To create a regional snapshots in the parent Region of the Local Zone, specify
|
|
2967
|
+
* <code>regional</code> or omit this parameter.</p>
|
|
2968
|
+
* </li>
|
|
2969
|
+
* </ul>
|
|
2970
|
+
* <p>Default value: <code>regional</code>
|
|
2971
|
+
* </p>
|
|
2972
|
+
* @public
|
|
2973
|
+
*/
|
|
2974
|
+
Location?: SnapshotLocationEnum | undefined;
|
|
2928
2975
|
}
|
|
2929
2976
|
/**
|
|
2930
2977
|
* <p>Information about a snapshot.</p>
|
|
@@ -2994,6 +3041,12 @@ export interface SnapshotInfo {
|
|
|
2994
3041
|
* @public
|
|
2995
3042
|
*/
|
|
2996
3043
|
SseType?: SSEType | undefined;
|
|
3044
|
+
/**
|
|
3045
|
+
* <p>The Availability Zone or Local Zone of the snapshots. For example, <code>us-west-1a</code>
|
|
3046
|
+
* (Availability Zone) or <code>us-west-2-lax-1a</code> (Local Zone).</p>
|
|
3047
|
+
* @public
|
|
3048
|
+
*/
|
|
3049
|
+
AvailabilityZone?: string | undefined;
|
|
2997
3050
|
}
|
|
2998
3051
|
/**
|
|
2999
3052
|
* @public
|
|
@@ -8921,31 +8974,6 @@ export interface DeleteClientVpnEndpointResult {
|
|
|
8921
8974
|
*/
|
|
8922
8975
|
Status?: ClientVpnEndpointStatus | undefined;
|
|
8923
8976
|
}
|
|
8924
|
-
/**
|
|
8925
|
-
* @public
|
|
8926
|
-
*/
|
|
8927
|
-
export interface DeleteClientVpnRouteRequest {
|
|
8928
|
-
/**
|
|
8929
|
-
* <p>The ID of the Client VPN endpoint from which the route is to be deleted.</p>
|
|
8930
|
-
* @public
|
|
8931
|
-
*/
|
|
8932
|
-
ClientVpnEndpointId: string | undefined;
|
|
8933
|
-
/**
|
|
8934
|
-
* <p>The ID of the target subnet used by the route.</p>
|
|
8935
|
-
* @public
|
|
8936
|
-
*/
|
|
8937
|
-
TargetVpcSubnetId?: string | undefined;
|
|
8938
|
-
/**
|
|
8939
|
-
* <p>The IPv4 address range, in CIDR notation, of the route to be deleted.</p>
|
|
8940
|
-
* @public
|
|
8941
|
-
*/
|
|
8942
|
-
DestinationCidrBlock: string | undefined;
|
|
8943
|
-
/**
|
|
8944
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8945
|
-
* @public
|
|
8946
|
-
*/
|
|
8947
|
-
DryRun?: boolean | undefined;
|
|
8948
|
-
}
|
|
8949
8977
|
/**
|
|
8950
8978
|
* @internal
|
|
8951
8979
|
*/
|
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AssociationStatus, BundleTask, ByoipCidr, CapacityReservationFleetState, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { CapacityReservation, CapacityReservationTenancy, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, CustomerGateway, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, PlatformValues, TransportProtocol } from "./models_1";
|
|
3
3
|
import { GroupIdentifier, ManagedPrefixList, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteClientVpnRouteRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The ID of the Client VPN endpoint from which the route is to be deleted.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
ClientVpnEndpointId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The ID of the target subnet used by the route.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
TargetVpcSubnetId?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The IPv4 address range, in CIDR notation, of the route to be deleted.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
DestinationCidrBlock: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
DryRun?: boolean | undefined;
|
|
28
|
+
}
|
|
4
29
|
/**
|
|
5
30
|
* @public
|
|
6
31
|
*/
|
|
@@ -6943,42 +6968,6 @@ export interface HistoryRecordEntry {
|
|
|
6943
6968
|
*/
|
|
6944
6969
|
Timestamp?: Date | undefined;
|
|
6945
6970
|
}
|
|
6946
|
-
/**
|
|
6947
|
-
* @public
|
|
6948
|
-
*/
|
|
6949
|
-
export interface DescribeFleetHistoryResult {
|
|
6950
|
-
/**
|
|
6951
|
-
* <p>Information about the events in the history of the EC2 Fleet.</p>
|
|
6952
|
-
* @public
|
|
6953
|
-
*/
|
|
6954
|
-
HistoryRecords?: HistoryRecordEntry[] | undefined;
|
|
6955
|
-
/**
|
|
6956
|
-
* <p>The last date and time for the events, in UTC format (for example,
|
|
6957
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
|
|
6958
|
-
* All records up to this time were retrieved.</p>
|
|
6959
|
-
* <p>If <code>nextToken</code> indicates that there are more items, this value is not
|
|
6960
|
-
* present.</p>
|
|
6961
|
-
* @public
|
|
6962
|
-
*/
|
|
6963
|
-
LastEvaluatedTime?: Date | undefined;
|
|
6964
|
-
/**
|
|
6965
|
-
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
|
|
6966
|
-
* are no more items to return.</p>
|
|
6967
|
-
* @public
|
|
6968
|
-
*/
|
|
6969
|
-
NextToken?: string | undefined;
|
|
6970
|
-
/**
|
|
6971
|
-
* <p>The ID of the EC Fleet.</p>
|
|
6972
|
-
* @public
|
|
6973
|
-
*/
|
|
6974
|
-
FleetId?: string | undefined;
|
|
6975
|
-
/**
|
|
6976
|
-
* <p>The start date and time for the events, in UTC format (for example,
|
|
6977
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
6978
|
-
* @public
|
|
6979
|
-
*/
|
|
6980
|
-
StartTime?: Date | undefined;
|
|
6981
|
-
}
|
|
6982
6971
|
/**
|
|
6983
6972
|
* @internal
|
|
6984
6973
|
*/
|