@aws-sdk/client-ec2 3.712.0 → 3.714.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-cjs/runtimeConfig.js +8 -6
- 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-es/runtimeConfig.js +8 -6
- package/dist-types/EC2Client.d.ts +18 -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/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/EC2Client.d.ts +1 -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/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -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,
|
|
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
+
const profileConfig = { profile: config?.profile };
|
|
26
27
|
return {
|
|
27
28
|
...clientSharedValues,
|
|
28
29
|
...config,
|
|
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
|
|
|
32
33
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
33
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
35
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: config?.region ??
|
|
36
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
37
|
+
region: config?.region ??
|
|
38
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
37
39
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
38
40
|
retryMode: config?.retryMode ??
|
|
39
41
|
(0, node_config_provider_1.loadConfig)({
|
|
40
42
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
41
43
|
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
42
|
-
}),
|
|
44
|
+
}, config),
|
|
43
45
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
44
46
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
49
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
48
50
|
};
|
|
49
51
|
};
|
|
50
52
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -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) => {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
21
|
awsCheckVersion(process.version);
|
|
22
|
+
const profileConfig = { profile: config?.profile };
|
|
22
23
|
return {
|
|
23
24
|
...clientSharedValues,
|
|
24
25
|
...config,
|
|
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
29
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
31
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
|
-
region: config?.region ??
|
|
32
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
33
|
+
region: config?.region ??
|
|
34
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
33
35
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
36
|
retryMode: config?.retryMode ??
|
|
35
37
|
loadNodeConfig({
|
|
36
38
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
39
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
|
-
}),
|
|
40
|
+
}, config),
|
|
39
41
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
40
42
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
43
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
44
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
45
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
44
46
|
};
|
|
45
47
|
};
|
|
@@ -752,6 +752,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
752
752
|
* The AWS region to which this client will send requests
|
|
753
753
|
*/
|
|
754
754
|
region?: string | __Provider<string>;
|
|
755
|
+
/**
|
|
756
|
+
* Setting a client profile is similar to setting a value for the
|
|
757
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
758
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
759
|
+
*
|
|
760
|
+
* When set, and only for environments where an AWS configuration
|
|
761
|
+
* file exists, fields configurable by this file will be retrieved
|
|
762
|
+
* from the specified profile within that file.
|
|
763
|
+
* Conflicting code configuration and environment variables will
|
|
764
|
+
* still have higher priority.
|
|
765
|
+
*
|
|
766
|
+
* For client credential resolution that involves checking the AWS
|
|
767
|
+
* configuration file, the client's profile (this value) will be
|
|
768
|
+
* used unless a different profile is set in the credential
|
|
769
|
+
* provider options.
|
|
770
|
+
*
|
|
771
|
+
*/
|
|
772
|
+
profile?: string;
|
|
755
773
|
/**
|
|
756
774
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
757
775
|
* @internal
|
|
@@ -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
|
*/
|