@aws-sdk/client-ec2 3.55.0 → 3.58.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/CHANGELOG.md +27 -0
- package/dist-cjs/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
- package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +2 -1
- package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
- package/dist-cjs/commands/ResetImageAttributeCommand.js +2 -2
- package/dist-cjs/models/models_0.js +18 -17
- package/dist-cjs/models/models_1.js +17 -18
- package/dist-cjs/models/models_2.js +18 -18
- package/dist-cjs/models/models_3.js +18 -6
- package/dist-cjs/models/models_4.js +1 -13
- package/dist-cjs/models/models_5.js +18 -12
- package/dist-cjs/models/models_6.js +8 -2
- package/dist-cjs/protocols/Aws_ec2.js +87 -0
- package/dist-es/commands/CreateTransitGatewayConnectPeerCommand.js +1 -2
- package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +2 -1
- package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +1 -2
- package/dist-es/commands/ResetImageAttributeCommand.js +1 -1
- package/dist-es/models/models_0.js +8 -11
- package/dist-es/models/models_1.js +11 -8
- package/dist-es/models/models_2.js +8 -8
- package/dist-es/models/models_3.js +8 -0
- package/dist-es/models/models_4.js +0 -8
- package/dist-es/models/models_5.js +8 -4
- package/dist-es/models/models_6.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +87 -0
- package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +2 -1
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
- package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +83 -17
- package/dist-types/models/models_1.d.ts +10 -60
- package/dist-types/models/models_2.d.ts +60 -50
- package/dist-types/models/models_3.d.ts +71 -8
- package/dist-types/models/models_4.d.ts +4 -65
- package/dist-types/models/models_5.d.ts +63 -26
- package/dist-types/models/models_6.d.ts +26 -0
- package/dist-types/ts3.4/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +38 -9
- package/dist-types/ts3.4/models/models_1.d.ts +10 -30
- package/dist-types/ts3.4/models/models_2.d.ts +30 -27
- package/dist-types/ts3.4/models/models_3.d.ts +37 -5
- package/dist-types/ts3.4/models/models_4.d.ts +4 -34
- package/dist-types/ts3.4/models/models_5.d.ts +32 -14
- package/dist-types/ts3.4/models/models_6.d.ts +14 -0
- package/package.json +19 -19
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.WithdrawByoipCidrResult = exports.WithdrawByoipCidrRequest = exports.UpdateSecurityGroupRuleDescriptionsIngressResult = exports.UpdateSecurityGroupRuleDescriptionsIngressRequest = exports.UpdateSecurityGroupRuleDescriptionsEgressResult = exports.UpdateSecurityGroupRuleDescriptionsEgressRequest = exports.SecurityGroupRuleDescription = exports.UnmonitorInstancesResult = exports.UnmonitorInstancesRequest = exports.UnassignPrivateIpAddressesRequest = exports.UnassignIpv6AddressesResult = exports.UnassignIpv6AddressesRequest = exports.TerminateInstancesResult = exports.TerminateInstancesRequest = exports.TerminateClientVpnConnectionsResult = exports.TerminateConnectionStatus = exports.TerminateClientVpnConnectionsRequest = exports.StopInstancesResult = exports.StopInstancesRequest = exports.StartVpcEndpointServicePrivateDnsVerificationResult = exports.StartVpcEndpointServicePrivateDnsVerificationRequest = exports.StartNetworkInsightsAnalysisResult = exports.StartNetworkInsightsAnalysisRequest = exports.StartNetworkInsightsAccessScopeAnalysisResult = exports.StartNetworkInsightsAccessScopeAnalysisRequest = exports.StartInstancesResult = exports.InstanceStateChange = void 0;
|
|
3
|
+
exports.SendDiagnosticInterruptRequest = exports.SearchTransitGatewayRoutesResult = exports.SearchTransitGatewayRoutesRequest = exports.SearchTransitGatewayMulticastGroupsResult = exports.TransitGatewayMulticastGroup = exports.SearchTransitGatewayMulticastGroupsRequest = exports.SearchLocalGatewayRoutesResult = exports.SearchLocalGatewayRoutesRequest = exports.RunScheduledInstancesResult = exports.RunScheduledInstancesRequest = exports.ScheduledInstancesLaunchSpecification = exports.ScheduledInstancesPlacement = exports.ScheduledInstancesNetworkInterface = exports.ScheduledInstancesPrivateIpAddressConfig = exports.ScheduledInstancesIpv6Address = exports.ScheduledInstancesMonitoring = exports.ScheduledInstancesIamInstanceProfile = exports.ScheduledInstancesBlockDeviceMapping = exports.ScheduledInstancesEbs = exports.RunInstancesRequest = exports.PrivateDnsNameOptionsRequest = exports.InstanceMetadataOptionsRequest = exports.LicenseConfigurationRequest = exports.LaunchTemplateSpecification = exports.InstanceMarketOptionsRequest = exports.SpotMarketOptions = exports.HibernationOptionsRequest = exports.EnclaveOptionsRequest = exports.ElasticInferenceAccelerator = exports.CpuOptionsRequest = exports.RevokeSecurityGroupIngressResult = exports.RevokeSecurityGroupIngressRequest = exports.RevokeSecurityGroupEgressResult = exports.RevokeSecurityGroupEgressRequest = exports.RevokeClientVpnIngressResult = exports.RevokeClientVpnIngressRequest = exports.RestoreSnapshotTierResult = exports.RestoreSnapshotTierRequest = exports.RestoreSnapshotFromRecycleBinResult = exports.RestoreSnapshotFromRecycleBinRequest = exports.RestoreManagedPrefixListVersionResult = exports.RestoreManagedPrefixListVersionRequest = exports.RestoreImageFromRecycleBinResult = exports.RestoreImageFromRecycleBinRequest = exports.RestoreAddressToClassicResult = exports.RestoreAddressToClassicRequest = exports.ResetSnapshotAttributeRequest = exports.ResetNetworkInterfaceAttributeRequest = exports.ResetInstanceAttributeRequest = exports.ResetImageAttributeRequest = void 0;
|
|
4
|
+
exports.WithdrawByoipCidrResult = exports.WithdrawByoipCidrRequest = exports.UpdateSecurityGroupRuleDescriptionsIngressResult = exports.UpdateSecurityGroupRuleDescriptionsIngressRequest = exports.UpdateSecurityGroupRuleDescriptionsEgressResult = exports.UpdateSecurityGroupRuleDescriptionsEgressRequest = exports.SecurityGroupRuleDescription = exports.UnmonitorInstancesResult = exports.UnmonitorInstancesRequest = exports.UnassignPrivateIpAddressesRequest = exports.UnassignIpv6AddressesResult = exports.UnassignIpv6AddressesRequest = exports.TerminateInstancesResult = exports.TerminateInstancesRequest = exports.TerminateClientVpnConnectionsResult = exports.TerminateConnectionStatus = exports.TerminateClientVpnConnectionsRequest = exports.StopInstancesResult = exports.StopInstancesRequest = exports.StartVpcEndpointServicePrivateDnsVerificationResult = exports.StartVpcEndpointServicePrivateDnsVerificationRequest = exports.StartNetworkInsightsAnalysisResult = exports.StartNetworkInsightsAnalysisRequest = exports.StartNetworkInsightsAccessScopeAnalysisResult = exports.StartNetworkInsightsAccessScopeAnalysisRequest = exports.StartInstancesResult = exports.InstanceStateChange = exports.StartInstancesRequest = void 0;
|
|
5
|
+
var ResetImageAttributeRequest;
|
|
6
|
+
(function (ResetImageAttributeRequest) {
|
|
7
|
+
ResetImageAttributeRequest.filterSensitiveLog = (obj) => ({
|
|
8
|
+
...obj,
|
|
9
|
+
});
|
|
10
|
+
})(ResetImageAttributeRequest = exports.ResetImageAttributeRequest || (exports.ResetImageAttributeRequest = {}));
|
|
5
11
|
var ResetInstanceAttributeRequest;
|
|
6
12
|
(function (ResetInstanceAttributeRequest) {
|
|
7
13
|
ResetInstanceAttributeRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -42260,6 +42260,29 @@ const deserializeAws_ec2ActiveInstanceSet = (output, context) => {
|
|
|
42260
42260
|
return deserializeAws_ec2ActiveInstance(entry, context);
|
|
42261
42261
|
});
|
|
42262
42262
|
};
|
|
42263
|
+
const deserializeAws_ec2AdditionalDetail = (output, context) => {
|
|
42264
|
+
const contents = {
|
|
42265
|
+
AdditionalDetailType: undefined,
|
|
42266
|
+
Component: undefined,
|
|
42267
|
+
};
|
|
42268
|
+
if (output["additionalDetailType"] !== undefined) {
|
|
42269
|
+
contents.AdditionalDetailType = (0, smithy_client_1.expectString)(output["additionalDetailType"]);
|
|
42270
|
+
}
|
|
42271
|
+
if (output["component"] !== undefined) {
|
|
42272
|
+
contents.Component = deserializeAws_ec2AnalysisComponent(output["component"], context);
|
|
42273
|
+
}
|
|
42274
|
+
return contents;
|
|
42275
|
+
};
|
|
42276
|
+
const deserializeAws_ec2AdditionalDetailList = (output, context) => {
|
|
42277
|
+
return (output || [])
|
|
42278
|
+
.filter((e) => e != null)
|
|
42279
|
+
.map((entry) => {
|
|
42280
|
+
if (entry === null) {
|
|
42281
|
+
return null;
|
|
42282
|
+
}
|
|
42283
|
+
return deserializeAws_ec2AdditionalDetail(entry, context);
|
|
42284
|
+
});
|
|
42285
|
+
};
|
|
42263
42286
|
const deserializeAws_ec2Address = (output, context) => {
|
|
42264
42287
|
const contents = {
|
|
42265
42288
|
InstanceId: undefined,
|
|
@@ -49588,6 +49611,10 @@ const deserializeAws_ec2Explanation = (output, context) => {
|
|
|
49588
49611
|
VpcEndpoint: undefined,
|
|
49589
49612
|
VpnConnection: undefined,
|
|
49590
49613
|
VpnGateway: undefined,
|
|
49614
|
+
TransitGateway: undefined,
|
|
49615
|
+
TransitGatewayRouteTable: undefined,
|
|
49616
|
+
TransitGatewayRouteTableRoute: undefined,
|
|
49617
|
+
TransitGatewayAttachment: undefined,
|
|
49591
49618
|
};
|
|
49592
49619
|
if (output["acl"] !== undefined) {
|
|
49593
49620
|
contents.Acl = deserializeAws_ec2AnalysisComponent(output["acl"], context);
|
|
@@ -49746,6 +49773,18 @@ const deserializeAws_ec2Explanation = (output, context) => {
|
|
|
49746
49773
|
if (output["vpnGateway"] !== undefined) {
|
|
49747
49774
|
contents.VpnGateway = deserializeAws_ec2AnalysisComponent(output["vpnGateway"], context);
|
|
49748
49775
|
}
|
|
49776
|
+
if (output["transitGateway"] !== undefined) {
|
|
49777
|
+
contents.TransitGateway = deserializeAws_ec2AnalysisComponent(output["transitGateway"], context);
|
|
49778
|
+
}
|
|
49779
|
+
if (output["transitGatewayRouteTable"] !== undefined) {
|
|
49780
|
+
contents.TransitGatewayRouteTable = deserializeAws_ec2AnalysisComponent(output["transitGatewayRouteTable"], context);
|
|
49781
|
+
}
|
|
49782
|
+
if (output["transitGatewayRouteTableRoute"] !== undefined) {
|
|
49783
|
+
contents.TransitGatewayRouteTableRoute = deserializeAws_ec2TransitGatewayRouteTableRoute(output["transitGatewayRouteTableRoute"], context);
|
|
49784
|
+
}
|
|
49785
|
+
if (output["transitGatewayAttachment"] !== undefined) {
|
|
49786
|
+
contents.TransitGatewayAttachment = deserializeAws_ec2AnalysisComponent(output["transitGatewayAttachment"], context);
|
|
49787
|
+
}
|
|
49749
49788
|
return contents;
|
|
49750
49789
|
};
|
|
49751
49790
|
const deserializeAws_ec2ExplanationList = (output, context) => {
|
|
@@ -57625,6 +57664,9 @@ const deserializeAws_ec2PathComponent = (output, context) => {
|
|
|
57625
57664
|
SourceVpc: undefined,
|
|
57626
57665
|
Subnet: undefined,
|
|
57627
57666
|
Vpc: undefined,
|
|
57667
|
+
AdditionalDetails: undefined,
|
|
57668
|
+
TransitGateway: undefined,
|
|
57669
|
+
TransitGatewayRouteTableRoute: undefined,
|
|
57628
57670
|
};
|
|
57629
57671
|
if (output["sequenceNumber"] !== undefined) {
|
|
57630
57672
|
contents.SequenceNumber = (0, smithy_client_1.strictParseInt32)(output["sequenceNumber"]);
|
|
@@ -57662,6 +57704,18 @@ const deserializeAws_ec2PathComponent = (output, context) => {
|
|
|
57662
57704
|
if (output["vpc"] !== undefined) {
|
|
57663
57705
|
contents.Vpc = deserializeAws_ec2AnalysisComponent(output["vpc"], context);
|
|
57664
57706
|
}
|
|
57707
|
+
if (output.additionalDetailSet === "") {
|
|
57708
|
+
contents.AdditionalDetails = [];
|
|
57709
|
+
}
|
|
57710
|
+
if (output["additionalDetailSet"] !== undefined && output["additionalDetailSet"]["item"] !== undefined) {
|
|
57711
|
+
contents.AdditionalDetails = deserializeAws_ec2AdditionalDetailList((0, smithy_client_1.getArrayIfSingleItem)(output["additionalDetailSet"]["item"]), context);
|
|
57712
|
+
}
|
|
57713
|
+
if (output["transitGateway"] !== undefined) {
|
|
57714
|
+
contents.TransitGateway = deserializeAws_ec2AnalysisComponent(output["transitGateway"], context);
|
|
57715
|
+
}
|
|
57716
|
+
if (output["transitGatewayRouteTableRoute"] !== undefined) {
|
|
57717
|
+
contents.TransitGatewayRouteTableRoute = deserializeAws_ec2TransitGatewayRouteTableRoute(output["transitGatewayRouteTableRoute"], context);
|
|
57718
|
+
}
|
|
57665
57719
|
return contents;
|
|
57666
57720
|
};
|
|
57667
57721
|
const deserializeAws_ec2PathComponentList = (output, context) => {
|
|
@@ -63478,6 +63532,39 @@ const deserializeAws_ec2TransitGatewayRouteTablePropagationList = (output, conte
|
|
|
63478
63532
|
return deserializeAws_ec2TransitGatewayRouteTablePropagation(entry, context);
|
|
63479
63533
|
});
|
|
63480
63534
|
};
|
|
63535
|
+
const deserializeAws_ec2TransitGatewayRouteTableRoute = (output, context) => {
|
|
63536
|
+
const contents = {
|
|
63537
|
+
DestinationCidr: undefined,
|
|
63538
|
+
State: undefined,
|
|
63539
|
+
RouteOrigin: undefined,
|
|
63540
|
+
PrefixListId: undefined,
|
|
63541
|
+
AttachmentId: undefined,
|
|
63542
|
+
ResourceId: undefined,
|
|
63543
|
+
ResourceType: undefined,
|
|
63544
|
+
};
|
|
63545
|
+
if (output["destinationCidr"] !== undefined) {
|
|
63546
|
+
contents.DestinationCidr = (0, smithy_client_1.expectString)(output["destinationCidr"]);
|
|
63547
|
+
}
|
|
63548
|
+
if (output["state"] !== undefined) {
|
|
63549
|
+
contents.State = (0, smithy_client_1.expectString)(output["state"]);
|
|
63550
|
+
}
|
|
63551
|
+
if (output["routeOrigin"] !== undefined) {
|
|
63552
|
+
contents.RouteOrigin = (0, smithy_client_1.expectString)(output["routeOrigin"]);
|
|
63553
|
+
}
|
|
63554
|
+
if (output["prefixListId"] !== undefined) {
|
|
63555
|
+
contents.PrefixListId = (0, smithy_client_1.expectString)(output["prefixListId"]);
|
|
63556
|
+
}
|
|
63557
|
+
if (output["attachmentId"] !== undefined) {
|
|
63558
|
+
contents.AttachmentId = (0, smithy_client_1.expectString)(output["attachmentId"]);
|
|
63559
|
+
}
|
|
63560
|
+
if (output["resourceId"] !== undefined) {
|
|
63561
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(output["resourceId"]);
|
|
63562
|
+
}
|
|
63563
|
+
if (output["resourceType"] !== undefined) {
|
|
63564
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(output["resourceType"]);
|
|
63565
|
+
}
|
|
63566
|
+
return contents;
|
|
63567
|
+
};
|
|
63481
63568
|
const deserializeAws_ec2TransitGatewayVpcAttachment = (output, context) => {
|
|
63482
63569
|
const contents = {
|
|
63483
63570
|
TransitGatewayAttachmentId: undefined,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { CreateTransitGatewayConnectPeerRequest } from "../models/
|
|
5
|
-
import { CreateTransitGatewayConnectPeerResult } from "../models/models_2";
|
|
4
|
+
import { CreateTransitGatewayConnectPeerRequest, CreateTransitGatewayConnectPeerResult } from "../models/models_2";
|
|
6
5
|
import { deserializeAws_ec2CreateTransitGatewayConnectPeerCommand, serializeAws_ec2CreateTransitGatewayConnectPeerCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
var CreateTransitGatewayConnectPeerCommand = (function (_super) {
|
|
8
7
|
__extends(CreateTransitGatewayConnectPeerCommand, _super);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetHostReservationPurchasePreviewRequest
|
|
4
|
+
import { GetHostReservationPurchasePreviewRequest } from "../models/models_4";
|
|
5
|
+
import { GetHostReservationPurchasePreviewResult } from "../models/models_5";
|
|
5
6
|
import { deserializeAws_ec2GetHostReservationPurchasePreviewCommand, serializeAws_ec2GetHostReservationPurchasePreviewCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
var GetHostReservationPurchasePreviewCommand = (function (_super) {
|
|
7
8
|
__extends(GetHostReservationPurchasePreviewCommand, _super);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetInstanceTypesFromInstanceRequirementsRequest } from "../models/
|
|
5
|
-
import { GetInstanceTypesFromInstanceRequirementsResult } from "../models/models_5";
|
|
4
|
+
import { GetInstanceTypesFromInstanceRequirementsRequest, GetInstanceTypesFromInstanceRequirementsResult, } from "../models/models_5";
|
|
6
5
|
import { deserializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand, serializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
var GetInstanceTypesFromInstanceRequirementsCommand = (function (_super) {
|
|
8
7
|
__extends(GetInstanceTypesFromInstanceRequirementsCommand, _super);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ResetImageAttributeRequest } from "../models/
|
|
4
|
+
import { ResetImageAttributeRequest } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ResetImageAttributeCommand, serializeAws_ec2ResetImageAttributeCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
var ResetImageAttributeCommand = (function (_super) {
|
|
7
7
|
__extends(ResetImageAttributeCommand, _super);
|
|
@@ -166,6 +166,10 @@ export var AnalysisComponent;
|
|
|
166
166
|
(function (AnalysisComponent) {
|
|
167
167
|
AnalysisComponent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
168
|
})(AnalysisComponent || (AnalysisComponent = {}));
|
|
169
|
+
export var AdditionalDetail;
|
|
170
|
+
(function (AdditionalDetail) {
|
|
171
|
+
AdditionalDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
+
})(AdditionalDetail || (AdditionalDetail = {}));
|
|
169
173
|
export var AnalysisPacketHeader;
|
|
170
174
|
(function (AnalysisPacketHeader) {
|
|
171
175
|
AnalysisPacketHeader.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -178,6 +182,10 @@ export var AnalysisSecurityGroupRule;
|
|
|
178
182
|
(function (AnalysisSecurityGroupRule) {
|
|
179
183
|
AnalysisSecurityGroupRule.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
184
|
})(AnalysisSecurityGroupRule || (AnalysisSecurityGroupRule = {}));
|
|
185
|
+
export var TransitGatewayRouteTableRoute;
|
|
186
|
+
(function (TransitGatewayRouteTableRoute) {
|
|
187
|
+
TransitGatewayRouteTableRoute.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
|
+
})(TransitGatewayRouteTableRoute || (TransitGatewayRouteTableRoute = {}));
|
|
181
189
|
export var PathComponent;
|
|
182
190
|
(function (PathComponent) {
|
|
183
191
|
PathComponent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1088,14 +1096,3 @@ export var CpuManufacturer;
|
|
|
1088
1096
|
CpuManufacturer["AMD"] = "amd";
|
|
1089
1097
|
CpuManufacturer["INTEL"] = "intel";
|
|
1090
1098
|
})(CpuManufacturer || (CpuManufacturer = {}));
|
|
1091
|
-
export var InstanceGeneration;
|
|
1092
|
-
(function (InstanceGeneration) {
|
|
1093
|
-
InstanceGeneration["CURRENT"] = "current";
|
|
1094
|
-
InstanceGeneration["PREVIOUS"] = "previous";
|
|
1095
|
-
})(InstanceGeneration || (InstanceGeneration = {}));
|
|
1096
|
-
export var LocalStorage;
|
|
1097
|
-
(function (LocalStorage) {
|
|
1098
|
-
LocalStorage["EXCLUDED"] = "excluded";
|
|
1099
|
-
LocalStorage["INCLUDED"] = "included";
|
|
1100
|
-
LocalStorage["REQUIRED"] = "required";
|
|
1101
|
-
})(LocalStorage || (LocalStorage = {}));
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
export var InstanceGeneration;
|
|
4
|
+
(function (InstanceGeneration) {
|
|
5
|
+
InstanceGeneration["CURRENT"] = "current";
|
|
6
|
+
InstanceGeneration["PREVIOUS"] = "previous";
|
|
7
|
+
})(InstanceGeneration || (InstanceGeneration = {}));
|
|
8
|
+
export var LocalStorage;
|
|
9
|
+
(function (LocalStorage) {
|
|
10
|
+
LocalStorage["EXCLUDED"] = "excluded";
|
|
11
|
+
LocalStorage["INCLUDED"] = "included";
|
|
12
|
+
LocalStorage["REQUIRED"] = "required";
|
|
13
|
+
})(LocalStorage || (LocalStorage = {}));
|
|
3
14
|
export var LocalStorageType;
|
|
4
15
|
(function (LocalStorageType) {
|
|
5
16
|
LocalStorageType["HDD"] = "hdd";
|
|
@@ -1070,11 +1081,3 @@ export var CreateTransitGatewayConnectResult;
|
|
|
1070
1081
|
(function (CreateTransitGatewayConnectResult) {
|
|
1071
1082
|
CreateTransitGatewayConnectResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1072
1083
|
})(CreateTransitGatewayConnectResult || (CreateTransitGatewayConnectResult = {}));
|
|
1073
|
-
export var TransitGatewayConnectRequestBgpOptions;
|
|
1074
|
-
(function (TransitGatewayConnectRequestBgpOptions) {
|
|
1075
|
-
TransitGatewayConnectRequestBgpOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1076
|
-
})(TransitGatewayConnectRequestBgpOptions || (TransitGatewayConnectRequestBgpOptions = {}));
|
|
1077
|
-
export var CreateTransitGatewayConnectPeerRequest;
|
|
1078
|
-
(function (CreateTransitGatewayConnectPeerRequest) {
|
|
1079
|
-
CreateTransitGatewayConnectPeerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1080
|
-
})(CreateTransitGatewayConnectPeerRequest || (CreateTransitGatewayConnectPeerRequest = {}));
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var TransitGatewayConnectRequestBgpOptions;
|
|
3
|
+
(function (TransitGatewayConnectRequestBgpOptions) {
|
|
4
|
+
TransitGatewayConnectRequestBgpOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(TransitGatewayConnectRequestBgpOptions || (TransitGatewayConnectRequestBgpOptions = {}));
|
|
6
|
+
export var CreateTransitGatewayConnectPeerRequest;
|
|
7
|
+
(function (CreateTransitGatewayConnectPeerRequest) {
|
|
8
|
+
CreateTransitGatewayConnectPeerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(CreateTransitGatewayConnectPeerRequest || (CreateTransitGatewayConnectPeerRequest = {}));
|
|
2
10
|
export var TransitGatewayAttachmentBgpConfiguration;
|
|
3
11
|
(function (TransitGatewayAttachmentBgpConfiguration) {
|
|
4
12
|
TransitGatewayAttachmentBgpConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1151,11 +1159,3 @@ export var DescribeConversionTasksRequest;
|
|
|
1151
1159
|
(function (DescribeConversionTasksRequest) {
|
|
1152
1160
|
DescribeConversionTasksRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1153
1161
|
})(DescribeConversionTasksRequest || (DescribeConversionTasksRequest = {}));
|
|
1154
|
-
export var DiskImageDescription;
|
|
1155
|
-
(function (DiskImageDescription) {
|
|
1156
|
-
DiskImageDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1157
|
-
})(DiskImageDescription || (DiskImageDescription = {}));
|
|
1158
|
-
export var DiskImageVolumeDescription;
|
|
1159
|
-
(function (DiskImageVolumeDescription) {
|
|
1160
|
-
DiskImageVolumeDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1161
|
-
})(DiskImageVolumeDescription || (DiskImageVolumeDescription = {}));
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var DiskImageDescription;
|
|
3
|
+
(function (DiskImageDescription) {
|
|
4
|
+
DiskImageDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(DiskImageDescription || (DiskImageDescription = {}));
|
|
6
|
+
export var DiskImageVolumeDescription;
|
|
7
|
+
(function (DiskImageVolumeDescription) {
|
|
8
|
+
DiskImageVolumeDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(DiskImageVolumeDescription || (DiskImageVolumeDescription = {}));
|
|
2
10
|
export var ImportInstanceVolumeDetailItem;
|
|
3
11
|
(function (ImportInstanceVolumeDetailItem) {
|
|
4
12
|
ImportInstanceVolumeDetailItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1165,11 +1165,3 @@ export var Purchase;
|
|
|
1165
1165
|
(function (Purchase) {
|
|
1166
1166
|
Purchase.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1167
1167
|
})(Purchase || (Purchase = {}));
|
|
1168
|
-
export var GetHostReservationPurchasePreviewResult;
|
|
1169
|
-
(function (GetHostReservationPurchasePreviewResult) {
|
|
1170
|
-
GetHostReservationPurchasePreviewResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1171
|
-
})(GetHostReservationPurchasePreviewResult || (GetHostReservationPurchasePreviewResult = {}));
|
|
1172
|
-
export var GetInstanceTypesFromInstanceRequirementsRequest;
|
|
1173
|
-
(function (GetInstanceTypesFromInstanceRequirementsRequest) {
|
|
1174
|
-
GetInstanceTypesFromInstanceRequirementsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1175
|
-
})(GetInstanceTypesFromInstanceRequirementsRequest || (GetInstanceTypesFromInstanceRequirementsRequest = {}));
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
export var GetHostReservationPurchasePreviewResult;
|
|
4
|
+
(function (GetHostReservationPurchasePreviewResult) {
|
|
5
|
+
GetHostReservationPurchasePreviewResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(GetHostReservationPurchasePreviewResult || (GetHostReservationPurchasePreviewResult = {}));
|
|
7
|
+
export var GetInstanceTypesFromInstanceRequirementsRequest;
|
|
8
|
+
(function (GetInstanceTypesFromInstanceRequirementsRequest) {
|
|
9
|
+
GetInstanceTypesFromInstanceRequirementsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
+
})(GetInstanceTypesFromInstanceRequirementsRequest || (GetInstanceTypesFromInstanceRequirementsRequest = {}));
|
|
3
11
|
export var InstanceTypeInfoFromInstanceRequirements;
|
|
4
12
|
(function (InstanceTypeInfoFromInstanceRequirements) {
|
|
5
13
|
InstanceTypeInfoFromInstanceRequirements.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1178,7 +1186,3 @@ export var ResetFpgaImageAttributeResult;
|
|
|
1178
1186
|
(function (ResetFpgaImageAttributeResult) {
|
|
1179
1187
|
ResetFpgaImageAttributeResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1180
1188
|
})(ResetFpgaImageAttributeResult || (ResetFpgaImageAttributeResult = {}));
|
|
1181
|
-
export var ResetImageAttributeRequest;
|
|
1182
|
-
(function (ResetImageAttributeRequest) {
|
|
1183
|
-
ResetImageAttributeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1184
|
-
})(ResetImageAttributeRequest || (ResetImageAttributeRequest = {}));
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var ResetImageAttributeRequest;
|
|
3
|
+
(function (ResetImageAttributeRequest) {
|
|
4
|
+
ResetImageAttributeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(ResetImageAttributeRequest || (ResetImageAttributeRequest = {}));
|
|
2
6
|
export var ResetInstanceAttributeRequest;
|
|
3
7
|
(function (ResetInstanceAttributeRequest) {
|
|
4
8
|
ResetInstanceAttributeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -50358,6 +50358,29 @@ var deserializeAws_ec2ActiveInstanceSet = function (output, context) {
|
|
|
50358
50358
|
return deserializeAws_ec2ActiveInstance(entry, context);
|
|
50359
50359
|
});
|
|
50360
50360
|
};
|
|
50361
|
+
var deserializeAws_ec2AdditionalDetail = function (output, context) {
|
|
50362
|
+
var contents = {
|
|
50363
|
+
AdditionalDetailType: undefined,
|
|
50364
|
+
Component: undefined,
|
|
50365
|
+
};
|
|
50366
|
+
if (output["additionalDetailType"] !== undefined) {
|
|
50367
|
+
contents.AdditionalDetailType = __expectString(output["additionalDetailType"]);
|
|
50368
|
+
}
|
|
50369
|
+
if (output["component"] !== undefined) {
|
|
50370
|
+
contents.Component = deserializeAws_ec2AnalysisComponent(output["component"], context);
|
|
50371
|
+
}
|
|
50372
|
+
return contents;
|
|
50373
|
+
};
|
|
50374
|
+
var deserializeAws_ec2AdditionalDetailList = function (output, context) {
|
|
50375
|
+
return (output || [])
|
|
50376
|
+
.filter(function (e) { return e != null; })
|
|
50377
|
+
.map(function (entry) {
|
|
50378
|
+
if (entry === null) {
|
|
50379
|
+
return null;
|
|
50380
|
+
}
|
|
50381
|
+
return deserializeAws_ec2AdditionalDetail(entry, context);
|
|
50382
|
+
});
|
|
50383
|
+
};
|
|
50361
50384
|
var deserializeAws_ec2Address = function (output, context) {
|
|
50362
50385
|
var contents = {
|
|
50363
50386
|
InstanceId: undefined,
|
|
@@ -57686,6 +57709,10 @@ var deserializeAws_ec2Explanation = function (output, context) {
|
|
|
57686
57709
|
VpcEndpoint: undefined,
|
|
57687
57710
|
VpnConnection: undefined,
|
|
57688
57711
|
VpnGateway: undefined,
|
|
57712
|
+
TransitGateway: undefined,
|
|
57713
|
+
TransitGatewayRouteTable: undefined,
|
|
57714
|
+
TransitGatewayRouteTableRoute: undefined,
|
|
57715
|
+
TransitGatewayAttachment: undefined,
|
|
57689
57716
|
};
|
|
57690
57717
|
if (output["acl"] !== undefined) {
|
|
57691
57718
|
contents.Acl = deserializeAws_ec2AnalysisComponent(output["acl"], context);
|
|
@@ -57844,6 +57871,18 @@ var deserializeAws_ec2Explanation = function (output, context) {
|
|
|
57844
57871
|
if (output["vpnGateway"] !== undefined) {
|
|
57845
57872
|
contents.VpnGateway = deserializeAws_ec2AnalysisComponent(output["vpnGateway"], context);
|
|
57846
57873
|
}
|
|
57874
|
+
if (output["transitGateway"] !== undefined) {
|
|
57875
|
+
contents.TransitGateway = deserializeAws_ec2AnalysisComponent(output["transitGateway"], context);
|
|
57876
|
+
}
|
|
57877
|
+
if (output["transitGatewayRouteTable"] !== undefined) {
|
|
57878
|
+
contents.TransitGatewayRouteTable = deserializeAws_ec2AnalysisComponent(output["transitGatewayRouteTable"], context);
|
|
57879
|
+
}
|
|
57880
|
+
if (output["transitGatewayRouteTableRoute"] !== undefined) {
|
|
57881
|
+
contents.TransitGatewayRouteTableRoute = deserializeAws_ec2TransitGatewayRouteTableRoute(output["transitGatewayRouteTableRoute"], context);
|
|
57882
|
+
}
|
|
57883
|
+
if (output["transitGatewayAttachment"] !== undefined) {
|
|
57884
|
+
contents.TransitGatewayAttachment = deserializeAws_ec2AnalysisComponent(output["transitGatewayAttachment"], context);
|
|
57885
|
+
}
|
|
57847
57886
|
return contents;
|
|
57848
57887
|
};
|
|
57849
57888
|
var deserializeAws_ec2ExplanationList = function (output, context) {
|
|
@@ -65723,6 +65762,9 @@ var deserializeAws_ec2PathComponent = function (output, context) {
|
|
|
65723
65762
|
SourceVpc: undefined,
|
|
65724
65763
|
Subnet: undefined,
|
|
65725
65764
|
Vpc: undefined,
|
|
65765
|
+
AdditionalDetails: undefined,
|
|
65766
|
+
TransitGateway: undefined,
|
|
65767
|
+
TransitGatewayRouteTableRoute: undefined,
|
|
65726
65768
|
};
|
|
65727
65769
|
if (output["sequenceNumber"] !== undefined) {
|
|
65728
65770
|
contents.SequenceNumber = __strictParseInt32(output["sequenceNumber"]);
|
|
@@ -65760,6 +65802,18 @@ var deserializeAws_ec2PathComponent = function (output, context) {
|
|
|
65760
65802
|
if (output["vpc"] !== undefined) {
|
|
65761
65803
|
contents.Vpc = deserializeAws_ec2AnalysisComponent(output["vpc"], context);
|
|
65762
65804
|
}
|
|
65805
|
+
if (output.additionalDetailSet === "") {
|
|
65806
|
+
contents.AdditionalDetails = [];
|
|
65807
|
+
}
|
|
65808
|
+
if (output["additionalDetailSet"] !== undefined && output["additionalDetailSet"]["item"] !== undefined) {
|
|
65809
|
+
contents.AdditionalDetails = deserializeAws_ec2AdditionalDetailList(__getArrayIfSingleItem(output["additionalDetailSet"]["item"]), context);
|
|
65810
|
+
}
|
|
65811
|
+
if (output["transitGateway"] !== undefined) {
|
|
65812
|
+
contents.TransitGateway = deserializeAws_ec2AnalysisComponent(output["transitGateway"], context);
|
|
65813
|
+
}
|
|
65814
|
+
if (output["transitGatewayRouteTableRoute"] !== undefined) {
|
|
65815
|
+
contents.TransitGatewayRouteTableRoute = deserializeAws_ec2TransitGatewayRouteTableRoute(output["transitGatewayRouteTableRoute"], context);
|
|
65816
|
+
}
|
|
65763
65817
|
return contents;
|
|
65764
65818
|
};
|
|
65765
65819
|
var deserializeAws_ec2PathComponentList = function (output, context) {
|
|
@@ -71576,6 +71630,39 @@ var deserializeAws_ec2TransitGatewayRouteTablePropagationList = function (output
|
|
|
71576
71630
|
return deserializeAws_ec2TransitGatewayRouteTablePropagation(entry, context);
|
|
71577
71631
|
});
|
|
71578
71632
|
};
|
|
71633
|
+
var deserializeAws_ec2TransitGatewayRouteTableRoute = function (output, context) {
|
|
71634
|
+
var contents = {
|
|
71635
|
+
DestinationCidr: undefined,
|
|
71636
|
+
State: undefined,
|
|
71637
|
+
RouteOrigin: undefined,
|
|
71638
|
+
PrefixListId: undefined,
|
|
71639
|
+
AttachmentId: undefined,
|
|
71640
|
+
ResourceId: undefined,
|
|
71641
|
+
ResourceType: undefined,
|
|
71642
|
+
};
|
|
71643
|
+
if (output["destinationCidr"] !== undefined) {
|
|
71644
|
+
contents.DestinationCidr = __expectString(output["destinationCidr"]);
|
|
71645
|
+
}
|
|
71646
|
+
if (output["state"] !== undefined) {
|
|
71647
|
+
contents.State = __expectString(output["state"]);
|
|
71648
|
+
}
|
|
71649
|
+
if (output["routeOrigin"] !== undefined) {
|
|
71650
|
+
contents.RouteOrigin = __expectString(output["routeOrigin"]);
|
|
71651
|
+
}
|
|
71652
|
+
if (output["prefixListId"] !== undefined) {
|
|
71653
|
+
contents.PrefixListId = __expectString(output["prefixListId"]);
|
|
71654
|
+
}
|
|
71655
|
+
if (output["attachmentId"] !== undefined) {
|
|
71656
|
+
contents.AttachmentId = __expectString(output["attachmentId"]);
|
|
71657
|
+
}
|
|
71658
|
+
if (output["resourceId"] !== undefined) {
|
|
71659
|
+
contents.ResourceId = __expectString(output["resourceId"]);
|
|
71660
|
+
}
|
|
71661
|
+
if (output["resourceType"] !== undefined) {
|
|
71662
|
+
contents.ResourceType = __expectString(output["resourceType"]);
|
|
71663
|
+
}
|
|
71664
|
+
return contents;
|
|
71665
|
+
};
|
|
71579
71666
|
var deserializeAws_ec2TransitGatewayVpcAttachment = function (output, context) {
|
|
71580
71667
|
var contents = {
|
|
71581
71668
|
TransitGatewayAttachmentId: undefined,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { CreateTransitGatewayConnectPeerRequest } from "../models/
|
|
5
|
-
import { CreateTransitGatewayConnectPeerResult } from "../models/models_2";
|
|
4
|
+
import { CreateTransitGatewayConnectPeerRequest, CreateTransitGatewayConnectPeerResult } from "../models/models_2";
|
|
6
5
|
export interface CreateTransitGatewayConnectPeerCommandInput extends CreateTransitGatewayConnectPeerRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface CreateTransitGatewayConnectPeerCommandOutput extends CreateTransitGatewayConnectPeerResult, __MetadataBearer {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { GetHostReservationPurchasePreviewRequest
|
|
4
|
+
import { GetHostReservationPurchasePreviewRequest } from "../models/models_4";
|
|
5
|
+
import { GetHostReservationPurchasePreviewResult } from "../models/models_5";
|
|
5
6
|
export interface GetHostReservationPurchasePreviewCommandInput extends GetHostReservationPurchasePreviewRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface GetHostReservationPurchasePreviewCommandOutput extends GetHostReservationPurchasePreviewResult, __MetadataBearer {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { GetInstanceTypesFromInstanceRequirementsRequest } from "../models/
|
|
5
|
-
import { GetInstanceTypesFromInstanceRequirementsResult } from "../models/models_5";
|
|
4
|
+
import { GetInstanceTypesFromInstanceRequirementsRequest, GetInstanceTypesFromInstanceRequirementsResult } from "../models/models_5";
|
|
6
5
|
export interface GetInstanceTypesFromInstanceRequirementsCommandInput extends GetInstanceTypesFromInstanceRequirementsRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface GetInstanceTypesFromInstanceRequirementsCommandOutput extends GetInstanceTypesFromInstanceRequirementsResult, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ResetImageAttributeRequest } from "../models/
|
|
4
|
+
import { ResetImageAttributeRequest } from "../models/models_6";
|
|
5
5
|
export interface ResetImageAttributeCommandInput extends ResetImageAttributeRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ResetImageAttributeCommandOutput extends __MetadataBearer {
|