@aws-sdk/client-ec2 3.632.0 → 3.636.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 +69 -34
- package/dist-es/commands/ModifyVpnConnectionOptionsCommand.js +1 -1
- package/dist-es/models/models_4.js +7 -11
- package/dist-es/models/models_5.js +4 -0
- package/dist-es/models/models_6.js +0 -4
- package/dist-es/models/models_7.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +38 -0
- package/dist-types/commands/CopyImageCommand.d.ts +10 -19
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +10 -0
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +9 -3
- package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +9 -4
- package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +2 -1
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/models/models_4.d.ts +93 -73
- package/dist-types/models/models_5.d.ts +35 -67
- package/dist-types/models/models_6.d.ts +77 -39
- package/dist-types/models/models_7.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_4.d.ts +27 -27
- package/dist-types/ts3.4/models/models_5.d.ts +12 -14
- package/dist-types/ts3.4/models/models_6.d.ts +9 -12
- package/dist-types/ts3.4/models/models_7.d.ts +11 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -43370,6 +43370,36 @@ var de_EbsOptimizedInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
43370
43370
|
}
|
|
43371
43371
|
return contents;
|
|
43372
43372
|
}, "de_EbsOptimizedInfo");
|
|
43373
|
+
var de_EbsStatusDetails = /* @__PURE__ */ __name((output, context) => {
|
|
43374
|
+
const contents = {};
|
|
43375
|
+
if (output[_iSmp] != null) {
|
|
43376
|
+
contents[_ISmp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_iSmp]));
|
|
43377
|
+
}
|
|
43378
|
+
if (output[_n] != null) {
|
|
43379
|
+
contents[_N] = (0, import_smithy_client.expectString)(output[_n]);
|
|
43380
|
+
}
|
|
43381
|
+
if (output[_sta] != null) {
|
|
43382
|
+
contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);
|
|
43383
|
+
}
|
|
43384
|
+
return contents;
|
|
43385
|
+
}, "de_EbsStatusDetails");
|
|
43386
|
+
var de_EbsStatusDetailsList = /* @__PURE__ */ __name((output, context) => {
|
|
43387
|
+
return (output || []).filter((e) => e != null).map((entry) => {
|
|
43388
|
+
return de_EbsStatusDetails(entry, context);
|
|
43389
|
+
});
|
|
43390
|
+
}, "de_EbsStatusDetailsList");
|
|
43391
|
+
var de_EbsStatusSummary = /* @__PURE__ */ __name((output, context) => {
|
|
43392
|
+
const contents = {};
|
|
43393
|
+
if (output.details === "") {
|
|
43394
|
+
contents[_Det] = [];
|
|
43395
|
+
} else if (output[_det] != null && output[_det][_i] != null) {
|
|
43396
|
+
contents[_Det] = de_EbsStatusDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_det][_i]), context);
|
|
43397
|
+
}
|
|
43398
|
+
if (output[_sta] != null) {
|
|
43399
|
+
contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]);
|
|
43400
|
+
}
|
|
43401
|
+
return contents;
|
|
43402
|
+
}, "de_EbsStatusSummary");
|
|
43373
43403
|
var de_Ec2InstanceConnectEndpoint = /* @__PURE__ */ __name((output, context) => {
|
|
43374
43404
|
const contents = {};
|
|
43375
43405
|
if (output[_oI] != null) {
|
|
@@ -47154,6 +47184,9 @@ var de_InstanceStatus = /* @__PURE__ */ __name((output, context) => {
|
|
|
47154
47184
|
if (output[_sSy] != null) {
|
|
47155
47185
|
contents[_SSy] = de_InstanceStatusSummary(output[_sSy], context);
|
|
47156
47186
|
}
|
|
47187
|
+
if (output[_aES] != null) {
|
|
47188
|
+
contents[_AES] = de_EbsStatusSummary(output[_aES], context);
|
|
47189
|
+
}
|
|
47157
47190
|
return contents;
|
|
47158
47191
|
}, "de_InstanceStatus");
|
|
47159
47192
|
var de_InstanceStatusDetails = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -57222,6 +57255,7 @@ var _AECIR = "AssociateEnclaveCertificateIamRole";
|
|
|
57222
57255
|
var _AEFLCLTRV = "AllowEgressFromLocalClassicLinkToRemoteVpc";
|
|
57223
57256
|
var _AEFLVTRCL = "AllowEgressFromLocalVpcToRemoteClassicLink";
|
|
57224
57257
|
var _AEIO = "AutoEnableIO";
|
|
57258
|
+
var _AES = "AttachedEbsStatus";
|
|
57225
57259
|
var _AET = "AnalysisEndTime";
|
|
57226
57260
|
var _AEd = "AddEntries";
|
|
57227
57261
|
var _AF = "AddressFamily";
|
|
@@ -59773,6 +59807,7 @@ var _aEC = "analyzedEniCount";
|
|
|
59773
59807
|
var _aEFLCLTRV = "allowEgressFromLocalClassicLinkToRemoteVpc";
|
|
59774
59808
|
var _aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink";
|
|
59775
59809
|
var _aEIO = "autoEnableIO";
|
|
59810
|
+
var _aES = "attachedEbsStatus";
|
|
59776
59811
|
var _aF = "addressFamily";
|
|
59777
59812
|
var _aFS = "analysisFindingSet";
|
|
59778
59813
|
var _aI = "allocationId";
|
|
@@ -68150,13 +68185,6 @@ var InstanceStateName = {
|
|
|
68150
68185
|
stopping: "stopping",
|
|
68151
68186
|
terminated: "terminated"
|
|
68152
68187
|
};
|
|
68153
|
-
var EventCode = {
|
|
68154
|
-
instance_reboot: "instance-reboot",
|
|
68155
|
-
instance_retirement: "instance-retirement",
|
|
68156
|
-
instance_stop: "instance-stop",
|
|
68157
|
-
system_maintenance: "system-maintenance",
|
|
68158
|
-
system_reboot: "system-reboot"
|
|
68159
|
-
};
|
|
68160
68188
|
var StatusName = {
|
|
68161
68189
|
reachability: "reachability"
|
|
68162
68190
|
};
|
|
@@ -68173,6 +68201,13 @@ var SummaryStatus = {
|
|
|
68173
68201
|
not_applicable: "not-applicable",
|
|
68174
68202
|
ok: "ok"
|
|
68175
68203
|
};
|
|
68204
|
+
var EventCode = {
|
|
68205
|
+
instance_reboot: "instance-reboot",
|
|
68206
|
+
instance_retirement: "instance-retirement",
|
|
68207
|
+
instance_stop: "instance-stop",
|
|
68208
|
+
system_maintenance: "system-maintenance",
|
|
68209
|
+
system_reboot: "system-reboot"
|
|
68210
|
+
};
|
|
68176
68211
|
var LocationType = {
|
|
68177
68212
|
availability_zone: "availability-zone",
|
|
68178
68213
|
availability_zone_id: "availability-zone-id",
|
|
@@ -68340,10 +68375,6 @@ var ExcessCapacityTerminationPolicy = {
|
|
|
68340
68375
|
DEFAULT: "default",
|
|
68341
68376
|
NO_TERMINATION: "noTermination"
|
|
68342
68377
|
};
|
|
68343
|
-
var OnDemandAllocationStrategy = {
|
|
68344
|
-
LOWEST_PRICE: "lowestPrice",
|
|
68345
|
-
PRIORITIZED: "prioritized"
|
|
68346
|
-
};
|
|
68347
68378
|
var SnapshotDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
68348
68379
|
...obj,
|
|
68349
68380
|
...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -69426,6 +69457,10 @@ var DescribeSpotFleetRequestHistoryCommand = _DescribeSpotFleetRequestHistoryCom
|
|
|
69426
69457
|
|
|
69427
69458
|
// src/models/models_5.ts
|
|
69428
69459
|
|
|
69460
|
+
var OnDemandAllocationStrategy = {
|
|
69461
|
+
LOWEST_PRICE: "lowestPrice",
|
|
69462
|
+
PRIORITIZED: "prioritized"
|
|
69463
|
+
};
|
|
69429
69464
|
var ReplacementStrategy = {
|
|
69430
69465
|
LAUNCH: "launch",
|
|
69431
69466
|
LAUNCH_BEFORE_TERMINATE: "launch-before-terminate"
|
|
@@ -71673,10 +71708,6 @@ var ModifyVpnConnectionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
71673
71708
|
...obj,
|
|
71674
71709
|
...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }
|
|
71675
71710
|
}), "ModifyVpnConnectionResultFilterSensitiveLog");
|
|
71676
|
-
var ModifyVpnConnectionOptionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
71677
|
-
...obj,
|
|
71678
|
-
...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }
|
|
71679
|
-
}), "ModifyVpnConnectionOptionsResultFilterSensitiveLog");
|
|
71680
71711
|
|
|
71681
71712
|
// src/commands/GetInstanceTpmEkPubCommand.ts
|
|
71682
71713
|
var _GetInstanceTpmEkPubCommand = class _GetInstanceTpmEkPubCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -73362,22 +73393,6 @@ var ModifyVpnConnectionCommand = _ModifyVpnConnectionCommand;
|
|
|
73362
73393
|
|
|
73363
73394
|
|
|
73364
73395
|
|
|
73365
|
-
var _ModifyVpnConnectionOptionsCommand = class _ModifyVpnConnectionOptionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
73366
|
-
...commonParams
|
|
73367
|
-
}).m(function(Command, cs, config, o) {
|
|
73368
|
-
return [
|
|
73369
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
73370
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
73371
|
-
];
|
|
73372
|
-
}).s("AmazonEC2", "ModifyVpnConnectionOptions", {}).n("EC2Client", "ModifyVpnConnectionOptionsCommand").f(void 0, ModifyVpnConnectionOptionsResultFilterSensitiveLog).ser(se_ModifyVpnConnectionOptionsCommand).de(de_ModifyVpnConnectionOptionsCommand).build() {
|
|
73373
|
-
};
|
|
73374
|
-
__name(_ModifyVpnConnectionOptionsCommand, "ModifyVpnConnectionOptionsCommand");
|
|
73375
|
-
var ModifyVpnConnectionOptionsCommand = _ModifyVpnConnectionOptionsCommand;
|
|
73376
|
-
|
|
73377
|
-
// src/commands/ModifyVpnTunnelCertificateCommand.ts
|
|
73378
|
-
|
|
73379
|
-
|
|
73380
|
-
|
|
73381
73396
|
|
|
73382
73397
|
// src/models/models_7.ts
|
|
73383
73398
|
|
|
@@ -73415,6 +73430,10 @@ var MembershipType = {
|
|
|
73415
73430
|
igmp: "igmp",
|
|
73416
73431
|
static: "static"
|
|
73417
73432
|
};
|
|
73433
|
+
var ModifyVpnConnectionOptionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
73434
|
+
...obj,
|
|
73435
|
+
...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }
|
|
73436
|
+
}), "ModifyVpnConnectionOptionsResultFilterSensitiveLog");
|
|
73418
73437
|
var ModifyVpnTunnelCertificateResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
73419
73438
|
...obj,
|
|
73420
73439
|
...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }
|
|
@@ -73465,7 +73484,23 @@ var RunScheduledInstancesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj
|
|
|
73465
73484
|
...obj.LaunchSpecification && { LaunchSpecification: import_smithy_client.SENSITIVE_STRING }
|
|
73466
73485
|
}), "RunScheduledInstancesRequestFilterSensitiveLog");
|
|
73467
73486
|
|
|
73487
|
+
// src/commands/ModifyVpnConnectionOptionsCommand.ts
|
|
73488
|
+
var _ModifyVpnConnectionOptionsCommand = class _ModifyVpnConnectionOptionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
73489
|
+
...commonParams
|
|
73490
|
+
}).m(function(Command, cs, config, o) {
|
|
73491
|
+
return [
|
|
73492
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
73493
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
73494
|
+
];
|
|
73495
|
+
}).s("AmazonEC2", "ModifyVpnConnectionOptions", {}).n("EC2Client", "ModifyVpnConnectionOptionsCommand").f(void 0, ModifyVpnConnectionOptionsResultFilterSensitiveLog).ser(se_ModifyVpnConnectionOptionsCommand).de(de_ModifyVpnConnectionOptionsCommand).build() {
|
|
73496
|
+
};
|
|
73497
|
+
__name(_ModifyVpnConnectionOptionsCommand, "ModifyVpnConnectionOptionsCommand");
|
|
73498
|
+
var ModifyVpnConnectionOptionsCommand = _ModifyVpnConnectionOptionsCommand;
|
|
73499
|
+
|
|
73468
73500
|
// src/commands/ModifyVpnTunnelCertificateCommand.ts
|
|
73501
|
+
|
|
73502
|
+
|
|
73503
|
+
|
|
73469
73504
|
var _ModifyVpnTunnelCertificateCommand = class _ModifyVpnTunnelCertificateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
73470
73505
|
...commonParams
|
|
73471
73506
|
}).m(function(Command, cs, config, o) {
|
|
@@ -78841,10 +78876,10 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
78841
78876
|
InstanceMetadataOptionsState,
|
|
78842
78877
|
MonitoringState,
|
|
78843
78878
|
InstanceStateName,
|
|
78844
|
-
EventCode,
|
|
78845
78879
|
StatusName,
|
|
78846
78880
|
StatusType,
|
|
78847
78881
|
SummaryStatus,
|
|
78882
|
+
EventCode,
|
|
78848
78883
|
LocationType,
|
|
78849
78884
|
EbsOptimizedSupport,
|
|
78850
78885
|
EbsEncryptionSupport,
|
|
@@ -78878,7 +78913,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
78878
78913
|
TieringOperationStatus,
|
|
78879
78914
|
EventType,
|
|
78880
78915
|
ExcessCapacityTerminationPolicy,
|
|
78881
|
-
OnDemandAllocationStrategy,
|
|
78882
78916
|
SnapshotDetailFilterSensitiveLog,
|
|
78883
78917
|
ImportImageTaskFilterSensitiveLog,
|
|
78884
78918
|
DescribeImportImageTasksResultFilterSensitiveLog,
|
|
@@ -78887,6 +78921,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
78887
78921
|
DescribeImportSnapshotTasksResultFilterSensitiveLog,
|
|
78888
78922
|
DescribeLaunchTemplateVersionsResultFilterSensitiveLog,
|
|
78889
78923
|
SpotFleetLaunchSpecificationFilterSensitiveLog,
|
|
78924
|
+
OnDemandAllocationStrategy,
|
|
78890
78925
|
ReplacementStrategy,
|
|
78891
78926
|
SpotInstanceState,
|
|
78892
78927
|
VerifiedAccessLogDeliveryStatusCode,
|
|
@@ -78958,7 +78993,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
78958
78993
|
ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog,
|
|
78959
78994
|
ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog,
|
|
78960
78995
|
ModifyVpnConnectionResultFilterSensitiveLog,
|
|
78961
|
-
ModifyVpnConnectionOptionsResultFilterSensitiveLog,
|
|
78962
78996
|
Status,
|
|
78963
78997
|
VerificationMethod,
|
|
78964
78998
|
ReportInstanceReasonCodes,
|
|
@@ -78966,6 +79000,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
78966
79000
|
ResetFpgaImageAttributeName,
|
|
78967
79001
|
ResetImageAttributeName,
|
|
78968
79002
|
MembershipType,
|
|
79003
|
+
ModifyVpnConnectionOptionsResultFilterSensitiveLog,
|
|
78969
79004
|
ModifyVpnTunnelCertificateResultFilterSensitiveLog,
|
|
78970
79005
|
ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog,
|
|
78971
79006
|
ModifyVpnTunnelOptionsRequestFilterSensitiveLog,
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { ModifyVpnConnectionOptionsResultFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { ModifyVpnConnectionOptionsResultFilterSensitiveLog, } from "../models/models_7";
|
|
6
6
|
import { de_ModifyVpnConnectionOptionsCommand, se_ModifyVpnConnectionOptionsCommand } from "../protocols/Aws_ec2";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ModifyVpnConnectionOptionsCommand extends $Command
|
|
@@ -82,13 +82,6 @@ export const InstanceStateName = {
|
|
|
82
82
|
stopping: "stopping",
|
|
83
83
|
terminated: "terminated",
|
|
84
84
|
};
|
|
85
|
-
export const EventCode = {
|
|
86
|
-
instance_reboot: "instance-reboot",
|
|
87
|
-
instance_retirement: "instance-retirement",
|
|
88
|
-
instance_stop: "instance-stop",
|
|
89
|
-
system_maintenance: "system-maintenance",
|
|
90
|
-
system_reboot: "system-reboot",
|
|
91
|
-
};
|
|
92
85
|
export const StatusName = {
|
|
93
86
|
reachability: "reachability",
|
|
94
87
|
};
|
|
@@ -105,6 +98,13 @@ export const SummaryStatus = {
|
|
|
105
98
|
not_applicable: "not-applicable",
|
|
106
99
|
ok: "ok",
|
|
107
100
|
};
|
|
101
|
+
export const EventCode = {
|
|
102
|
+
instance_reboot: "instance-reboot",
|
|
103
|
+
instance_retirement: "instance-retirement",
|
|
104
|
+
instance_stop: "instance-stop",
|
|
105
|
+
system_maintenance: "system-maintenance",
|
|
106
|
+
system_reboot: "system-reboot",
|
|
107
|
+
};
|
|
108
108
|
export const LocationType = {
|
|
109
109
|
availability_zone: "availability-zone",
|
|
110
110
|
availability_zone_id: "availability-zone-id",
|
|
@@ -272,10 +272,6 @@ export const ExcessCapacityTerminationPolicy = {
|
|
|
272
272
|
DEFAULT: "default",
|
|
273
273
|
NO_TERMINATION: "noTermination",
|
|
274
274
|
};
|
|
275
|
-
export const OnDemandAllocationStrategy = {
|
|
276
|
-
LOWEST_PRICE: "lowestPrice",
|
|
277
|
-
PRIORITIZED: "prioritized",
|
|
278
|
-
};
|
|
279
275
|
export const SnapshotDetailFilterSensitiveLog = (obj) => ({
|
|
280
276
|
...obj,
|
|
281
277
|
...(obj.Url && { Url: SENSITIVE_STRING }),
|
|
@@ -2,6 +2,10 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
4
4
|
import { SpotFleetLaunchSpecificationFilterSensitiveLog, } from "./models_4";
|
|
5
|
+
export const OnDemandAllocationStrategy = {
|
|
6
|
+
LOWEST_PRICE: "lowestPrice",
|
|
7
|
+
PRIORITIZED: "prioritized",
|
|
8
|
+
};
|
|
5
9
|
export const ReplacementStrategy = {
|
|
6
10
|
LAUNCH: "launch",
|
|
7
11
|
LAUNCH_BEFORE_TERMINATE: "launch-before-terminate",
|
|
@@ -234,7 +234,3 @@ export const ModifyVpnConnectionResultFilterSensitiveLog = (obj) => ({
|
|
|
234
234
|
...obj,
|
|
235
235
|
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
236
236
|
});
|
|
237
|
-
export const ModifyVpnConnectionOptionsResultFilterSensitiveLog = (obj) => ({
|
|
238
|
-
...obj,
|
|
239
|
-
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
240
|
-
});
|
|
@@ -35,6 +35,10 @@ export const MembershipType = {
|
|
|
35
35
|
igmp: "igmp",
|
|
36
36
|
static: "static",
|
|
37
37
|
};
|
|
38
|
+
export const ModifyVpnConnectionOptionsResultFilterSensitiveLog = (obj) => ({
|
|
39
|
+
...obj,
|
|
40
|
+
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
41
|
+
});
|
|
38
42
|
export const ModifyVpnTunnelCertificateResultFilterSensitiveLog = (obj) => ({
|
|
39
43
|
...obj,
|
|
40
44
|
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
@@ -42278,6 +42278,39 @@ const de_EbsOptimizedInfo = (output, context) => {
|
|
|
42278
42278
|
}
|
|
42279
42279
|
return contents;
|
|
42280
42280
|
};
|
|
42281
|
+
const de_EbsStatusDetails = (output, context) => {
|
|
42282
|
+
const contents = {};
|
|
42283
|
+
if (output[_iSmp] != null) {
|
|
42284
|
+
contents[_ISmp] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_iSmp]));
|
|
42285
|
+
}
|
|
42286
|
+
if (output[_n] != null) {
|
|
42287
|
+
contents[_N] = __expectString(output[_n]);
|
|
42288
|
+
}
|
|
42289
|
+
if (output[_sta] != null) {
|
|
42290
|
+
contents[_Statu] = __expectString(output[_sta]);
|
|
42291
|
+
}
|
|
42292
|
+
return contents;
|
|
42293
|
+
};
|
|
42294
|
+
const de_EbsStatusDetailsList = (output, context) => {
|
|
42295
|
+
return (output || [])
|
|
42296
|
+
.filter((e) => e != null)
|
|
42297
|
+
.map((entry) => {
|
|
42298
|
+
return de_EbsStatusDetails(entry, context);
|
|
42299
|
+
});
|
|
42300
|
+
};
|
|
42301
|
+
const de_EbsStatusSummary = (output, context) => {
|
|
42302
|
+
const contents = {};
|
|
42303
|
+
if (output.details === "") {
|
|
42304
|
+
contents[_Det] = [];
|
|
42305
|
+
}
|
|
42306
|
+
else if (output[_det] != null && output[_det][_i] != null) {
|
|
42307
|
+
contents[_Det] = de_EbsStatusDetailsList(__getArrayIfSingleItem(output[_det][_i]), context);
|
|
42308
|
+
}
|
|
42309
|
+
if (output[_sta] != null) {
|
|
42310
|
+
contents[_Statu] = __expectString(output[_sta]);
|
|
42311
|
+
}
|
|
42312
|
+
return contents;
|
|
42313
|
+
};
|
|
42281
42314
|
const de_Ec2InstanceConnectEndpoint = (output, context) => {
|
|
42282
42315
|
const contents = {};
|
|
42283
42316
|
if (output[_oI] != null) {
|
|
@@ -46313,6 +46346,9 @@ const de_InstanceStatus = (output, context) => {
|
|
|
46313
46346
|
if (output[_sSy] != null) {
|
|
46314
46347
|
contents[_SSy] = de_InstanceStatusSummary(output[_sSy], context);
|
|
46315
46348
|
}
|
|
46349
|
+
if (output[_aES] != null) {
|
|
46350
|
+
contents[_AES] = de_EbsStatusSummary(output[_aES], context);
|
|
46351
|
+
}
|
|
46316
46352
|
return contents;
|
|
46317
46353
|
};
|
|
46318
46354
|
const de_InstanceStatusDetails = (output, context) => {
|
|
@@ -57145,6 +57181,7 @@ const _AECIR = "AssociateEnclaveCertificateIamRole";
|
|
|
57145
57181
|
const _AEFLCLTRV = "AllowEgressFromLocalClassicLinkToRemoteVpc";
|
|
57146
57182
|
const _AEFLVTRCL = "AllowEgressFromLocalVpcToRemoteClassicLink";
|
|
57147
57183
|
const _AEIO = "AutoEnableIO";
|
|
57184
|
+
const _AES = "AttachedEbsStatus";
|
|
57148
57185
|
const _AET = "AnalysisEndTime";
|
|
57149
57186
|
const _AEd = "AddEntries";
|
|
57150
57187
|
const _AF = "AddressFamily";
|
|
@@ -59696,6 +59733,7 @@ const _aEC = "analyzedEniCount";
|
|
|
59696
59733
|
const _aEFLCLTRV = "allowEgressFromLocalClassicLinkToRemoteVpc";
|
|
59697
59734
|
const _aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink";
|
|
59698
59735
|
const _aEIO = "autoEnableIO";
|
|
59736
|
+
const _aES = "attachedEbsStatus";
|
|
59699
59737
|
const _aF = "addressFamily";
|
|
59700
59738
|
const _aFS = "analysisFindingSet";
|
|
59701
59739
|
const _aI = "allocationId";
|
|
@@ -27,25 +27,16 @@ declare const CopyImageCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Initiates
|
|
31
|
-
* Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost
|
|
32
|
-
*
|
|
33
|
-
* <p>
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* <p>
|
|
40
|
-
* <b>SourceRegion</b> parameter, and specify the
|
|
41
|
-
* ARN of the destination Outpost using <b>DestinationOutpostArn</b>.
|
|
42
|
-
* Backing snapshots copied to an Outpost are encrypted by default using the default
|
|
43
|
-
* encryption key for the Region, or a different key that you specify in the request using
|
|
44
|
-
* <b>KmsKeyId</b>. Outposts do not support unencrypted
|
|
45
|
-
* snapshots. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">
|
|
46
|
-
* Amazon EBS local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
47
|
-
* <p>For more information about the prerequisites and limits when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">Copy an AMI</a> in the
|
|
48
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
30
|
+
* <p>Initiates an AMI copy operation. You can copy an AMI from one Region to another, or from a
|
|
31
|
+
* Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost to
|
|
32
|
+
* another, or within the same Outpost. To copy an AMI to another partition, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
|
|
33
|
+
* <p>When you copy an AMI from one Region to another, the destination Region is the
|
|
34
|
+
* current Region.</p>
|
|
35
|
+
* <p>When you copy an AMI from a Region to an Outpost, specify the ARN of the Outpost as
|
|
36
|
+
* the destination. Backing snapshots copied to an Outpost are encrypted by default using
|
|
37
|
+
* the default encryption key for the Region or the key that you specify. Outposts do not
|
|
38
|
+
* support unencrypted snapshots.</p>
|
|
39
|
+
* <p>For information about the prerequisites when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">Copy an AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
49
40
|
* @example
|
|
50
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
51
42
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ declare const DeleteSecurityGroupCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Deletes a security group.</p>
|
|
31
31
|
* <p>If you attempt to delete a security group that is associated with an instance or network interface or is
|
|
32
|
-
* referenced by another security group, the operation fails with
|
|
32
|
+
* referenced by another security group in the same VPC, the operation fails with
|
|
33
33
|
* <code>DependencyViolation</code>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -126,6 +126,16 @@ declare const DescribeInstanceStatusCommand_base: {
|
|
|
126
126
|
* // ],
|
|
127
127
|
* // Status: "ok" || "impaired" || "insufficient-data" || "not-applicable" || "initializing",
|
|
128
128
|
* // },
|
|
129
|
+
* // AttachedEbsStatus: { // EbsStatusSummary
|
|
130
|
+
* // Details: [ // EbsStatusDetailsList
|
|
131
|
+
* // { // EbsStatusDetails
|
|
132
|
+
* // ImpairedSince: new Date("TIMESTAMP"),
|
|
133
|
+
* // Name: "reachability",
|
|
134
|
+
* // Status: "passed" || "failed" || "insufficient-data" || "initializing",
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // Status: "ok" || "impaired" || "insufficient-data" || "not-applicable" || "initializing",
|
|
138
|
+
* // },
|
|
129
139
|
* // },
|
|
130
140
|
* // ],
|
|
131
141
|
* // NextToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ declare const DescribeStaleSecurityGroupsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes the stale security group rules for security groups in a specified VPC.
|
|
31
|
-
* Rules are stale when they reference a deleted security group in
|
|
31
|
+
* Rules are stale when they reference a deleted security group in a peered VPC. Rules can also be stale if they reference a security group in a peer VPC for which the VPC peering connection has
|
|
32
32
|
* been deleted.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -30,9 +30,15 @@ declare const DisableSnapshotBlockPublicAccessCommand_base: {
|
|
|
30
30
|
* <p>Disables the <i>block public access for snapshots</i> setting at
|
|
31
31
|
* the account level for the specified Amazon Web Services Region. After you disable block public
|
|
32
32
|
* access for snapshots in a Region, users can publicly share snapshots in that Region.</p>
|
|
33
|
-
* <
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* <important>
|
|
34
|
+
* <p>Enabling block public access for snapshots in <i>block-all-sharing</i>
|
|
35
|
+
* mode does not change the permissions for snapshots that are already publicly shared.
|
|
36
|
+
* Instead, it prevents these snapshots from be publicly visible and publicly accessible.
|
|
37
|
+
* Therefore, the attributes for these snapshots still indicate that they are publicly
|
|
38
|
+
* shared, even though they are not publicly available.</p>
|
|
39
|
+
* <p>If you disable block public access , these snapshots will become publicly available
|
|
40
|
+
* again.</p>
|
|
41
|
+
* </important>
|
|
36
42
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html">
|
|
37
43
|
* Block public access for snapshots</a> in the <i>Amazon EBS User Guide</i> .</p>
|
|
38
44
|
* <p></p>
|
|
@@ -33,10 +33,15 @@ declare const EnableSnapshotBlockPublicAccessCommand_base: {
|
|
|
33
33
|
* for snapshots in that Region. Snapshots that are already publicly shared are either
|
|
34
34
|
* treated as private or they remain publicly shared, depending on the
|
|
35
35
|
* <b>State</b> that you specify.</p>
|
|
36
|
-
* <
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
36
|
+
* <important>
|
|
37
|
+
* <p>Enabling block public access for snapshots in <i>block all sharing</i>
|
|
38
|
+
* mode does not change the permissions for snapshots that are already publicly shared.
|
|
39
|
+
* Instead, it prevents these snapshots from be publicly visible and publicly accessible.
|
|
40
|
+
* Therefore, the attributes for these snapshots still indicate that they are publicly
|
|
41
|
+
* shared, even though they are not publicly available.</p>
|
|
42
|
+
* <p>If you later disable block public access or change the mode to <i>block new
|
|
43
|
+
* sharing</i>, these snapshots will become publicly available again.</p>
|
|
44
|
+
* </important>
|
|
40
45
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html">
|
|
41
46
|
* Block public access for snapshots</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
42
47
|
* @example
|
|
@@ -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 { GetInstanceMetadataDefaultsRequest } from "../models/
|
|
5
|
-
import { GetInstanceMetadataDefaultsResult } from "../models/models_6";
|
|
4
|
+
import { GetInstanceMetadataDefaultsRequest, GetInstanceMetadataDefaultsResult } from "../models/models_6";
|
|
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 { ModifyVpnConnectionOptionsRequest
|
|
4
|
+
import { ModifyVpnConnectionOptionsRequest } from "../models/models_6";
|
|
5
|
+
import { ModifyVpnConnectionOptionsResult } from "../models/models_7";
|
|
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 { ModifyVpnTunnelCertificateRequest } from "../models/
|
|
5
|
-
import { ModifyVpnTunnelCertificateResult } from "../models/models_7";
|
|
4
|
+
import { ModifyVpnTunnelCertificateRequest, ModifyVpnTunnelCertificateResult } from "../models/models_7";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -6943,8 +6943,8 @@ export interface CopyImageRequest {
|
|
|
6943
6943
|
* <p>Specifies whether the destination snapshots of the copied image should be encrypted. You
|
|
6944
6944
|
* can encrypt a copy of an unencrypted snapshot, but you cannot create an unencrypted copy of an
|
|
6945
6945
|
* encrypted snapshot. The default KMS key for Amazon EBS is used unless you specify a non-default
|
|
6946
|
-
* Key Management Service (KMS) KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/
|
|
6947
|
-
* <i>Amazon
|
|
6946
|
+
* Key Management Service (KMS) KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html">Use encryption with
|
|
6947
|
+
* EBS-backed AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
6948
6948
|
* @public
|
|
6949
6949
|
*/
|
|
6950
6950
|
Encrypted?: boolean;
|
|
@@ -7094,7 +7094,7 @@ export interface RequestLaunchTemplateData {
|
|
|
7094
7094
|
*/
|
|
7095
7095
|
NetworkInterfaces?: LaunchTemplateInstanceNetworkInterfaceSpecificationRequest[];
|
|
7096
7096
|
/**
|
|
7097
|
-
* <p>The ID of the AMI in the format <code>ami-
|
|
7097
|
+
* <p>The ID of the AMI in the format <code>ami-0ac394d6a3example</code>.</p>
|
|
7098
7098
|
* <p>Alternatively, you can specify a Systems Manager parameter, using one of the following
|
|
7099
7099
|
* formats. The Systems Manager parameter will resolve to an AMI ID on launch.</p>
|
|
7100
7100
|
* <p>To reference a public parameter:</p>
|