@aws-sdk/client-ec2 3.99.0 → 3.107.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 +33 -0
- package/dist-cjs/EC2Client.js +2 -0
- package/dist-cjs/protocols/Aws_ec2.js +589 -547
- package/dist-es/EC2Client.js +2 -0
- package/dist-es/protocols/Aws_ec2.js +589 -547
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/package.json +5 -4
|
@@ -50452,7 +50452,7 @@ var deserializeAws_ec2AcceptVpcEndpointConnectionsResult = function (output, con
|
|
|
50452
50452
|
if (output.unsuccessful === "") {
|
|
50453
50453
|
contents.Unsuccessful = [];
|
|
50454
50454
|
}
|
|
50455
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
50455
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
50456
50456
|
contents.Unsuccessful = deserializeAws_ec2UnsuccessfulItemSet(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
50457
50457
|
}
|
|
50458
50458
|
return contents;
|
|
@@ -50485,7 +50485,7 @@ var deserializeAws_ec2AccessScopeAnalysisFinding = function (output, context) {
|
|
|
50485
50485
|
if (output.findingComponentSet === "") {
|
|
50486
50486
|
contents.FindingComponents = [];
|
|
50487
50487
|
}
|
|
50488
|
-
if (output["findingComponentSet"] !== undefined && output["findingComponentSet"]["item"] !== undefined) {
|
|
50488
|
+
else if (output["findingComponentSet"] !== undefined && output["findingComponentSet"]["item"] !== undefined) {
|
|
50489
50489
|
contents.FindingComponents = deserializeAws_ec2PathComponentList(__getArrayIfSingleItem(output["findingComponentSet"]["item"]), context);
|
|
50490
50490
|
}
|
|
50491
50491
|
return contents;
|
|
@@ -50515,7 +50515,7 @@ var deserializeAws_ec2AccessScopePath = function (output, context) {
|
|
|
50515
50515
|
if (output.throughResourceSet === "") {
|
|
50516
50516
|
contents.ThroughResources = [];
|
|
50517
50517
|
}
|
|
50518
|
-
if (output["throughResourceSet"] !== undefined && output["throughResourceSet"]["item"] !== undefined) {
|
|
50518
|
+
else if (output["throughResourceSet"] !== undefined && output["throughResourceSet"]["item"] !== undefined) {
|
|
50519
50519
|
contents.ThroughResources = deserializeAws_ec2ThroughResourcesStatementList(__getArrayIfSingleItem(output["throughResourceSet"]["item"]), context);
|
|
50520
50520
|
}
|
|
50521
50521
|
return contents;
|
|
@@ -50541,7 +50541,7 @@ var deserializeAws_ec2AccountAttribute = function (output, context) {
|
|
|
50541
50541
|
if (output.attributeValueSet === "") {
|
|
50542
50542
|
contents.AttributeValues = [];
|
|
50543
50543
|
}
|
|
50544
|
-
if (output["attributeValueSet"] !== undefined && output["attributeValueSet"]["item"] !== undefined) {
|
|
50544
|
+
else if (output["attributeValueSet"] !== undefined && output["attributeValueSet"]["item"] !== undefined) {
|
|
50545
50545
|
contents.AttributeValues = deserializeAws_ec2AccountAttributeValueList(__getArrayIfSingleItem(output["attributeValueSet"]["item"]), context);
|
|
50546
50546
|
}
|
|
50547
50547
|
return contents;
|
|
@@ -50673,7 +50673,7 @@ var deserializeAws_ec2Address = function (output, context) {
|
|
|
50673
50673
|
if (output.tagSet === "") {
|
|
50674
50674
|
contents.Tags = [];
|
|
50675
50675
|
}
|
|
50676
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
50676
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
50677
50677
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
50678
50678
|
}
|
|
50679
50679
|
if (output["publicIpv4Pool"] !== undefined) {
|
|
@@ -50787,7 +50787,7 @@ var deserializeAws_ec2AllocateHostsResult = function (output, context) {
|
|
|
50787
50787
|
if (output.hostIdSet === "") {
|
|
50788
50788
|
contents.HostIds = [];
|
|
50789
50789
|
}
|
|
50790
|
-
if (output["hostIdSet"] !== undefined && output["hostIdSet"]["item"] !== undefined) {
|
|
50790
|
+
else if (output["hostIdSet"] !== undefined && output["hostIdSet"]["item"] !== undefined) {
|
|
50791
50791
|
contents.HostIds = deserializeAws_ec2ResponseHostIdList(__getArrayIfSingleItem(output["hostIdSet"]["item"]), context);
|
|
50792
50792
|
}
|
|
50793
50793
|
return contents;
|
|
@@ -50948,13 +50948,14 @@ var deserializeAws_ec2AnalysisPacketHeader = function (output, context) {
|
|
|
50948
50948
|
if (output.destinationAddressSet === "") {
|
|
50949
50949
|
contents.DestinationAddresses = [];
|
|
50950
50950
|
}
|
|
50951
|
-
if (output["destinationAddressSet"] !== undefined && output["destinationAddressSet"]["item"] !== undefined) {
|
|
50951
|
+
else if (output["destinationAddressSet"] !== undefined && output["destinationAddressSet"]["item"] !== undefined) {
|
|
50952
50952
|
contents.DestinationAddresses = deserializeAws_ec2IpAddressList(__getArrayIfSingleItem(output["destinationAddressSet"]["item"]), context);
|
|
50953
50953
|
}
|
|
50954
50954
|
if (output.destinationPortRangeSet === "") {
|
|
50955
50955
|
contents.DestinationPortRanges = [];
|
|
50956
50956
|
}
|
|
50957
|
-
if (output["destinationPortRangeSet"] !== undefined &&
|
|
50957
|
+
else if (output["destinationPortRangeSet"] !== undefined &&
|
|
50958
|
+
output["destinationPortRangeSet"]["item"] !== undefined) {
|
|
50958
50959
|
contents.DestinationPortRanges = deserializeAws_ec2PortRangeList(__getArrayIfSingleItem(output["destinationPortRangeSet"]["item"]), context);
|
|
50959
50960
|
}
|
|
50960
50961
|
if (output["protocol"] !== undefined) {
|
|
@@ -50963,13 +50964,13 @@ var deserializeAws_ec2AnalysisPacketHeader = function (output, context) {
|
|
|
50963
50964
|
if (output.sourceAddressSet === "") {
|
|
50964
50965
|
contents.SourceAddresses = [];
|
|
50965
50966
|
}
|
|
50966
|
-
if (output["sourceAddressSet"] !== undefined && output["sourceAddressSet"]["item"] !== undefined) {
|
|
50967
|
+
else if (output["sourceAddressSet"] !== undefined && output["sourceAddressSet"]["item"] !== undefined) {
|
|
50967
50968
|
contents.SourceAddresses = deserializeAws_ec2IpAddressList(__getArrayIfSingleItem(output["sourceAddressSet"]["item"]), context);
|
|
50968
50969
|
}
|
|
50969
50970
|
if (output.sourcePortRangeSet === "") {
|
|
50970
50971
|
contents.SourcePortRanges = [];
|
|
50971
50972
|
}
|
|
50972
|
-
if (output["sourcePortRangeSet"] !== undefined && output["sourcePortRangeSet"]["item"] !== undefined) {
|
|
50973
|
+
else if (output["sourcePortRangeSet"] !== undefined && output["sourcePortRangeSet"]["item"] !== undefined) {
|
|
50973
50974
|
contents.SourcePortRanges = deserializeAws_ec2PortRangeList(__getArrayIfSingleItem(output["sourcePortRangeSet"]["item"]), context);
|
|
50974
50975
|
}
|
|
50975
50976
|
return contents;
|
|
@@ -51055,7 +51056,7 @@ var deserializeAws_ec2ApplySecurityGroupsToClientVpnTargetNetworkResult = functi
|
|
|
51055
51056
|
if (output.securityGroupIds === "") {
|
|
51056
51057
|
contents.SecurityGroupIds = [];
|
|
51057
51058
|
}
|
|
51058
|
-
if (output["securityGroupIds"] !== undefined && output["securityGroupIds"]["item"] !== undefined) {
|
|
51059
|
+
else if (output["securityGroupIds"] !== undefined && output["securityGroupIds"]["item"] !== undefined) {
|
|
51059
51060
|
contents.SecurityGroupIds = deserializeAws_ec2ClientVpnSecurityGroupIdSet(__getArrayIfSingleItem(output["securityGroupIds"]["item"]), context);
|
|
51060
51061
|
}
|
|
51061
51062
|
return contents;
|
|
@@ -51108,13 +51109,13 @@ var deserializeAws_ec2AssignIpv6AddressesResult = function (output, context) {
|
|
|
51108
51109
|
if (output.assignedIpv6Addresses === "") {
|
|
51109
51110
|
contents.AssignedIpv6Addresses = [];
|
|
51110
51111
|
}
|
|
51111
|
-
if (output["assignedIpv6Addresses"] !== undefined && output["assignedIpv6Addresses"]["item"] !== undefined) {
|
|
51112
|
+
else if (output["assignedIpv6Addresses"] !== undefined && output["assignedIpv6Addresses"]["item"] !== undefined) {
|
|
51112
51113
|
contents.AssignedIpv6Addresses = deserializeAws_ec2Ipv6AddressList(__getArrayIfSingleItem(output["assignedIpv6Addresses"]["item"]), context);
|
|
51113
51114
|
}
|
|
51114
51115
|
if (output.assignedIpv6PrefixSet === "") {
|
|
51115
51116
|
contents.AssignedIpv6Prefixes = [];
|
|
51116
51117
|
}
|
|
51117
|
-
if (output["assignedIpv6PrefixSet"] !== undefined && output["assignedIpv6PrefixSet"]["item"] !== undefined) {
|
|
51118
|
+
else if (output["assignedIpv6PrefixSet"] !== undefined && output["assignedIpv6PrefixSet"]["item"] !== undefined) {
|
|
51118
51119
|
contents.AssignedIpv6Prefixes = deserializeAws_ec2IpPrefixList(__getArrayIfSingleItem(output["assignedIpv6PrefixSet"]["item"]), context);
|
|
51119
51120
|
}
|
|
51120
51121
|
if (output["networkInterfaceId"] !== undefined) {
|
|
@@ -51134,14 +51135,14 @@ var deserializeAws_ec2AssignPrivateIpAddressesResult = function (output, context
|
|
|
51134
51135
|
if (output.assignedPrivateIpAddressesSet === "") {
|
|
51135
51136
|
contents.AssignedPrivateIpAddresses = [];
|
|
51136
51137
|
}
|
|
51137
|
-
if (output["assignedPrivateIpAddressesSet"] !== undefined &&
|
|
51138
|
+
else if (output["assignedPrivateIpAddressesSet"] !== undefined &&
|
|
51138
51139
|
output["assignedPrivateIpAddressesSet"]["item"] !== undefined) {
|
|
51139
51140
|
contents.AssignedPrivateIpAddresses = deserializeAws_ec2AssignedPrivateIpAddressList(__getArrayIfSingleItem(output["assignedPrivateIpAddressesSet"]["item"]), context);
|
|
51140
51141
|
}
|
|
51141
51142
|
if (output.assignedIpv4PrefixSet === "") {
|
|
51142
51143
|
contents.AssignedIpv4Prefixes = [];
|
|
51143
51144
|
}
|
|
51144
|
-
if (output["assignedIpv4PrefixSet"] !== undefined && output["assignedIpv4PrefixSet"]["item"] !== undefined) {
|
|
51145
|
+
else if (output["assignedIpv4PrefixSet"] !== undefined && output["assignedIpv4PrefixSet"]["item"] !== undefined) {
|
|
51145
51146
|
contents.AssignedIpv4Prefixes = deserializeAws_ec2Ipv4PrefixesList(__getArrayIfSingleItem(output["assignedIpv4PrefixSet"]["item"]), context);
|
|
51146
51147
|
}
|
|
51147
51148
|
return contents;
|
|
@@ -51452,7 +51453,7 @@ var deserializeAws_ec2AuthorizeSecurityGroupEgressResult = function (output, con
|
|
|
51452
51453
|
if (output.securityGroupRuleSet === "") {
|
|
51453
51454
|
contents.SecurityGroupRules = [];
|
|
51454
51455
|
}
|
|
51455
|
-
if (output["securityGroupRuleSet"] !== undefined && output["securityGroupRuleSet"]["item"] !== undefined) {
|
|
51456
|
+
else if (output["securityGroupRuleSet"] !== undefined && output["securityGroupRuleSet"]["item"] !== undefined) {
|
|
51456
51457
|
contents.SecurityGroupRules = deserializeAws_ec2SecurityGroupRuleList(__getArrayIfSingleItem(output["securityGroupRuleSet"]["item"]), context);
|
|
51457
51458
|
}
|
|
51458
51459
|
return contents;
|
|
@@ -51468,7 +51469,7 @@ var deserializeAws_ec2AuthorizeSecurityGroupIngressResult = function (output, co
|
|
|
51468
51469
|
if (output.securityGroupRuleSet === "") {
|
|
51469
51470
|
contents.SecurityGroupRules = [];
|
|
51470
51471
|
}
|
|
51471
|
-
if (output["securityGroupRuleSet"] !== undefined && output["securityGroupRuleSet"]["item"] !== undefined) {
|
|
51472
|
+
else if (output["securityGroupRuleSet"] !== undefined && output["securityGroupRuleSet"]["item"] !== undefined) {
|
|
51472
51473
|
contents.SecurityGroupRules = deserializeAws_ec2SecurityGroupRuleList(__getArrayIfSingleItem(output["securityGroupRuleSet"]["item"]), context);
|
|
51473
51474
|
}
|
|
51474
51475
|
return contents;
|
|
@@ -51496,7 +51497,7 @@ var deserializeAws_ec2AvailabilityZone = function (output, context) {
|
|
|
51496
51497
|
if (output.messageSet === "") {
|
|
51497
51498
|
contents.Messages = [];
|
|
51498
51499
|
}
|
|
51499
|
-
if (output["messageSet"] !== undefined && output["messageSet"]["item"] !== undefined) {
|
|
51500
|
+
else if (output["messageSet"] !== undefined && output["messageSet"]["item"] !== undefined) {
|
|
51500
51501
|
contents.Messages = deserializeAws_ec2AvailabilityZoneMessageList(__getArrayIfSingleItem(output["messageSet"]["item"]), context);
|
|
51501
51502
|
}
|
|
51502
51503
|
if (output["regionName"] !== undefined) {
|
|
@@ -51562,7 +51563,8 @@ var deserializeAws_ec2AvailableCapacity = function (output, context) {
|
|
|
51562
51563
|
if (output.availableInstanceCapacity === "") {
|
|
51563
51564
|
contents.AvailableInstanceCapacity = [];
|
|
51564
51565
|
}
|
|
51565
|
-
if (output["availableInstanceCapacity"] !== undefined &&
|
|
51566
|
+
else if (output["availableInstanceCapacity"] !== undefined &&
|
|
51567
|
+
output["availableInstanceCapacity"]["item"] !== undefined) {
|
|
51566
51568
|
contents.AvailableInstanceCapacity = deserializeAws_ec2AvailableInstanceCapacityList(__getArrayIfSingleItem(output["availableInstanceCapacity"]["item"]), context);
|
|
51567
51569
|
}
|
|
51568
51570
|
if (output["availableVCpus"] !== undefined) {
|
|
@@ -51764,14 +51766,14 @@ var deserializeAws_ec2CancelCapacityReservationFleetsResult = function (output,
|
|
|
51764
51766
|
if (output.successfulFleetCancellationSet === "") {
|
|
51765
51767
|
contents.SuccessfulFleetCancellations = [];
|
|
51766
51768
|
}
|
|
51767
|
-
if (output["successfulFleetCancellationSet"] !== undefined &&
|
|
51769
|
+
else if (output["successfulFleetCancellationSet"] !== undefined &&
|
|
51768
51770
|
output["successfulFleetCancellationSet"]["item"] !== undefined) {
|
|
51769
51771
|
contents.SuccessfulFleetCancellations = deserializeAws_ec2CapacityReservationFleetCancellationStateSet(__getArrayIfSingleItem(output["successfulFleetCancellationSet"]["item"]), context);
|
|
51770
51772
|
}
|
|
51771
51773
|
if (output.failedFleetCancellationSet === "") {
|
|
51772
51774
|
contents.FailedFleetCancellations = [];
|
|
51773
51775
|
}
|
|
51774
|
-
if (output["failedFleetCancellationSet"] !== undefined &&
|
|
51776
|
+
else if (output["failedFleetCancellationSet"] !== undefined &&
|
|
51775
51777
|
output["failedFleetCancellationSet"]["item"] !== undefined) {
|
|
51776
51778
|
contents.FailedFleetCancellations = deserializeAws_ec2FailedCapacityReservationFleetCancellationResultSet(__getArrayIfSingleItem(output["failedFleetCancellationSet"]["item"]), context);
|
|
51777
51779
|
}
|
|
@@ -51833,7 +51835,7 @@ var deserializeAws_ec2CancelReservedInstancesListingResult = function (output, c
|
|
|
51833
51835
|
if (output.reservedInstancesListingsSet === "") {
|
|
51834
51836
|
contents.ReservedInstancesListings = [];
|
|
51835
51837
|
}
|
|
51836
|
-
if (output["reservedInstancesListingsSet"] !== undefined &&
|
|
51838
|
+
else if (output["reservedInstancesListingsSet"] !== undefined &&
|
|
51837
51839
|
output["reservedInstancesListingsSet"]["item"] !== undefined) {
|
|
51838
51840
|
contents.ReservedInstancesListings = deserializeAws_ec2ReservedInstancesListingList(__getArrayIfSingleItem(output["reservedInstancesListingsSet"]["item"]), context);
|
|
51839
51841
|
}
|
|
@@ -51883,13 +51885,14 @@ var deserializeAws_ec2CancelSpotFleetRequestsResponse = function (output, contex
|
|
|
51883
51885
|
if (output.successfulFleetRequestSet === "") {
|
|
51884
51886
|
contents.SuccessfulFleetRequests = [];
|
|
51885
51887
|
}
|
|
51886
|
-
if (output["successfulFleetRequestSet"] !== undefined &&
|
|
51888
|
+
else if (output["successfulFleetRequestSet"] !== undefined &&
|
|
51889
|
+
output["successfulFleetRequestSet"]["item"] !== undefined) {
|
|
51887
51890
|
contents.SuccessfulFleetRequests = deserializeAws_ec2CancelSpotFleetRequestsSuccessSet(__getArrayIfSingleItem(output["successfulFleetRequestSet"]["item"]), context);
|
|
51888
51891
|
}
|
|
51889
51892
|
if (output.unsuccessfulFleetRequestSet === "") {
|
|
51890
51893
|
contents.UnsuccessfulFleetRequests = [];
|
|
51891
51894
|
}
|
|
51892
|
-
if (output["unsuccessfulFleetRequestSet"] !== undefined &&
|
|
51895
|
+
else if (output["unsuccessfulFleetRequestSet"] !== undefined &&
|
|
51893
51896
|
output["unsuccessfulFleetRequestSet"]["item"] !== undefined) {
|
|
51894
51897
|
contents.UnsuccessfulFleetRequests = deserializeAws_ec2CancelSpotFleetRequestsErrorSet(__getArrayIfSingleItem(output["unsuccessfulFleetRequestSet"]["item"]), context);
|
|
51895
51898
|
}
|
|
@@ -51929,7 +51932,7 @@ var deserializeAws_ec2CancelSpotInstanceRequestsResult = function (output, conte
|
|
|
51929
51932
|
if (output.spotInstanceRequestSet === "") {
|
|
51930
51933
|
contents.CancelledSpotInstanceRequests = [];
|
|
51931
51934
|
}
|
|
51932
|
-
if (output["spotInstanceRequestSet"] !== undefined && output["spotInstanceRequestSet"]["item"] !== undefined) {
|
|
51935
|
+
else if (output["spotInstanceRequestSet"] !== undefined && output["spotInstanceRequestSet"]["item"] !== undefined) {
|
|
51933
51936
|
contents.CancelledSpotInstanceRequests = deserializeAws_ec2CancelledSpotInstanceRequestList(__getArrayIfSingleItem(output["spotInstanceRequestSet"]["item"]), context);
|
|
51934
51937
|
}
|
|
51935
51938
|
return contents;
|
|
@@ -52016,7 +52019,7 @@ var deserializeAws_ec2CapacityReservation = function (output, context) {
|
|
|
52016
52019
|
if (output.tagSet === "") {
|
|
52017
52020
|
contents.Tags = [];
|
|
52018
52021
|
}
|
|
52019
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52022
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52020
52023
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
52021
52024
|
}
|
|
52022
52025
|
if (output["outpostArn"] !== undefined) {
|
|
@@ -52078,14 +52081,14 @@ var deserializeAws_ec2CapacityReservationFleet = function (output, context) {
|
|
|
52078
52081
|
if (output.instanceTypeSpecificationSet === "") {
|
|
52079
52082
|
contents.InstanceTypeSpecifications = [];
|
|
52080
52083
|
}
|
|
52081
|
-
if (output["instanceTypeSpecificationSet"] !== undefined &&
|
|
52084
|
+
else if (output["instanceTypeSpecificationSet"] !== undefined &&
|
|
52082
52085
|
output["instanceTypeSpecificationSet"]["item"] !== undefined) {
|
|
52083
52086
|
contents.InstanceTypeSpecifications = deserializeAws_ec2FleetCapacityReservationSet(__getArrayIfSingleItem(output["instanceTypeSpecificationSet"]["item"]), context);
|
|
52084
52087
|
}
|
|
52085
52088
|
if (output.tagSet === "") {
|
|
52086
52089
|
contents.Tags = [];
|
|
52087
52090
|
}
|
|
52088
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52091
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52089
52092
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
52090
52093
|
}
|
|
52091
52094
|
return contents;
|
|
@@ -52218,7 +52221,7 @@ var deserializeAws_ec2CarrierGateway = function (output, context) {
|
|
|
52218
52221
|
if (output.tagSet === "") {
|
|
52219
52222
|
contents.Tags = [];
|
|
52220
52223
|
}
|
|
52221
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52224
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52222
52225
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
52223
52226
|
}
|
|
52224
52227
|
return contents;
|
|
@@ -52294,7 +52297,7 @@ var deserializeAws_ec2ClassicLinkInstance = function (output, context) {
|
|
|
52294
52297
|
if (output.groupSet === "") {
|
|
52295
52298
|
contents.Groups = [];
|
|
52296
52299
|
}
|
|
52297
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
52300
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
52298
52301
|
contents.Groups = deserializeAws_ec2GroupIdentifierList(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
52299
52302
|
}
|
|
52300
52303
|
if (output["instanceId"] !== undefined) {
|
|
@@ -52303,7 +52306,7 @@ var deserializeAws_ec2ClassicLinkInstance = function (output, context) {
|
|
|
52303
52306
|
if (output.tagSet === "") {
|
|
52304
52307
|
contents.Tags = [];
|
|
52305
52308
|
}
|
|
52306
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52309
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52307
52310
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
52308
52311
|
}
|
|
52309
52312
|
if (output["vpcId"] !== undefined) {
|
|
@@ -52347,7 +52350,7 @@ var deserializeAws_ec2ClassicLoadBalancersConfig = function (output, context) {
|
|
|
52347
52350
|
if (output.classicLoadBalancers === "") {
|
|
52348
52351
|
contents.ClassicLoadBalancers = [];
|
|
52349
52352
|
}
|
|
52350
|
-
if (output["classicLoadBalancers"] !== undefined && output["classicLoadBalancers"]["item"] !== undefined) {
|
|
52353
|
+
else if (output["classicLoadBalancers"] !== undefined && output["classicLoadBalancers"]["item"] !== undefined) {
|
|
52351
52354
|
contents.ClassicLoadBalancers = deserializeAws_ec2ClassicLoadBalancers(__getArrayIfSingleItem(output["classicLoadBalancers"]["item"]), context);
|
|
52352
52355
|
}
|
|
52353
52356
|
return contents;
|
|
@@ -52498,7 +52501,7 @@ var deserializeAws_ec2ClientVpnConnection = function (output, context) {
|
|
|
52498
52501
|
if (output.postureComplianceStatusSet === "") {
|
|
52499
52502
|
contents.PostureComplianceStatuses = [];
|
|
52500
52503
|
}
|
|
52501
|
-
if (output["postureComplianceStatusSet"] !== undefined &&
|
|
52504
|
+
else if (output["postureComplianceStatusSet"] !== undefined &&
|
|
52502
52505
|
output["postureComplianceStatusSet"]["item"] !== undefined) {
|
|
52503
52506
|
contents.PostureComplianceStatuses = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["postureComplianceStatusSet"]["item"]), context);
|
|
52504
52507
|
}
|
|
@@ -52577,7 +52580,7 @@ var deserializeAws_ec2ClientVpnEndpoint = function (output, context) {
|
|
|
52577
52580
|
if (output.dnsServer === "") {
|
|
52578
52581
|
contents.DnsServers = [];
|
|
52579
52582
|
}
|
|
52580
|
-
if (output["dnsServer"] !== undefined && output["dnsServer"]["item"] !== undefined) {
|
|
52583
|
+
else if (output["dnsServer"] !== undefined && output["dnsServer"]["item"] !== undefined) {
|
|
52581
52584
|
contents.DnsServers = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["dnsServer"]["item"]), context);
|
|
52582
52585
|
}
|
|
52583
52586
|
if (output["splitTunnel"] !== undefined) {
|
|
@@ -52595,7 +52598,8 @@ var deserializeAws_ec2ClientVpnEndpoint = function (output, context) {
|
|
|
52595
52598
|
if (output.associatedTargetNetwork === "") {
|
|
52596
52599
|
contents.AssociatedTargetNetworks = [];
|
|
52597
52600
|
}
|
|
52598
|
-
if (output["associatedTargetNetwork"] !== undefined &&
|
|
52601
|
+
else if (output["associatedTargetNetwork"] !== undefined &&
|
|
52602
|
+
output["associatedTargetNetwork"]["item"] !== undefined) {
|
|
52599
52603
|
contents.AssociatedTargetNetworks = deserializeAws_ec2AssociatedTargetNetworkSet(__getArrayIfSingleItem(output["associatedTargetNetwork"]["item"]), context);
|
|
52600
52604
|
}
|
|
52601
52605
|
if (output["serverCertificateArn"] !== undefined) {
|
|
@@ -52604,7 +52608,7 @@ var deserializeAws_ec2ClientVpnEndpoint = function (output, context) {
|
|
|
52604
52608
|
if (output.authenticationOptions === "") {
|
|
52605
52609
|
contents.AuthenticationOptions = [];
|
|
52606
52610
|
}
|
|
52607
|
-
if (output["authenticationOptions"] !== undefined && output["authenticationOptions"]["item"] !== undefined) {
|
|
52611
|
+
else if (output["authenticationOptions"] !== undefined && output["authenticationOptions"]["item"] !== undefined) {
|
|
52608
52612
|
contents.AuthenticationOptions = deserializeAws_ec2ClientVpnAuthenticationList(__getArrayIfSingleItem(output["authenticationOptions"]["item"]), context);
|
|
52609
52613
|
}
|
|
52610
52614
|
if (output["connectionLogOptions"] !== undefined) {
|
|
@@ -52613,13 +52617,13 @@ var deserializeAws_ec2ClientVpnEndpoint = function (output, context) {
|
|
|
52613
52617
|
if (output.tagSet === "") {
|
|
52614
52618
|
contents.Tags = [];
|
|
52615
52619
|
}
|
|
52616
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52620
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52617
52621
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
52618
52622
|
}
|
|
52619
52623
|
if (output.securityGroupIdSet === "") {
|
|
52620
52624
|
contents.SecurityGroupIds = [];
|
|
52621
52625
|
}
|
|
52622
|
-
if (output["securityGroupIdSet"] !== undefined && output["securityGroupIdSet"]["item"] !== undefined) {
|
|
52626
|
+
else if (output["securityGroupIdSet"] !== undefined && output["securityGroupIdSet"]["item"] !== undefined) {
|
|
52623
52627
|
contents.SecurityGroupIds = deserializeAws_ec2ClientVpnSecurityGroupIdSet(__getArrayIfSingleItem(output["securityGroupIdSet"]["item"]), context);
|
|
52624
52628
|
}
|
|
52625
52629
|
if (output["vpcId"] !== undefined) {
|
|
@@ -52776,7 +52780,7 @@ var deserializeAws_ec2CoipPool = function (output, context) {
|
|
|
52776
52780
|
if (output.poolCidrSet === "") {
|
|
52777
52781
|
contents.PoolCidrs = [];
|
|
52778
52782
|
}
|
|
52779
|
-
if (output["poolCidrSet"] !== undefined && output["poolCidrSet"]["item"] !== undefined) {
|
|
52783
|
+
else if (output["poolCidrSet"] !== undefined && output["poolCidrSet"]["item"] !== undefined) {
|
|
52780
52784
|
contents.PoolCidrs = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["poolCidrSet"]["item"]), context);
|
|
52781
52785
|
}
|
|
52782
52786
|
if (output["localGatewayRouteTableId"] !== undefined) {
|
|
@@ -52785,7 +52789,7 @@ var deserializeAws_ec2CoipPool = function (output, context) {
|
|
|
52785
52789
|
if (output.tagSet === "") {
|
|
52786
52790
|
contents.Tags = [];
|
|
52787
52791
|
}
|
|
52788
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52792
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52789
52793
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
52790
52794
|
}
|
|
52791
52795
|
if (output["poolArn"] !== undefined) {
|
|
@@ -52861,7 +52865,7 @@ var deserializeAws_ec2ConnectionNotification = function (output, context) {
|
|
|
52861
52865
|
if (output.connectionEvents === "") {
|
|
52862
52866
|
contents.ConnectionEvents = [];
|
|
52863
52867
|
}
|
|
52864
|
-
if (output["connectionEvents"] !== undefined && output["connectionEvents"]["item"] !== undefined) {
|
|
52868
|
+
else if (output["connectionEvents"] !== undefined && output["connectionEvents"]["item"] !== undefined) {
|
|
52865
52869
|
contents.ConnectionEvents = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["connectionEvents"]["item"]), context);
|
|
52866
52870
|
}
|
|
52867
52871
|
if (output["connectionNotificationState"] !== undefined) {
|
|
@@ -52910,7 +52914,7 @@ var deserializeAws_ec2ConversionTask = function (output, context) {
|
|
|
52910
52914
|
if (output.tagSet === "") {
|
|
52911
52915
|
contents.Tags = [];
|
|
52912
52916
|
}
|
|
52913
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52917
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52914
52918
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
52915
52919
|
}
|
|
52916
52920
|
return contents;
|
|
@@ -52944,7 +52948,7 @@ var deserializeAws_ec2CopySnapshotResult = function (output, context) {
|
|
|
52944
52948
|
if (output.tagSet === "") {
|
|
52945
52949
|
contents.Tags = [];
|
|
52946
52950
|
}
|
|
52947
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52951
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
52948
52952
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
52949
52953
|
}
|
|
52950
52954
|
return contents;
|
|
@@ -53026,14 +53030,14 @@ var deserializeAws_ec2CreateCapacityReservationFleetResult = function (output, c
|
|
|
53026
53030
|
if (output.fleetCapacityReservationSet === "") {
|
|
53027
53031
|
contents.FleetCapacityReservations = [];
|
|
53028
53032
|
}
|
|
53029
|
-
if (output["fleetCapacityReservationSet"] !== undefined &&
|
|
53033
|
+
else if (output["fleetCapacityReservationSet"] !== undefined &&
|
|
53030
53034
|
output["fleetCapacityReservationSet"]["item"] !== undefined) {
|
|
53031
53035
|
contents.FleetCapacityReservations = deserializeAws_ec2FleetCapacityReservationSet(__getArrayIfSingleItem(output["fleetCapacityReservationSet"]["item"]), context);
|
|
53032
53036
|
}
|
|
53033
53037
|
if (output.tagSet === "") {
|
|
53034
53038
|
contents.Tags = [];
|
|
53035
53039
|
}
|
|
53036
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
53040
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
53037
53041
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
53038
53042
|
}
|
|
53039
53043
|
return contents;
|
|
@@ -53179,7 +53183,7 @@ var deserializeAws_ec2CreateFleetInstance = function (output, context) {
|
|
|
53179
53183
|
if (output.instanceIds === "") {
|
|
53180
53184
|
contents.InstanceIds = [];
|
|
53181
53185
|
}
|
|
53182
|
-
if (output["instanceIds"] !== undefined && output["instanceIds"]["item"] !== undefined) {
|
|
53186
|
+
else if (output["instanceIds"] !== undefined && output["instanceIds"]["item"] !== undefined) {
|
|
53183
53187
|
contents.InstanceIds = deserializeAws_ec2InstanceIdsSet(__getArrayIfSingleItem(output["instanceIds"]["item"]), context);
|
|
53184
53188
|
}
|
|
53185
53189
|
if (output["instanceType"] !== undefined) {
|
|
@@ -53212,13 +53216,13 @@ var deserializeAws_ec2CreateFleetResult = function (output, context) {
|
|
|
53212
53216
|
if (output.errorSet === "") {
|
|
53213
53217
|
contents.Errors = [];
|
|
53214
53218
|
}
|
|
53215
|
-
if (output["errorSet"] !== undefined && output["errorSet"]["item"] !== undefined) {
|
|
53219
|
+
else if (output["errorSet"] !== undefined && output["errorSet"]["item"] !== undefined) {
|
|
53216
53220
|
contents.Errors = deserializeAws_ec2CreateFleetErrorsSet(__getArrayIfSingleItem(output["errorSet"]["item"]), context);
|
|
53217
53221
|
}
|
|
53218
53222
|
if (output.fleetInstanceSet === "") {
|
|
53219
53223
|
contents.Instances = [];
|
|
53220
53224
|
}
|
|
53221
|
-
if (output["fleetInstanceSet"] !== undefined && output["fleetInstanceSet"]["item"] !== undefined) {
|
|
53225
|
+
else if (output["fleetInstanceSet"] !== undefined && output["fleetInstanceSet"]["item"] !== undefined) {
|
|
53222
53226
|
contents.Instances = deserializeAws_ec2CreateFleetInstancesSet(__getArrayIfSingleItem(output["fleetInstanceSet"]["item"]), context);
|
|
53223
53227
|
}
|
|
53224
53228
|
return contents;
|
|
@@ -53235,13 +53239,13 @@ var deserializeAws_ec2CreateFlowLogsResult = function (output, context) {
|
|
|
53235
53239
|
if (output.flowLogIdSet === "") {
|
|
53236
53240
|
contents.FlowLogIds = [];
|
|
53237
53241
|
}
|
|
53238
|
-
if (output["flowLogIdSet"] !== undefined && output["flowLogIdSet"]["item"] !== undefined) {
|
|
53242
|
+
else if (output["flowLogIdSet"] !== undefined && output["flowLogIdSet"]["item"] !== undefined) {
|
|
53239
53243
|
contents.FlowLogIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["flowLogIdSet"]["item"]), context);
|
|
53240
53244
|
}
|
|
53241
53245
|
if (output.unsuccessful === "") {
|
|
53242
53246
|
contents.Unsuccessful = [];
|
|
53243
53247
|
}
|
|
53244
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
53248
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
53245
53249
|
contents.Unsuccessful = deserializeAws_ec2UnsuccessfulItemSet(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
53246
53250
|
}
|
|
53247
53251
|
return contents;
|
|
@@ -53475,7 +53479,7 @@ var deserializeAws_ec2CreateReservedInstancesListingResult = function (output, c
|
|
|
53475
53479
|
if (output.reservedInstancesListingsSet === "") {
|
|
53476
53480
|
contents.ReservedInstancesListings = [];
|
|
53477
53481
|
}
|
|
53478
|
-
if (output["reservedInstancesListingsSet"] !== undefined &&
|
|
53482
|
+
else if (output["reservedInstancesListingsSet"] !== undefined &&
|
|
53479
53483
|
output["reservedInstancesListingsSet"]["item"] !== undefined) {
|
|
53480
53484
|
contents.ReservedInstancesListings = deserializeAws_ec2ReservedInstancesListingList(__getArrayIfSingleItem(output["reservedInstancesListingsSet"]["item"]), context);
|
|
53481
53485
|
}
|
|
@@ -53519,7 +53523,7 @@ var deserializeAws_ec2CreateSecurityGroupResult = function (output, context) {
|
|
|
53519
53523
|
if (output.tagSet === "") {
|
|
53520
53524
|
contents.Tags = [];
|
|
53521
53525
|
}
|
|
53522
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
53526
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
53523
53527
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
53524
53528
|
}
|
|
53525
53529
|
return contents;
|
|
@@ -53531,7 +53535,7 @@ var deserializeAws_ec2CreateSnapshotsResult = function (output, context) {
|
|
|
53531
53535
|
if (output.snapshotSet === "") {
|
|
53532
53536
|
contents.Snapshots = [];
|
|
53533
53537
|
}
|
|
53534
|
-
if (output["snapshotSet"] !== undefined && output["snapshotSet"]["item"] !== undefined) {
|
|
53538
|
+
else if (output["snapshotSet"] !== undefined && output["snapshotSet"]["item"] !== undefined) {
|
|
53535
53539
|
contents.Snapshots = deserializeAws_ec2SnapshotSet(__getArrayIfSingleItem(output["snapshotSet"]["item"]), context);
|
|
53536
53540
|
}
|
|
53537
53541
|
return contents;
|
|
@@ -53847,7 +53851,7 @@ var deserializeAws_ec2CustomerGateway = function (output, context) {
|
|
|
53847
53851
|
if (output.tagSet === "") {
|
|
53848
53852
|
contents.Tags = [];
|
|
53849
53853
|
}
|
|
53850
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
53854
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
53851
53855
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
53852
53856
|
}
|
|
53853
53857
|
return contents;
|
|
@@ -53952,14 +53956,14 @@ var deserializeAws_ec2DeleteFleetsResult = function (output, context) {
|
|
|
53952
53956
|
if (output.successfulFleetDeletionSet === "") {
|
|
53953
53957
|
contents.SuccessfulFleetDeletions = [];
|
|
53954
53958
|
}
|
|
53955
|
-
if (output["successfulFleetDeletionSet"] !== undefined &&
|
|
53959
|
+
else if (output["successfulFleetDeletionSet"] !== undefined &&
|
|
53956
53960
|
output["successfulFleetDeletionSet"]["item"] !== undefined) {
|
|
53957
53961
|
contents.SuccessfulFleetDeletions = deserializeAws_ec2DeleteFleetSuccessSet(__getArrayIfSingleItem(output["successfulFleetDeletionSet"]["item"]), context);
|
|
53958
53962
|
}
|
|
53959
53963
|
if (output.unsuccessfulFleetDeletionSet === "") {
|
|
53960
53964
|
contents.UnsuccessfulFleetDeletions = [];
|
|
53961
53965
|
}
|
|
53962
|
-
if (output["unsuccessfulFleetDeletionSet"] !== undefined &&
|
|
53966
|
+
else if (output["unsuccessfulFleetDeletionSet"] !== undefined &&
|
|
53963
53967
|
output["unsuccessfulFleetDeletionSet"]["item"] !== undefined) {
|
|
53964
53968
|
contents.UnsuccessfulFleetDeletions = deserializeAws_ec2DeleteFleetErrorSet(__getArrayIfSingleItem(output["unsuccessfulFleetDeletionSet"]["item"]), context);
|
|
53965
53969
|
}
|
|
@@ -53999,7 +54003,7 @@ var deserializeAws_ec2DeleteFlowLogsResult = function (output, context) {
|
|
|
53999
54003
|
if (output.unsuccessful === "") {
|
|
54000
54004
|
contents.Unsuccessful = [];
|
|
54001
54005
|
}
|
|
54002
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
54006
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
54003
54007
|
contents.Unsuccessful = deserializeAws_ec2UnsuccessfulItemSet(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
54004
54008
|
}
|
|
54005
54009
|
return contents;
|
|
@@ -54124,7 +54128,7 @@ var deserializeAws_ec2DeleteLaunchTemplateVersionsResult = function (output, con
|
|
|
54124
54128
|
if (output.successfullyDeletedLaunchTemplateVersionSet === "") {
|
|
54125
54129
|
contents.SuccessfullyDeletedLaunchTemplateVersions = [];
|
|
54126
54130
|
}
|
|
54127
|
-
if (output["successfullyDeletedLaunchTemplateVersionSet"] !== undefined &&
|
|
54131
|
+
else if (output["successfullyDeletedLaunchTemplateVersionSet"] !== undefined &&
|
|
54128
54132
|
output["successfullyDeletedLaunchTemplateVersionSet"]["item"] !== undefined) {
|
|
54129
54133
|
contents.SuccessfullyDeletedLaunchTemplateVersions =
|
|
54130
54134
|
deserializeAws_ec2DeleteLaunchTemplateVersionsResponseSuccessSet(__getArrayIfSingleItem(output["successfullyDeletedLaunchTemplateVersionSet"]["item"]), context);
|
|
@@ -54132,7 +54136,7 @@ var deserializeAws_ec2DeleteLaunchTemplateVersionsResult = function (output, con
|
|
|
54132
54136
|
if (output.unsuccessfullyDeletedLaunchTemplateVersionSet === "") {
|
|
54133
54137
|
contents.UnsuccessfullyDeletedLaunchTemplateVersions = [];
|
|
54134
54138
|
}
|
|
54135
|
-
if (output["unsuccessfullyDeletedLaunchTemplateVersionSet"] !== undefined &&
|
|
54139
|
+
else if (output["unsuccessfullyDeletedLaunchTemplateVersionSet"] !== undefined &&
|
|
54136
54140
|
output["unsuccessfullyDeletedLaunchTemplateVersionSet"]["item"] !== undefined) {
|
|
54137
54141
|
contents.UnsuccessfullyDeletedLaunchTemplateVersions =
|
|
54138
54142
|
deserializeAws_ec2DeleteLaunchTemplateVersionsResponseErrorSet(__getArrayIfSingleItem(output["unsuccessfullyDeletedLaunchTemplateVersionSet"]["item"]), context);
|
|
@@ -54250,14 +54254,14 @@ var deserializeAws_ec2DeleteQueuedReservedInstancesResult = function (output, co
|
|
|
54250
54254
|
if (output.successfulQueuedPurchaseDeletionSet === "") {
|
|
54251
54255
|
contents.SuccessfulQueuedPurchaseDeletions = [];
|
|
54252
54256
|
}
|
|
54253
|
-
if (output["successfulQueuedPurchaseDeletionSet"] !== undefined &&
|
|
54257
|
+
else if (output["successfulQueuedPurchaseDeletionSet"] !== undefined &&
|
|
54254
54258
|
output["successfulQueuedPurchaseDeletionSet"]["item"] !== undefined) {
|
|
54255
54259
|
contents.SuccessfulQueuedPurchaseDeletions = deserializeAws_ec2SuccessfulQueuedPurchaseDeletionSet(__getArrayIfSingleItem(output["successfulQueuedPurchaseDeletionSet"]["item"]), context);
|
|
54256
54260
|
}
|
|
54257
54261
|
if (output.failedQueuedPurchaseDeletionSet === "") {
|
|
54258
54262
|
contents.FailedQueuedPurchaseDeletions = [];
|
|
54259
54263
|
}
|
|
54260
|
-
if (output["failedQueuedPurchaseDeletionSet"] !== undefined &&
|
|
54264
|
+
else if (output["failedQueuedPurchaseDeletionSet"] !== undefined &&
|
|
54261
54265
|
output["failedQueuedPurchaseDeletionSet"]["item"] !== undefined) {
|
|
54262
54266
|
contents.FailedQueuedPurchaseDeletions = deserializeAws_ec2FailedQueuedPurchaseDeletionSet(__getArrayIfSingleItem(output["failedQueuedPurchaseDeletionSet"]["item"]), context);
|
|
54263
54267
|
}
|
|
@@ -54396,7 +54400,7 @@ var deserializeAws_ec2DeleteVpcEndpointConnectionNotificationsResult = function
|
|
|
54396
54400
|
if (output.unsuccessful === "") {
|
|
54397
54401
|
contents.Unsuccessful = [];
|
|
54398
54402
|
}
|
|
54399
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
54403
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
54400
54404
|
contents.Unsuccessful = deserializeAws_ec2UnsuccessfulItemSet(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
54401
54405
|
}
|
|
54402
54406
|
return contents;
|
|
@@ -54408,7 +54412,7 @@ var deserializeAws_ec2DeleteVpcEndpointServiceConfigurationsResult = function (o
|
|
|
54408
54412
|
if (output.unsuccessful === "") {
|
|
54409
54413
|
contents.Unsuccessful = [];
|
|
54410
54414
|
}
|
|
54411
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
54415
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
54412
54416
|
contents.Unsuccessful = deserializeAws_ec2UnsuccessfulItemSet(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
54413
54417
|
}
|
|
54414
54418
|
return contents;
|
|
@@ -54420,7 +54424,7 @@ var deserializeAws_ec2DeleteVpcEndpointsResult = function (output, context) {
|
|
|
54420
54424
|
if (output.unsuccessful === "") {
|
|
54421
54425
|
contents.Unsuccessful = [];
|
|
54422
54426
|
}
|
|
54423
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
54427
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
54424
54428
|
contents.Unsuccessful = deserializeAws_ec2UnsuccessfulItemSet(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
54425
54429
|
}
|
|
54426
54430
|
return contents;
|
|
@@ -54473,7 +54477,8 @@ var deserializeAws_ec2DeprovisionPublicIpv4PoolCidrResult = function (output, co
|
|
|
54473
54477
|
if (output.deprovisionedAddressSet === "") {
|
|
54474
54478
|
contents.DeprovisionedAddresses = [];
|
|
54475
54479
|
}
|
|
54476
|
-
if (output["deprovisionedAddressSet"] !== undefined &&
|
|
54480
|
+
else if (output["deprovisionedAddressSet"] !== undefined &&
|
|
54481
|
+
output["deprovisionedAddressSet"]["item"] !== undefined) {
|
|
54477
54482
|
contents.DeprovisionedAddresses = deserializeAws_ec2DeprovisionedAddressSet(__getArrayIfSingleItem(output["deprovisionedAddressSet"]["item"]), context);
|
|
54478
54483
|
}
|
|
54479
54484
|
return contents;
|
|
@@ -54512,7 +54517,7 @@ var deserializeAws_ec2DescribeAccountAttributesResult = function (output, contex
|
|
|
54512
54517
|
if (output.accountAttributeSet === "") {
|
|
54513
54518
|
contents.AccountAttributes = [];
|
|
54514
54519
|
}
|
|
54515
|
-
if (output["accountAttributeSet"] !== undefined && output["accountAttributeSet"]["item"] !== undefined) {
|
|
54520
|
+
else if (output["accountAttributeSet"] !== undefined && output["accountAttributeSet"]["item"] !== undefined) {
|
|
54516
54521
|
contents.AccountAttributes = deserializeAws_ec2AccountAttributeList(__getArrayIfSingleItem(output["accountAttributeSet"]["item"]), context);
|
|
54517
54522
|
}
|
|
54518
54523
|
return contents;
|
|
@@ -54525,7 +54530,7 @@ var deserializeAws_ec2DescribeAddressesAttributeResult = function (output, conte
|
|
|
54525
54530
|
if (output.addressSet === "") {
|
|
54526
54531
|
contents.Addresses = [];
|
|
54527
54532
|
}
|
|
54528
|
-
if (output["addressSet"] !== undefined && output["addressSet"]["item"] !== undefined) {
|
|
54533
|
+
else if (output["addressSet"] !== undefined && output["addressSet"]["item"] !== undefined) {
|
|
54529
54534
|
contents.Addresses = deserializeAws_ec2AddressSet(__getArrayIfSingleItem(output["addressSet"]["item"]), context);
|
|
54530
54535
|
}
|
|
54531
54536
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54540,7 +54545,7 @@ var deserializeAws_ec2DescribeAddressesResult = function (output, context) {
|
|
|
54540
54545
|
if (output.addressesSet === "") {
|
|
54541
54546
|
contents.Addresses = [];
|
|
54542
54547
|
}
|
|
54543
|
-
if (output["addressesSet"] !== undefined && output["addressesSet"]["item"] !== undefined) {
|
|
54548
|
+
else if (output["addressesSet"] !== undefined && output["addressesSet"]["item"] !== undefined) {
|
|
54544
54549
|
contents.Addresses = deserializeAws_ec2AddressList(__getArrayIfSingleItem(output["addressesSet"]["item"]), context);
|
|
54545
54550
|
}
|
|
54546
54551
|
return contents;
|
|
@@ -54556,7 +54561,7 @@ var deserializeAws_ec2DescribeAggregateIdFormatResult = function (output, contex
|
|
|
54556
54561
|
if (output.statusSet === "") {
|
|
54557
54562
|
contents.Statuses = [];
|
|
54558
54563
|
}
|
|
54559
|
-
if (output["statusSet"] !== undefined && output["statusSet"]["item"] !== undefined) {
|
|
54564
|
+
else if (output["statusSet"] !== undefined && output["statusSet"]["item"] !== undefined) {
|
|
54560
54565
|
contents.Statuses = deserializeAws_ec2IdFormatList(__getArrayIfSingleItem(output["statusSet"]["item"]), context);
|
|
54561
54566
|
}
|
|
54562
54567
|
return contents;
|
|
@@ -54568,7 +54573,7 @@ var deserializeAws_ec2DescribeAvailabilityZonesResult = function (output, contex
|
|
|
54568
54573
|
if (output.availabilityZoneInfo === "") {
|
|
54569
54574
|
contents.AvailabilityZones = [];
|
|
54570
54575
|
}
|
|
54571
|
-
if (output["availabilityZoneInfo"] !== undefined && output["availabilityZoneInfo"]["item"] !== undefined) {
|
|
54576
|
+
else if (output["availabilityZoneInfo"] !== undefined && output["availabilityZoneInfo"]["item"] !== undefined) {
|
|
54572
54577
|
contents.AvailabilityZones = deserializeAws_ec2AvailabilityZoneList(__getArrayIfSingleItem(output["availabilityZoneInfo"]["item"]), context);
|
|
54573
54578
|
}
|
|
54574
54579
|
return contents;
|
|
@@ -54580,7 +54585,7 @@ var deserializeAws_ec2DescribeBundleTasksResult = function (output, context) {
|
|
|
54580
54585
|
if (output.bundleInstanceTasksSet === "") {
|
|
54581
54586
|
contents.BundleTasks = [];
|
|
54582
54587
|
}
|
|
54583
|
-
if (output["bundleInstanceTasksSet"] !== undefined && output["bundleInstanceTasksSet"]["item"] !== undefined) {
|
|
54588
|
+
else if (output["bundleInstanceTasksSet"] !== undefined && output["bundleInstanceTasksSet"]["item"] !== undefined) {
|
|
54584
54589
|
contents.BundleTasks = deserializeAws_ec2BundleTaskList(__getArrayIfSingleItem(output["bundleInstanceTasksSet"]["item"]), context);
|
|
54585
54590
|
}
|
|
54586
54591
|
return contents;
|
|
@@ -54593,7 +54598,7 @@ var deserializeAws_ec2DescribeByoipCidrsResult = function (output, context) {
|
|
|
54593
54598
|
if (output.byoipCidrSet === "") {
|
|
54594
54599
|
contents.ByoipCidrs = [];
|
|
54595
54600
|
}
|
|
54596
|
-
if (output["byoipCidrSet"] !== undefined && output["byoipCidrSet"]["item"] !== undefined) {
|
|
54601
|
+
else if (output["byoipCidrSet"] !== undefined && output["byoipCidrSet"]["item"] !== undefined) {
|
|
54597
54602
|
contents.ByoipCidrs = deserializeAws_ec2ByoipCidrSet(__getArrayIfSingleItem(output["byoipCidrSet"]["item"]), context);
|
|
54598
54603
|
}
|
|
54599
54604
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54609,7 +54614,7 @@ var deserializeAws_ec2DescribeCapacityReservationFleetsResult = function (output
|
|
|
54609
54614
|
if (output.capacityReservationFleetSet === "") {
|
|
54610
54615
|
contents.CapacityReservationFleets = [];
|
|
54611
54616
|
}
|
|
54612
|
-
if (output["capacityReservationFleetSet"] !== undefined &&
|
|
54617
|
+
else if (output["capacityReservationFleetSet"] !== undefined &&
|
|
54613
54618
|
output["capacityReservationFleetSet"]["item"] !== undefined) {
|
|
54614
54619
|
contents.CapacityReservationFleets = deserializeAws_ec2CapacityReservationFleetSet(__getArrayIfSingleItem(output["capacityReservationFleetSet"]["item"]), context);
|
|
54615
54620
|
}
|
|
@@ -54629,7 +54634,7 @@ var deserializeAws_ec2DescribeCapacityReservationsResult = function (output, con
|
|
|
54629
54634
|
if (output.capacityReservationSet === "") {
|
|
54630
54635
|
contents.CapacityReservations = [];
|
|
54631
54636
|
}
|
|
54632
|
-
if (output["capacityReservationSet"] !== undefined && output["capacityReservationSet"]["item"] !== undefined) {
|
|
54637
|
+
else if (output["capacityReservationSet"] !== undefined && output["capacityReservationSet"]["item"] !== undefined) {
|
|
54633
54638
|
contents.CapacityReservations = deserializeAws_ec2CapacityReservationSet(__getArrayIfSingleItem(output["capacityReservationSet"]["item"]), context);
|
|
54634
54639
|
}
|
|
54635
54640
|
return contents;
|
|
@@ -54642,7 +54647,7 @@ var deserializeAws_ec2DescribeCarrierGatewaysResult = function (output, context)
|
|
|
54642
54647
|
if (output.carrierGatewaySet === "") {
|
|
54643
54648
|
contents.CarrierGateways = [];
|
|
54644
54649
|
}
|
|
54645
|
-
if (output["carrierGatewaySet"] !== undefined && output["carrierGatewaySet"]["item"] !== undefined) {
|
|
54650
|
+
else if (output["carrierGatewaySet"] !== undefined && output["carrierGatewaySet"]["item"] !== undefined) {
|
|
54646
54651
|
contents.CarrierGateways = deserializeAws_ec2CarrierGatewaySet(__getArrayIfSingleItem(output["carrierGatewaySet"]["item"]), context);
|
|
54647
54652
|
}
|
|
54648
54653
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54658,7 +54663,7 @@ var deserializeAws_ec2DescribeClassicLinkInstancesResult = function (output, con
|
|
|
54658
54663
|
if (output.instancesSet === "") {
|
|
54659
54664
|
contents.Instances = [];
|
|
54660
54665
|
}
|
|
54661
|
-
if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
54666
|
+
else if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
54662
54667
|
contents.Instances = deserializeAws_ec2ClassicLinkInstanceList(__getArrayIfSingleItem(output["instancesSet"]["item"]), context);
|
|
54663
54668
|
}
|
|
54664
54669
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54674,7 +54679,7 @@ var deserializeAws_ec2DescribeClientVpnAuthorizationRulesResult = function (outp
|
|
|
54674
54679
|
if (output.authorizationRule === "") {
|
|
54675
54680
|
contents.AuthorizationRules = [];
|
|
54676
54681
|
}
|
|
54677
|
-
if (output["authorizationRule"] !== undefined && output["authorizationRule"]["item"] !== undefined) {
|
|
54682
|
+
else if (output["authorizationRule"] !== undefined && output["authorizationRule"]["item"] !== undefined) {
|
|
54678
54683
|
contents.AuthorizationRules = deserializeAws_ec2AuthorizationRuleSet(__getArrayIfSingleItem(output["authorizationRule"]["item"]), context);
|
|
54679
54684
|
}
|
|
54680
54685
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54690,7 +54695,7 @@ var deserializeAws_ec2DescribeClientVpnConnectionsResult = function (output, con
|
|
|
54690
54695
|
if (output.connections === "") {
|
|
54691
54696
|
contents.Connections = [];
|
|
54692
54697
|
}
|
|
54693
|
-
if (output["connections"] !== undefined && output["connections"]["item"] !== undefined) {
|
|
54698
|
+
else if (output["connections"] !== undefined && output["connections"]["item"] !== undefined) {
|
|
54694
54699
|
contents.Connections = deserializeAws_ec2ClientVpnConnectionSet(__getArrayIfSingleItem(output["connections"]["item"]), context);
|
|
54695
54700
|
}
|
|
54696
54701
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54706,7 +54711,7 @@ var deserializeAws_ec2DescribeClientVpnEndpointsResult = function (output, conte
|
|
|
54706
54711
|
if (output.clientVpnEndpoint === "") {
|
|
54707
54712
|
contents.ClientVpnEndpoints = [];
|
|
54708
54713
|
}
|
|
54709
|
-
if (output["clientVpnEndpoint"] !== undefined && output["clientVpnEndpoint"]["item"] !== undefined) {
|
|
54714
|
+
else if (output["clientVpnEndpoint"] !== undefined && output["clientVpnEndpoint"]["item"] !== undefined) {
|
|
54710
54715
|
contents.ClientVpnEndpoints = deserializeAws_ec2EndpointSet(__getArrayIfSingleItem(output["clientVpnEndpoint"]["item"]), context);
|
|
54711
54716
|
}
|
|
54712
54717
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54722,7 +54727,7 @@ var deserializeAws_ec2DescribeClientVpnRoutesResult = function (output, context)
|
|
|
54722
54727
|
if (output.routes === "") {
|
|
54723
54728
|
contents.Routes = [];
|
|
54724
54729
|
}
|
|
54725
|
-
if (output["routes"] !== undefined && output["routes"]["item"] !== undefined) {
|
|
54730
|
+
else if (output["routes"] !== undefined && output["routes"]["item"] !== undefined) {
|
|
54726
54731
|
contents.Routes = deserializeAws_ec2ClientVpnRouteSet(__getArrayIfSingleItem(output["routes"]["item"]), context);
|
|
54727
54732
|
}
|
|
54728
54733
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54738,7 +54743,8 @@ var deserializeAws_ec2DescribeClientVpnTargetNetworksResult = function (output,
|
|
|
54738
54743
|
if (output.clientVpnTargetNetworks === "") {
|
|
54739
54744
|
contents.ClientVpnTargetNetworks = [];
|
|
54740
54745
|
}
|
|
54741
|
-
if (output["clientVpnTargetNetworks"] !== undefined &&
|
|
54746
|
+
else if (output["clientVpnTargetNetworks"] !== undefined &&
|
|
54747
|
+
output["clientVpnTargetNetworks"]["item"] !== undefined) {
|
|
54742
54748
|
contents.ClientVpnTargetNetworks = deserializeAws_ec2TargetNetworkSet(__getArrayIfSingleItem(output["clientVpnTargetNetworks"]["item"]), context);
|
|
54743
54749
|
}
|
|
54744
54750
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54754,7 +54760,7 @@ var deserializeAws_ec2DescribeCoipPoolsResult = function (output, context) {
|
|
|
54754
54760
|
if (output.coipPoolSet === "") {
|
|
54755
54761
|
contents.CoipPools = [];
|
|
54756
54762
|
}
|
|
54757
|
-
if (output["coipPoolSet"] !== undefined && output["coipPoolSet"]["item"] !== undefined) {
|
|
54763
|
+
else if (output["coipPoolSet"] !== undefined && output["coipPoolSet"]["item"] !== undefined) {
|
|
54758
54764
|
contents.CoipPools = deserializeAws_ec2CoipPoolSet(__getArrayIfSingleItem(output["coipPoolSet"]["item"]), context);
|
|
54759
54765
|
}
|
|
54760
54766
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54779,7 +54785,7 @@ var deserializeAws_ec2DescribeConversionTasksResult = function (output, context)
|
|
|
54779
54785
|
if (output.conversionTasks === "") {
|
|
54780
54786
|
contents.ConversionTasks = [];
|
|
54781
54787
|
}
|
|
54782
|
-
if (output["conversionTasks"] !== undefined && output["conversionTasks"]["item"] !== undefined) {
|
|
54788
|
+
else if (output["conversionTasks"] !== undefined && output["conversionTasks"]["item"] !== undefined) {
|
|
54783
54789
|
contents.ConversionTasks = deserializeAws_ec2DescribeConversionTaskList(__getArrayIfSingleItem(output["conversionTasks"]["item"]), context);
|
|
54784
54790
|
}
|
|
54785
54791
|
return contents;
|
|
@@ -54791,7 +54797,7 @@ var deserializeAws_ec2DescribeCustomerGatewaysResult = function (output, context
|
|
|
54791
54797
|
if (output.customerGatewaySet === "") {
|
|
54792
54798
|
contents.CustomerGateways = [];
|
|
54793
54799
|
}
|
|
54794
|
-
if (output["customerGatewaySet"] !== undefined && output["customerGatewaySet"]["item"] !== undefined) {
|
|
54800
|
+
else if (output["customerGatewaySet"] !== undefined && output["customerGatewaySet"]["item"] !== undefined) {
|
|
54795
54801
|
contents.CustomerGateways = deserializeAws_ec2CustomerGatewayList(__getArrayIfSingleItem(output["customerGatewaySet"]["item"]), context);
|
|
54796
54802
|
}
|
|
54797
54803
|
return contents;
|
|
@@ -54804,7 +54810,7 @@ var deserializeAws_ec2DescribeDhcpOptionsResult = function (output, context) {
|
|
|
54804
54810
|
if (output.dhcpOptionsSet === "") {
|
|
54805
54811
|
contents.DhcpOptions = [];
|
|
54806
54812
|
}
|
|
54807
|
-
if (output["dhcpOptionsSet"] !== undefined && output["dhcpOptionsSet"]["item"] !== undefined) {
|
|
54813
|
+
else if (output["dhcpOptionsSet"] !== undefined && output["dhcpOptionsSet"]["item"] !== undefined) {
|
|
54808
54814
|
contents.DhcpOptions = deserializeAws_ec2DhcpOptionsList(__getArrayIfSingleItem(output["dhcpOptionsSet"]["item"]), context);
|
|
54809
54815
|
}
|
|
54810
54816
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54820,7 +54826,7 @@ var deserializeAws_ec2DescribeEgressOnlyInternetGatewaysResult = function (outpu
|
|
|
54820
54826
|
if (output.egressOnlyInternetGatewaySet === "") {
|
|
54821
54827
|
contents.EgressOnlyInternetGateways = [];
|
|
54822
54828
|
}
|
|
54823
|
-
if (output["egressOnlyInternetGatewaySet"] !== undefined &&
|
|
54829
|
+
else if (output["egressOnlyInternetGatewaySet"] !== undefined &&
|
|
54824
54830
|
output["egressOnlyInternetGatewaySet"]["item"] !== undefined) {
|
|
54825
54831
|
contents.EgressOnlyInternetGateways = deserializeAws_ec2EgressOnlyInternetGatewayList(__getArrayIfSingleItem(output["egressOnlyInternetGatewaySet"]["item"]), context);
|
|
54826
54832
|
}
|
|
@@ -54838,7 +54844,7 @@ var deserializeAws_ec2DescribeElasticGpusResult = function (output, context) {
|
|
|
54838
54844
|
if (output.elasticGpuSet === "") {
|
|
54839
54845
|
contents.ElasticGpuSet = [];
|
|
54840
54846
|
}
|
|
54841
|
-
if (output["elasticGpuSet"] !== undefined && output["elasticGpuSet"]["item"] !== undefined) {
|
|
54847
|
+
else if (output["elasticGpuSet"] !== undefined && output["elasticGpuSet"]["item"] !== undefined) {
|
|
54842
54848
|
contents.ElasticGpuSet = deserializeAws_ec2ElasticGpuSet(__getArrayIfSingleItem(output["elasticGpuSet"]["item"]), context);
|
|
54843
54849
|
}
|
|
54844
54850
|
if (output["maxResults"] !== undefined) {
|
|
@@ -54857,7 +54863,7 @@ var deserializeAws_ec2DescribeExportImageTasksResult = function (output, context
|
|
|
54857
54863
|
if (output.exportImageTaskSet === "") {
|
|
54858
54864
|
contents.ExportImageTasks = [];
|
|
54859
54865
|
}
|
|
54860
|
-
if (output["exportImageTaskSet"] !== undefined && output["exportImageTaskSet"]["item"] !== undefined) {
|
|
54866
|
+
else if (output["exportImageTaskSet"] !== undefined && output["exportImageTaskSet"]["item"] !== undefined) {
|
|
54861
54867
|
contents.ExportImageTasks = deserializeAws_ec2ExportImageTaskList(__getArrayIfSingleItem(output["exportImageTaskSet"]["item"]), context);
|
|
54862
54868
|
}
|
|
54863
54869
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54872,7 +54878,7 @@ var deserializeAws_ec2DescribeExportTasksResult = function (output, context) {
|
|
|
54872
54878
|
if (output.exportTaskSet === "") {
|
|
54873
54879
|
contents.ExportTasks = [];
|
|
54874
54880
|
}
|
|
54875
|
-
if (output["exportTaskSet"] !== undefined && output["exportTaskSet"]["item"] !== undefined) {
|
|
54881
|
+
else if (output["exportTaskSet"] !== undefined && output["exportTaskSet"]["item"] !== undefined) {
|
|
54876
54882
|
contents.ExportTasks = deserializeAws_ec2ExportTaskList(__getArrayIfSingleItem(output["exportTaskSet"]["item"]), context);
|
|
54877
54883
|
}
|
|
54878
54884
|
return contents;
|
|
@@ -54885,7 +54891,7 @@ var deserializeAws_ec2DescribeFastLaunchImagesResult = function (output, context
|
|
|
54885
54891
|
if (output.fastLaunchImageSet === "") {
|
|
54886
54892
|
contents.FastLaunchImages = [];
|
|
54887
54893
|
}
|
|
54888
|
-
if (output["fastLaunchImageSet"] !== undefined && output["fastLaunchImageSet"]["item"] !== undefined) {
|
|
54894
|
+
else if (output["fastLaunchImageSet"] !== undefined && output["fastLaunchImageSet"]["item"] !== undefined) {
|
|
54889
54895
|
contents.FastLaunchImages = deserializeAws_ec2DescribeFastLaunchImagesSuccessSet(__getArrayIfSingleItem(output["fastLaunchImageSet"]["item"]), context);
|
|
54890
54896
|
}
|
|
54891
54897
|
if (output["nextToken"] !== undefined) {
|
|
@@ -54952,7 +54958,7 @@ var deserializeAws_ec2DescribeFastSnapshotRestoresResult = function (output, con
|
|
|
54952
54958
|
if (output.fastSnapshotRestoreSet === "") {
|
|
54953
54959
|
contents.FastSnapshotRestores = [];
|
|
54954
54960
|
}
|
|
54955
|
-
if (output["fastSnapshotRestoreSet"] !== undefined && output["fastSnapshotRestoreSet"]["item"] !== undefined) {
|
|
54961
|
+
else if (output["fastSnapshotRestoreSet"] !== undefined && output["fastSnapshotRestoreSet"]["item"] !== undefined) {
|
|
54956
54962
|
contents.FastSnapshotRestores = deserializeAws_ec2DescribeFastSnapshotRestoreSuccessSet(__getArrayIfSingleItem(output["fastSnapshotRestoreSet"]["item"]), context);
|
|
54957
54963
|
}
|
|
54958
54964
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55051,7 +55057,7 @@ var deserializeAws_ec2DescribeFleetHistoryResult = function (output, context) {
|
|
|
55051
55057
|
if (output.historyRecordSet === "") {
|
|
55052
55058
|
contents.HistoryRecords = [];
|
|
55053
55059
|
}
|
|
55054
|
-
if (output["historyRecordSet"] !== undefined && output["historyRecordSet"]["item"] !== undefined) {
|
|
55060
|
+
else if (output["historyRecordSet"] !== undefined && output["historyRecordSet"]["item"] !== undefined) {
|
|
55055
55061
|
contents.HistoryRecords = deserializeAws_ec2HistoryRecordSet(__getArrayIfSingleItem(output["historyRecordSet"]["item"]), context);
|
|
55056
55062
|
}
|
|
55057
55063
|
if (output["lastEvaluatedTime"] !== undefined) {
|
|
@@ -55077,7 +55083,7 @@ var deserializeAws_ec2DescribeFleetInstancesResult = function (output, context)
|
|
|
55077
55083
|
if (output.activeInstanceSet === "") {
|
|
55078
55084
|
contents.ActiveInstances = [];
|
|
55079
55085
|
}
|
|
55080
|
-
if (output["activeInstanceSet"] !== undefined && output["activeInstanceSet"]["item"] !== undefined) {
|
|
55086
|
+
else if (output["activeInstanceSet"] !== undefined && output["activeInstanceSet"]["item"] !== undefined) {
|
|
55081
55087
|
contents.ActiveInstances = deserializeAws_ec2ActiveInstanceSet(__getArrayIfSingleItem(output["activeInstanceSet"]["item"]), context);
|
|
55082
55088
|
}
|
|
55083
55089
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55115,7 +55121,7 @@ var deserializeAws_ec2DescribeFleetsInstances = function (output, context) {
|
|
|
55115
55121
|
if (output.instanceIds === "") {
|
|
55116
55122
|
contents.InstanceIds = [];
|
|
55117
55123
|
}
|
|
55118
|
-
if (output["instanceIds"] !== undefined && output["instanceIds"]["item"] !== undefined) {
|
|
55124
|
+
else if (output["instanceIds"] !== undefined && output["instanceIds"]["item"] !== undefined) {
|
|
55119
55125
|
contents.InstanceIds = deserializeAws_ec2InstanceIdsSet(__getArrayIfSingleItem(output["instanceIds"]["item"]), context);
|
|
55120
55126
|
}
|
|
55121
55127
|
if (output["instanceType"] !== undefined) {
|
|
@@ -55147,7 +55153,7 @@ var deserializeAws_ec2DescribeFleetsResult = function (output, context) {
|
|
|
55147
55153
|
if (output.fleetSet === "") {
|
|
55148
55154
|
contents.Fleets = [];
|
|
55149
55155
|
}
|
|
55150
|
-
if (output["fleetSet"] !== undefined && output["fleetSet"]["item"] !== undefined) {
|
|
55156
|
+
else if (output["fleetSet"] !== undefined && output["fleetSet"]["item"] !== undefined) {
|
|
55151
55157
|
contents.Fleets = deserializeAws_ec2FleetSet(__getArrayIfSingleItem(output["fleetSet"]["item"]), context);
|
|
55152
55158
|
}
|
|
55153
55159
|
return contents;
|
|
@@ -55160,7 +55166,7 @@ var deserializeAws_ec2DescribeFlowLogsResult = function (output, context) {
|
|
|
55160
55166
|
if (output.flowLogSet === "") {
|
|
55161
55167
|
contents.FlowLogs = [];
|
|
55162
55168
|
}
|
|
55163
|
-
if (output["flowLogSet"] !== undefined && output["flowLogSet"]["item"] !== undefined) {
|
|
55169
|
+
else if (output["flowLogSet"] !== undefined && output["flowLogSet"]["item"] !== undefined) {
|
|
55164
55170
|
contents.FlowLogs = deserializeAws_ec2FlowLogSet(__getArrayIfSingleItem(output["flowLogSet"]["item"]), context);
|
|
55165
55171
|
}
|
|
55166
55172
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55185,7 +55191,7 @@ var deserializeAws_ec2DescribeFpgaImagesResult = function (output, context) {
|
|
|
55185
55191
|
if (output.fpgaImageSet === "") {
|
|
55186
55192
|
contents.FpgaImages = [];
|
|
55187
55193
|
}
|
|
55188
|
-
if (output["fpgaImageSet"] !== undefined && output["fpgaImageSet"]["item"] !== undefined) {
|
|
55194
|
+
else if (output["fpgaImageSet"] !== undefined && output["fpgaImageSet"]["item"] !== undefined) {
|
|
55189
55195
|
contents.FpgaImages = deserializeAws_ec2FpgaImageList(__getArrayIfSingleItem(output["fpgaImageSet"]["item"]), context);
|
|
55190
55196
|
}
|
|
55191
55197
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55204,7 +55210,7 @@ var deserializeAws_ec2DescribeHostReservationOfferingsResult = function (output,
|
|
|
55204
55210
|
if (output.offeringSet === "") {
|
|
55205
55211
|
contents.OfferingSet = [];
|
|
55206
55212
|
}
|
|
55207
|
-
if (output["offeringSet"] !== undefined && output["offeringSet"]["item"] !== undefined) {
|
|
55213
|
+
else if (output["offeringSet"] !== undefined && output["offeringSet"]["item"] !== undefined) {
|
|
55208
55214
|
contents.OfferingSet = deserializeAws_ec2HostOfferingSet(__getArrayIfSingleItem(output["offeringSet"]["item"]), context);
|
|
55209
55215
|
}
|
|
55210
55216
|
return contents;
|
|
@@ -55217,7 +55223,7 @@ var deserializeAws_ec2DescribeHostReservationsResult = function (output, context
|
|
|
55217
55223
|
if (output.hostReservationSet === "") {
|
|
55218
55224
|
contents.HostReservationSet = [];
|
|
55219
55225
|
}
|
|
55220
|
-
if (output["hostReservationSet"] !== undefined && output["hostReservationSet"]["item"] !== undefined) {
|
|
55226
|
+
else if (output["hostReservationSet"] !== undefined && output["hostReservationSet"]["item"] !== undefined) {
|
|
55221
55227
|
contents.HostReservationSet = deserializeAws_ec2HostReservationSet(__getArrayIfSingleItem(output["hostReservationSet"]["item"]), context);
|
|
55222
55228
|
}
|
|
55223
55229
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55233,7 +55239,7 @@ var deserializeAws_ec2DescribeHostsResult = function (output, context) {
|
|
|
55233
55239
|
if (output.hostSet === "") {
|
|
55234
55240
|
contents.Hosts = [];
|
|
55235
55241
|
}
|
|
55236
|
-
if (output["hostSet"] !== undefined && output["hostSet"]["item"] !== undefined) {
|
|
55242
|
+
else if (output["hostSet"] !== undefined && output["hostSet"]["item"] !== undefined) {
|
|
55237
55243
|
contents.Hosts = deserializeAws_ec2HostList(__getArrayIfSingleItem(output["hostSet"]["item"]), context);
|
|
55238
55244
|
}
|
|
55239
55245
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55249,7 +55255,7 @@ var deserializeAws_ec2DescribeIamInstanceProfileAssociationsResult = function (o
|
|
|
55249
55255
|
if (output.iamInstanceProfileAssociationSet === "") {
|
|
55250
55256
|
contents.IamInstanceProfileAssociations = [];
|
|
55251
55257
|
}
|
|
55252
|
-
if (output["iamInstanceProfileAssociationSet"] !== undefined &&
|
|
55258
|
+
else if (output["iamInstanceProfileAssociationSet"] !== undefined &&
|
|
55253
55259
|
output["iamInstanceProfileAssociationSet"]["item"] !== undefined) {
|
|
55254
55260
|
contents.IamInstanceProfileAssociations = deserializeAws_ec2IamInstanceProfileAssociationSet(__getArrayIfSingleItem(output["iamInstanceProfileAssociationSet"]["item"]), context);
|
|
55255
55261
|
}
|
|
@@ -55265,7 +55271,7 @@ var deserializeAws_ec2DescribeIdentityIdFormatResult = function (output, context
|
|
|
55265
55271
|
if (output.statusSet === "") {
|
|
55266
55272
|
contents.Statuses = [];
|
|
55267
55273
|
}
|
|
55268
|
-
if (output["statusSet"] !== undefined && output["statusSet"]["item"] !== undefined) {
|
|
55274
|
+
else if (output["statusSet"] !== undefined && output["statusSet"]["item"] !== undefined) {
|
|
55269
55275
|
contents.Statuses = deserializeAws_ec2IdFormatList(__getArrayIfSingleItem(output["statusSet"]["item"]), context);
|
|
55270
55276
|
}
|
|
55271
55277
|
return contents;
|
|
@@ -55277,7 +55283,7 @@ var deserializeAws_ec2DescribeIdFormatResult = function (output, context) {
|
|
|
55277
55283
|
if (output.statusSet === "") {
|
|
55278
55284
|
contents.Statuses = [];
|
|
55279
55285
|
}
|
|
55280
|
-
if (output["statusSet"] !== undefined && output["statusSet"]["item"] !== undefined) {
|
|
55286
|
+
else if (output["statusSet"] !== undefined && output["statusSet"]["item"] !== undefined) {
|
|
55281
55287
|
contents.Statuses = deserializeAws_ec2IdFormatList(__getArrayIfSingleItem(output["statusSet"]["item"]), context);
|
|
55282
55288
|
}
|
|
55283
55289
|
return contents;
|
|
@@ -55289,7 +55295,7 @@ var deserializeAws_ec2DescribeImagesResult = function (output, context) {
|
|
|
55289
55295
|
if (output.imagesSet === "") {
|
|
55290
55296
|
contents.Images = [];
|
|
55291
55297
|
}
|
|
55292
|
-
if (output["imagesSet"] !== undefined && output["imagesSet"]["item"] !== undefined) {
|
|
55298
|
+
else if (output["imagesSet"] !== undefined && output["imagesSet"]["item"] !== undefined) {
|
|
55293
55299
|
contents.Images = deserializeAws_ec2ImageList(__getArrayIfSingleItem(output["imagesSet"]["item"]), context);
|
|
55294
55300
|
}
|
|
55295
55301
|
return contents;
|
|
@@ -55302,7 +55308,7 @@ var deserializeAws_ec2DescribeImportImageTasksResult = function (output, context
|
|
|
55302
55308
|
if (output.importImageTaskSet === "") {
|
|
55303
55309
|
contents.ImportImageTasks = [];
|
|
55304
55310
|
}
|
|
55305
|
-
if (output["importImageTaskSet"] !== undefined && output["importImageTaskSet"]["item"] !== undefined) {
|
|
55311
|
+
else if (output["importImageTaskSet"] !== undefined && output["importImageTaskSet"]["item"] !== undefined) {
|
|
55306
55312
|
contents.ImportImageTasks = deserializeAws_ec2ImportImageTaskList(__getArrayIfSingleItem(output["importImageTaskSet"]["item"]), context);
|
|
55307
55313
|
}
|
|
55308
55314
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55318,7 +55324,7 @@ var deserializeAws_ec2DescribeImportSnapshotTasksResult = function (output, cont
|
|
|
55318
55324
|
if (output.importSnapshotTaskSet === "") {
|
|
55319
55325
|
contents.ImportSnapshotTasks = [];
|
|
55320
55326
|
}
|
|
55321
|
-
if (output["importSnapshotTaskSet"] !== undefined && output["importSnapshotTaskSet"]["item"] !== undefined) {
|
|
55327
|
+
else if (output["importSnapshotTaskSet"] !== undefined && output["importSnapshotTaskSet"]["item"] !== undefined) {
|
|
55322
55328
|
contents.ImportSnapshotTasks = deserializeAws_ec2ImportSnapshotTaskList(__getArrayIfSingleItem(output["importSnapshotTaskSet"]["item"]), context);
|
|
55323
55329
|
}
|
|
55324
55330
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55334,7 +55340,7 @@ var deserializeAws_ec2DescribeInstanceCreditSpecificationsResult = function (out
|
|
|
55334
55340
|
if (output.instanceCreditSpecificationSet === "") {
|
|
55335
55341
|
contents.InstanceCreditSpecifications = [];
|
|
55336
55342
|
}
|
|
55337
|
-
if (output["instanceCreditSpecificationSet"] !== undefined &&
|
|
55343
|
+
else if (output["instanceCreditSpecificationSet"] !== undefined &&
|
|
55338
55344
|
output["instanceCreditSpecificationSet"]["item"] !== undefined) {
|
|
55339
55345
|
contents.InstanceCreditSpecifications = deserializeAws_ec2InstanceCreditSpecificationList(__getArrayIfSingleItem(output["instanceCreditSpecificationSet"]["item"]), context);
|
|
55340
55346
|
}
|
|
@@ -55360,7 +55366,7 @@ var deserializeAws_ec2DescribeInstanceEventWindowsResult = function (output, con
|
|
|
55360
55366
|
if (output.instanceEventWindowSet === "") {
|
|
55361
55367
|
contents.InstanceEventWindows = [];
|
|
55362
55368
|
}
|
|
55363
|
-
if (output["instanceEventWindowSet"] !== undefined && output["instanceEventWindowSet"]["item"] !== undefined) {
|
|
55369
|
+
else if (output["instanceEventWindowSet"] !== undefined && output["instanceEventWindowSet"]["item"] !== undefined) {
|
|
55364
55370
|
contents.InstanceEventWindows = deserializeAws_ec2InstanceEventWindowSet(__getArrayIfSingleItem(output["instanceEventWindowSet"]["item"]), context);
|
|
55365
55371
|
}
|
|
55366
55372
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55376,7 +55382,7 @@ var deserializeAws_ec2DescribeInstancesResult = function (output, context) {
|
|
|
55376
55382
|
if (output.reservationSet === "") {
|
|
55377
55383
|
contents.Reservations = [];
|
|
55378
55384
|
}
|
|
55379
|
-
if (output["reservationSet"] !== undefined && output["reservationSet"]["item"] !== undefined) {
|
|
55385
|
+
else if (output["reservationSet"] !== undefined && output["reservationSet"]["item"] !== undefined) {
|
|
55380
55386
|
contents.Reservations = deserializeAws_ec2ReservationList(__getArrayIfSingleItem(output["reservationSet"]["item"]), context);
|
|
55381
55387
|
}
|
|
55382
55388
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55392,7 +55398,7 @@ var deserializeAws_ec2DescribeInstanceStatusResult = function (output, context)
|
|
|
55392
55398
|
if (output.instanceStatusSet === "") {
|
|
55393
55399
|
contents.InstanceStatuses = [];
|
|
55394
55400
|
}
|
|
55395
|
-
if (output["instanceStatusSet"] !== undefined && output["instanceStatusSet"]["item"] !== undefined) {
|
|
55401
|
+
else if (output["instanceStatusSet"] !== undefined && output["instanceStatusSet"]["item"] !== undefined) {
|
|
55396
55402
|
contents.InstanceStatuses = deserializeAws_ec2InstanceStatusList(__getArrayIfSingleItem(output["instanceStatusSet"]["item"]), context);
|
|
55397
55403
|
}
|
|
55398
55404
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55408,7 +55414,8 @@ var deserializeAws_ec2DescribeInstanceTypeOfferingsResult = function (output, co
|
|
|
55408
55414
|
if (output.instanceTypeOfferingSet === "") {
|
|
55409
55415
|
contents.InstanceTypeOfferings = [];
|
|
55410
55416
|
}
|
|
55411
|
-
if (output["instanceTypeOfferingSet"] !== undefined &&
|
|
55417
|
+
else if (output["instanceTypeOfferingSet"] !== undefined &&
|
|
55418
|
+
output["instanceTypeOfferingSet"]["item"] !== undefined) {
|
|
55412
55419
|
contents.InstanceTypeOfferings = deserializeAws_ec2InstanceTypeOfferingsList(__getArrayIfSingleItem(output["instanceTypeOfferingSet"]["item"]), context);
|
|
55413
55420
|
}
|
|
55414
55421
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55424,7 +55431,7 @@ var deserializeAws_ec2DescribeInstanceTypesResult = function (output, context) {
|
|
|
55424
55431
|
if (output.instanceTypeSet === "") {
|
|
55425
55432
|
contents.InstanceTypes = [];
|
|
55426
55433
|
}
|
|
55427
|
-
if (output["instanceTypeSet"] !== undefined && output["instanceTypeSet"]["item"] !== undefined) {
|
|
55434
|
+
else if (output["instanceTypeSet"] !== undefined && output["instanceTypeSet"]["item"] !== undefined) {
|
|
55428
55435
|
contents.InstanceTypes = deserializeAws_ec2InstanceTypeInfoList(__getArrayIfSingleItem(output["instanceTypeSet"]["item"]), context);
|
|
55429
55436
|
}
|
|
55430
55437
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55440,7 +55447,7 @@ var deserializeAws_ec2DescribeInternetGatewaysResult = function (output, context
|
|
|
55440
55447
|
if (output.internetGatewaySet === "") {
|
|
55441
55448
|
contents.InternetGateways = [];
|
|
55442
55449
|
}
|
|
55443
|
-
if (output["internetGatewaySet"] !== undefined && output["internetGatewaySet"]["item"] !== undefined) {
|
|
55450
|
+
else if (output["internetGatewaySet"] !== undefined && output["internetGatewaySet"]["item"] !== undefined) {
|
|
55444
55451
|
contents.InternetGateways = deserializeAws_ec2InternetGatewayList(__getArrayIfSingleItem(output["internetGatewaySet"]["item"]), context);
|
|
55445
55452
|
}
|
|
55446
55453
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55459,7 +55466,7 @@ var deserializeAws_ec2DescribeIpamPoolsResult = function (output, context) {
|
|
|
55459
55466
|
if (output.ipamPoolSet === "") {
|
|
55460
55467
|
contents.IpamPools = [];
|
|
55461
55468
|
}
|
|
55462
|
-
if (output["ipamPoolSet"] !== undefined && output["ipamPoolSet"]["item"] !== undefined) {
|
|
55469
|
+
else if (output["ipamPoolSet"] !== undefined && output["ipamPoolSet"]["item"] !== undefined) {
|
|
55463
55470
|
contents.IpamPools = deserializeAws_ec2IpamPoolSet(__getArrayIfSingleItem(output["ipamPoolSet"]["item"]), context);
|
|
55464
55471
|
}
|
|
55465
55472
|
return contents;
|
|
@@ -55475,7 +55482,7 @@ var deserializeAws_ec2DescribeIpamScopesResult = function (output, context) {
|
|
|
55475
55482
|
if (output.ipamScopeSet === "") {
|
|
55476
55483
|
contents.IpamScopes = [];
|
|
55477
55484
|
}
|
|
55478
|
-
if (output["ipamScopeSet"] !== undefined && output["ipamScopeSet"]["item"] !== undefined) {
|
|
55485
|
+
else if (output["ipamScopeSet"] !== undefined && output["ipamScopeSet"]["item"] !== undefined) {
|
|
55479
55486
|
contents.IpamScopes = deserializeAws_ec2IpamScopeSet(__getArrayIfSingleItem(output["ipamScopeSet"]["item"]), context);
|
|
55480
55487
|
}
|
|
55481
55488
|
return contents;
|
|
@@ -55491,7 +55498,7 @@ var deserializeAws_ec2DescribeIpamsResult = function (output, context) {
|
|
|
55491
55498
|
if (output.ipamSet === "") {
|
|
55492
55499
|
contents.Ipams = [];
|
|
55493
55500
|
}
|
|
55494
|
-
if (output["ipamSet"] !== undefined && output["ipamSet"]["item"] !== undefined) {
|
|
55501
|
+
else if (output["ipamSet"] !== undefined && output["ipamSet"]["item"] !== undefined) {
|
|
55495
55502
|
contents.Ipams = deserializeAws_ec2IpamSet(__getArrayIfSingleItem(output["ipamSet"]["item"]), context);
|
|
55496
55503
|
}
|
|
55497
55504
|
return contents;
|
|
@@ -55504,7 +55511,7 @@ var deserializeAws_ec2DescribeIpv6PoolsResult = function (output, context) {
|
|
|
55504
55511
|
if (output.ipv6PoolSet === "") {
|
|
55505
55512
|
contents.Ipv6Pools = [];
|
|
55506
55513
|
}
|
|
55507
|
-
if (output["ipv6PoolSet"] !== undefined && output["ipv6PoolSet"]["item"] !== undefined) {
|
|
55514
|
+
else if (output["ipv6PoolSet"] !== undefined && output["ipv6PoolSet"]["item"] !== undefined) {
|
|
55508
55515
|
contents.Ipv6Pools = deserializeAws_ec2Ipv6PoolSet(__getArrayIfSingleItem(output["ipv6PoolSet"]["item"]), context);
|
|
55509
55516
|
}
|
|
55510
55517
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55519,7 +55526,7 @@ var deserializeAws_ec2DescribeKeyPairsResult = function (output, context) {
|
|
|
55519
55526
|
if (output.keySet === "") {
|
|
55520
55527
|
contents.KeyPairs = [];
|
|
55521
55528
|
}
|
|
55522
|
-
if (output["keySet"] !== undefined && output["keySet"]["item"] !== undefined) {
|
|
55529
|
+
else if (output["keySet"] !== undefined && output["keySet"]["item"] !== undefined) {
|
|
55523
55530
|
contents.KeyPairs = deserializeAws_ec2KeyPairList(__getArrayIfSingleItem(output["keySet"]["item"]), context);
|
|
55524
55531
|
}
|
|
55525
55532
|
return contents;
|
|
@@ -55532,7 +55539,7 @@ var deserializeAws_ec2DescribeLaunchTemplatesResult = function (output, context)
|
|
|
55532
55539
|
if (output.launchTemplates === "") {
|
|
55533
55540
|
contents.LaunchTemplates = [];
|
|
55534
55541
|
}
|
|
55535
|
-
if (output["launchTemplates"] !== undefined && output["launchTemplates"]["item"] !== undefined) {
|
|
55542
|
+
else if (output["launchTemplates"] !== undefined && output["launchTemplates"]["item"] !== undefined) {
|
|
55536
55543
|
contents.LaunchTemplates = deserializeAws_ec2LaunchTemplateSet(__getArrayIfSingleItem(output["launchTemplates"]["item"]), context);
|
|
55537
55544
|
}
|
|
55538
55545
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55548,7 +55555,8 @@ var deserializeAws_ec2DescribeLaunchTemplateVersionsResult = function (output, c
|
|
|
55548
55555
|
if (output.launchTemplateVersionSet === "") {
|
|
55549
55556
|
contents.LaunchTemplateVersions = [];
|
|
55550
55557
|
}
|
|
55551
|
-
if (output["launchTemplateVersionSet"] !== undefined &&
|
|
55558
|
+
else if (output["launchTemplateVersionSet"] !== undefined &&
|
|
55559
|
+
output["launchTemplateVersionSet"]["item"] !== undefined) {
|
|
55552
55560
|
contents.LaunchTemplateVersions = deserializeAws_ec2LaunchTemplateVersionSet(__getArrayIfSingleItem(output["launchTemplateVersionSet"]["item"]), context);
|
|
55553
55561
|
}
|
|
55554
55562
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55564,7 +55572,8 @@ var deserializeAws_ec2DescribeLocalGatewayRouteTablesResult = function (output,
|
|
|
55564
55572
|
if (output.localGatewayRouteTableSet === "") {
|
|
55565
55573
|
contents.LocalGatewayRouteTables = [];
|
|
55566
55574
|
}
|
|
55567
|
-
if (output["localGatewayRouteTableSet"] !== undefined &&
|
|
55575
|
+
else if (output["localGatewayRouteTableSet"] !== undefined &&
|
|
55576
|
+
output["localGatewayRouteTableSet"]["item"] !== undefined) {
|
|
55568
55577
|
contents.LocalGatewayRouteTables = deserializeAws_ec2LocalGatewayRouteTableSet(__getArrayIfSingleItem(output["localGatewayRouteTableSet"]["item"]), context);
|
|
55569
55578
|
}
|
|
55570
55579
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55580,7 +55589,7 @@ var deserializeAws_ec2DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssocia
|
|
|
55580
55589
|
if (output.localGatewayRouteTableVirtualInterfaceGroupAssociationSet === "") {
|
|
55581
55590
|
contents.LocalGatewayRouteTableVirtualInterfaceGroupAssociations = [];
|
|
55582
55591
|
}
|
|
55583
|
-
if (output["localGatewayRouteTableVirtualInterfaceGroupAssociationSet"] !== undefined &&
|
|
55592
|
+
else if (output["localGatewayRouteTableVirtualInterfaceGroupAssociationSet"] !== undefined &&
|
|
55584
55593
|
output["localGatewayRouteTableVirtualInterfaceGroupAssociationSet"]["item"] !== undefined) {
|
|
55585
55594
|
contents.LocalGatewayRouteTableVirtualInterfaceGroupAssociations =
|
|
55586
55595
|
deserializeAws_ec2LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet(__getArrayIfSingleItem(output["localGatewayRouteTableVirtualInterfaceGroupAssociationSet"]["item"]), context);
|
|
@@ -55598,7 +55607,7 @@ var deserializeAws_ec2DescribeLocalGatewayRouteTableVpcAssociationsResult = func
|
|
|
55598
55607
|
if (output.localGatewayRouteTableVpcAssociationSet === "") {
|
|
55599
55608
|
contents.LocalGatewayRouteTableVpcAssociations = [];
|
|
55600
55609
|
}
|
|
55601
|
-
if (output["localGatewayRouteTableVpcAssociationSet"] !== undefined &&
|
|
55610
|
+
else if (output["localGatewayRouteTableVpcAssociationSet"] !== undefined &&
|
|
55602
55611
|
output["localGatewayRouteTableVpcAssociationSet"]["item"] !== undefined) {
|
|
55603
55612
|
contents.LocalGatewayRouteTableVpcAssociations = deserializeAws_ec2LocalGatewayRouteTableVpcAssociationSet(__getArrayIfSingleItem(output["localGatewayRouteTableVpcAssociationSet"]["item"]), context);
|
|
55604
55613
|
}
|
|
@@ -55615,7 +55624,7 @@ var deserializeAws_ec2DescribeLocalGatewaysResult = function (output, context) {
|
|
|
55615
55624
|
if (output.localGatewaySet === "") {
|
|
55616
55625
|
contents.LocalGateways = [];
|
|
55617
55626
|
}
|
|
55618
|
-
if (output["localGatewaySet"] !== undefined && output["localGatewaySet"]["item"] !== undefined) {
|
|
55627
|
+
else if (output["localGatewaySet"] !== undefined && output["localGatewaySet"]["item"] !== undefined) {
|
|
55619
55628
|
contents.LocalGateways = deserializeAws_ec2LocalGatewaySet(__getArrayIfSingleItem(output["localGatewaySet"]["item"]), context);
|
|
55620
55629
|
}
|
|
55621
55630
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55631,7 +55640,7 @@ var deserializeAws_ec2DescribeLocalGatewayVirtualInterfaceGroupsResult = functio
|
|
|
55631
55640
|
if (output.localGatewayVirtualInterfaceGroupSet === "") {
|
|
55632
55641
|
contents.LocalGatewayVirtualInterfaceGroups = [];
|
|
55633
55642
|
}
|
|
55634
|
-
if (output["localGatewayVirtualInterfaceGroupSet"] !== undefined &&
|
|
55643
|
+
else if (output["localGatewayVirtualInterfaceGroupSet"] !== undefined &&
|
|
55635
55644
|
output["localGatewayVirtualInterfaceGroupSet"]["item"] !== undefined) {
|
|
55636
55645
|
contents.LocalGatewayVirtualInterfaceGroups = deserializeAws_ec2LocalGatewayVirtualInterfaceGroupSet(__getArrayIfSingleItem(output["localGatewayVirtualInterfaceGroupSet"]["item"]), context);
|
|
55637
55646
|
}
|
|
@@ -55648,7 +55657,7 @@ var deserializeAws_ec2DescribeLocalGatewayVirtualInterfacesResult = function (ou
|
|
|
55648
55657
|
if (output.localGatewayVirtualInterfaceSet === "") {
|
|
55649
55658
|
contents.LocalGatewayVirtualInterfaces = [];
|
|
55650
55659
|
}
|
|
55651
|
-
if (output["localGatewayVirtualInterfaceSet"] !== undefined &&
|
|
55660
|
+
else if (output["localGatewayVirtualInterfaceSet"] !== undefined &&
|
|
55652
55661
|
output["localGatewayVirtualInterfaceSet"]["item"] !== undefined) {
|
|
55653
55662
|
contents.LocalGatewayVirtualInterfaces = deserializeAws_ec2LocalGatewayVirtualInterfaceSet(__getArrayIfSingleItem(output["localGatewayVirtualInterfaceSet"]["item"]), context);
|
|
55654
55663
|
}
|
|
@@ -55668,7 +55677,7 @@ var deserializeAws_ec2DescribeManagedPrefixListsResult = function (output, conte
|
|
|
55668
55677
|
if (output.prefixListSet === "") {
|
|
55669
55678
|
contents.PrefixLists = [];
|
|
55670
55679
|
}
|
|
55671
|
-
if (output["prefixListSet"] !== undefined && output["prefixListSet"]["item"] !== undefined) {
|
|
55680
|
+
else if (output["prefixListSet"] !== undefined && output["prefixListSet"]["item"] !== undefined) {
|
|
55672
55681
|
contents.PrefixLists = deserializeAws_ec2ManagedPrefixListSet(__getArrayIfSingleItem(output["prefixListSet"]["item"]), context);
|
|
55673
55682
|
}
|
|
55674
55683
|
return contents;
|
|
@@ -55681,7 +55690,7 @@ var deserializeAws_ec2DescribeMovingAddressesResult = function (output, context)
|
|
|
55681
55690
|
if (output.movingAddressStatusSet === "") {
|
|
55682
55691
|
contents.MovingAddressStatuses = [];
|
|
55683
55692
|
}
|
|
55684
|
-
if (output["movingAddressStatusSet"] !== undefined && output["movingAddressStatusSet"]["item"] !== undefined) {
|
|
55693
|
+
else if (output["movingAddressStatusSet"] !== undefined && output["movingAddressStatusSet"]["item"] !== undefined) {
|
|
55685
55694
|
contents.MovingAddressStatuses = deserializeAws_ec2MovingAddressStatusSet(__getArrayIfSingleItem(output["movingAddressStatusSet"]["item"]), context);
|
|
55686
55695
|
}
|
|
55687
55696
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55697,7 +55706,7 @@ var deserializeAws_ec2DescribeNatGatewaysResult = function (output, context) {
|
|
|
55697
55706
|
if (output.natGatewaySet === "") {
|
|
55698
55707
|
contents.NatGateways = [];
|
|
55699
55708
|
}
|
|
55700
|
-
if (output["natGatewaySet"] !== undefined && output["natGatewaySet"]["item"] !== undefined) {
|
|
55709
|
+
else if (output["natGatewaySet"] !== undefined && output["natGatewaySet"]["item"] !== undefined) {
|
|
55701
55710
|
contents.NatGateways = deserializeAws_ec2NatGatewayList(__getArrayIfSingleItem(output["natGatewaySet"]["item"]), context);
|
|
55702
55711
|
}
|
|
55703
55712
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55713,7 +55722,7 @@ var deserializeAws_ec2DescribeNetworkAclsResult = function (output, context) {
|
|
|
55713
55722
|
if (output.networkAclSet === "") {
|
|
55714
55723
|
contents.NetworkAcls = [];
|
|
55715
55724
|
}
|
|
55716
|
-
if (output["networkAclSet"] !== undefined && output["networkAclSet"]["item"] !== undefined) {
|
|
55725
|
+
else if (output["networkAclSet"] !== undefined && output["networkAclSet"]["item"] !== undefined) {
|
|
55717
55726
|
contents.NetworkAcls = deserializeAws_ec2NetworkAclList(__getArrayIfSingleItem(output["networkAclSet"]["item"]), context);
|
|
55718
55727
|
}
|
|
55719
55728
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55729,7 +55738,7 @@ var deserializeAws_ec2DescribeNetworkInsightsAccessScopeAnalysesResult = functio
|
|
|
55729
55738
|
if (output.networkInsightsAccessScopeAnalysisSet === "") {
|
|
55730
55739
|
contents.NetworkInsightsAccessScopeAnalyses = [];
|
|
55731
55740
|
}
|
|
55732
|
-
if (output["networkInsightsAccessScopeAnalysisSet"] !== undefined &&
|
|
55741
|
+
else if (output["networkInsightsAccessScopeAnalysisSet"] !== undefined &&
|
|
55733
55742
|
output["networkInsightsAccessScopeAnalysisSet"]["item"] !== undefined) {
|
|
55734
55743
|
contents.NetworkInsightsAccessScopeAnalyses = deserializeAws_ec2NetworkInsightsAccessScopeAnalysisList(__getArrayIfSingleItem(output["networkInsightsAccessScopeAnalysisSet"]["item"]), context);
|
|
55735
55744
|
}
|
|
@@ -55746,7 +55755,7 @@ var deserializeAws_ec2DescribeNetworkInsightsAccessScopesResult = function (outp
|
|
|
55746
55755
|
if (output.networkInsightsAccessScopeSet === "") {
|
|
55747
55756
|
contents.NetworkInsightsAccessScopes = [];
|
|
55748
55757
|
}
|
|
55749
|
-
if (output["networkInsightsAccessScopeSet"] !== undefined &&
|
|
55758
|
+
else if (output["networkInsightsAccessScopeSet"] !== undefined &&
|
|
55750
55759
|
output["networkInsightsAccessScopeSet"]["item"] !== undefined) {
|
|
55751
55760
|
contents.NetworkInsightsAccessScopes = deserializeAws_ec2NetworkInsightsAccessScopeList(__getArrayIfSingleItem(output["networkInsightsAccessScopeSet"]["item"]), context);
|
|
55752
55761
|
}
|
|
@@ -55763,7 +55772,7 @@ var deserializeAws_ec2DescribeNetworkInsightsAnalysesResult = function (output,
|
|
|
55763
55772
|
if (output.networkInsightsAnalysisSet === "") {
|
|
55764
55773
|
contents.NetworkInsightsAnalyses = [];
|
|
55765
55774
|
}
|
|
55766
|
-
if (output["networkInsightsAnalysisSet"] !== undefined &&
|
|
55775
|
+
else if (output["networkInsightsAnalysisSet"] !== undefined &&
|
|
55767
55776
|
output["networkInsightsAnalysisSet"]["item"] !== undefined) {
|
|
55768
55777
|
contents.NetworkInsightsAnalyses = deserializeAws_ec2NetworkInsightsAnalysisList(__getArrayIfSingleItem(output["networkInsightsAnalysisSet"]["item"]), context);
|
|
55769
55778
|
}
|
|
@@ -55780,7 +55789,7 @@ var deserializeAws_ec2DescribeNetworkInsightsPathsResult = function (output, con
|
|
|
55780
55789
|
if (output.networkInsightsPathSet === "") {
|
|
55781
55790
|
contents.NetworkInsightsPaths = [];
|
|
55782
55791
|
}
|
|
55783
|
-
if (output["networkInsightsPathSet"] !== undefined && output["networkInsightsPathSet"]["item"] !== undefined) {
|
|
55792
|
+
else if (output["networkInsightsPathSet"] !== undefined && output["networkInsightsPathSet"]["item"] !== undefined) {
|
|
55784
55793
|
contents.NetworkInsightsPaths = deserializeAws_ec2NetworkInsightsPathList(__getArrayIfSingleItem(output["networkInsightsPathSet"]["item"]), context);
|
|
55785
55794
|
}
|
|
55786
55795
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55805,7 +55814,7 @@ var deserializeAws_ec2DescribeNetworkInterfaceAttributeResult = function (output
|
|
|
55805
55814
|
if (output.groupSet === "") {
|
|
55806
55815
|
contents.Groups = [];
|
|
55807
55816
|
}
|
|
55808
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
55817
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
55809
55818
|
contents.Groups = deserializeAws_ec2GroupIdentifierList(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
55810
55819
|
}
|
|
55811
55820
|
if (output["networkInterfaceId"] !== undefined) {
|
|
@@ -55824,7 +55833,7 @@ var deserializeAws_ec2DescribeNetworkInterfacePermissionsResult = function (outp
|
|
|
55824
55833
|
if (output.networkInterfacePermissions === "") {
|
|
55825
55834
|
contents.NetworkInterfacePermissions = [];
|
|
55826
55835
|
}
|
|
55827
|
-
if (output["networkInterfacePermissions"] !== undefined &&
|
|
55836
|
+
else if (output["networkInterfacePermissions"] !== undefined &&
|
|
55828
55837
|
output["networkInterfacePermissions"]["item"] !== undefined) {
|
|
55829
55838
|
contents.NetworkInterfacePermissions = deserializeAws_ec2NetworkInterfacePermissionList(__getArrayIfSingleItem(output["networkInterfacePermissions"]["item"]), context);
|
|
55830
55839
|
}
|
|
@@ -55841,7 +55850,7 @@ var deserializeAws_ec2DescribeNetworkInterfacesResult = function (output, contex
|
|
|
55841
55850
|
if (output.networkInterfaceSet === "") {
|
|
55842
55851
|
contents.NetworkInterfaces = [];
|
|
55843
55852
|
}
|
|
55844
|
-
if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
55853
|
+
else if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
55845
55854
|
contents.NetworkInterfaces = deserializeAws_ec2NetworkInterfaceList(__getArrayIfSingleItem(output["networkInterfaceSet"]["item"]), context);
|
|
55846
55855
|
}
|
|
55847
55856
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55856,7 +55865,7 @@ var deserializeAws_ec2DescribePlacementGroupsResult = function (output, context)
|
|
|
55856
55865
|
if (output.placementGroupSet === "") {
|
|
55857
55866
|
contents.PlacementGroups = [];
|
|
55858
55867
|
}
|
|
55859
|
-
if (output["placementGroupSet"] !== undefined && output["placementGroupSet"]["item"] !== undefined) {
|
|
55868
|
+
else if (output["placementGroupSet"] !== undefined && output["placementGroupSet"]["item"] !== undefined) {
|
|
55860
55869
|
contents.PlacementGroups = deserializeAws_ec2PlacementGroupList(__getArrayIfSingleItem(output["placementGroupSet"]["item"]), context);
|
|
55861
55870
|
}
|
|
55862
55871
|
return contents;
|
|
@@ -55872,7 +55881,7 @@ var deserializeAws_ec2DescribePrefixListsResult = function (output, context) {
|
|
|
55872
55881
|
if (output.prefixListSet === "") {
|
|
55873
55882
|
contents.PrefixLists = [];
|
|
55874
55883
|
}
|
|
55875
|
-
if (output["prefixListSet"] !== undefined && output["prefixListSet"]["item"] !== undefined) {
|
|
55884
|
+
else if (output["prefixListSet"] !== undefined && output["prefixListSet"]["item"] !== undefined) {
|
|
55876
55885
|
contents.PrefixLists = deserializeAws_ec2PrefixListSet(__getArrayIfSingleItem(output["prefixListSet"]["item"]), context);
|
|
55877
55886
|
}
|
|
55878
55887
|
return contents;
|
|
@@ -55885,7 +55894,7 @@ var deserializeAws_ec2DescribePrincipalIdFormatResult = function (output, contex
|
|
|
55885
55894
|
if (output.principalSet === "") {
|
|
55886
55895
|
contents.Principals = [];
|
|
55887
55896
|
}
|
|
55888
|
-
if (output["principalSet"] !== undefined && output["principalSet"]["item"] !== undefined) {
|
|
55897
|
+
else if (output["principalSet"] !== undefined && output["principalSet"]["item"] !== undefined) {
|
|
55889
55898
|
contents.Principals = deserializeAws_ec2PrincipalIdFormatList(__getArrayIfSingleItem(output["principalSet"]["item"]), context);
|
|
55890
55899
|
}
|
|
55891
55900
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55901,7 +55910,7 @@ var deserializeAws_ec2DescribePublicIpv4PoolsResult = function (output, context)
|
|
|
55901
55910
|
if (output.publicIpv4PoolSet === "") {
|
|
55902
55911
|
contents.PublicIpv4Pools = [];
|
|
55903
55912
|
}
|
|
55904
|
-
if (output["publicIpv4PoolSet"] !== undefined && output["publicIpv4PoolSet"]["item"] !== undefined) {
|
|
55913
|
+
else if (output["publicIpv4PoolSet"] !== undefined && output["publicIpv4PoolSet"]["item"] !== undefined) {
|
|
55905
55914
|
contents.PublicIpv4Pools = deserializeAws_ec2PublicIpv4PoolSet(__getArrayIfSingleItem(output["publicIpv4PoolSet"]["item"]), context);
|
|
55906
55915
|
}
|
|
55907
55916
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55916,7 +55925,7 @@ var deserializeAws_ec2DescribeRegionsResult = function (output, context) {
|
|
|
55916
55925
|
if (output.regionInfo === "") {
|
|
55917
55926
|
contents.Regions = [];
|
|
55918
55927
|
}
|
|
55919
|
-
if (output["regionInfo"] !== undefined && output["regionInfo"]["item"] !== undefined) {
|
|
55928
|
+
else if (output["regionInfo"] !== undefined && output["regionInfo"]["item"] !== undefined) {
|
|
55920
55929
|
contents.Regions = deserializeAws_ec2RegionList(__getArrayIfSingleItem(output["regionInfo"]["item"]), context);
|
|
55921
55930
|
}
|
|
55922
55931
|
return contents;
|
|
@@ -55929,7 +55938,8 @@ var deserializeAws_ec2DescribeReplaceRootVolumeTasksResult = function (output, c
|
|
|
55929
55938
|
if (output.replaceRootVolumeTaskSet === "") {
|
|
55930
55939
|
contents.ReplaceRootVolumeTasks = [];
|
|
55931
55940
|
}
|
|
55932
|
-
if (output["replaceRootVolumeTaskSet"] !== undefined &&
|
|
55941
|
+
else if (output["replaceRootVolumeTaskSet"] !== undefined &&
|
|
55942
|
+
output["replaceRootVolumeTaskSet"]["item"] !== undefined) {
|
|
55933
55943
|
contents.ReplaceRootVolumeTasks = deserializeAws_ec2ReplaceRootVolumeTasks(__getArrayIfSingleItem(output["replaceRootVolumeTaskSet"]["item"]), context);
|
|
55934
55944
|
}
|
|
55935
55945
|
if (output["nextToken"] !== undefined) {
|
|
@@ -55944,7 +55954,7 @@ var deserializeAws_ec2DescribeReservedInstancesListingsResult = function (output
|
|
|
55944
55954
|
if (output.reservedInstancesListingsSet === "") {
|
|
55945
55955
|
contents.ReservedInstancesListings = [];
|
|
55946
55956
|
}
|
|
55947
|
-
if (output["reservedInstancesListingsSet"] !== undefined &&
|
|
55957
|
+
else if (output["reservedInstancesListingsSet"] !== undefined &&
|
|
55948
55958
|
output["reservedInstancesListingsSet"]["item"] !== undefined) {
|
|
55949
55959
|
contents.ReservedInstancesListings = deserializeAws_ec2ReservedInstancesListingList(__getArrayIfSingleItem(output["reservedInstancesListingsSet"]["item"]), context);
|
|
55950
55960
|
}
|
|
@@ -55961,7 +55971,7 @@ var deserializeAws_ec2DescribeReservedInstancesModificationsResult = function (o
|
|
|
55961
55971
|
if (output.reservedInstancesModificationsSet === "") {
|
|
55962
55972
|
contents.ReservedInstancesModifications = [];
|
|
55963
55973
|
}
|
|
55964
|
-
if (output["reservedInstancesModificationsSet"] !== undefined &&
|
|
55974
|
+
else if (output["reservedInstancesModificationsSet"] !== undefined &&
|
|
55965
55975
|
output["reservedInstancesModificationsSet"]["item"] !== undefined) {
|
|
55966
55976
|
contents.ReservedInstancesModifications = deserializeAws_ec2ReservedInstancesModificationList(__getArrayIfSingleItem(output["reservedInstancesModificationsSet"]["item"]), context);
|
|
55967
55977
|
}
|
|
@@ -55975,7 +55985,7 @@ var deserializeAws_ec2DescribeReservedInstancesOfferingsResult = function (outpu
|
|
|
55975
55985
|
if (output.reservedInstancesOfferingsSet === "") {
|
|
55976
55986
|
contents.ReservedInstancesOfferings = [];
|
|
55977
55987
|
}
|
|
55978
|
-
if (output["reservedInstancesOfferingsSet"] !== undefined &&
|
|
55988
|
+
else if (output["reservedInstancesOfferingsSet"] !== undefined &&
|
|
55979
55989
|
output["reservedInstancesOfferingsSet"]["item"] !== undefined) {
|
|
55980
55990
|
contents.ReservedInstancesOfferings = deserializeAws_ec2ReservedInstancesOfferingList(__getArrayIfSingleItem(output["reservedInstancesOfferingsSet"]["item"]), context);
|
|
55981
55991
|
}
|
|
@@ -55991,7 +56001,7 @@ var deserializeAws_ec2DescribeReservedInstancesResult = function (output, contex
|
|
|
55991
56001
|
if (output.reservedInstancesSet === "") {
|
|
55992
56002
|
contents.ReservedInstances = [];
|
|
55993
56003
|
}
|
|
55994
|
-
if (output["reservedInstancesSet"] !== undefined && output["reservedInstancesSet"]["item"] !== undefined) {
|
|
56004
|
+
else if (output["reservedInstancesSet"] !== undefined && output["reservedInstancesSet"]["item"] !== undefined) {
|
|
55995
56005
|
contents.ReservedInstances = deserializeAws_ec2ReservedInstancesList(__getArrayIfSingleItem(output["reservedInstancesSet"]["item"]), context);
|
|
55996
56006
|
}
|
|
55997
56007
|
return contents;
|
|
@@ -56004,7 +56014,7 @@ var deserializeAws_ec2DescribeRouteTablesResult = function (output, context) {
|
|
|
56004
56014
|
if (output.routeTableSet === "") {
|
|
56005
56015
|
contents.RouteTables = [];
|
|
56006
56016
|
}
|
|
56007
|
-
if (output["routeTableSet"] !== undefined && output["routeTableSet"]["item"] !== undefined) {
|
|
56017
|
+
else if (output["routeTableSet"] !== undefined && output["routeTableSet"]["item"] !== undefined) {
|
|
56008
56018
|
contents.RouteTables = deserializeAws_ec2RouteTableList(__getArrayIfSingleItem(output["routeTableSet"]["item"]), context);
|
|
56009
56019
|
}
|
|
56010
56020
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56023,7 +56033,7 @@ var deserializeAws_ec2DescribeScheduledInstanceAvailabilityResult = function (ou
|
|
|
56023
56033
|
if (output.scheduledInstanceAvailabilitySet === "") {
|
|
56024
56034
|
contents.ScheduledInstanceAvailabilitySet = [];
|
|
56025
56035
|
}
|
|
56026
|
-
if (output["scheduledInstanceAvailabilitySet"] !== undefined &&
|
|
56036
|
+
else if (output["scheduledInstanceAvailabilitySet"] !== undefined &&
|
|
56027
56037
|
output["scheduledInstanceAvailabilitySet"]["item"] !== undefined) {
|
|
56028
56038
|
contents.ScheduledInstanceAvailabilitySet = deserializeAws_ec2ScheduledInstanceAvailabilitySet(__getArrayIfSingleItem(output["scheduledInstanceAvailabilitySet"]["item"]), context);
|
|
56029
56039
|
}
|
|
@@ -56040,7 +56050,7 @@ var deserializeAws_ec2DescribeScheduledInstancesResult = function (output, conte
|
|
|
56040
56050
|
if (output.scheduledInstanceSet === "") {
|
|
56041
56051
|
contents.ScheduledInstanceSet = [];
|
|
56042
56052
|
}
|
|
56043
|
-
if (output["scheduledInstanceSet"] !== undefined && output["scheduledInstanceSet"]["item"] !== undefined) {
|
|
56053
|
+
else if (output["scheduledInstanceSet"] !== undefined && output["scheduledInstanceSet"]["item"] !== undefined) {
|
|
56044
56054
|
contents.ScheduledInstanceSet = deserializeAws_ec2ScheduledInstanceSet(__getArrayIfSingleItem(output["scheduledInstanceSet"]["item"]), context);
|
|
56045
56055
|
}
|
|
56046
56056
|
return contents;
|
|
@@ -56052,7 +56062,8 @@ var deserializeAws_ec2DescribeSecurityGroupReferencesResult = function (output,
|
|
|
56052
56062
|
if (output.securityGroupReferenceSet === "") {
|
|
56053
56063
|
contents.SecurityGroupReferenceSet = [];
|
|
56054
56064
|
}
|
|
56055
|
-
if (output["securityGroupReferenceSet"] !== undefined &&
|
|
56065
|
+
else if (output["securityGroupReferenceSet"] !== undefined &&
|
|
56066
|
+
output["securityGroupReferenceSet"]["item"] !== undefined) {
|
|
56056
56067
|
contents.SecurityGroupReferenceSet = deserializeAws_ec2SecurityGroupReferences(__getArrayIfSingleItem(output["securityGroupReferenceSet"]["item"]), context);
|
|
56057
56068
|
}
|
|
56058
56069
|
return contents;
|
|
@@ -56065,7 +56076,7 @@ var deserializeAws_ec2DescribeSecurityGroupRulesResult = function (output, conte
|
|
|
56065
56076
|
if (output.securityGroupRuleSet === "") {
|
|
56066
56077
|
contents.SecurityGroupRules = [];
|
|
56067
56078
|
}
|
|
56068
|
-
if (output["securityGroupRuleSet"] !== undefined && output["securityGroupRuleSet"]["item"] !== undefined) {
|
|
56079
|
+
else if (output["securityGroupRuleSet"] !== undefined && output["securityGroupRuleSet"]["item"] !== undefined) {
|
|
56069
56080
|
contents.SecurityGroupRules = deserializeAws_ec2SecurityGroupRuleList(__getArrayIfSingleItem(output["securityGroupRuleSet"]["item"]), context);
|
|
56070
56081
|
}
|
|
56071
56082
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56081,7 +56092,7 @@ var deserializeAws_ec2DescribeSecurityGroupsResult = function (output, context)
|
|
|
56081
56092
|
if (output.securityGroupInfo === "") {
|
|
56082
56093
|
contents.SecurityGroups = [];
|
|
56083
56094
|
}
|
|
56084
|
-
if (output["securityGroupInfo"] !== undefined && output["securityGroupInfo"]["item"] !== undefined) {
|
|
56095
|
+
else if (output["securityGroupInfo"] !== undefined && output["securityGroupInfo"]["item"] !== undefined) {
|
|
56085
56096
|
contents.SecurityGroups = deserializeAws_ec2SecurityGroupList(__getArrayIfSingleItem(output["securityGroupInfo"]["item"]), context);
|
|
56086
56097
|
}
|
|
56087
56098
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56098,13 +56109,13 @@ var deserializeAws_ec2DescribeSnapshotAttributeResult = function (output, contex
|
|
|
56098
56109
|
if (output.createVolumePermission === "") {
|
|
56099
56110
|
contents.CreateVolumePermissions = [];
|
|
56100
56111
|
}
|
|
56101
|
-
if (output["createVolumePermission"] !== undefined && output["createVolumePermission"]["item"] !== undefined) {
|
|
56112
|
+
else if (output["createVolumePermission"] !== undefined && output["createVolumePermission"]["item"] !== undefined) {
|
|
56102
56113
|
contents.CreateVolumePermissions = deserializeAws_ec2CreateVolumePermissionList(__getArrayIfSingleItem(output["createVolumePermission"]["item"]), context);
|
|
56103
56114
|
}
|
|
56104
56115
|
if (output.productCodes === "") {
|
|
56105
56116
|
contents.ProductCodes = [];
|
|
56106
56117
|
}
|
|
56107
|
-
if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
56118
|
+
else if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
56108
56119
|
contents.ProductCodes = deserializeAws_ec2ProductCodeList(__getArrayIfSingleItem(output["productCodes"]["item"]), context);
|
|
56109
56120
|
}
|
|
56110
56121
|
if (output["snapshotId"] !== undefined) {
|
|
@@ -56120,7 +56131,7 @@ var deserializeAws_ec2DescribeSnapshotsResult = function (output, context) {
|
|
|
56120
56131
|
if (output.snapshotSet === "") {
|
|
56121
56132
|
contents.Snapshots = [];
|
|
56122
56133
|
}
|
|
56123
|
-
if (output["snapshotSet"] !== undefined && output["snapshotSet"]["item"] !== undefined) {
|
|
56134
|
+
else if (output["snapshotSet"] !== undefined && output["snapshotSet"]["item"] !== undefined) {
|
|
56124
56135
|
contents.Snapshots = deserializeAws_ec2SnapshotList(__getArrayIfSingleItem(output["snapshotSet"]["item"]), context);
|
|
56125
56136
|
}
|
|
56126
56137
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56136,7 +56147,7 @@ var deserializeAws_ec2DescribeSnapshotTierStatusResult = function (output, conte
|
|
|
56136
56147
|
if (output.snapshotTierStatusSet === "") {
|
|
56137
56148
|
contents.SnapshotTierStatuses = [];
|
|
56138
56149
|
}
|
|
56139
|
-
if (output["snapshotTierStatusSet"] !== undefined && output["snapshotTierStatusSet"]["item"] !== undefined) {
|
|
56150
|
+
else if (output["snapshotTierStatusSet"] !== undefined && output["snapshotTierStatusSet"]["item"] !== undefined) {
|
|
56140
56151
|
contents.SnapshotTierStatuses = deserializeAws_ec2snapshotTierStatusSet(__getArrayIfSingleItem(output["snapshotTierStatusSet"]["item"]), context);
|
|
56141
56152
|
}
|
|
56142
56153
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56162,7 +56173,7 @@ var deserializeAws_ec2DescribeSpotFleetInstancesResponse = function (output, con
|
|
|
56162
56173
|
if (output.activeInstanceSet === "") {
|
|
56163
56174
|
contents.ActiveInstances = [];
|
|
56164
56175
|
}
|
|
56165
|
-
if (output["activeInstanceSet"] !== undefined && output["activeInstanceSet"]["item"] !== undefined) {
|
|
56176
|
+
else if (output["activeInstanceSet"] !== undefined && output["activeInstanceSet"]["item"] !== undefined) {
|
|
56166
56177
|
contents.ActiveInstances = deserializeAws_ec2ActiveInstanceSet(__getArrayIfSingleItem(output["activeInstanceSet"]["item"]), context);
|
|
56167
56178
|
}
|
|
56168
56179
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56184,7 +56195,7 @@ var deserializeAws_ec2DescribeSpotFleetRequestHistoryResponse = function (output
|
|
|
56184
56195
|
if (output.historyRecordSet === "") {
|
|
56185
56196
|
contents.HistoryRecords = [];
|
|
56186
56197
|
}
|
|
56187
|
-
if (output["historyRecordSet"] !== undefined && output["historyRecordSet"]["item"] !== undefined) {
|
|
56198
|
+
else if (output["historyRecordSet"] !== undefined && output["historyRecordSet"]["item"] !== undefined) {
|
|
56188
56199
|
contents.HistoryRecords = deserializeAws_ec2HistoryRecords(__getArrayIfSingleItem(output["historyRecordSet"]["item"]), context);
|
|
56189
56200
|
}
|
|
56190
56201
|
if (output["lastEvaluatedTime"] !== undefined) {
|
|
@@ -56212,7 +56223,8 @@ var deserializeAws_ec2DescribeSpotFleetRequestsResponse = function (output, cont
|
|
|
56212
56223
|
if (output.spotFleetRequestConfigSet === "") {
|
|
56213
56224
|
contents.SpotFleetRequestConfigs = [];
|
|
56214
56225
|
}
|
|
56215
|
-
if (output["spotFleetRequestConfigSet"] !== undefined &&
|
|
56226
|
+
else if (output["spotFleetRequestConfigSet"] !== undefined &&
|
|
56227
|
+
output["spotFleetRequestConfigSet"]["item"] !== undefined) {
|
|
56216
56228
|
contents.SpotFleetRequestConfigs = deserializeAws_ec2SpotFleetRequestConfigSet(__getArrayIfSingleItem(output["spotFleetRequestConfigSet"]["item"]), context);
|
|
56217
56229
|
}
|
|
56218
56230
|
return contents;
|
|
@@ -56225,7 +56237,7 @@ var deserializeAws_ec2DescribeSpotInstanceRequestsResult = function (output, con
|
|
|
56225
56237
|
if (output.spotInstanceRequestSet === "") {
|
|
56226
56238
|
contents.SpotInstanceRequests = [];
|
|
56227
56239
|
}
|
|
56228
|
-
if (output["spotInstanceRequestSet"] !== undefined && output["spotInstanceRequestSet"]["item"] !== undefined) {
|
|
56240
|
+
else if (output["spotInstanceRequestSet"] !== undefined && output["spotInstanceRequestSet"]["item"] !== undefined) {
|
|
56229
56241
|
contents.SpotInstanceRequests = deserializeAws_ec2SpotInstanceRequestList(__getArrayIfSingleItem(output["spotInstanceRequestSet"]["item"]), context);
|
|
56230
56242
|
}
|
|
56231
56243
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56244,7 +56256,7 @@ var deserializeAws_ec2DescribeSpotPriceHistoryResult = function (output, context
|
|
|
56244
56256
|
if (output.spotPriceHistorySet === "") {
|
|
56245
56257
|
contents.SpotPriceHistory = [];
|
|
56246
56258
|
}
|
|
56247
|
-
if (output["spotPriceHistorySet"] !== undefined && output["spotPriceHistorySet"]["item"] !== undefined) {
|
|
56259
|
+
else if (output["spotPriceHistorySet"] !== undefined && output["spotPriceHistorySet"]["item"] !== undefined) {
|
|
56248
56260
|
contents.SpotPriceHistory = deserializeAws_ec2SpotPriceHistoryList(__getArrayIfSingleItem(output["spotPriceHistorySet"]["item"]), context);
|
|
56249
56261
|
}
|
|
56250
56262
|
return contents;
|
|
@@ -56260,7 +56272,7 @@ var deserializeAws_ec2DescribeStaleSecurityGroupsResult = function (output, cont
|
|
|
56260
56272
|
if (output.staleSecurityGroupSet === "") {
|
|
56261
56273
|
contents.StaleSecurityGroupSet = [];
|
|
56262
56274
|
}
|
|
56263
|
-
if (output["staleSecurityGroupSet"] !== undefined && output["staleSecurityGroupSet"]["item"] !== undefined) {
|
|
56275
|
+
else if (output["staleSecurityGroupSet"] !== undefined && output["staleSecurityGroupSet"]["item"] !== undefined) {
|
|
56264
56276
|
contents.StaleSecurityGroupSet = deserializeAws_ec2StaleSecurityGroupSet(__getArrayIfSingleItem(output["staleSecurityGroupSet"]["item"]), context);
|
|
56265
56277
|
}
|
|
56266
56278
|
return contents;
|
|
@@ -56273,7 +56285,8 @@ var deserializeAws_ec2DescribeStoreImageTasksResult = function (output, context)
|
|
|
56273
56285
|
if (output.storeImageTaskResultSet === "") {
|
|
56274
56286
|
contents.StoreImageTaskResults = [];
|
|
56275
56287
|
}
|
|
56276
|
-
if (output["storeImageTaskResultSet"] !== undefined &&
|
|
56288
|
+
else if (output["storeImageTaskResultSet"] !== undefined &&
|
|
56289
|
+
output["storeImageTaskResultSet"]["item"] !== undefined) {
|
|
56277
56290
|
contents.StoreImageTaskResults = deserializeAws_ec2StoreImageTaskResultSet(__getArrayIfSingleItem(output["storeImageTaskResultSet"]["item"]), context);
|
|
56278
56291
|
}
|
|
56279
56292
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56289,7 +56302,7 @@ var deserializeAws_ec2DescribeSubnetsResult = function (output, context) {
|
|
|
56289
56302
|
if (output.subnetSet === "") {
|
|
56290
56303
|
contents.Subnets = [];
|
|
56291
56304
|
}
|
|
56292
|
-
if (output["subnetSet"] !== undefined && output["subnetSet"]["item"] !== undefined) {
|
|
56305
|
+
else if (output["subnetSet"] !== undefined && output["subnetSet"]["item"] !== undefined) {
|
|
56293
56306
|
contents.Subnets = deserializeAws_ec2SubnetList(__getArrayIfSingleItem(output["subnetSet"]["item"]), context);
|
|
56294
56307
|
}
|
|
56295
56308
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56308,7 +56321,7 @@ var deserializeAws_ec2DescribeTagsResult = function (output, context) {
|
|
|
56308
56321
|
if (output.tagSet === "") {
|
|
56309
56322
|
contents.Tags = [];
|
|
56310
56323
|
}
|
|
56311
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
56324
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
56312
56325
|
contents.Tags = deserializeAws_ec2TagDescriptionList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
56313
56326
|
}
|
|
56314
56327
|
return contents;
|
|
@@ -56321,7 +56334,7 @@ var deserializeAws_ec2DescribeTrafficMirrorFiltersResult = function (output, con
|
|
|
56321
56334
|
if (output.trafficMirrorFilterSet === "") {
|
|
56322
56335
|
contents.TrafficMirrorFilters = [];
|
|
56323
56336
|
}
|
|
56324
|
-
if (output["trafficMirrorFilterSet"] !== undefined && output["trafficMirrorFilterSet"]["item"] !== undefined) {
|
|
56337
|
+
else if (output["trafficMirrorFilterSet"] !== undefined && output["trafficMirrorFilterSet"]["item"] !== undefined) {
|
|
56325
56338
|
contents.TrafficMirrorFilters = deserializeAws_ec2TrafficMirrorFilterSet(__getArrayIfSingleItem(output["trafficMirrorFilterSet"]["item"]), context);
|
|
56326
56339
|
}
|
|
56327
56340
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56337,7 +56350,8 @@ var deserializeAws_ec2DescribeTrafficMirrorSessionsResult = function (output, co
|
|
|
56337
56350
|
if (output.trafficMirrorSessionSet === "") {
|
|
56338
56351
|
contents.TrafficMirrorSessions = [];
|
|
56339
56352
|
}
|
|
56340
|
-
if (output["trafficMirrorSessionSet"] !== undefined &&
|
|
56353
|
+
else if (output["trafficMirrorSessionSet"] !== undefined &&
|
|
56354
|
+
output["trafficMirrorSessionSet"]["item"] !== undefined) {
|
|
56341
56355
|
contents.TrafficMirrorSessions = deserializeAws_ec2TrafficMirrorSessionSet(__getArrayIfSingleItem(output["trafficMirrorSessionSet"]["item"]), context);
|
|
56342
56356
|
}
|
|
56343
56357
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56353,7 +56367,7 @@ var deserializeAws_ec2DescribeTrafficMirrorTargetsResult = function (output, con
|
|
|
56353
56367
|
if (output.trafficMirrorTargetSet === "") {
|
|
56354
56368
|
contents.TrafficMirrorTargets = [];
|
|
56355
56369
|
}
|
|
56356
|
-
if (output["trafficMirrorTargetSet"] !== undefined && output["trafficMirrorTargetSet"]["item"] !== undefined) {
|
|
56370
|
+
else if (output["trafficMirrorTargetSet"] !== undefined && output["trafficMirrorTargetSet"]["item"] !== undefined) {
|
|
56357
56371
|
contents.TrafficMirrorTargets = deserializeAws_ec2TrafficMirrorTargetSet(__getArrayIfSingleItem(output["trafficMirrorTargetSet"]["item"]), context);
|
|
56358
56372
|
}
|
|
56359
56373
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56369,7 +56383,8 @@ var deserializeAws_ec2DescribeTransitGatewayAttachmentsResult = function (output
|
|
|
56369
56383
|
if (output.transitGatewayAttachments === "") {
|
|
56370
56384
|
contents.TransitGatewayAttachments = [];
|
|
56371
56385
|
}
|
|
56372
|
-
if (output["transitGatewayAttachments"] !== undefined &&
|
|
56386
|
+
else if (output["transitGatewayAttachments"] !== undefined &&
|
|
56387
|
+
output["transitGatewayAttachments"]["item"] !== undefined) {
|
|
56373
56388
|
contents.TransitGatewayAttachments = deserializeAws_ec2TransitGatewayAttachmentList(__getArrayIfSingleItem(output["transitGatewayAttachments"]["item"]), context);
|
|
56374
56389
|
}
|
|
56375
56390
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56385,7 +56400,7 @@ var deserializeAws_ec2DescribeTransitGatewayConnectPeersResult = function (outpu
|
|
|
56385
56400
|
if (output.transitGatewayConnectPeerSet === "") {
|
|
56386
56401
|
contents.TransitGatewayConnectPeers = [];
|
|
56387
56402
|
}
|
|
56388
|
-
if (output["transitGatewayConnectPeerSet"] !== undefined &&
|
|
56403
|
+
else if (output["transitGatewayConnectPeerSet"] !== undefined &&
|
|
56389
56404
|
output["transitGatewayConnectPeerSet"]["item"] !== undefined) {
|
|
56390
56405
|
contents.TransitGatewayConnectPeers = deserializeAws_ec2TransitGatewayConnectPeerList(__getArrayIfSingleItem(output["transitGatewayConnectPeerSet"]["item"]), context);
|
|
56391
56406
|
}
|
|
@@ -56402,7 +56417,8 @@ var deserializeAws_ec2DescribeTransitGatewayConnectsResult = function (output, c
|
|
|
56402
56417
|
if (output.transitGatewayConnectSet === "") {
|
|
56403
56418
|
contents.TransitGatewayConnects = [];
|
|
56404
56419
|
}
|
|
56405
|
-
if (output["transitGatewayConnectSet"] !== undefined &&
|
|
56420
|
+
else if (output["transitGatewayConnectSet"] !== undefined &&
|
|
56421
|
+
output["transitGatewayConnectSet"]["item"] !== undefined) {
|
|
56406
56422
|
contents.TransitGatewayConnects = deserializeAws_ec2TransitGatewayConnectList(__getArrayIfSingleItem(output["transitGatewayConnectSet"]["item"]), context);
|
|
56407
56423
|
}
|
|
56408
56424
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56418,7 +56434,7 @@ var deserializeAws_ec2DescribeTransitGatewayMulticastDomainsResult = function (o
|
|
|
56418
56434
|
if (output.transitGatewayMulticastDomains === "") {
|
|
56419
56435
|
contents.TransitGatewayMulticastDomains = [];
|
|
56420
56436
|
}
|
|
56421
|
-
if (output["transitGatewayMulticastDomains"] !== undefined &&
|
|
56437
|
+
else if (output["transitGatewayMulticastDomains"] !== undefined &&
|
|
56422
56438
|
output["transitGatewayMulticastDomains"]["item"] !== undefined) {
|
|
56423
56439
|
contents.TransitGatewayMulticastDomains = deserializeAws_ec2TransitGatewayMulticastDomainList(__getArrayIfSingleItem(output["transitGatewayMulticastDomains"]["item"]), context);
|
|
56424
56440
|
}
|
|
@@ -56435,7 +56451,7 @@ var deserializeAws_ec2DescribeTransitGatewayPeeringAttachmentsResult = function
|
|
|
56435
56451
|
if (output.transitGatewayPeeringAttachments === "") {
|
|
56436
56452
|
contents.TransitGatewayPeeringAttachments = [];
|
|
56437
56453
|
}
|
|
56438
|
-
if (output["transitGatewayPeeringAttachments"] !== undefined &&
|
|
56454
|
+
else if (output["transitGatewayPeeringAttachments"] !== undefined &&
|
|
56439
56455
|
output["transitGatewayPeeringAttachments"]["item"] !== undefined) {
|
|
56440
56456
|
contents.TransitGatewayPeeringAttachments = deserializeAws_ec2TransitGatewayPeeringAttachmentList(__getArrayIfSingleItem(output["transitGatewayPeeringAttachments"]["item"]), context);
|
|
56441
56457
|
}
|
|
@@ -56452,7 +56468,8 @@ var deserializeAws_ec2DescribeTransitGatewayRouteTablesResult = function (output
|
|
|
56452
56468
|
if (output.transitGatewayRouteTables === "") {
|
|
56453
56469
|
contents.TransitGatewayRouteTables = [];
|
|
56454
56470
|
}
|
|
56455
|
-
if (output["transitGatewayRouteTables"] !== undefined &&
|
|
56471
|
+
else if (output["transitGatewayRouteTables"] !== undefined &&
|
|
56472
|
+
output["transitGatewayRouteTables"]["item"] !== undefined) {
|
|
56456
56473
|
contents.TransitGatewayRouteTables = deserializeAws_ec2TransitGatewayRouteTableList(__getArrayIfSingleItem(output["transitGatewayRouteTables"]["item"]), context);
|
|
56457
56474
|
}
|
|
56458
56475
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56468,7 +56485,7 @@ var deserializeAws_ec2DescribeTransitGatewaysResult = function (output, context)
|
|
|
56468
56485
|
if (output.transitGatewaySet === "") {
|
|
56469
56486
|
contents.TransitGateways = [];
|
|
56470
56487
|
}
|
|
56471
|
-
if (output["transitGatewaySet"] !== undefined && output["transitGatewaySet"]["item"] !== undefined) {
|
|
56488
|
+
else if (output["transitGatewaySet"] !== undefined && output["transitGatewaySet"]["item"] !== undefined) {
|
|
56472
56489
|
contents.TransitGateways = deserializeAws_ec2TransitGatewayList(__getArrayIfSingleItem(output["transitGatewaySet"]["item"]), context);
|
|
56473
56490
|
}
|
|
56474
56491
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56484,7 +56501,7 @@ var deserializeAws_ec2DescribeTransitGatewayVpcAttachmentsResult = function (out
|
|
|
56484
56501
|
if (output.transitGatewayVpcAttachments === "") {
|
|
56485
56502
|
contents.TransitGatewayVpcAttachments = [];
|
|
56486
56503
|
}
|
|
56487
|
-
if (output["transitGatewayVpcAttachments"] !== undefined &&
|
|
56504
|
+
else if (output["transitGatewayVpcAttachments"] !== undefined &&
|
|
56488
56505
|
output["transitGatewayVpcAttachments"]["item"] !== undefined) {
|
|
56489
56506
|
contents.TransitGatewayVpcAttachments = deserializeAws_ec2TransitGatewayVpcAttachmentList(__getArrayIfSingleItem(output["transitGatewayVpcAttachments"]["item"]), context);
|
|
56490
56507
|
}
|
|
@@ -56501,7 +56518,8 @@ var deserializeAws_ec2DescribeTrunkInterfaceAssociationsResult = function (outpu
|
|
|
56501
56518
|
if (output.interfaceAssociationSet === "") {
|
|
56502
56519
|
contents.InterfaceAssociations = [];
|
|
56503
56520
|
}
|
|
56504
|
-
if (output["interfaceAssociationSet"] !== undefined &&
|
|
56521
|
+
else if (output["interfaceAssociationSet"] !== undefined &&
|
|
56522
|
+
output["interfaceAssociationSet"]["item"] !== undefined) {
|
|
56505
56523
|
contents.InterfaceAssociations = deserializeAws_ec2TrunkInterfaceAssociationList(__getArrayIfSingleItem(output["interfaceAssociationSet"]["item"]), context);
|
|
56506
56524
|
}
|
|
56507
56525
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56521,7 +56539,7 @@ var deserializeAws_ec2DescribeVolumeAttributeResult = function (output, context)
|
|
|
56521
56539
|
if (output.productCodes === "") {
|
|
56522
56540
|
contents.ProductCodes = [];
|
|
56523
56541
|
}
|
|
56524
|
-
if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
56542
|
+
else if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
56525
56543
|
contents.ProductCodes = deserializeAws_ec2ProductCodeList(__getArrayIfSingleItem(output["productCodes"]["item"]), context);
|
|
56526
56544
|
}
|
|
56527
56545
|
if (output["volumeId"] !== undefined) {
|
|
@@ -56537,7 +56555,7 @@ var deserializeAws_ec2DescribeVolumesModificationsResult = function (output, con
|
|
|
56537
56555
|
if (output.volumeModificationSet === "") {
|
|
56538
56556
|
contents.VolumesModifications = [];
|
|
56539
56557
|
}
|
|
56540
|
-
if (output["volumeModificationSet"] !== undefined && output["volumeModificationSet"]["item"] !== undefined) {
|
|
56558
|
+
else if (output["volumeModificationSet"] !== undefined && output["volumeModificationSet"]["item"] !== undefined) {
|
|
56541
56559
|
contents.VolumesModifications = deserializeAws_ec2VolumeModificationList(__getArrayIfSingleItem(output["volumeModificationSet"]["item"]), context);
|
|
56542
56560
|
}
|
|
56543
56561
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56553,7 +56571,7 @@ var deserializeAws_ec2DescribeVolumesResult = function (output, context) {
|
|
|
56553
56571
|
if (output.volumeSet === "") {
|
|
56554
56572
|
contents.Volumes = [];
|
|
56555
56573
|
}
|
|
56556
|
-
if (output["volumeSet"] !== undefined && output["volumeSet"]["item"] !== undefined) {
|
|
56574
|
+
else if (output["volumeSet"] !== undefined && output["volumeSet"]["item"] !== undefined) {
|
|
56557
56575
|
contents.Volumes = deserializeAws_ec2VolumeList(__getArrayIfSingleItem(output["volumeSet"]["item"]), context);
|
|
56558
56576
|
}
|
|
56559
56577
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56572,7 +56590,7 @@ var deserializeAws_ec2DescribeVolumeStatusResult = function (output, context) {
|
|
|
56572
56590
|
if (output.volumeStatusSet === "") {
|
|
56573
56591
|
contents.VolumeStatuses = [];
|
|
56574
56592
|
}
|
|
56575
|
-
if (output["volumeStatusSet"] !== undefined && output["volumeStatusSet"]["item"] !== undefined) {
|
|
56593
|
+
else if (output["volumeStatusSet"] !== undefined && output["volumeStatusSet"]["item"] !== undefined) {
|
|
56576
56594
|
contents.VolumeStatuses = deserializeAws_ec2VolumeStatusList(__getArrayIfSingleItem(output["volumeStatusSet"]["item"]), context);
|
|
56577
56595
|
}
|
|
56578
56596
|
return contents;
|
|
@@ -56605,7 +56623,7 @@ var deserializeAws_ec2DescribeVpcClassicLinkDnsSupportResult = function (output,
|
|
|
56605
56623
|
if (output.vpcs === "") {
|
|
56606
56624
|
contents.Vpcs = [];
|
|
56607
56625
|
}
|
|
56608
|
-
if (output["vpcs"] !== undefined && output["vpcs"]["item"] !== undefined) {
|
|
56626
|
+
else if (output["vpcs"] !== undefined && output["vpcs"]["item"] !== undefined) {
|
|
56609
56627
|
contents.Vpcs = deserializeAws_ec2ClassicLinkDnsSupportList(__getArrayIfSingleItem(output["vpcs"]["item"]), context);
|
|
56610
56628
|
}
|
|
56611
56629
|
return contents;
|
|
@@ -56617,7 +56635,7 @@ var deserializeAws_ec2DescribeVpcClassicLinkResult = function (output, context)
|
|
|
56617
56635
|
if (output.vpcSet === "") {
|
|
56618
56636
|
contents.Vpcs = [];
|
|
56619
56637
|
}
|
|
56620
|
-
if (output["vpcSet"] !== undefined && output["vpcSet"]["item"] !== undefined) {
|
|
56638
|
+
else if (output["vpcSet"] !== undefined && output["vpcSet"]["item"] !== undefined) {
|
|
56621
56639
|
contents.Vpcs = deserializeAws_ec2VpcClassicLinkList(__getArrayIfSingleItem(output["vpcSet"]["item"]), context);
|
|
56622
56640
|
}
|
|
56623
56641
|
return contents;
|
|
@@ -56630,7 +56648,8 @@ var deserializeAws_ec2DescribeVpcEndpointConnectionNotificationsResult = functio
|
|
|
56630
56648
|
if (output.connectionNotificationSet === "") {
|
|
56631
56649
|
contents.ConnectionNotificationSet = [];
|
|
56632
56650
|
}
|
|
56633
|
-
if (output["connectionNotificationSet"] !== undefined &&
|
|
56651
|
+
else if (output["connectionNotificationSet"] !== undefined &&
|
|
56652
|
+
output["connectionNotificationSet"]["item"] !== undefined) {
|
|
56634
56653
|
contents.ConnectionNotificationSet = deserializeAws_ec2ConnectionNotificationSet(__getArrayIfSingleItem(output["connectionNotificationSet"]["item"]), context);
|
|
56635
56654
|
}
|
|
56636
56655
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56646,7 +56665,8 @@ var deserializeAws_ec2DescribeVpcEndpointConnectionsResult = function (output, c
|
|
|
56646
56665
|
if (output.vpcEndpointConnectionSet === "") {
|
|
56647
56666
|
contents.VpcEndpointConnections = [];
|
|
56648
56667
|
}
|
|
56649
|
-
if (output["vpcEndpointConnectionSet"] !== undefined &&
|
|
56668
|
+
else if (output["vpcEndpointConnectionSet"] !== undefined &&
|
|
56669
|
+
output["vpcEndpointConnectionSet"]["item"] !== undefined) {
|
|
56650
56670
|
contents.VpcEndpointConnections = deserializeAws_ec2VpcEndpointConnectionSet(__getArrayIfSingleItem(output["vpcEndpointConnectionSet"]["item"]), context);
|
|
56651
56671
|
}
|
|
56652
56672
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56662,7 +56682,8 @@ var deserializeAws_ec2DescribeVpcEndpointServiceConfigurationsResult = function
|
|
|
56662
56682
|
if (output.serviceConfigurationSet === "") {
|
|
56663
56683
|
contents.ServiceConfigurations = [];
|
|
56664
56684
|
}
|
|
56665
|
-
if (output["serviceConfigurationSet"] !== undefined &&
|
|
56685
|
+
else if (output["serviceConfigurationSet"] !== undefined &&
|
|
56686
|
+
output["serviceConfigurationSet"]["item"] !== undefined) {
|
|
56666
56687
|
contents.ServiceConfigurations = deserializeAws_ec2ServiceConfigurationSet(__getArrayIfSingleItem(output["serviceConfigurationSet"]["item"]), context);
|
|
56667
56688
|
}
|
|
56668
56689
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56678,7 +56699,7 @@ var deserializeAws_ec2DescribeVpcEndpointServicePermissionsResult = function (ou
|
|
|
56678
56699
|
if (output.allowedPrincipals === "") {
|
|
56679
56700
|
contents.AllowedPrincipals = [];
|
|
56680
56701
|
}
|
|
56681
|
-
if (output["allowedPrincipals"] !== undefined && output["allowedPrincipals"]["item"] !== undefined) {
|
|
56702
|
+
else if (output["allowedPrincipals"] !== undefined && output["allowedPrincipals"]["item"] !== undefined) {
|
|
56682
56703
|
contents.AllowedPrincipals = deserializeAws_ec2AllowedPrincipalSet(__getArrayIfSingleItem(output["allowedPrincipals"]["item"]), context);
|
|
56683
56704
|
}
|
|
56684
56705
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56695,13 +56716,13 @@ var deserializeAws_ec2DescribeVpcEndpointServicesResult = function (output, cont
|
|
|
56695
56716
|
if (output.serviceNameSet === "") {
|
|
56696
56717
|
contents.ServiceNames = [];
|
|
56697
56718
|
}
|
|
56698
|
-
if (output["serviceNameSet"] !== undefined && output["serviceNameSet"]["item"] !== undefined) {
|
|
56719
|
+
else if (output["serviceNameSet"] !== undefined && output["serviceNameSet"]["item"] !== undefined) {
|
|
56699
56720
|
contents.ServiceNames = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["serviceNameSet"]["item"]), context);
|
|
56700
56721
|
}
|
|
56701
56722
|
if (output.serviceDetailSet === "") {
|
|
56702
56723
|
contents.ServiceDetails = [];
|
|
56703
56724
|
}
|
|
56704
|
-
if (output["serviceDetailSet"] !== undefined && output["serviceDetailSet"]["item"] !== undefined) {
|
|
56725
|
+
else if (output["serviceDetailSet"] !== undefined && output["serviceDetailSet"]["item"] !== undefined) {
|
|
56705
56726
|
contents.ServiceDetails = deserializeAws_ec2ServiceDetailSet(__getArrayIfSingleItem(output["serviceDetailSet"]["item"]), context);
|
|
56706
56727
|
}
|
|
56707
56728
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56717,7 +56738,7 @@ var deserializeAws_ec2DescribeVpcEndpointsResult = function (output, context) {
|
|
|
56717
56738
|
if (output.vpcEndpointSet === "") {
|
|
56718
56739
|
contents.VpcEndpoints = [];
|
|
56719
56740
|
}
|
|
56720
|
-
if (output["vpcEndpointSet"] !== undefined && output["vpcEndpointSet"]["item"] !== undefined) {
|
|
56741
|
+
else if (output["vpcEndpointSet"] !== undefined && output["vpcEndpointSet"]["item"] !== undefined) {
|
|
56721
56742
|
contents.VpcEndpoints = deserializeAws_ec2VpcEndpointSet(__getArrayIfSingleItem(output["vpcEndpointSet"]["item"]), context);
|
|
56722
56743
|
}
|
|
56723
56744
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56733,7 +56754,8 @@ var deserializeAws_ec2DescribeVpcPeeringConnectionsResult = function (output, co
|
|
|
56733
56754
|
if (output.vpcPeeringConnectionSet === "") {
|
|
56734
56755
|
contents.VpcPeeringConnections = [];
|
|
56735
56756
|
}
|
|
56736
|
-
if (output["vpcPeeringConnectionSet"] !== undefined &&
|
|
56757
|
+
else if (output["vpcPeeringConnectionSet"] !== undefined &&
|
|
56758
|
+
output["vpcPeeringConnectionSet"]["item"] !== undefined) {
|
|
56737
56759
|
contents.VpcPeeringConnections = deserializeAws_ec2VpcPeeringConnectionList(__getArrayIfSingleItem(output["vpcPeeringConnectionSet"]["item"]), context);
|
|
56738
56760
|
}
|
|
56739
56761
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56749,7 +56771,7 @@ var deserializeAws_ec2DescribeVpcsResult = function (output, context) {
|
|
|
56749
56771
|
if (output.vpcSet === "") {
|
|
56750
56772
|
contents.Vpcs = [];
|
|
56751
56773
|
}
|
|
56752
|
-
if (output["vpcSet"] !== undefined && output["vpcSet"]["item"] !== undefined) {
|
|
56774
|
+
else if (output["vpcSet"] !== undefined && output["vpcSet"]["item"] !== undefined) {
|
|
56753
56775
|
contents.Vpcs = deserializeAws_ec2VpcList(__getArrayIfSingleItem(output["vpcSet"]["item"]), context);
|
|
56754
56776
|
}
|
|
56755
56777
|
if (output["nextToken"] !== undefined) {
|
|
@@ -56764,7 +56786,7 @@ var deserializeAws_ec2DescribeVpnConnectionsResult = function (output, context)
|
|
|
56764
56786
|
if (output.vpnConnectionSet === "") {
|
|
56765
56787
|
contents.VpnConnections = [];
|
|
56766
56788
|
}
|
|
56767
|
-
if (output["vpnConnectionSet"] !== undefined && output["vpnConnectionSet"]["item"] !== undefined) {
|
|
56789
|
+
else if (output["vpnConnectionSet"] !== undefined && output["vpnConnectionSet"]["item"] !== undefined) {
|
|
56768
56790
|
contents.VpnConnections = deserializeAws_ec2VpnConnectionList(__getArrayIfSingleItem(output["vpnConnectionSet"]["item"]), context);
|
|
56769
56791
|
}
|
|
56770
56792
|
return contents;
|
|
@@ -56776,7 +56798,7 @@ var deserializeAws_ec2DescribeVpnGatewaysResult = function (output, context) {
|
|
|
56776
56798
|
if (output.vpnGatewaySet === "") {
|
|
56777
56799
|
contents.VpnGateways = [];
|
|
56778
56800
|
}
|
|
56779
|
-
if (output["vpnGatewaySet"] !== undefined && output["vpnGatewaySet"]["item"] !== undefined) {
|
|
56801
|
+
else if (output["vpnGatewaySet"] !== undefined && output["vpnGatewaySet"]["item"] !== undefined) {
|
|
56780
56802
|
contents.VpnGateways = deserializeAws_ec2VpnGatewayList(__getArrayIfSingleItem(output["vpnGatewaySet"]["item"]), context);
|
|
56781
56803
|
}
|
|
56782
56804
|
return contents;
|
|
@@ -56818,7 +56840,7 @@ var deserializeAws_ec2DhcpConfiguration = function (output, context) {
|
|
|
56818
56840
|
if (output.valueSet === "") {
|
|
56819
56841
|
contents.Values = [];
|
|
56820
56842
|
}
|
|
56821
|
-
if (output["valueSet"] !== undefined && output["valueSet"]["item"] !== undefined) {
|
|
56843
|
+
else if (output["valueSet"] !== undefined && output["valueSet"]["item"] !== undefined) {
|
|
56822
56844
|
contents.Values = deserializeAws_ec2DhcpConfigurationValueList(__getArrayIfSingleItem(output["valueSet"]["item"]), context);
|
|
56823
56845
|
}
|
|
56824
56846
|
return contents;
|
|
@@ -56853,7 +56875,7 @@ var deserializeAws_ec2DhcpOptions = function (output, context) {
|
|
|
56853
56875
|
if (output.dhcpConfigurationSet === "") {
|
|
56854
56876
|
contents.DhcpConfigurations = [];
|
|
56855
56877
|
}
|
|
56856
|
-
if (output["dhcpConfigurationSet"] !== undefined && output["dhcpConfigurationSet"]["item"] !== undefined) {
|
|
56878
|
+
else if (output["dhcpConfigurationSet"] !== undefined && output["dhcpConfigurationSet"]["item"] !== undefined) {
|
|
56857
56879
|
contents.DhcpConfigurations = deserializeAws_ec2DhcpConfigurationList(__getArrayIfSingleItem(output["dhcpConfigurationSet"]["item"]), context);
|
|
56858
56880
|
}
|
|
56859
56881
|
if (output["dhcpOptionsId"] !== undefined) {
|
|
@@ -56865,7 +56887,7 @@ var deserializeAws_ec2DhcpOptions = function (output, context) {
|
|
|
56865
56887
|
if (output.tagSet === "") {
|
|
56866
56888
|
contents.Tags = [];
|
|
56867
56889
|
}
|
|
56868
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
56890
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
56869
56891
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
56870
56892
|
}
|
|
56871
56893
|
return contents;
|
|
@@ -56950,7 +56972,7 @@ var deserializeAws_ec2DisableFastSnapshotRestoreErrorItem = function (output, co
|
|
|
56950
56972
|
if (output.fastSnapshotRestoreStateErrorSet === "") {
|
|
56951
56973
|
contents.FastSnapshotRestoreStateErrors = [];
|
|
56952
56974
|
}
|
|
56953
|
-
if (output["fastSnapshotRestoreStateErrorSet"] !== undefined &&
|
|
56975
|
+
else if (output["fastSnapshotRestoreStateErrorSet"] !== undefined &&
|
|
56954
56976
|
output["fastSnapshotRestoreStateErrorSet"]["item"] !== undefined) {
|
|
56955
56977
|
contents.FastSnapshotRestoreStateErrors = deserializeAws_ec2DisableFastSnapshotRestoreStateErrorSet(__getArrayIfSingleItem(output["fastSnapshotRestoreStateErrorSet"]["item"]), context);
|
|
56956
56978
|
}
|
|
@@ -56974,13 +56996,13 @@ var deserializeAws_ec2DisableFastSnapshotRestoresResult = function (output, cont
|
|
|
56974
56996
|
if (output.successful === "") {
|
|
56975
56997
|
contents.Successful = [];
|
|
56976
56998
|
}
|
|
56977
|
-
if (output["successful"] !== undefined && output["successful"]["item"] !== undefined) {
|
|
56999
|
+
else if (output["successful"] !== undefined && output["successful"]["item"] !== undefined) {
|
|
56978
57000
|
contents.Successful = deserializeAws_ec2DisableFastSnapshotRestoreSuccessSet(__getArrayIfSingleItem(output["successful"]["item"]), context);
|
|
56979
57001
|
}
|
|
56980
57002
|
if (output.unsuccessful === "") {
|
|
56981
57003
|
contents.Unsuccessful = [];
|
|
56982
57004
|
}
|
|
56983
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
57005
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
56984
57006
|
contents.Unsuccessful = deserializeAws_ec2DisableFastSnapshotRestoreErrorSet(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
56985
57007
|
}
|
|
56986
57008
|
return contents;
|
|
@@ -57458,7 +57480,7 @@ var deserializeAws_ec2EgressOnlyInternetGateway = function (output, context) {
|
|
|
57458
57480
|
if (output.attachmentSet === "") {
|
|
57459
57481
|
contents.Attachments = [];
|
|
57460
57482
|
}
|
|
57461
|
-
if (output["attachmentSet"] !== undefined && output["attachmentSet"]["item"] !== undefined) {
|
|
57483
|
+
else if (output["attachmentSet"] !== undefined && output["attachmentSet"]["item"] !== undefined) {
|
|
57462
57484
|
contents.Attachments = deserializeAws_ec2InternetGatewayAttachmentList(__getArrayIfSingleItem(output["attachmentSet"]["item"]), context);
|
|
57463
57485
|
}
|
|
57464
57486
|
if (output["egressOnlyInternetGatewayId"] !== undefined) {
|
|
@@ -57467,7 +57489,7 @@ var deserializeAws_ec2EgressOnlyInternetGateway = function (output, context) {
|
|
|
57467
57489
|
if (output.tagSet === "") {
|
|
57468
57490
|
contents.Tags = [];
|
|
57469
57491
|
}
|
|
57470
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
57492
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
57471
57493
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
57472
57494
|
}
|
|
57473
57495
|
return contents;
|
|
@@ -57553,7 +57575,7 @@ var deserializeAws_ec2ElasticGpus = function (output, context) {
|
|
|
57553
57575
|
if (output.tagSet === "") {
|
|
57554
57576
|
contents.Tags = [];
|
|
57555
57577
|
}
|
|
57556
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
57578
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
57557
57579
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
57558
57580
|
}
|
|
57559
57581
|
return contents;
|
|
@@ -57679,7 +57701,7 @@ var deserializeAws_ec2EnableFastSnapshotRestoreErrorItem = function (output, con
|
|
|
57679
57701
|
if (output.fastSnapshotRestoreStateErrorSet === "") {
|
|
57680
57702
|
contents.FastSnapshotRestoreStateErrors = [];
|
|
57681
57703
|
}
|
|
57682
|
-
if (output["fastSnapshotRestoreStateErrorSet"] !== undefined &&
|
|
57704
|
+
else if (output["fastSnapshotRestoreStateErrorSet"] !== undefined &&
|
|
57683
57705
|
output["fastSnapshotRestoreStateErrorSet"]["item"] !== undefined) {
|
|
57684
57706
|
contents.FastSnapshotRestoreStateErrors = deserializeAws_ec2EnableFastSnapshotRestoreStateErrorSet(__getArrayIfSingleItem(output["fastSnapshotRestoreStateErrorSet"]["item"]), context);
|
|
57685
57707
|
}
|
|
@@ -57703,13 +57725,13 @@ var deserializeAws_ec2EnableFastSnapshotRestoresResult = function (output, conte
|
|
|
57703
57725
|
if (output.successful === "") {
|
|
57704
57726
|
contents.Successful = [];
|
|
57705
57727
|
}
|
|
57706
|
-
if (output["successful"] !== undefined && output["successful"]["item"] !== undefined) {
|
|
57728
|
+
else if (output["successful"] !== undefined && output["successful"]["item"] !== undefined) {
|
|
57707
57729
|
contents.Successful = deserializeAws_ec2EnableFastSnapshotRestoreSuccessSet(__getArrayIfSingleItem(output["successful"]["item"]), context);
|
|
57708
57730
|
}
|
|
57709
57731
|
if (output.unsuccessful === "") {
|
|
57710
57732
|
contents.Unsuccessful = [];
|
|
57711
57733
|
}
|
|
57712
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
57734
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
57713
57735
|
contents.Unsuccessful = deserializeAws_ec2EnableFastSnapshotRestoreErrorSet(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
57714
57736
|
}
|
|
57715
57737
|
return contents;
|
|
@@ -57983,7 +58005,7 @@ var deserializeAws_ec2Explanation = function (output, context) {
|
|
|
57983
58005
|
if (output.addressSet === "") {
|
|
57984
58006
|
contents.Addresses = [];
|
|
57985
58007
|
}
|
|
57986
|
-
if (output["addressSet"] !== undefined && output["addressSet"]["item"] !== undefined) {
|
|
58008
|
+
else if (output["addressSet"] !== undefined && output["addressSet"]["item"] !== undefined) {
|
|
57987
58009
|
contents.Addresses = deserializeAws_ec2IpAddressList(__getArrayIfSingleItem(output["addressSet"]["item"]), context);
|
|
57988
58010
|
}
|
|
57989
58011
|
if (output["attachedTo"] !== undefined) {
|
|
@@ -57992,13 +58014,13 @@ var deserializeAws_ec2Explanation = function (output, context) {
|
|
|
57992
58014
|
if (output.availabilityZoneSet === "") {
|
|
57993
58015
|
contents.AvailabilityZones = [];
|
|
57994
58016
|
}
|
|
57995
|
-
if (output["availabilityZoneSet"] !== undefined && output["availabilityZoneSet"]["item"] !== undefined) {
|
|
58017
|
+
else if (output["availabilityZoneSet"] !== undefined && output["availabilityZoneSet"]["item"] !== undefined) {
|
|
57996
58018
|
contents.AvailabilityZones = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["availabilityZoneSet"]["item"]), context);
|
|
57997
58019
|
}
|
|
57998
58020
|
if (output.cidrSet === "") {
|
|
57999
58021
|
contents.Cidrs = [];
|
|
58000
58022
|
}
|
|
58001
|
-
if (output["cidrSet"] !== undefined && output["cidrSet"]["item"] !== undefined) {
|
|
58023
|
+
else if (output["cidrSet"] !== undefined && output["cidrSet"]["item"] !== undefined) {
|
|
58002
58024
|
contents.Cidrs = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["cidrSet"]["item"]), context);
|
|
58003
58025
|
}
|
|
58004
58026
|
if (output["component"] !== undefined) {
|
|
@@ -58043,7 +58065,7 @@ var deserializeAws_ec2Explanation = function (output, context) {
|
|
|
58043
58065
|
if (output.loadBalancerTargetGroupSet === "") {
|
|
58044
58066
|
contents.LoadBalancerTargetGroups = [];
|
|
58045
58067
|
}
|
|
58046
|
-
if (output["loadBalancerTargetGroupSet"] !== undefined &&
|
|
58068
|
+
else if (output["loadBalancerTargetGroupSet"] !== undefined &&
|
|
58047
58069
|
output["loadBalancerTargetGroupSet"]["item"] !== undefined) {
|
|
58048
58070
|
contents.LoadBalancerTargetGroups = deserializeAws_ec2AnalysisComponentList(__getArrayIfSingleItem(output["loadBalancerTargetGroupSet"]["item"]), context);
|
|
58049
58071
|
}
|
|
@@ -58074,7 +58096,7 @@ var deserializeAws_ec2Explanation = function (output, context) {
|
|
|
58074
58096
|
if (output.portRangeSet === "") {
|
|
58075
58097
|
contents.PortRanges = [];
|
|
58076
58098
|
}
|
|
58077
|
-
if (output["portRangeSet"] !== undefined && output["portRangeSet"]["item"] !== undefined) {
|
|
58099
|
+
else if (output["portRangeSet"] !== undefined && output["portRangeSet"]["item"] !== undefined) {
|
|
58078
58100
|
contents.PortRanges = deserializeAws_ec2PortRangeList(__getArrayIfSingleItem(output["portRangeSet"]["item"]), context);
|
|
58079
58101
|
}
|
|
58080
58102
|
if (output["prefixList"] !== undefined) {
|
|
@@ -58083,7 +58105,7 @@ var deserializeAws_ec2Explanation = function (output, context) {
|
|
|
58083
58105
|
if (output.protocolSet === "") {
|
|
58084
58106
|
contents.Protocols = [];
|
|
58085
58107
|
}
|
|
58086
|
-
if (output["protocolSet"] !== undefined && output["protocolSet"]["item"] !== undefined) {
|
|
58108
|
+
else if (output["protocolSet"] !== undefined && output["protocolSet"]["item"] !== undefined) {
|
|
58087
58109
|
contents.Protocols = deserializeAws_ec2StringList(__getArrayIfSingleItem(output["protocolSet"]["item"]), context);
|
|
58088
58110
|
}
|
|
58089
58111
|
if (output["routeTableRoute"] !== undefined) {
|
|
@@ -58101,7 +58123,7 @@ var deserializeAws_ec2Explanation = function (output, context) {
|
|
|
58101
58123
|
if (output.securityGroupSet === "") {
|
|
58102
58124
|
contents.SecurityGroups = [];
|
|
58103
58125
|
}
|
|
58104
|
-
if (output["securityGroupSet"] !== undefined && output["securityGroupSet"]["item"] !== undefined) {
|
|
58126
|
+
else if (output["securityGroupSet"] !== undefined && output["securityGroupSet"]["item"] !== undefined) {
|
|
58105
58127
|
contents.SecurityGroups = deserializeAws_ec2AnalysisComponentList(__getArrayIfSingleItem(output["securityGroupSet"]["item"]), context);
|
|
58106
58128
|
}
|
|
58107
58129
|
if (output["sourceVpc"] !== undefined) {
|
|
@@ -58217,7 +58239,7 @@ var deserializeAws_ec2ExportImageResult = function (output, context) {
|
|
|
58217
58239
|
if (output.tagSet === "") {
|
|
58218
58240
|
contents.Tags = [];
|
|
58219
58241
|
}
|
|
58220
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58242
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58221
58243
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
58222
58244
|
}
|
|
58223
58245
|
return contents;
|
|
@@ -58257,7 +58279,7 @@ var deserializeAws_ec2ExportImageTask = function (output, context) {
|
|
|
58257
58279
|
if (output.tagSet === "") {
|
|
58258
58280
|
contents.Tags = [];
|
|
58259
58281
|
}
|
|
58260
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58282
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58261
58283
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
58262
58284
|
}
|
|
58263
58285
|
return contents;
|
|
@@ -58303,7 +58325,7 @@ var deserializeAws_ec2ExportTask = function (output, context) {
|
|
|
58303
58325
|
if (output.tagSet === "") {
|
|
58304
58326
|
contents.Tags = [];
|
|
58305
58327
|
}
|
|
58306
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58328
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58307
58329
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
58308
58330
|
}
|
|
58309
58331
|
return contents;
|
|
@@ -58556,7 +58578,7 @@ var deserializeAws_ec2FleetData = function (output, context) {
|
|
|
58556
58578
|
if (output.launchTemplateConfigs === "") {
|
|
58557
58579
|
contents.LaunchTemplateConfigs = [];
|
|
58558
58580
|
}
|
|
58559
|
-
if (output["launchTemplateConfigs"] !== undefined && output["launchTemplateConfigs"]["item"] !== undefined) {
|
|
58581
|
+
else if (output["launchTemplateConfigs"] !== undefined && output["launchTemplateConfigs"]["item"] !== undefined) {
|
|
58560
58582
|
contents.LaunchTemplateConfigs = deserializeAws_ec2FleetLaunchTemplateConfigList(__getArrayIfSingleItem(output["launchTemplateConfigs"]["item"]), context);
|
|
58561
58583
|
}
|
|
58562
58584
|
if (output["targetCapacitySpecification"] !== undefined) {
|
|
@@ -58586,19 +58608,19 @@ var deserializeAws_ec2FleetData = function (output, context) {
|
|
|
58586
58608
|
if (output.tagSet === "") {
|
|
58587
58609
|
contents.Tags = [];
|
|
58588
58610
|
}
|
|
58589
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58611
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58590
58612
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
58591
58613
|
}
|
|
58592
58614
|
if (output.errorSet === "") {
|
|
58593
58615
|
contents.Errors = [];
|
|
58594
58616
|
}
|
|
58595
|
-
if (output["errorSet"] !== undefined && output["errorSet"]["item"] !== undefined) {
|
|
58617
|
+
else if (output["errorSet"] !== undefined && output["errorSet"]["item"] !== undefined) {
|
|
58596
58618
|
contents.Errors = deserializeAws_ec2DescribeFleetsErrorSet(__getArrayIfSingleItem(output["errorSet"]["item"]), context);
|
|
58597
58619
|
}
|
|
58598
58620
|
if (output.fleetInstanceSet === "") {
|
|
58599
58621
|
contents.Instances = [];
|
|
58600
58622
|
}
|
|
58601
|
-
if (output["fleetInstanceSet"] !== undefined && output["fleetInstanceSet"]["item"] !== undefined) {
|
|
58623
|
+
else if (output["fleetInstanceSet"] !== undefined && output["fleetInstanceSet"]["item"] !== undefined) {
|
|
58602
58624
|
contents.Instances = deserializeAws_ec2DescribeFleetsInstancesSet(__getArrayIfSingleItem(output["fleetInstanceSet"]["item"]), context);
|
|
58603
58625
|
}
|
|
58604
58626
|
if (output["context"] !== undefined) {
|
|
@@ -58617,7 +58639,7 @@ var deserializeAws_ec2FleetLaunchTemplateConfig = function (output, context) {
|
|
|
58617
58639
|
if (output.overrides === "") {
|
|
58618
58640
|
contents.Overrides = [];
|
|
58619
58641
|
}
|
|
58620
|
-
if (output["overrides"] !== undefined && output["overrides"]["item"] !== undefined) {
|
|
58642
|
+
else if (output["overrides"] !== undefined && output["overrides"]["item"] !== undefined) {
|
|
58621
58643
|
contents.Overrides = deserializeAws_ec2FleetLaunchTemplateOverridesList(__getArrayIfSingleItem(output["overrides"]["item"]), context);
|
|
58622
58644
|
}
|
|
58623
58645
|
return contents;
|
|
@@ -58785,7 +58807,7 @@ var deserializeAws_ec2FlowLog = function (output, context) {
|
|
|
58785
58807
|
if (output.tagSet === "") {
|
|
58786
58808
|
contents.Tags = [];
|
|
58787
58809
|
}
|
|
58788
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58810
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
58789
58811
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
58790
58812
|
}
|
|
58791
58813
|
if (output["maxAggregationInterval"] !== undefined) {
|
|
@@ -58900,13 +58922,13 @@ var deserializeAws_ec2FpgaImage = function (output, context) {
|
|
|
58900
58922
|
if (output.productCodes === "") {
|
|
58901
58923
|
contents.ProductCodes = [];
|
|
58902
58924
|
}
|
|
58903
|
-
if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
58925
|
+
else if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
58904
58926
|
contents.ProductCodes = deserializeAws_ec2ProductCodeList(__getArrayIfSingleItem(output["productCodes"]["item"]), context);
|
|
58905
58927
|
}
|
|
58906
58928
|
if (output.tags === "") {
|
|
58907
58929
|
contents.Tags = [];
|
|
58908
58930
|
}
|
|
58909
|
-
if (output["tags"] !== undefined && output["tags"]["item"] !== undefined) {
|
|
58931
|
+
else if (output["tags"] !== undefined && output["tags"]["item"] !== undefined) {
|
|
58910
58932
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tags"]["item"]), context);
|
|
58911
58933
|
}
|
|
58912
58934
|
if (output["public"] !== undefined) {
|
|
@@ -58937,13 +58959,13 @@ var deserializeAws_ec2FpgaImageAttribute = function (output, context) {
|
|
|
58937
58959
|
if (output.loadPermissions === "") {
|
|
58938
58960
|
contents.LoadPermissions = [];
|
|
58939
58961
|
}
|
|
58940
|
-
if (output["loadPermissions"] !== undefined && output["loadPermissions"]["item"] !== undefined) {
|
|
58962
|
+
else if (output["loadPermissions"] !== undefined && output["loadPermissions"]["item"] !== undefined) {
|
|
58941
58963
|
contents.LoadPermissions = deserializeAws_ec2LoadPermissionList(__getArrayIfSingleItem(output["loadPermissions"]["item"]), context);
|
|
58942
58964
|
}
|
|
58943
58965
|
if (output.productCodes === "") {
|
|
58944
58966
|
contents.ProductCodes = [];
|
|
58945
58967
|
}
|
|
58946
|
-
if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
58968
|
+
else if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
58947
58969
|
contents.ProductCodes = deserializeAws_ec2ProductCodeList(__getArrayIfSingleItem(output["productCodes"]["item"]), context);
|
|
58948
58970
|
}
|
|
58949
58971
|
return contents;
|
|
@@ -58979,7 +59001,7 @@ var deserializeAws_ec2FpgaInfo = function (output, context) {
|
|
|
58979
59001
|
if (output.fpgas === "") {
|
|
58980
59002
|
contents.Fpgas = [];
|
|
58981
59003
|
}
|
|
58982
|
-
if (output["fpgas"] !== undefined && output["fpgas"]["item"] !== undefined) {
|
|
59004
|
+
else if (output["fpgas"] !== undefined && output["fpgas"]["item"] !== undefined) {
|
|
58983
59005
|
contents.Fpgas = deserializeAws_ec2FpgaDeviceInfoList(__getArrayIfSingleItem(output["fpgas"]["item"]), context);
|
|
58984
59006
|
}
|
|
58985
59007
|
if (output["totalFpgaMemoryInMiB"] !== undefined) {
|
|
@@ -58994,7 +59016,7 @@ var deserializeAws_ec2GetAssociatedEnclaveCertificateIamRolesResult = function (
|
|
|
58994
59016
|
if (output.associatedRoleSet === "") {
|
|
58995
59017
|
contents.AssociatedRoles = [];
|
|
58996
59018
|
}
|
|
58997
|
-
if (output["associatedRoleSet"] !== undefined && output["associatedRoleSet"]["item"] !== undefined) {
|
|
59019
|
+
else if (output["associatedRoleSet"] !== undefined && output["associatedRoleSet"]["item"] !== undefined) {
|
|
58998
59020
|
contents.AssociatedRoles = deserializeAws_ec2AssociatedRolesList(__getArrayIfSingleItem(output["associatedRoleSet"]["item"]), context);
|
|
58999
59021
|
}
|
|
59000
59022
|
return contents;
|
|
@@ -59007,7 +59029,7 @@ var deserializeAws_ec2GetAssociatedIpv6PoolCidrsResult = function (output, conte
|
|
|
59007
59029
|
if (output.ipv6CidrAssociationSet === "") {
|
|
59008
59030
|
contents.Ipv6CidrAssociations = [];
|
|
59009
59031
|
}
|
|
59010
|
-
if (output["ipv6CidrAssociationSet"] !== undefined && output["ipv6CidrAssociationSet"]["item"] !== undefined) {
|
|
59032
|
+
else if (output["ipv6CidrAssociationSet"] !== undefined && output["ipv6CidrAssociationSet"]["item"] !== undefined) {
|
|
59011
59033
|
contents.Ipv6CidrAssociations = deserializeAws_ec2Ipv6CidrAssociationSet(__getArrayIfSingleItem(output["ipv6CidrAssociationSet"]["item"]), context);
|
|
59012
59034
|
}
|
|
59013
59035
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59046,7 +59068,7 @@ var deserializeAws_ec2GetCapacityReservationUsageResult = function (output, cont
|
|
|
59046
59068
|
if (output.instanceUsageSet === "") {
|
|
59047
59069
|
contents.InstanceUsages = [];
|
|
59048
59070
|
}
|
|
59049
|
-
if (output["instanceUsageSet"] !== undefined && output["instanceUsageSet"]["item"] !== undefined) {
|
|
59071
|
+
else if (output["instanceUsageSet"] !== undefined && output["instanceUsageSet"]["item"] !== undefined) {
|
|
59050
59072
|
contents.InstanceUsages = deserializeAws_ec2InstanceUsageSet(__getArrayIfSingleItem(output["instanceUsageSet"]["item"]), context);
|
|
59051
59073
|
}
|
|
59052
59074
|
return contents;
|
|
@@ -59063,7 +59085,7 @@ var deserializeAws_ec2GetCoipPoolUsageResult = function (output, context) {
|
|
|
59063
59085
|
if (output.coipAddressUsageSet === "") {
|
|
59064
59086
|
contents.CoipAddressUsages = [];
|
|
59065
59087
|
}
|
|
59066
|
-
if (output["coipAddressUsageSet"] !== undefined && output["coipAddressUsageSet"]["item"] !== undefined) {
|
|
59088
|
+
else if (output["coipAddressUsageSet"] !== undefined && output["coipAddressUsageSet"]["item"] !== undefined) {
|
|
59067
59089
|
contents.CoipAddressUsages = deserializeAws_ec2CoipAddressUsageSet(__getArrayIfSingleItem(output["coipAddressUsageSet"]["item"]), context);
|
|
59068
59090
|
}
|
|
59069
59091
|
if (output["localGatewayRouteTableId"] !== undefined) {
|
|
@@ -59148,7 +59170,7 @@ var deserializeAws_ec2GetGroupsForCapacityReservationResult = function (output,
|
|
|
59148
59170
|
if (output.capacityReservationGroupSet === "") {
|
|
59149
59171
|
contents.CapacityReservationGroups = [];
|
|
59150
59172
|
}
|
|
59151
|
-
if (output["capacityReservationGroupSet"] !== undefined &&
|
|
59173
|
+
else if (output["capacityReservationGroupSet"] !== undefined &&
|
|
59152
59174
|
output["capacityReservationGroupSet"]["item"] !== undefined) {
|
|
59153
59175
|
contents.CapacityReservationGroups = deserializeAws_ec2CapacityReservationGroupSet(__getArrayIfSingleItem(output["capacityReservationGroupSet"]["item"]), context);
|
|
59154
59176
|
}
|
|
@@ -59167,7 +59189,7 @@ var deserializeAws_ec2GetHostReservationPurchasePreviewResult = function (output
|
|
|
59167
59189
|
if (output.purchase === "") {
|
|
59168
59190
|
contents.Purchase = [];
|
|
59169
59191
|
}
|
|
59170
|
-
if (output["purchase"] !== undefined && output["purchase"]["item"] !== undefined) {
|
|
59192
|
+
else if (output["purchase"] !== undefined && output["purchase"]["item"] !== undefined) {
|
|
59171
59193
|
contents.Purchase = deserializeAws_ec2PurchaseSet(__getArrayIfSingleItem(output["purchase"]["item"]), context);
|
|
59172
59194
|
}
|
|
59173
59195
|
if (output["totalHourlyPrice"] !== undefined) {
|
|
@@ -59186,7 +59208,7 @@ var deserializeAws_ec2GetInstanceTypesFromInstanceRequirementsResult = function
|
|
|
59186
59208
|
if (output.instanceTypeSet === "") {
|
|
59187
59209
|
contents.InstanceTypes = [];
|
|
59188
59210
|
}
|
|
59189
|
-
if (output["instanceTypeSet"] !== undefined && output["instanceTypeSet"]["item"] !== undefined) {
|
|
59211
|
+
else if (output["instanceTypeSet"] !== undefined && output["instanceTypeSet"]["item"] !== undefined) {
|
|
59190
59212
|
contents.InstanceTypes = deserializeAws_ec2InstanceTypeInfoFromInstanceRequirementsSet(__getArrayIfSingleItem(output["instanceTypeSet"]["item"]), context);
|
|
59191
59213
|
}
|
|
59192
59214
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59215,7 +59237,7 @@ var deserializeAws_ec2GetIpamAddressHistoryResult = function (output, context) {
|
|
|
59215
59237
|
if (output.historyRecordSet === "") {
|
|
59216
59238
|
contents.HistoryRecords = [];
|
|
59217
59239
|
}
|
|
59218
|
-
if (output["historyRecordSet"] !== undefined && output["historyRecordSet"]["item"] !== undefined) {
|
|
59240
|
+
else if (output["historyRecordSet"] !== undefined && output["historyRecordSet"]["item"] !== undefined) {
|
|
59219
59241
|
contents.HistoryRecords = deserializeAws_ec2IpamAddressHistoryRecordSet(__getArrayIfSingleItem(output["historyRecordSet"]["item"]), context);
|
|
59220
59242
|
}
|
|
59221
59243
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59231,7 +59253,7 @@ var deserializeAws_ec2GetIpamPoolAllocationsResult = function (output, context)
|
|
|
59231
59253
|
if (output.ipamPoolAllocationSet === "") {
|
|
59232
59254
|
contents.IpamPoolAllocations = [];
|
|
59233
59255
|
}
|
|
59234
|
-
if (output["ipamPoolAllocationSet"] !== undefined && output["ipamPoolAllocationSet"]["item"] !== undefined) {
|
|
59256
|
+
else if (output["ipamPoolAllocationSet"] !== undefined && output["ipamPoolAllocationSet"]["item"] !== undefined) {
|
|
59235
59257
|
contents.IpamPoolAllocations = deserializeAws_ec2IpamPoolAllocationSet(__getArrayIfSingleItem(output["ipamPoolAllocationSet"]["item"]), context);
|
|
59236
59258
|
}
|
|
59237
59259
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59247,7 +59269,7 @@ var deserializeAws_ec2GetIpamPoolCidrsResult = function (output, context) {
|
|
|
59247
59269
|
if (output.ipamPoolCidrSet === "") {
|
|
59248
59270
|
contents.IpamPoolCidrs = [];
|
|
59249
59271
|
}
|
|
59250
|
-
if (output["ipamPoolCidrSet"] !== undefined && output["ipamPoolCidrSet"]["item"] !== undefined) {
|
|
59272
|
+
else if (output["ipamPoolCidrSet"] !== undefined && output["ipamPoolCidrSet"]["item"] !== undefined) {
|
|
59251
59273
|
contents.IpamPoolCidrs = deserializeAws_ec2IpamPoolCidrSet(__getArrayIfSingleItem(output["ipamPoolCidrSet"]["item"]), context);
|
|
59252
59274
|
}
|
|
59253
59275
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59266,7 +59288,7 @@ var deserializeAws_ec2GetIpamResourceCidrsResult = function (output, context) {
|
|
|
59266
59288
|
if (output.ipamResourceCidrSet === "") {
|
|
59267
59289
|
contents.IpamResourceCidrs = [];
|
|
59268
59290
|
}
|
|
59269
|
-
if (output["ipamResourceCidrSet"] !== undefined && output["ipamResourceCidrSet"]["item"] !== undefined) {
|
|
59291
|
+
else if (output["ipamResourceCidrSet"] !== undefined && output["ipamResourceCidrSet"]["item"] !== undefined) {
|
|
59270
59292
|
contents.IpamResourceCidrs = deserializeAws_ec2IpamResourceCidrSet(__getArrayIfSingleItem(output["ipamResourceCidrSet"]["item"]), context);
|
|
59271
59293
|
}
|
|
59272
59294
|
return contents;
|
|
@@ -59288,7 +59310,8 @@ var deserializeAws_ec2GetManagedPrefixListAssociationsResult = function (output,
|
|
|
59288
59310
|
if (output.prefixListAssociationSet === "") {
|
|
59289
59311
|
contents.PrefixListAssociations = [];
|
|
59290
59312
|
}
|
|
59291
|
-
if (output["prefixListAssociationSet"] !== undefined &&
|
|
59313
|
+
else if (output["prefixListAssociationSet"] !== undefined &&
|
|
59314
|
+
output["prefixListAssociationSet"]["item"] !== undefined) {
|
|
59292
59315
|
contents.PrefixListAssociations = deserializeAws_ec2PrefixListAssociationSet(__getArrayIfSingleItem(output["prefixListAssociationSet"]["item"]), context);
|
|
59293
59316
|
}
|
|
59294
59317
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59304,7 +59327,7 @@ var deserializeAws_ec2GetManagedPrefixListEntriesResult = function (output, cont
|
|
|
59304
59327
|
if (output.entrySet === "") {
|
|
59305
59328
|
contents.Entries = [];
|
|
59306
59329
|
}
|
|
59307
|
-
if (output["entrySet"] !== undefined && output["entrySet"]["item"] !== undefined) {
|
|
59330
|
+
else if (output["entrySet"] !== undefined && output["entrySet"]["item"] !== undefined) {
|
|
59308
59331
|
contents.Entries = deserializeAws_ec2PrefixListEntrySet(__getArrayIfSingleItem(output["entrySet"]["item"]), context);
|
|
59309
59332
|
}
|
|
59310
59333
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59328,7 +59351,7 @@ var deserializeAws_ec2GetNetworkInsightsAccessScopeAnalysisFindingsResult = func
|
|
|
59328
59351
|
if (output.analysisFindingSet === "") {
|
|
59329
59352
|
contents.AnalysisFindings = [];
|
|
59330
59353
|
}
|
|
59331
|
-
if (output["analysisFindingSet"] !== undefined && output["analysisFindingSet"]["item"] !== undefined) {
|
|
59354
|
+
else if (output["analysisFindingSet"] !== undefined && output["analysisFindingSet"]["item"] !== undefined) {
|
|
59332
59355
|
contents.AnalysisFindings = deserializeAws_ec2AccessScopeAnalysisFindingList(__getArrayIfSingleItem(output["analysisFindingSet"]["item"]), context);
|
|
59333
59356
|
}
|
|
59334
59357
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59392,7 +59415,8 @@ var deserializeAws_ec2GetReservedInstancesExchangeQuoteResult = function (output
|
|
|
59392
59415
|
if (output.reservedInstanceValueSet === "") {
|
|
59393
59416
|
contents.ReservedInstanceValueSet = [];
|
|
59394
59417
|
}
|
|
59395
|
-
if (output["reservedInstanceValueSet"] !== undefined &&
|
|
59418
|
+
else if (output["reservedInstanceValueSet"] !== undefined &&
|
|
59419
|
+
output["reservedInstanceValueSet"]["item"] !== undefined) {
|
|
59396
59420
|
contents.ReservedInstanceValueSet = deserializeAws_ec2ReservedInstanceReservationValueSet(__getArrayIfSingleItem(output["reservedInstanceValueSet"]["item"]), context);
|
|
59397
59421
|
}
|
|
59398
59422
|
if (output["targetConfigurationValueRollup"] !== undefined) {
|
|
@@ -59401,7 +59425,7 @@ var deserializeAws_ec2GetReservedInstancesExchangeQuoteResult = function (output
|
|
|
59401
59425
|
if (output.targetConfigurationValueSet === "") {
|
|
59402
59426
|
contents.TargetConfigurationValueSet = [];
|
|
59403
59427
|
}
|
|
59404
|
-
if (output["targetConfigurationValueSet"] !== undefined &&
|
|
59428
|
+
else if (output["targetConfigurationValueSet"] !== undefined &&
|
|
59405
59429
|
output["targetConfigurationValueSet"]["item"] !== undefined) {
|
|
59406
59430
|
contents.TargetConfigurationValueSet = deserializeAws_ec2TargetReservationValueSet(__getArrayIfSingleItem(output["targetConfigurationValueSet"]["item"]), context);
|
|
59407
59431
|
}
|
|
@@ -59427,7 +59451,7 @@ var deserializeAws_ec2GetSpotPlacementScoresResult = function (output, context)
|
|
|
59427
59451
|
if (output.spotPlacementScoreSet === "") {
|
|
59428
59452
|
contents.SpotPlacementScores = [];
|
|
59429
59453
|
}
|
|
59430
|
-
if (output["spotPlacementScoreSet"] !== undefined && output["spotPlacementScoreSet"]["item"] !== undefined) {
|
|
59454
|
+
else if (output["spotPlacementScoreSet"] !== undefined && output["spotPlacementScoreSet"]["item"] !== undefined) {
|
|
59431
59455
|
contents.SpotPlacementScores = deserializeAws_ec2SpotPlacementScores(__getArrayIfSingleItem(output["spotPlacementScoreSet"]["item"]), context);
|
|
59432
59456
|
}
|
|
59433
59457
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59444,14 +59468,14 @@ var deserializeAws_ec2GetSubnetCidrReservationsResult = function (output, contex
|
|
|
59444
59468
|
if (output.subnetIpv4CidrReservationSet === "") {
|
|
59445
59469
|
contents.SubnetIpv4CidrReservations = [];
|
|
59446
59470
|
}
|
|
59447
|
-
if (output["subnetIpv4CidrReservationSet"] !== undefined &&
|
|
59471
|
+
else if (output["subnetIpv4CidrReservationSet"] !== undefined &&
|
|
59448
59472
|
output["subnetIpv4CidrReservationSet"]["item"] !== undefined) {
|
|
59449
59473
|
contents.SubnetIpv4CidrReservations = deserializeAws_ec2SubnetCidrReservationList(__getArrayIfSingleItem(output["subnetIpv4CidrReservationSet"]["item"]), context);
|
|
59450
59474
|
}
|
|
59451
59475
|
if (output.subnetIpv6CidrReservationSet === "") {
|
|
59452
59476
|
contents.SubnetIpv6CidrReservations = [];
|
|
59453
59477
|
}
|
|
59454
|
-
if (output["subnetIpv6CidrReservationSet"] !== undefined &&
|
|
59478
|
+
else if (output["subnetIpv6CidrReservationSet"] !== undefined &&
|
|
59455
59479
|
output["subnetIpv6CidrReservationSet"]["item"] !== undefined) {
|
|
59456
59480
|
contents.SubnetIpv6CidrReservations = deserializeAws_ec2SubnetCidrReservationList(__getArrayIfSingleItem(output["subnetIpv6CidrReservationSet"]["item"]), context);
|
|
59457
59481
|
}
|
|
@@ -59468,7 +59492,7 @@ var deserializeAws_ec2GetTransitGatewayAttachmentPropagationsResult = function (
|
|
|
59468
59492
|
if (output.transitGatewayAttachmentPropagations === "") {
|
|
59469
59493
|
contents.TransitGatewayAttachmentPropagations = [];
|
|
59470
59494
|
}
|
|
59471
|
-
if (output["transitGatewayAttachmentPropagations"] !== undefined &&
|
|
59495
|
+
else if (output["transitGatewayAttachmentPropagations"] !== undefined &&
|
|
59472
59496
|
output["transitGatewayAttachmentPropagations"]["item"] !== undefined) {
|
|
59473
59497
|
contents.TransitGatewayAttachmentPropagations = deserializeAws_ec2TransitGatewayAttachmentPropagationList(__getArrayIfSingleItem(output["transitGatewayAttachmentPropagations"]["item"]), context);
|
|
59474
59498
|
}
|
|
@@ -59485,7 +59509,7 @@ var deserializeAws_ec2GetTransitGatewayMulticastDomainAssociationsResult = funct
|
|
|
59485
59509
|
if (output.multicastDomainAssociations === "") {
|
|
59486
59510
|
contents.MulticastDomainAssociations = [];
|
|
59487
59511
|
}
|
|
59488
|
-
if (output["multicastDomainAssociations"] !== undefined &&
|
|
59512
|
+
else if (output["multicastDomainAssociations"] !== undefined &&
|
|
59489
59513
|
output["multicastDomainAssociations"]["item"] !== undefined) {
|
|
59490
59514
|
contents.MulticastDomainAssociations = deserializeAws_ec2TransitGatewayMulticastDomainAssociationList(__getArrayIfSingleItem(output["multicastDomainAssociations"]["item"]), context);
|
|
59491
59515
|
}
|
|
@@ -59502,7 +59526,7 @@ var deserializeAws_ec2GetTransitGatewayPrefixListReferencesResult = function (ou
|
|
|
59502
59526
|
if (output.transitGatewayPrefixListReferenceSet === "") {
|
|
59503
59527
|
contents.TransitGatewayPrefixListReferences = [];
|
|
59504
59528
|
}
|
|
59505
|
-
if (output["transitGatewayPrefixListReferenceSet"] !== undefined &&
|
|
59529
|
+
else if (output["transitGatewayPrefixListReferenceSet"] !== undefined &&
|
|
59506
59530
|
output["transitGatewayPrefixListReferenceSet"]["item"] !== undefined) {
|
|
59507
59531
|
contents.TransitGatewayPrefixListReferences = deserializeAws_ec2TransitGatewayPrefixListReferenceSet(__getArrayIfSingleItem(output["transitGatewayPrefixListReferenceSet"]["item"]), context);
|
|
59508
59532
|
}
|
|
@@ -59519,7 +59543,7 @@ var deserializeAws_ec2GetTransitGatewayRouteTableAssociationsResult = function (
|
|
|
59519
59543
|
if (output.associations === "") {
|
|
59520
59544
|
contents.Associations = [];
|
|
59521
59545
|
}
|
|
59522
|
-
if (output["associations"] !== undefined && output["associations"]["item"] !== undefined) {
|
|
59546
|
+
else if (output["associations"] !== undefined && output["associations"]["item"] !== undefined) {
|
|
59523
59547
|
contents.Associations = deserializeAws_ec2TransitGatewayRouteTableAssociationList(__getArrayIfSingleItem(output["associations"]["item"]), context);
|
|
59524
59548
|
}
|
|
59525
59549
|
if (output["nextToken"] !== undefined) {
|
|
@@ -59535,7 +59559,7 @@ var deserializeAws_ec2GetTransitGatewayRouteTablePropagationsResult = function (
|
|
|
59535
59559
|
if (output.transitGatewayRouteTablePropagations === "") {
|
|
59536
59560
|
contents.TransitGatewayRouteTablePropagations = [];
|
|
59537
59561
|
}
|
|
59538
|
-
if (output["transitGatewayRouteTablePropagations"] !== undefined &&
|
|
59562
|
+
else if (output["transitGatewayRouteTablePropagations"] !== undefined &&
|
|
59539
59563
|
output["transitGatewayRouteTablePropagations"]["item"] !== undefined) {
|
|
59540
59564
|
contents.TransitGatewayRouteTablePropagations = deserializeAws_ec2TransitGatewayRouteTablePropagationList(__getArrayIfSingleItem(output["transitGatewayRouteTablePropagations"]["item"]), context);
|
|
59541
59565
|
}
|
|
@@ -59561,7 +59585,7 @@ var deserializeAws_ec2GetVpnConnectionDeviceTypesResult = function (output, cont
|
|
|
59561
59585
|
if (output.vpnConnectionDeviceTypeSet === "") {
|
|
59562
59586
|
contents.VpnConnectionDeviceTypes = [];
|
|
59563
59587
|
}
|
|
59564
|
-
if (output["vpnConnectionDeviceTypeSet"] !== undefined &&
|
|
59588
|
+
else if (output["vpnConnectionDeviceTypeSet"] !== undefined &&
|
|
59565
59589
|
output["vpnConnectionDeviceTypeSet"]["item"] !== undefined) {
|
|
59566
59590
|
contents.VpnConnectionDeviceTypes = deserializeAws_ec2VpnConnectionDeviceTypeList(__getArrayIfSingleItem(output["vpnConnectionDeviceTypeSet"]["item"]), context);
|
|
59567
59591
|
}
|
|
@@ -59618,7 +59642,7 @@ var deserializeAws_ec2GpuInfo = function (output, context) {
|
|
|
59618
59642
|
if (output.gpus === "") {
|
|
59619
59643
|
contents.Gpus = [];
|
|
59620
59644
|
}
|
|
59621
|
-
if (output["gpus"] !== undefined && output["gpus"]["item"] !== undefined) {
|
|
59645
|
+
else if (output["gpus"] !== undefined && output["gpus"]["item"] !== undefined) {
|
|
59622
59646
|
contents.Gpus = deserializeAws_ec2GpuDeviceInfoList(__getArrayIfSingleItem(output["gpus"]["item"]), context);
|
|
59623
59647
|
}
|
|
59624
59648
|
if (output["totalGpuMemoryInMiB"] !== undefined) {
|
|
@@ -59777,7 +59801,7 @@ var deserializeAws_ec2Host = function (output, context) {
|
|
|
59777
59801
|
if (output.instances === "") {
|
|
59778
59802
|
contents.Instances = [];
|
|
59779
59803
|
}
|
|
59780
|
-
if (output["instances"] !== undefined && output["instances"]["item"] !== undefined) {
|
|
59804
|
+
else if (output["instances"] !== undefined && output["instances"]["item"] !== undefined) {
|
|
59781
59805
|
contents.Instances = deserializeAws_ec2HostInstanceList(__getArrayIfSingleItem(output["instances"]["item"]), context);
|
|
59782
59806
|
}
|
|
59783
59807
|
if (output["state"] !== undefined) {
|
|
@@ -59792,7 +59816,7 @@ var deserializeAws_ec2Host = function (output, context) {
|
|
|
59792
59816
|
if (output.tagSet === "") {
|
|
59793
59817
|
contents.Tags = [];
|
|
59794
59818
|
}
|
|
59795
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
59819
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
59796
59820
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
59797
59821
|
}
|
|
59798
59822
|
if (output["hostRecovery"] !== undefined) {
|
|
@@ -59952,7 +59976,7 @@ var deserializeAws_ec2HostReservation = function (output, context) {
|
|
|
59952
59976
|
if (output.hostIdSet === "") {
|
|
59953
59977
|
contents.HostIdSet = [];
|
|
59954
59978
|
}
|
|
59955
|
-
if (output["hostIdSet"] !== undefined && output["hostIdSet"]["item"] !== undefined) {
|
|
59979
|
+
else if (output["hostIdSet"] !== undefined && output["hostIdSet"]["item"] !== undefined) {
|
|
59956
59980
|
contents.HostIdSet = deserializeAws_ec2ResponseHostIdSet(__getArrayIfSingleItem(output["hostIdSet"]["item"]), context);
|
|
59957
59981
|
}
|
|
59958
59982
|
if (output["hostReservationId"] !== undefined) {
|
|
@@ -59982,7 +60006,7 @@ var deserializeAws_ec2HostReservation = function (output, context) {
|
|
|
59982
60006
|
if (output.tagSet === "") {
|
|
59983
60007
|
contents.Tags = [];
|
|
59984
60008
|
}
|
|
59985
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60009
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
59986
60010
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
59987
60011
|
}
|
|
59988
60012
|
return contents;
|
|
@@ -60185,7 +60209,7 @@ var deserializeAws_ec2Image = function (output, context) {
|
|
|
60185
60209
|
if (output.productCodes === "") {
|
|
60186
60210
|
contents.ProductCodes = [];
|
|
60187
60211
|
}
|
|
60188
|
-
if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
60212
|
+
else if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
60189
60213
|
contents.ProductCodes = deserializeAws_ec2ProductCodeList(__getArrayIfSingleItem(output["productCodes"]["item"]), context);
|
|
60190
60214
|
}
|
|
60191
60215
|
if (output["ramdiskId"] !== undefined) {
|
|
@@ -60197,7 +60221,7 @@ var deserializeAws_ec2Image = function (output, context) {
|
|
|
60197
60221
|
if (output.blockDeviceMapping === "") {
|
|
60198
60222
|
contents.BlockDeviceMappings = [];
|
|
60199
60223
|
}
|
|
60200
|
-
if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
60224
|
+
else if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
60201
60225
|
contents.BlockDeviceMappings = deserializeAws_ec2BlockDeviceMappingList(__getArrayIfSingleItem(output["blockDeviceMapping"]["item"]), context);
|
|
60202
60226
|
}
|
|
60203
60227
|
if (output["description"] !== undefined) {
|
|
@@ -60230,7 +60254,7 @@ var deserializeAws_ec2Image = function (output, context) {
|
|
|
60230
60254
|
if (output.tagSet === "") {
|
|
60231
60255
|
contents.Tags = [];
|
|
60232
60256
|
}
|
|
60233
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60257
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60234
60258
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
60235
60259
|
}
|
|
60236
60260
|
if (output["virtualizationType"] !== undefined) {
|
|
@@ -60265,7 +60289,7 @@ var deserializeAws_ec2ImageAttribute = function (output, context) {
|
|
|
60265
60289
|
if (output.blockDeviceMapping === "") {
|
|
60266
60290
|
contents.BlockDeviceMappings = [];
|
|
60267
60291
|
}
|
|
60268
|
-
if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
60292
|
+
else if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
60269
60293
|
contents.BlockDeviceMappings = deserializeAws_ec2BlockDeviceMappingList(__getArrayIfSingleItem(output["blockDeviceMapping"]["item"]), context);
|
|
60270
60294
|
}
|
|
60271
60295
|
if (output["imageId"] !== undefined) {
|
|
@@ -60274,13 +60298,13 @@ var deserializeAws_ec2ImageAttribute = function (output, context) {
|
|
|
60274
60298
|
if (output.launchPermission === "") {
|
|
60275
60299
|
contents.LaunchPermissions = [];
|
|
60276
60300
|
}
|
|
60277
|
-
if (output["launchPermission"] !== undefined && output["launchPermission"]["item"] !== undefined) {
|
|
60301
|
+
else if (output["launchPermission"] !== undefined && output["launchPermission"]["item"] !== undefined) {
|
|
60278
60302
|
contents.LaunchPermissions = deserializeAws_ec2LaunchPermissionList(__getArrayIfSingleItem(output["launchPermission"]["item"]), context);
|
|
60279
60303
|
}
|
|
60280
60304
|
if (output.productCodes === "") {
|
|
60281
60305
|
contents.ProductCodes = [];
|
|
60282
60306
|
}
|
|
60283
|
-
if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
60307
|
+
else if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
60284
60308
|
contents.ProductCodes = deserializeAws_ec2ProductCodeList(__getArrayIfSingleItem(output["productCodes"]["item"]), context);
|
|
60285
60309
|
}
|
|
60286
60310
|
if (output["description"] !== undefined) {
|
|
@@ -60434,7 +60458,7 @@ var deserializeAws_ec2ImportImageResult = function (output, context) {
|
|
|
60434
60458
|
if (output.snapshotDetailSet === "") {
|
|
60435
60459
|
contents.SnapshotDetails = [];
|
|
60436
60460
|
}
|
|
60437
|
-
if (output["snapshotDetailSet"] !== undefined && output["snapshotDetailSet"]["item"] !== undefined) {
|
|
60461
|
+
else if (output["snapshotDetailSet"] !== undefined && output["snapshotDetailSet"]["item"] !== undefined) {
|
|
60438
60462
|
contents.SnapshotDetails = deserializeAws_ec2SnapshotDetailList(__getArrayIfSingleItem(output["snapshotDetailSet"]["item"]), context);
|
|
60439
60463
|
}
|
|
60440
60464
|
if (output["status"] !== undefined) {
|
|
@@ -60446,13 +60470,13 @@ var deserializeAws_ec2ImportImageResult = function (output, context) {
|
|
|
60446
60470
|
if (output.licenseSpecifications === "") {
|
|
60447
60471
|
contents.LicenseSpecifications = [];
|
|
60448
60472
|
}
|
|
60449
|
-
if (output["licenseSpecifications"] !== undefined && output["licenseSpecifications"]["item"] !== undefined) {
|
|
60473
|
+
else if (output["licenseSpecifications"] !== undefined && output["licenseSpecifications"]["item"] !== undefined) {
|
|
60450
60474
|
contents.LicenseSpecifications = deserializeAws_ec2ImportImageLicenseSpecificationListResponse(__getArrayIfSingleItem(output["licenseSpecifications"]["item"]), context);
|
|
60451
60475
|
}
|
|
60452
60476
|
if (output.tagSet === "") {
|
|
60453
60477
|
contents.Tags = [];
|
|
60454
60478
|
}
|
|
60455
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60479
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60456
60480
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
60457
60481
|
}
|
|
60458
60482
|
if (output["usageOperation"] !== undefined) {
|
|
@@ -60513,7 +60537,7 @@ var deserializeAws_ec2ImportImageTask = function (output, context) {
|
|
|
60513
60537
|
if (output.snapshotDetailSet === "") {
|
|
60514
60538
|
contents.SnapshotDetails = [];
|
|
60515
60539
|
}
|
|
60516
|
-
if (output["snapshotDetailSet"] !== undefined && output["snapshotDetailSet"]["item"] !== undefined) {
|
|
60540
|
+
else if (output["snapshotDetailSet"] !== undefined && output["snapshotDetailSet"]["item"] !== undefined) {
|
|
60517
60541
|
contents.SnapshotDetails = deserializeAws_ec2SnapshotDetailList(__getArrayIfSingleItem(output["snapshotDetailSet"]["item"]), context);
|
|
60518
60542
|
}
|
|
60519
60543
|
if (output["status"] !== undefined) {
|
|
@@ -60525,13 +60549,13 @@ var deserializeAws_ec2ImportImageTask = function (output, context) {
|
|
|
60525
60549
|
if (output.tagSet === "") {
|
|
60526
60550
|
contents.Tags = [];
|
|
60527
60551
|
}
|
|
60528
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60552
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60529
60553
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
60530
60554
|
}
|
|
60531
60555
|
if (output.licenseSpecifications === "") {
|
|
60532
60556
|
contents.LicenseSpecifications = [];
|
|
60533
60557
|
}
|
|
60534
|
-
if (output["licenseSpecifications"] !== undefined && output["licenseSpecifications"]["item"] !== undefined) {
|
|
60558
|
+
else if (output["licenseSpecifications"] !== undefined && output["licenseSpecifications"]["item"] !== undefined) {
|
|
60535
60559
|
contents.LicenseSpecifications = deserializeAws_ec2ImportImageLicenseSpecificationListResponse(__getArrayIfSingleItem(output["licenseSpecifications"]["item"]), context);
|
|
60536
60560
|
}
|
|
60537
60561
|
if (output["usageOperation"] !== undefined) {
|
|
@@ -60580,7 +60604,7 @@ var deserializeAws_ec2ImportInstanceTaskDetails = function (output, context) {
|
|
|
60580
60604
|
if (output.volumes === "") {
|
|
60581
60605
|
contents.Volumes = [];
|
|
60582
60606
|
}
|
|
60583
|
-
if (output["volumes"] !== undefined && output["volumes"]["item"] !== undefined) {
|
|
60607
|
+
else if (output["volumes"] !== undefined && output["volumes"]["item"] !== undefined) {
|
|
60584
60608
|
contents.Volumes = deserializeAws_ec2ImportInstanceVolumeDetailSet(__getArrayIfSingleItem(output["volumes"]["item"]), context);
|
|
60585
60609
|
}
|
|
60586
60610
|
return contents;
|
|
@@ -60647,7 +60671,7 @@ var deserializeAws_ec2ImportKeyPairResult = function (output, context) {
|
|
|
60647
60671
|
if (output.tagSet === "") {
|
|
60648
60672
|
contents.Tags = [];
|
|
60649
60673
|
}
|
|
60650
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60674
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60651
60675
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
60652
60676
|
}
|
|
60653
60677
|
return contents;
|
|
@@ -60671,7 +60695,7 @@ var deserializeAws_ec2ImportSnapshotResult = function (output, context) {
|
|
|
60671
60695
|
if (output.tagSet === "") {
|
|
60672
60696
|
contents.Tags = [];
|
|
60673
60697
|
}
|
|
60674
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60698
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60675
60699
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
60676
60700
|
}
|
|
60677
60701
|
return contents;
|
|
@@ -60695,7 +60719,7 @@ var deserializeAws_ec2ImportSnapshotTask = function (output, context) {
|
|
|
60695
60719
|
if (output.tagSet === "") {
|
|
60696
60720
|
contents.Tags = [];
|
|
60697
60721
|
}
|
|
60698
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60722
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60699
60723
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
60700
60724
|
}
|
|
60701
60725
|
return contents;
|
|
@@ -60751,7 +60775,7 @@ var deserializeAws_ec2InferenceAcceleratorInfo = function (output, context) {
|
|
|
60751
60775
|
if (output.accelerators === "") {
|
|
60752
60776
|
contents.Accelerators = [];
|
|
60753
60777
|
}
|
|
60754
|
-
if (output["accelerators"] !== undefined && output["accelerators"]["member"] !== undefined) {
|
|
60778
|
+
else if (output["accelerators"] !== undefined && output["accelerators"]["member"] !== undefined) {
|
|
60755
60779
|
contents.Accelerators = deserializeAws_ec2InferenceDeviceInfoList(__getArrayIfSingleItem(output["accelerators"]["member"]), context);
|
|
60756
60780
|
}
|
|
60757
60781
|
return contents;
|
|
@@ -60891,7 +60915,7 @@ var deserializeAws_ec2Instance = function (output, context) {
|
|
|
60891
60915
|
if (output.productCodes === "") {
|
|
60892
60916
|
contents.ProductCodes = [];
|
|
60893
60917
|
}
|
|
60894
|
-
if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
60918
|
+
else if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
60895
60919
|
contents.ProductCodes = deserializeAws_ec2ProductCodeList(__getArrayIfSingleItem(output["productCodes"]["item"]), context);
|
|
60896
60920
|
}
|
|
60897
60921
|
if (output["dnsName"] !== undefined) {
|
|
@@ -60921,7 +60945,7 @@ var deserializeAws_ec2Instance = function (output, context) {
|
|
|
60921
60945
|
if (output.blockDeviceMapping === "") {
|
|
60922
60946
|
contents.BlockDeviceMappings = [];
|
|
60923
60947
|
}
|
|
60924
|
-
if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
60948
|
+
else if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
60925
60949
|
contents.BlockDeviceMappings = deserializeAws_ec2InstanceBlockDeviceMappingList(__getArrayIfSingleItem(output["blockDeviceMapping"]["item"]), context);
|
|
60926
60950
|
}
|
|
60927
60951
|
if (output["clientToken"] !== undefined) {
|
|
@@ -60945,20 +60969,21 @@ var deserializeAws_ec2Instance = function (output, context) {
|
|
|
60945
60969
|
if (output.elasticGpuAssociationSet === "") {
|
|
60946
60970
|
contents.ElasticGpuAssociations = [];
|
|
60947
60971
|
}
|
|
60948
|
-
if (output["elasticGpuAssociationSet"] !== undefined &&
|
|
60972
|
+
else if (output["elasticGpuAssociationSet"] !== undefined &&
|
|
60973
|
+
output["elasticGpuAssociationSet"]["item"] !== undefined) {
|
|
60949
60974
|
contents.ElasticGpuAssociations = deserializeAws_ec2ElasticGpuAssociationList(__getArrayIfSingleItem(output["elasticGpuAssociationSet"]["item"]), context);
|
|
60950
60975
|
}
|
|
60951
60976
|
if (output.elasticInferenceAcceleratorAssociationSet === "") {
|
|
60952
60977
|
contents.ElasticInferenceAcceleratorAssociations = [];
|
|
60953
60978
|
}
|
|
60954
|
-
if (output["elasticInferenceAcceleratorAssociationSet"] !== undefined &&
|
|
60979
|
+
else if (output["elasticInferenceAcceleratorAssociationSet"] !== undefined &&
|
|
60955
60980
|
output["elasticInferenceAcceleratorAssociationSet"]["item"] !== undefined) {
|
|
60956
60981
|
contents.ElasticInferenceAcceleratorAssociations = deserializeAws_ec2ElasticInferenceAcceleratorAssociationList(__getArrayIfSingleItem(output["elasticInferenceAcceleratorAssociationSet"]["item"]), context);
|
|
60957
60982
|
}
|
|
60958
60983
|
if (output.networkInterfaceSet === "") {
|
|
60959
60984
|
contents.NetworkInterfaces = [];
|
|
60960
60985
|
}
|
|
60961
|
-
if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
60986
|
+
else if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
60962
60987
|
contents.NetworkInterfaces = deserializeAws_ec2InstanceNetworkInterfaceList(__getArrayIfSingleItem(output["networkInterfaceSet"]["item"]), context);
|
|
60963
60988
|
}
|
|
60964
60989
|
if (output["outpostArn"] !== undefined) {
|
|
@@ -60973,7 +60998,7 @@ var deserializeAws_ec2Instance = function (output, context) {
|
|
|
60973
60998
|
if (output.groupSet === "") {
|
|
60974
60999
|
contents.SecurityGroups = [];
|
|
60975
61000
|
}
|
|
60976
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
61001
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
60977
61002
|
contents.SecurityGroups = deserializeAws_ec2GroupIdentifierList(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
60978
61003
|
}
|
|
60979
61004
|
if (output["sourceDestCheck"] !== undefined) {
|
|
@@ -60991,7 +61016,7 @@ var deserializeAws_ec2Instance = function (output, context) {
|
|
|
60991
61016
|
if (output.tagSet === "") {
|
|
60992
61017
|
contents.Tags = [];
|
|
60993
61018
|
}
|
|
60994
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
61019
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
60995
61020
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
60996
61021
|
}
|
|
60997
61022
|
if (output["virtualizationType"] !== undefined) {
|
|
@@ -61012,7 +61037,7 @@ var deserializeAws_ec2Instance = function (output, context) {
|
|
|
61012
61037
|
if (output.licenseSet === "") {
|
|
61013
61038
|
contents.Licenses = [];
|
|
61014
61039
|
}
|
|
61015
|
-
if (output["licenseSet"] !== undefined && output["licenseSet"]["item"] !== undefined) {
|
|
61040
|
+
else if (output["licenseSet"] !== undefined && output["licenseSet"]["item"] !== undefined) {
|
|
61016
61041
|
contents.Licenses = deserializeAws_ec2LicenseList(__getArrayIfSingleItem(output["licenseSet"]["item"]), context);
|
|
61017
61042
|
}
|
|
61018
61043
|
if (output["metadataOptions"] !== undefined) {
|
|
@@ -61070,13 +61095,13 @@ var deserializeAws_ec2InstanceAttribute = function (output, context) {
|
|
|
61070
61095
|
if (output.groupSet === "") {
|
|
61071
61096
|
contents.Groups = [];
|
|
61072
61097
|
}
|
|
61073
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
61098
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
61074
61099
|
contents.Groups = deserializeAws_ec2GroupIdentifierList(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
61075
61100
|
}
|
|
61076
61101
|
if (output.blockDeviceMapping === "") {
|
|
61077
61102
|
contents.BlockDeviceMappings = [];
|
|
61078
61103
|
}
|
|
61079
|
-
if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
61104
|
+
else if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
61080
61105
|
contents.BlockDeviceMappings = deserializeAws_ec2InstanceBlockDeviceMappingList(__getArrayIfSingleItem(output["blockDeviceMapping"]["item"]), context);
|
|
61081
61106
|
}
|
|
61082
61107
|
if (output["disableApiTermination"] !== undefined) {
|
|
@@ -61106,7 +61131,7 @@ var deserializeAws_ec2InstanceAttribute = function (output, context) {
|
|
|
61106
61131
|
if (output.productCodes === "") {
|
|
61107
61132
|
contents.ProductCodes = [];
|
|
61108
61133
|
}
|
|
61109
|
-
if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
61134
|
+
else if (output["productCodes"] !== undefined && output["productCodes"]["item"] !== undefined) {
|
|
61110
61135
|
contents.ProductCodes = deserializeAws_ec2ProductCodeList(__getArrayIfSingleItem(output["productCodes"]["item"]), context);
|
|
61111
61136
|
}
|
|
61112
61137
|
if (output["ramdisk"] !== undefined) {
|
|
@@ -61231,7 +61256,7 @@ var deserializeAws_ec2InstanceEventWindow = function (output, context) {
|
|
|
61231
61256
|
if (output.timeRangeSet === "") {
|
|
61232
61257
|
contents.TimeRanges = [];
|
|
61233
61258
|
}
|
|
61234
|
-
if (output["timeRangeSet"] !== undefined && output["timeRangeSet"]["item"] !== undefined) {
|
|
61259
|
+
else if (output["timeRangeSet"] !== undefined && output["timeRangeSet"]["item"] !== undefined) {
|
|
61235
61260
|
contents.TimeRanges = deserializeAws_ec2InstanceEventWindowTimeRangeList(__getArrayIfSingleItem(output["timeRangeSet"]["item"]), context);
|
|
61236
61261
|
}
|
|
61237
61262
|
if (output["name"] !== undefined) {
|
|
@@ -61249,7 +61274,7 @@ var deserializeAws_ec2InstanceEventWindow = function (output, context) {
|
|
|
61249
61274
|
if (output.tagSet === "") {
|
|
61250
61275
|
contents.Tags = [];
|
|
61251
61276
|
}
|
|
61252
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
61277
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
61253
61278
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
61254
61279
|
}
|
|
61255
61280
|
return contents;
|
|
@@ -61263,19 +61288,19 @@ var deserializeAws_ec2InstanceEventWindowAssociationTarget = function (output, c
|
|
|
61263
61288
|
if (output.instanceIdSet === "") {
|
|
61264
61289
|
contents.InstanceIds = [];
|
|
61265
61290
|
}
|
|
61266
|
-
if (output["instanceIdSet"] !== undefined && output["instanceIdSet"]["item"] !== undefined) {
|
|
61291
|
+
else if (output["instanceIdSet"] !== undefined && output["instanceIdSet"]["item"] !== undefined) {
|
|
61267
61292
|
contents.InstanceIds = deserializeAws_ec2InstanceIdList(__getArrayIfSingleItem(output["instanceIdSet"]["item"]), context);
|
|
61268
61293
|
}
|
|
61269
61294
|
if (output.tagSet === "") {
|
|
61270
61295
|
contents.Tags = [];
|
|
61271
61296
|
}
|
|
61272
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
61297
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
61273
61298
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
61274
61299
|
}
|
|
61275
61300
|
if (output.dedicatedHostIdSet === "") {
|
|
61276
61301
|
contents.DedicatedHostIds = [];
|
|
61277
61302
|
}
|
|
61278
|
-
if (output["dedicatedHostIdSet"] !== undefined && output["dedicatedHostIdSet"]["item"] !== undefined) {
|
|
61303
|
+
else if (output["dedicatedHostIdSet"] !== undefined && output["dedicatedHostIdSet"]["item"] !== undefined) {
|
|
61279
61304
|
contents.DedicatedHostIds = deserializeAws_ec2DedicatedHostIdList(__getArrayIfSingleItem(output["dedicatedHostIdSet"]["item"]), context);
|
|
61280
61305
|
}
|
|
61281
61306
|
return contents;
|
|
@@ -61561,13 +61586,13 @@ var deserializeAws_ec2InstanceNetworkInterface = function (output, context) {
|
|
|
61561
61586
|
if (output.groupSet === "") {
|
|
61562
61587
|
contents.Groups = [];
|
|
61563
61588
|
}
|
|
61564
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
61589
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
61565
61590
|
contents.Groups = deserializeAws_ec2GroupIdentifierList(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
61566
61591
|
}
|
|
61567
61592
|
if (output.ipv6AddressesSet === "") {
|
|
61568
61593
|
contents.Ipv6Addresses = [];
|
|
61569
61594
|
}
|
|
61570
|
-
if (output["ipv6AddressesSet"] !== undefined && output["ipv6AddressesSet"]["item"] !== undefined) {
|
|
61595
|
+
else if (output["ipv6AddressesSet"] !== undefined && output["ipv6AddressesSet"]["item"] !== undefined) {
|
|
61571
61596
|
contents.Ipv6Addresses = deserializeAws_ec2InstanceIpv6AddressList(__getArrayIfSingleItem(output["ipv6AddressesSet"]["item"]), context);
|
|
61572
61597
|
}
|
|
61573
61598
|
if (output["macAddress"] !== undefined) {
|
|
@@ -61588,7 +61613,7 @@ var deserializeAws_ec2InstanceNetworkInterface = function (output, context) {
|
|
|
61588
61613
|
if (output.privateIpAddressesSet === "") {
|
|
61589
61614
|
contents.PrivateIpAddresses = [];
|
|
61590
61615
|
}
|
|
61591
|
-
if (output["privateIpAddressesSet"] !== undefined && output["privateIpAddressesSet"]["item"] !== undefined) {
|
|
61616
|
+
else if (output["privateIpAddressesSet"] !== undefined && output["privateIpAddressesSet"]["item"] !== undefined) {
|
|
61592
61617
|
contents.PrivateIpAddresses = deserializeAws_ec2InstancePrivateIpAddressList(__getArrayIfSingleItem(output["privateIpAddressesSet"]["item"]), context);
|
|
61593
61618
|
}
|
|
61594
61619
|
if (output["sourceDestCheck"] !== undefined) {
|
|
@@ -61609,13 +61634,13 @@ var deserializeAws_ec2InstanceNetworkInterface = function (output, context) {
|
|
|
61609
61634
|
if (output.ipv4PrefixSet === "") {
|
|
61610
61635
|
contents.Ipv4Prefixes = [];
|
|
61611
61636
|
}
|
|
61612
|
-
if (output["ipv4PrefixSet"] !== undefined && output["ipv4PrefixSet"]["item"] !== undefined) {
|
|
61637
|
+
else if (output["ipv4PrefixSet"] !== undefined && output["ipv4PrefixSet"]["item"] !== undefined) {
|
|
61613
61638
|
contents.Ipv4Prefixes = deserializeAws_ec2InstanceIpv4PrefixList(__getArrayIfSingleItem(output["ipv4PrefixSet"]["item"]), context);
|
|
61614
61639
|
}
|
|
61615
61640
|
if (output.ipv6PrefixSet === "") {
|
|
61616
61641
|
contents.Ipv6Prefixes = [];
|
|
61617
61642
|
}
|
|
61618
|
-
if (output["ipv6PrefixSet"] !== undefined && output["ipv6PrefixSet"]["item"] !== undefined) {
|
|
61643
|
+
else if (output["ipv6PrefixSet"] !== undefined && output["ipv6PrefixSet"]["item"] !== undefined) {
|
|
61619
61644
|
contents.Ipv6Prefixes = deserializeAws_ec2InstanceIpv6PrefixList(__getArrayIfSingleItem(output["ipv6PrefixSet"]["item"]), context);
|
|
61620
61645
|
}
|
|
61621
61646
|
return contents;
|
|
@@ -61721,7 +61746,7 @@ var deserializeAws_ec2InstanceNetworkInterfaceSpecification = function (output,
|
|
|
61721
61746
|
if (output.SecurityGroupId === "") {
|
|
61722
61747
|
contents.Groups = [];
|
|
61723
61748
|
}
|
|
61724
|
-
if (output["SecurityGroupId"] !== undefined && output["SecurityGroupId"]["SecurityGroupId"] !== undefined) {
|
|
61749
|
+
else if (output["SecurityGroupId"] !== undefined && output["SecurityGroupId"]["SecurityGroupId"] !== undefined) {
|
|
61725
61750
|
contents.Groups = deserializeAws_ec2SecurityGroupIdStringList(__getArrayIfSingleItem(output["SecurityGroupId"]["SecurityGroupId"]), context);
|
|
61726
61751
|
}
|
|
61727
61752
|
if (output["ipv6AddressCount"] !== undefined) {
|
|
@@ -61730,7 +61755,7 @@ var deserializeAws_ec2InstanceNetworkInterfaceSpecification = function (output,
|
|
|
61730
61755
|
if (output.ipv6AddressesSet === "") {
|
|
61731
61756
|
contents.Ipv6Addresses = [];
|
|
61732
61757
|
}
|
|
61733
|
-
if (output["ipv6AddressesSet"] !== undefined && output["ipv6AddressesSet"]["item"] !== undefined) {
|
|
61758
|
+
else if (output["ipv6AddressesSet"] !== undefined && output["ipv6AddressesSet"]["item"] !== undefined) {
|
|
61734
61759
|
contents.Ipv6Addresses = deserializeAws_ec2InstanceIpv6AddressList(__getArrayIfSingleItem(output["ipv6AddressesSet"]["item"]), context);
|
|
61735
61760
|
}
|
|
61736
61761
|
if (output["networkInterfaceId"] !== undefined) {
|
|
@@ -61742,7 +61767,7 @@ var deserializeAws_ec2InstanceNetworkInterfaceSpecification = function (output,
|
|
|
61742
61767
|
if (output.privateIpAddressesSet === "") {
|
|
61743
61768
|
contents.PrivateIpAddresses = [];
|
|
61744
61769
|
}
|
|
61745
|
-
if (output["privateIpAddressesSet"] !== undefined && output["privateIpAddressesSet"]["item"] !== undefined) {
|
|
61770
|
+
else if (output["privateIpAddressesSet"] !== undefined && output["privateIpAddressesSet"]["item"] !== undefined) {
|
|
61746
61771
|
contents.PrivateIpAddresses = deserializeAws_ec2PrivateIpAddressSpecificationList(__getArrayIfSingleItem(output["privateIpAddressesSet"]["item"]), context);
|
|
61747
61772
|
}
|
|
61748
61773
|
if (output["secondaryPrivateIpAddressCount"] !== undefined) {
|
|
@@ -61763,7 +61788,7 @@ var deserializeAws_ec2InstanceNetworkInterfaceSpecification = function (output,
|
|
|
61763
61788
|
if (output.Ipv4Prefix === "") {
|
|
61764
61789
|
contents.Ipv4Prefixes = [];
|
|
61765
61790
|
}
|
|
61766
|
-
if (output["Ipv4Prefix"] !== undefined && output["Ipv4Prefix"]["item"] !== undefined) {
|
|
61791
|
+
else if (output["Ipv4Prefix"] !== undefined && output["Ipv4Prefix"]["item"] !== undefined) {
|
|
61767
61792
|
contents.Ipv4Prefixes = deserializeAws_ec2Ipv4PrefixList(__getArrayIfSingleItem(output["Ipv4Prefix"]["item"]), context);
|
|
61768
61793
|
}
|
|
61769
61794
|
if (output["Ipv4PrefixCount"] !== undefined) {
|
|
@@ -61772,7 +61797,7 @@ var deserializeAws_ec2InstanceNetworkInterfaceSpecification = function (output,
|
|
|
61772
61797
|
if (output.Ipv6Prefix === "") {
|
|
61773
61798
|
contents.Ipv6Prefixes = [];
|
|
61774
61799
|
}
|
|
61775
|
-
if (output["Ipv6Prefix"] !== undefined && output["Ipv6Prefix"]["item"] !== undefined) {
|
|
61800
|
+
else if (output["Ipv6Prefix"] !== undefined && output["Ipv6Prefix"]["item"] !== undefined) {
|
|
61776
61801
|
contents.Ipv6Prefixes = deserializeAws_ec2Ipv6PrefixList(__getArrayIfSingleItem(output["Ipv6Prefix"]["item"]), context);
|
|
61777
61802
|
}
|
|
61778
61803
|
if (output["Ipv6PrefixCount"] !== undefined) {
|
|
@@ -61854,7 +61879,7 @@ var deserializeAws_ec2InstanceRequirements = function (output, context) {
|
|
|
61854
61879
|
if (output.cpuManufacturerSet === "") {
|
|
61855
61880
|
contents.CpuManufacturers = [];
|
|
61856
61881
|
}
|
|
61857
|
-
if (output["cpuManufacturerSet"] !== undefined && output["cpuManufacturerSet"]["item"] !== undefined) {
|
|
61882
|
+
else if (output["cpuManufacturerSet"] !== undefined && output["cpuManufacturerSet"]["item"] !== undefined) {
|
|
61858
61883
|
contents.CpuManufacturers = deserializeAws_ec2CpuManufacturerSet(__getArrayIfSingleItem(output["cpuManufacturerSet"]["item"]), context);
|
|
61859
61884
|
}
|
|
61860
61885
|
if (output["memoryGiBPerVCpu"] !== undefined) {
|
|
@@ -61863,13 +61888,14 @@ var deserializeAws_ec2InstanceRequirements = function (output, context) {
|
|
|
61863
61888
|
if (output.excludedInstanceTypeSet === "") {
|
|
61864
61889
|
contents.ExcludedInstanceTypes = [];
|
|
61865
61890
|
}
|
|
61866
|
-
if (output["excludedInstanceTypeSet"] !== undefined &&
|
|
61891
|
+
else if (output["excludedInstanceTypeSet"] !== undefined &&
|
|
61892
|
+
output["excludedInstanceTypeSet"]["item"] !== undefined) {
|
|
61867
61893
|
contents.ExcludedInstanceTypes = deserializeAws_ec2ExcludedInstanceTypeSet(__getArrayIfSingleItem(output["excludedInstanceTypeSet"]["item"]), context);
|
|
61868
61894
|
}
|
|
61869
61895
|
if (output.instanceGenerationSet === "") {
|
|
61870
61896
|
contents.InstanceGenerations = [];
|
|
61871
61897
|
}
|
|
61872
|
-
if (output["instanceGenerationSet"] !== undefined && output["instanceGenerationSet"]["item"] !== undefined) {
|
|
61898
|
+
else if (output["instanceGenerationSet"] !== undefined && output["instanceGenerationSet"]["item"] !== undefined) {
|
|
61873
61899
|
contents.InstanceGenerations = deserializeAws_ec2InstanceGenerationSet(__getArrayIfSingleItem(output["instanceGenerationSet"]["item"]), context);
|
|
61874
61900
|
}
|
|
61875
61901
|
if (output["spotMaxPricePercentageOverLowestPrice"] !== undefined) {
|
|
@@ -61896,7 +61922,7 @@ var deserializeAws_ec2InstanceRequirements = function (output, context) {
|
|
|
61896
61922
|
if (output.localStorageTypeSet === "") {
|
|
61897
61923
|
contents.LocalStorageTypes = [];
|
|
61898
61924
|
}
|
|
61899
|
-
if (output["localStorageTypeSet"] !== undefined && output["localStorageTypeSet"]["item"] !== undefined) {
|
|
61925
|
+
else if (output["localStorageTypeSet"] !== undefined && output["localStorageTypeSet"]["item"] !== undefined) {
|
|
61900
61926
|
contents.LocalStorageTypes = deserializeAws_ec2LocalStorageTypeSet(__getArrayIfSingleItem(output["localStorageTypeSet"]["item"]), context);
|
|
61901
61927
|
}
|
|
61902
61928
|
if (output["totalLocalStorageGB"] !== undefined) {
|
|
@@ -61908,7 +61934,7 @@ var deserializeAws_ec2InstanceRequirements = function (output, context) {
|
|
|
61908
61934
|
if (output.acceleratorTypeSet === "") {
|
|
61909
61935
|
contents.AcceleratorTypes = [];
|
|
61910
61936
|
}
|
|
61911
|
-
if (output["acceleratorTypeSet"] !== undefined && output["acceleratorTypeSet"]["item"] !== undefined) {
|
|
61937
|
+
else if (output["acceleratorTypeSet"] !== undefined && output["acceleratorTypeSet"]["item"] !== undefined) {
|
|
61912
61938
|
contents.AcceleratorTypes = deserializeAws_ec2AcceleratorTypeSet(__getArrayIfSingleItem(output["acceleratorTypeSet"]["item"]), context);
|
|
61913
61939
|
}
|
|
61914
61940
|
if (output["acceleratorCount"] !== undefined) {
|
|
@@ -61917,14 +61943,14 @@ var deserializeAws_ec2InstanceRequirements = function (output, context) {
|
|
|
61917
61943
|
if (output.acceleratorManufacturerSet === "") {
|
|
61918
61944
|
contents.AcceleratorManufacturers = [];
|
|
61919
61945
|
}
|
|
61920
|
-
if (output["acceleratorManufacturerSet"] !== undefined &&
|
|
61946
|
+
else if (output["acceleratorManufacturerSet"] !== undefined &&
|
|
61921
61947
|
output["acceleratorManufacturerSet"]["item"] !== undefined) {
|
|
61922
61948
|
contents.AcceleratorManufacturers = deserializeAws_ec2AcceleratorManufacturerSet(__getArrayIfSingleItem(output["acceleratorManufacturerSet"]["item"]), context);
|
|
61923
61949
|
}
|
|
61924
61950
|
if (output.acceleratorNameSet === "") {
|
|
61925
61951
|
contents.AcceleratorNames = [];
|
|
61926
61952
|
}
|
|
61927
|
-
if (output["acceleratorNameSet"] !== undefined && output["acceleratorNameSet"]["item"] !== undefined) {
|
|
61953
|
+
else if (output["acceleratorNameSet"] !== undefined && output["acceleratorNameSet"]["item"] !== undefined) {
|
|
61928
61954
|
contents.AcceleratorNames = deserializeAws_ec2AcceleratorNameSet(__getArrayIfSingleItem(output["acceleratorNameSet"]["item"]), context);
|
|
61929
61955
|
}
|
|
61930
61956
|
if (output["acceleratorTotalMemoryMiB"] !== undefined) {
|
|
@@ -61991,7 +62017,7 @@ var deserializeAws_ec2InstanceStatus = function (output, context) {
|
|
|
61991
62017
|
if (output.eventsSet === "") {
|
|
61992
62018
|
contents.Events = [];
|
|
61993
62019
|
}
|
|
61994
|
-
if (output["eventsSet"] !== undefined && output["eventsSet"]["item"] !== undefined) {
|
|
62020
|
+
else if (output["eventsSet"] !== undefined && output["eventsSet"]["item"] !== undefined) {
|
|
61995
62021
|
contents.Events = deserializeAws_ec2InstanceStatusEventList(__getArrayIfSingleItem(output["eventsSet"]["item"]), context);
|
|
61996
62022
|
}
|
|
61997
62023
|
if (output["instanceId"] !== undefined) {
|
|
@@ -62092,7 +62118,7 @@ var deserializeAws_ec2InstanceStatusSummary = function (output, context) {
|
|
|
62092
62118
|
if (output.details === "") {
|
|
62093
62119
|
contents.Details = [];
|
|
62094
62120
|
}
|
|
62095
|
-
if (output["details"] !== undefined && output["details"]["item"] !== undefined) {
|
|
62121
|
+
else if (output["details"] !== undefined && output["details"]["item"] !== undefined) {
|
|
62096
62122
|
contents.Details = deserializeAws_ec2InstanceStatusDetailsList(__getArrayIfSingleItem(output["details"]["item"]), context);
|
|
62097
62123
|
}
|
|
62098
62124
|
if (output["status"] !== undefined) {
|
|
@@ -62113,7 +62139,7 @@ var deserializeAws_ec2InstanceStorageInfo = function (output, context) {
|
|
|
62113
62139
|
if (output.disks === "") {
|
|
62114
62140
|
contents.Disks = [];
|
|
62115
62141
|
}
|
|
62116
|
-
if (output["disks"] !== undefined && output["disks"]["item"] !== undefined) {
|
|
62142
|
+
else if (output["disks"] !== undefined && output["disks"]["item"] !== undefined) {
|
|
62117
62143
|
contents.Disks = deserializeAws_ec2DiskInfoList(__getArrayIfSingleItem(output["disks"]["item"]), context);
|
|
62118
62144
|
}
|
|
62119
62145
|
if (output["nvmeSupport"] !== undefined) {
|
|
@@ -62142,7 +62168,7 @@ var deserializeAws_ec2InstanceTagNotificationAttribute = function (output, conte
|
|
|
62142
62168
|
if (output.instanceTagKeySet === "") {
|
|
62143
62169
|
contents.InstanceTagKeys = [];
|
|
62144
62170
|
}
|
|
62145
|
-
if (output["instanceTagKeySet"] !== undefined && output["instanceTagKeySet"]["item"] !== undefined) {
|
|
62171
|
+
else if (output["instanceTagKeySet"] !== undefined && output["instanceTagKeySet"]["item"] !== undefined) {
|
|
62146
62172
|
contents.InstanceTagKeys = deserializeAws_ec2InstanceTagKeySet(__getArrayIfSingleItem(output["instanceTagKeySet"]["item"]), context);
|
|
62147
62173
|
}
|
|
62148
62174
|
if (output["includeAllTagsOfInstance"] !== undefined) {
|
|
@@ -62189,19 +62215,20 @@ var deserializeAws_ec2InstanceTypeInfo = function (output, context) {
|
|
|
62189
62215
|
if (output.supportedUsageClasses === "") {
|
|
62190
62216
|
contents.SupportedUsageClasses = [];
|
|
62191
62217
|
}
|
|
62192
|
-
if (output["supportedUsageClasses"] !== undefined && output["supportedUsageClasses"]["item"] !== undefined) {
|
|
62218
|
+
else if (output["supportedUsageClasses"] !== undefined && output["supportedUsageClasses"]["item"] !== undefined) {
|
|
62193
62219
|
contents.SupportedUsageClasses = deserializeAws_ec2UsageClassTypeList(__getArrayIfSingleItem(output["supportedUsageClasses"]["item"]), context);
|
|
62194
62220
|
}
|
|
62195
62221
|
if (output.supportedRootDeviceTypes === "") {
|
|
62196
62222
|
contents.SupportedRootDeviceTypes = [];
|
|
62197
62223
|
}
|
|
62198
|
-
if (output["supportedRootDeviceTypes"] !== undefined &&
|
|
62224
|
+
else if (output["supportedRootDeviceTypes"] !== undefined &&
|
|
62225
|
+
output["supportedRootDeviceTypes"]["item"] !== undefined) {
|
|
62199
62226
|
contents.SupportedRootDeviceTypes = deserializeAws_ec2RootDeviceTypeList(__getArrayIfSingleItem(output["supportedRootDeviceTypes"]["item"]), context);
|
|
62200
62227
|
}
|
|
62201
62228
|
if (output.supportedVirtualizationTypes === "") {
|
|
62202
62229
|
contents.SupportedVirtualizationTypes = [];
|
|
62203
62230
|
}
|
|
62204
|
-
if (output["supportedVirtualizationTypes"] !== undefined &&
|
|
62231
|
+
else if (output["supportedVirtualizationTypes"] !== undefined &&
|
|
62205
62232
|
output["supportedVirtualizationTypes"]["item"] !== undefined) {
|
|
62206
62233
|
contents.SupportedVirtualizationTypes = deserializeAws_ec2VirtualizationTypeList(__getArrayIfSingleItem(output["supportedVirtualizationTypes"]["item"]), context);
|
|
62207
62234
|
}
|
|
@@ -62259,7 +62286,7 @@ var deserializeAws_ec2InstanceTypeInfo = function (output, context) {
|
|
|
62259
62286
|
if (output.supportedBootModes === "") {
|
|
62260
62287
|
contents.SupportedBootModes = [];
|
|
62261
62288
|
}
|
|
62262
|
-
if (output["supportedBootModes"] !== undefined && output["supportedBootModes"]["item"] !== undefined) {
|
|
62289
|
+
else if (output["supportedBootModes"] !== undefined && output["supportedBootModes"]["item"] !== undefined) {
|
|
62263
62290
|
contents.SupportedBootModes = deserializeAws_ec2BootModeTypeList(__getArrayIfSingleItem(output["supportedBootModes"]["item"]), context);
|
|
62264
62291
|
}
|
|
62265
62292
|
return contents;
|
|
@@ -62353,7 +62380,7 @@ var deserializeAws_ec2InternetGateway = function (output, context) {
|
|
|
62353
62380
|
if (output.attachmentSet === "") {
|
|
62354
62381
|
contents.Attachments = [];
|
|
62355
62382
|
}
|
|
62356
|
-
if (output["attachmentSet"] !== undefined && output["attachmentSet"]["item"] !== undefined) {
|
|
62383
|
+
else if (output["attachmentSet"] !== undefined && output["attachmentSet"]["item"] !== undefined) {
|
|
62357
62384
|
contents.Attachments = deserializeAws_ec2InternetGatewayAttachmentList(__getArrayIfSingleItem(output["attachmentSet"]["item"]), context);
|
|
62358
62385
|
}
|
|
62359
62386
|
if (output["internetGatewayId"] !== undefined) {
|
|
@@ -62365,7 +62392,7 @@ var deserializeAws_ec2InternetGateway = function (output, context) {
|
|
|
62365
62392
|
if (output.tagSet === "") {
|
|
62366
62393
|
contents.Tags = [];
|
|
62367
62394
|
}
|
|
62368
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
62395
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
62369
62396
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
62370
62397
|
}
|
|
62371
62398
|
return contents;
|
|
@@ -62454,7 +62481,7 @@ var deserializeAws_ec2Ipam = function (output, context) {
|
|
|
62454
62481
|
if (output.operatingRegionSet === "") {
|
|
62455
62482
|
contents.OperatingRegions = [];
|
|
62456
62483
|
}
|
|
62457
|
-
if (output["operatingRegionSet"] !== undefined && output["operatingRegionSet"]["item"] !== undefined) {
|
|
62484
|
+
else if (output["operatingRegionSet"] !== undefined && output["operatingRegionSet"]["item"] !== undefined) {
|
|
62458
62485
|
contents.OperatingRegions = deserializeAws_ec2IpamOperatingRegionSet(__getArrayIfSingleItem(output["operatingRegionSet"]["item"]), context);
|
|
62459
62486
|
}
|
|
62460
62487
|
if (output["state"] !== undefined) {
|
|
@@ -62463,7 +62490,7 @@ var deserializeAws_ec2Ipam = function (output, context) {
|
|
|
62463
62490
|
if (output.tagSet === "") {
|
|
62464
62491
|
contents.Tags = [];
|
|
62465
62492
|
}
|
|
62466
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
62493
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
62467
62494
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
62468
62495
|
}
|
|
62469
62496
|
return contents;
|
|
@@ -62631,13 +62658,14 @@ var deserializeAws_ec2IpamPool = function (output, context) {
|
|
|
62631
62658
|
if (output.allocationResourceTagSet === "") {
|
|
62632
62659
|
contents.AllocationResourceTags = [];
|
|
62633
62660
|
}
|
|
62634
|
-
if (output["allocationResourceTagSet"] !== undefined &&
|
|
62661
|
+
else if (output["allocationResourceTagSet"] !== undefined &&
|
|
62662
|
+
output["allocationResourceTagSet"]["item"] !== undefined) {
|
|
62635
62663
|
contents.AllocationResourceTags = deserializeAws_ec2IpamResourceTagList(__getArrayIfSingleItem(output["allocationResourceTagSet"]["item"]), context);
|
|
62636
62664
|
}
|
|
62637
62665
|
if (output.tagSet === "") {
|
|
62638
62666
|
contents.Tags = [];
|
|
62639
62667
|
}
|
|
62640
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
62668
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
62641
62669
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
62642
62670
|
}
|
|
62643
62671
|
if (output["awsService"] !== undefined) {
|
|
@@ -62786,7 +62814,7 @@ var deserializeAws_ec2IpamResourceCidr = function (output, context) {
|
|
|
62786
62814
|
if (output.resourceTagSet === "") {
|
|
62787
62815
|
contents.ResourceTags = [];
|
|
62788
62816
|
}
|
|
62789
|
-
if (output["resourceTagSet"] !== undefined && output["resourceTagSet"]["item"] !== undefined) {
|
|
62817
|
+
else if (output["resourceTagSet"] !== undefined && output["resourceTagSet"]["item"] !== undefined) {
|
|
62790
62818
|
contents.ResourceTags = deserializeAws_ec2IpamResourceTagList(__getArrayIfSingleItem(output["resourceTagSet"]["item"]), context);
|
|
62791
62819
|
}
|
|
62792
62820
|
if (output["ipUsage"] !== undefined) {
|
|
@@ -62886,7 +62914,7 @@ var deserializeAws_ec2IpamScope = function (output, context) {
|
|
|
62886
62914
|
if (output.tagSet === "") {
|
|
62887
62915
|
contents.Tags = [];
|
|
62888
62916
|
}
|
|
62889
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
62917
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
62890
62918
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
62891
62919
|
}
|
|
62892
62920
|
return contents;
|
|
@@ -62930,19 +62958,19 @@ var deserializeAws_ec2IpPermission = function (output, context) {
|
|
|
62930
62958
|
if (output.ipRanges === "") {
|
|
62931
62959
|
contents.IpRanges = [];
|
|
62932
62960
|
}
|
|
62933
|
-
if (output["ipRanges"] !== undefined && output["ipRanges"]["item"] !== undefined) {
|
|
62961
|
+
else if (output["ipRanges"] !== undefined && output["ipRanges"]["item"] !== undefined) {
|
|
62934
62962
|
contents.IpRanges = deserializeAws_ec2IpRangeList(__getArrayIfSingleItem(output["ipRanges"]["item"]), context);
|
|
62935
62963
|
}
|
|
62936
62964
|
if (output.ipv6Ranges === "") {
|
|
62937
62965
|
contents.Ipv6Ranges = [];
|
|
62938
62966
|
}
|
|
62939
|
-
if (output["ipv6Ranges"] !== undefined && output["ipv6Ranges"]["item"] !== undefined) {
|
|
62967
|
+
else if (output["ipv6Ranges"] !== undefined && output["ipv6Ranges"]["item"] !== undefined) {
|
|
62940
62968
|
contents.Ipv6Ranges = deserializeAws_ec2Ipv6RangeList(__getArrayIfSingleItem(output["ipv6Ranges"]["item"]), context);
|
|
62941
62969
|
}
|
|
62942
62970
|
if (output.prefixListIds === "") {
|
|
62943
62971
|
contents.PrefixListIds = [];
|
|
62944
62972
|
}
|
|
62945
|
-
if (output["prefixListIds"] !== undefined && output["prefixListIds"]["item"] !== undefined) {
|
|
62973
|
+
else if (output["prefixListIds"] !== undefined && output["prefixListIds"]["item"] !== undefined) {
|
|
62946
62974
|
contents.PrefixListIds = deserializeAws_ec2PrefixListIdList(__getArrayIfSingleItem(output["prefixListIds"]["item"]), context);
|
|
62947
62975
|
}
|
|
62948
62976
|
if (output["toPort"] !== undefined) {
|
|
@@ -62951,7 +62979,7 @@ var deserializeAws_ec2IpPermission = function (output, context) {
|
|
|
62951
62979
|
if (output.groups === "") {
|
|
62952
62980
|
contents.UserIdGroupPairs = [];
|
|
62953
62981
|
}
|
|
62954
|
-
if (output["groups"] !== undefined && output["groups"]["item"] !== undefined) {
|
|
62982
|
+
else if (output["groups"] !== undefined && output["groups"]["item"] !== undefined) {
|
|
62955
62983
|
contents.UserIdGroupPairs = deserializeAws_ec2UserIdGroupPairList(__getArrayIfSingleItem(output["groups"]["item"]), context);
|
|
62956
62984
|
}
|
|
62957
62985
|
return contents;
|
|
@@ -63134,13 +63162,13 @@ var deserializeAws_ec2Ipv6Pool = function (output, context) {
|
|
|
63134
63162
|
if (output.poolCidrBlockSet === "") {
|
|
63135
63163
|
contents.PoolCidrBlocks = [];
|
|
63136
63164
|
}
|
|
63137
|
-
if (output["poolCidrBlockSet"] !== undefined && output["poolCidrBlockSet"]["item"] !== undefined) {
|
|
63165
|
+
else if (output["poolCidrBlockSet"] !== undefined && output["poolCidrBlockSet"]["item"] !== undefined) {
|
|
63138
63166
|
contents.PoolCidrBlocks = deserializeAws_ec2PoolCidrBlocksSet(__getArrayIfSingleItem(output["poolCidrBlockSet"]["item"]), context);
|
|
63139
63167
|
}
|
|
63140
63168
|
if (output.tagSet === "") {
|
|
63141
63169
|
contents.Tags = [];
|
|
63142
63170
|
}
|
|
63143
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
63171
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
63144
63172
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
63145
63173
|
}
|
|
63146
63174
|
return contents;
|
|
@@ -63258,7 +63286,7 @@ var deserializeAws_ec2KeyPair = function (output, context) {
|
|
|
63258
63286
|
if (output.tagSet === "") {
|
|
63259
63287
|
contents.Tags = [];
|
|
63260
63288
|
}
|
|
63261
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
63289
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
63262
63290
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
63263
63291
|
}
|
|
63264
63292
|
return contents;
|
|
@@ -63288,7 +63316,7 @@ var deserializeAws_ec2KeyPairInfo = function (output, context) {
|
|
|
63288
63316
|
if (output.tagSet === "") {
|
|
63289
63317
|
contents.Tags = [];
|
|
63290
63318
|
}
|
|
63291
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
63319
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
63292
63320
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
63293
63321
|
}
|
|
63294
63322
|
if (output["publicKey"] !== undefined) {
|
|
@@ -63377,7 +63405,7 @@ var deserializeAws_ec2LaunchSpecification = function (output, context) {
|
|
|
63377
63405
|
if (output.groupSet === "") {
|
|
63378
63406
|
contents.SecurityGroups = [];
|
|
63379
63407
|
}
|
|
63380
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
63408
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
63381
63409
|
contents.SecurityGroups = deserializeAws_ec2GroupIdentifierList(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
63382
63410
|
}
|
|
63383
63411
|
if (output["addressingType"] !== undefined) {
|
|
@@ -63386,7 +63414,7 @@ var deserializeAws_ec2LaunchSpecification = function (output, context) {
|
|
|
63386
63414
|
if (output.blockDeviceMapping === "") {
|
|
63387
63415
|
contents.BlockDeviceMappings = [];
|
|
63388
63416
|
}
|
|
63389
|
-
if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
63417
|
+
else if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
63390
63418
|
contents.BlockDeviceMappings = deserializeAws_ec2BlockDeviceMappingList(__getArrayIfSingleItem(output["blockDeviceMapping"]["item"]), context);
|
|
63391
63419
|
}
|
|
63392
63420
|
if (output["ebsOptimized"] !== undefined) {
|
|
@@ -63410,7 +63438,7 @@ var deserializeAws_ec2LaunchSpecification = function (output, context) {
|
|
|
63410
63438
|
if (output.networkInterfaceSet === "") {
|
|
63411
63439
|
contents.NetworkInterfaces = [];
|
|
63412
63440
|
}
|
|
63413
|
-
if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
63441
|
+
else if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
63414
63442
|
contents.NetworkInterfaces = deserializeAws_ec2InstanceNetworkInterfaceSpecificationList(__getArrayIfSingleItem(output["networkInterfaceSet"]["item"]), context);
|
|
63415
63443
|
}
|
|
63416
63444
|
if (output["placement"] !== undefined) {
|
|
@@ -63468,7 +63496,7 @@ var deserializeAws_ec2LaunchTemplate = function (output, context) {
|
|
|
63468
63496
|
if (output.tagSet === "") {
|
|
63469
63497
|
contents.Tags = [];
|
|
63470
63498
|
}
|
|
63471
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
63499
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
63472
63500
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
63473
63501
|
}
|
|
63474
63502
|
return contents;
|
|
@@ -63541,7 +63569,7 @@ var deserializeAws_ec2LaunchTemplateConfig = function (output, context) {
|
|
|
63541
63569
|
if (output.overrides === "") {
|
|
63542
63570
|
contents.Overrides = [];
|
|
63543
63571
|
}
|
|
63544
|
-
if (output["overrides"] !== undefined && output["overrides"]["item"] !== undefined) {
|
|
63572
|
+
else if (output["overrides"] !== undefined && output["overrides"]["item"] !== undefined) {
|
|
63545
63573
|
contents.Overrides = deserializeAws_ec2LaunchTemplateOverridesList(__getArrayIfSingleItem(output["overrides"]["item"]), context);
|
|
63546
63574
|
}
|
|
63547
63575
|
return contents;
|
|
@@ -63751,7 +63779,7 @@ var deserializeAws_ec2LaunchTemplateInstanceNetworkInterfaceSpecification = func
|
|
|
63751
63779
|
if (output.groupSet === "") {
|
|
63752
63780
|
contents.Groups = [];
|
|
63753
63781
|
}
|
|
63754
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["groupId"] !== undefined) {
|
|
63782
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["groupId"] !== undefined) {
|
|
63755
63783
|
contents.Groups = deserializeAws_ec2GroupIdStringList(__getArrayIfSingleItem(output["groupSet"]["groupId"]), context);
|
|
63756
63784
|
}
|
|
63757
63785
|
if (output["interfaceType"] !== undefined) {
|
|
@@ -63763,7 +63791,7 @@ var deserializeAws_ec2LaunchTemplateInstanceNetworkInterfaceSpecification = func
|
|
|
63763
63791
|
if (output.ipv6AddressesSet === "") {
|
|
63764
63792
|
contents.Ipv6Addresses = [];
|
|
63765
63793
|
}
|
|
63766
|
-
if (output["ipv6AddressesSet"] !== undefined && output["ipv6AddressesSet"]["item"] !== undefined) {
|
|
63794
|
+
else if (output["ipv6AddressesSet"] !== undefined && output["ipv6AddressesSet"]["item"] !== undefined) {
|
|
63767
63795
|
contents.Ipv6Addresses = deserializeAws_ec2InstanceIpv6AddressList(__getArrayIfSingleItem(output["ipv6AddressesSet"]["item"]), context);
|
|
63768
63796
|
}
|
|
63769
63797
|
if (output["networkInterfaceId"] !== undefined) {
|
|
@@ -63775,7 +63803,7 @@ var deserializeAws_ec2LaunchTemplateInstanceNetworkInterfaceSpecification = func
|
|
|
63775
63803
|
if (output.privateIpAddressesSet === "") {
|
|
63776
63804
|
contents.PrivateIpAddresses = [];
|
|
63777
63805
|
}
|
|
63778
|
-
if (output["privateIpAddressesSet"] !== undefined && output["privateIpAddressesSet"]["item"] !== undefined) {
|
|
63806
|
+
else if (output["privateIpAddressesSet"] !== undefined && output["privateIpAddressesSet"]["item"] !== undefined) {
|
|
63779
63807
|
contents.PrivateIpAddresses = deserializeAws_ec2PrivateIpAddressSpecificationList(__getArrayIfSingleItem(output["privateIpAddressesSet"]["item"]), context);
|
|
63780
63808
|
}
|
|
63781
63809
|
if (output["secondaryPrivateIpAddressCount"] !== undefined) {
|
|
@@ -63790,7 +63818,7 @@ var deserializeAws_ec2LaunchTemplateInstanceNetworkInterfaceSpecification = func
|
|
|
63790
63818
|
if (output.ipv4PrefixSet === "") {
|
|
63791
63819
|
contents.Ipv4Prefixes = [];
|
|
63792
63820
|
}
|
|
63793
|
-
if (output["ipv4PrefixSet"] !== undefined && output["ipv4PrefixSet"]["item"] !== undefined) {
|
|
63821
|
+
else if (output["ipv4PrefixSet"] !== undefined && output["ipv4PrefixSet"]["item"] !== undefined) {
|
|
63794
63822
|
contents.Ipv4Prefixes = deserializeAws_ec2Ipv4PrefixListResponse(__getArrayIfSingleItem(output["ipv4PrefixSet"]["item"]), context);
|
|
63795
63823
|
}
|
|
63796
63824
|
if (output["ipv4PrefixCount"] !== undefined) {
|
|
@@ -63799,7 +63827,7 @@ var deserializeAws_ec2LaunchTemplateInstanceNetworkInterfaceSpecification = func
|
|
|
63799
63827
|
if (output.ipv6PrefixSet === "") {
|
|
63800
63828
|
contents.Ipv6Prefixes = [];
|
|
63801
63829
|
}
|
|
63802
|
-
if (output["ipv6PrefixSet"] !== undefined && output["ipv6PrefixSet"]["item"] !== undefined) {
|
|
63830
|
+
else if (output["ipv6PrefixSet"] !== undefined && output["ipv6PrefixSet"]["item"] !== undefined) {
|
|
63803
63831
|
contents.Ipv6Prefixes = deserializeAws_ec2Ipv6PrefixListResponse(__getArrayIfSingleItem(output["ipv6PrefixSet"]["item"]), context);
|
|
63804
63832
|
}
|
|
63805
63833
|
if (output["ipv6PrefixCount"] !== undefined) {
|
|
@@ -63988,7 +64016,7 @@ var deserializeAws_ec2LaunchTemplateTagSpecification = function (output, context
|
|
|
63988
64016
|
if (output.tagSet === "") {
|
|
63989
64017
|
contents.Tags = [];
|
|
63990
64018
|
}
|
|
63991
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64019
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
63992
64020
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
63993
64021
|
}
|
|
63994
64022
|
return contents;
|
|
@@ -64077,7 +64105,7 @@ var deserializeAws_ec2ListImagesInRecycleBinResult = function (output, context)
|
|
|
64077
64105
|
if (output.imageSet === "") {
|
|
64078
64106
|
contents.Images = [];
|
|
64079
64107
|
}
|
|
64080
|
-
if (output["imageSet"] !== undefined && output["imageSet"]["item"] !== undefined) {
|
|
64108
|
+
else if (output["imageSet"] !== undefined && output["imageSet"]["item"] !== undefined) {
|
|
64081
64109
|
contents.Images = deserializeAws_ec2ImageRecycleBinInfoList(__getArrayIfSingleItem(output["imageSet"]["item"]), context);
|
|
64082
64110
|
}
|
|
64083
64111
|
if (output["nextToken"] !== undefined) {
|
|
@@ -64093,7 +64121,7 @@ var deserializeAws_ec2ListSnapshotsInRecycleBinResult = function (output, contex
|
|
|
64093
64121
|
if (output.snapshotSet === "") {
|
|
64094
64122
|
contents.Snapshots = [];
|
|
64095
64123
|
}
|
|
64096
|
-
if (output["snapshotSet"] !== undefined && output["snapshotSet"]["item"] !== undefined) {
|
|
64124
|
+
else if (output["snapshotSet"] !== undefined && output["snapshotSet"]["item"] !== undefined) {
|
|
64097
64125
|
contents.Snapshots = deserializeAws_ec2SnapshotRecycleBinInfoList(__getArrayIfSingleItem(output["snapshotSet"]["item"]), context);
|
|
64098
64126
|
}
|
|
64099
64127
|
if (output["nextToken"] !== undefined) {
|
|
@@ -64160,7 +64188,7 @@ var deserializeAws_ec2LocalGateway = function (output, context) {
|
|
|
64160
64188
|
if (output.tagSet === "") {
|
|
64161
64189
|
contents.Tags = [];
|
|
64162
64190
|
}
|
|
64163
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64191
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64164
64192
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
64165
64193
|
}
|
|
64166
64194
|
return contents;
|
|
@@ -64239,7 +64267,7 @@ var deserializeAws_ec2LocalGatewayRouteTable = function (output, context) {
|
|
|
64239
64267
|
if (output.tagSet === "") {
|
|
64240
64268
|
contents.Tags = [];
|
|
64241
64269
|
}
|
|
64242
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64270
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64243
64271
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
64244
64272
|
}
|
|
64245
64273
|
return contents;
|
|
@@ -64289,7 +64317,7 @@ var deserializeAws_ec2LocalGatewayRouteTableVirtualInterfaceGroupAssociation = f
|
|
|
64289
64317
|
if (output.tagSet === "") {
|
|
64290
64318
|
contents.Tags = [];
|
|
64291
64319
|
}
|
|
64292
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64320
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64293
64321
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
64294
64322
|
}
|
|
64295
64323
|
return contents;
|
|
@@ -64339,7 +64367,7 @@ var deserializeAws_ec2LocalGatewayRouteTableVpcAssociation = function (output, c
|
|
|
64339
64367
|
if (output.tagSet === "") {
|
|
64340
64368
|
contents.Tags = [];
|
|
64341
64369
|
}
|
|
64342
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64370
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64343
64371
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
64344
64372
|
}
|
|
64345
64373
|
return contents;
|
|
@@ -64403,7 +64431,7 @@ var deserializeAws_ec2LocalGatewayVirtualInterface = function (output, context)
|
|
|
64403
64431
|
if (output.tagSet === "") {
|
|
64404
64432
|
contents.Tags = [];
|
|
64405
64433
|
}
|
|
64406
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64434
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64407
64435
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
64408
64436
|
}
|
|
64409
64437
|
return contents;
|
|
@@ -64422,7 +64450,7 @@ var deserializeAws_ec2LocalGatewayVirtualInterfaceGroup = function (output, cont
|
|
|
64422
64450
|
if (output.localGatewayVirtualInterfaceIdSet === "") {
|
|
64423
64451
|
contents.LocalGatewayVirtualInterfaceIds = [];
|
|
64424
64452
|
}
|
|
64425
|
-
if (output["localGatewayVirtualInterfaceIdSet"] !== undefined &&
|
|
64453
|
+
else if (output["localGatewayVirtualInterfaceIdSet"] !== undefined &&
|
|
64426
64454
|
output["localGatewayVirtualInterfaceIdSet"]["item"] !== undefined) {
|
|
64427
64455
|
contents.LocalGatewayVirtualInterfaceIds = deserializeAws_ec2LocalGatewayVirtualInterfaceIdSet(__getArrayIfSingleItem(output["localGatewayVirtualInterfaceIdSet"]["item"]), context);
|
|
64428
64456
|
}
|
|
@@ -64435,7 +64463,7 @@ var deserializeAws_ec2LocalGatewayVirtualInterfaceGroup = function (output, cont
|
|
|
64435
64463
|
if (output.tagSet === "") {
|
|
64436
64464
|
contents.Tags = [];
|
|
64437
64465
|
}
|
|
64438
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64466
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64439
64467
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
64440
64468
|
}
|
|
64441
64469
|
return contents;
|
|
@@ -64520,7 +64548,7 @@ var deserializeAws_ec2ManagedPrefixList = function (output, context) {
|
|
|
64520
64548
|
if (output.tagSet === "") {
|
|
64521
64549
|
contents.Tags = [];
|
|
64522
64550
|
}
|
|
64523
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64551
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
64524
64552
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
64525
64553
|
}
|
|
64526
64554
|
if (output["ownerId"] !== undefined) {
|
|
@@ -64662,13 +64690,13 @@ var deserializeAws_ec2ModifyHostsResult = function (output, context) {
|
|
|
64662
64690
|
if (output.successful === "") {
|
|
64663
64691
|
contents.Successful = [];
|
|
64664
64692
|
}
|
|
64665
|
-
if (output["successful"] !== undefined && output["successful"]["item"] !== undefined) {
|
|
64693
|
+
else if (output["successful"] !== undefined && output["successful"]["item"] !== undefined) {
|
|
64666
64694
|
contents.Successful = deserializeAws_ec2ResponseHostIdList(__getArrayIfSingleItem(output["successful"]["item"]), context);
|
|
64667
64695
|
}
|
|
64668
64696
|
if (output.unsuccessful === "") {
|
|
64669
64697
|
contents.Unsuccessful = [];
|
|
64670
64698
|
}
|
|
64671
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
64699
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
64672
64700
|
contents.Unsuccessful = deserializeAws_ec2UnsuccessfulItemList(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
64673
64701
|
}
|
|
64674
64702
|
return contents;
|
|
@@ -64690,14 +64718,14 @@ var deserializeAws_ec2ModifyInstanceCreditSpecificationResult = function (output
|
|
|
64690
64718
|
if (output.successfulInstanceCreditSpecificationSet === "") {
|
|
64691
64719
|
contents.SuccessfulInstanceCreditSpecifications = [];
|
|
64692
64720
|
}
|
|
64693
|
-
if (output["successfulInstanceCreditSpecificationSet"] !== undefined &&
|
|
64721
|
+
else if (output["successfulInstanceCreditSpecificationSet"] !== undefined &&
|
|
64694
64722
|
output["successfulInstanceCreditSpecificationSet"]["item"] !== undefined) {
|
|
64695
64723
|
contents.SuccessfulInstanceCreditSpecifications = deserializeAws_ec2SuccessfulInstanceCreditSpecificationSet(__getArrayIfSingleItem(output["successfulInstanceCreditSpecificationSet"]["item"]), context);
|
|
64696
64724
|
}
|
|
64697
64725
|
if (output.unsuccessfulInstanceCreditSpecificationSet === "") {
|
|
64698
64726
|
contents.UnsuccessfulInstanceCreditSpecifications = [];
|
|
64699
64727
|
}
|
|
64700
|
-
if (output["unsuccessfulInstanceCreditSpecificationSet"] !== undefined &&
|
|
64728
|
+
else if (output["unsuccessfulInstanceCreditSpecificationSet"] !== undefined &&
|
|
64701
64729
|
output["unsuccessfulInstanceCreditSpecificationSet"]["item"] !== undefined) {
|
|
64702
64730
|
contents.UnsuccessfulInstanceCreditSpecifications = deserializeAws_ec2UnsuccessfulInstanceCreditSpecificationSet(__getArrayIfSingleItem(output["unsuccessfulInstanceCreditSpecificationSet"]["item"]), context);
|
|
64703
64731
|
}
|
|
@@ -65041,7 +65069,7 @@ var deserializeAws_ec2MonitorInstancesResult = function (output, context) {
|
|
|
65041
65069
|
if (output.instancesSet === "") {
|
|
65042
65070
|
contents.InstanceMonitorings = [];
|
|
65043
65071
|
}
|
|
65044
|
-
if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
65072
|
+
else if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
65045
65073
|
contents.InstanceMonitorings = deserializeAws_ec2InstanceMonitoringList(__getArrayIfSingleItem(output["instancesSet"]["item"]), context);
|
|
65046
65074
|
}
|
|
65047
65075
|
return contents;
|
|
@@ -65121,7 +65149,7 @@ var deserializeAws_ec2NatGateway = function (output, context) {
|
|
|
65121
65149
|
if (output.natGatewayAddressSet === "") {
|
|
65122
65150
|
contents.NatGatewayAddresses = [];
|
|
65123
65151
|
}
|
|
65124
|
-
if (output["natGatewayAddressSet"] !== undefined && output["natGatewayAddressSet"]["item"] !== undefined) {
|
|
65152
|
+
else if (output["natGatewayAddressSet"] !== undefined && output["natGatewayAddressSet"]["item"] !== undefined) {
|
|
65125
65153
|
contents.NatGatewayAddresses = deserializeAws_ec2NatGatewayAddressList(__getArrayIfSingleItem(output["natGatewayAddressSet"]["item"]), context);
|
|
65126
65154
|
}
|
|
65127
65155
|
if (output["natGatewayId"] !== undefined) {
|
|
@@ -65142,7 +65170,7 @@ var deserializeAws_ec2NatGateway = function (output, context) {
|
|
|
65142
65170
|
if (output.tagSet === "") {
|
|
65143
65171
|
contents.Tags = [];
|
|
65144
65172
|
}
|
|
65145
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65173
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65146
65174
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
65147
65175
|
}
|
|
65148
65176
|
if (output["connectivityType"] !== undefined) {
|
|
@@ -65204,13 +65232,13 @@ var deserializeAws_ec2NetworkAcl = function (output, context) {
|
|
|
65204
65232
|
if (output.associationSet === "") {
|
|
65205
65233
|
contents.Associations = [];
|
|
65206
65234
|
}
|
|
65207
|
-
if (output["associationSet"] !== undefined && output["associationSet"]["item"] !== undefined) {
|
|
65235
|
+
else if (output["associationSet"] !== undefined && output["associationSet"]["item"] !== undefined) {
|
|
65208
65236
|
contents.Associations = deserializeAws_ec2NetworkAclAssociationList(__getArrayIfSingleItem(output["associationSet"]["item"]), context);
|
|
65209
65237
|
}
|
|
65210
65238
|
if (output.entrySet === "") {
|
|
65211
65239
|
contents.Entries = [];
|
|
65212
65240
|
}
|
|
65213
|
-
if (output["entrySet"] !== undefined && output["entrySet"]["item"] !== undefined) {
|
|
65241
|
+
else if (output["entrySet"] !== undefined && output["entrySet"]["item"] !== undefined) {
|
|
65214
65242
|
contents.Entries = deserializeAws_ec2NetworkAclEntryList(__getArrayIfSingleItem(output["entrySet"]["item"]), context);
|
|
65215
65243
|
}
|
|
65216
65244
|
if (output["default"] !== undefined) {
|
|
@@ -65222,7 +65250,7 @@ var deserializeAws_ec2NetworkAcl = function (output, context) {
|
|
|
65222
65250
|
if (output.tagSet === "") {
|
|
65223
65251
|
contents.Tags = [];
|
|
65224
65252
|
}
|
|
65225
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65253
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65226
65254
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
65227
65255
|
}
|
|
65228
65256
|
if (output["vpcId"] !== undefined) {
|
|
@@ -65374,7 +65402,7 @@ var deserializeAws_ec2NetworkInfo = function (output, context) {
|
|
|
65374
65402
|
if (output.networkCards === "") {
|
|
65375
65403
|
contents.NetworkCards = [];
|
|
65376
65404
|
}
|
|
65377
|
-
if (output["networkCards"] !== undefined && output["networkCards"]["item"] !== undefined) {
|
|
65405
|
+
else if (output["networkCards"] !== undefined && output["networkCards"]["item"] !== undefined) {
|
|
65378
65406
|
contents.NetworkCards = deserializeAws_ec2NetworkCardInfoList(__getArrayIfSingleItem(output["networkCards"]["item"]), context);
|
|
65379
65407
|
}
|
|
65380
65408
|
if (output["ipv4AddressesPerInterface"] !== undefined) {
|
|
@@ -65423,7 +65451,7 @@ var deserializeAws_ec2NetworkInsightsAccessScope = function (output, context) {
|
|
|
65423
65451
|
if (output.tagSet === "") {
|
|
65424
65452
|
contents.Tags = [];
|
|
65425
65453
|
}
|
|
65426
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65454
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65427
65455
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
65428
65456
|
}
|
|
65429
65457
|
return contents;
|
|
@@ -65475,7 +65503,7 @@ var deserializeAws_ec2NetworkInsightsAccessScopeAnalysis = function (output, con
|
|
|
65475
65503
|
if (output.tagSet === "") {
|
|
65476
65504
|
contents.Tags = [];
|
|
65477
65505
|
}
|
|
65478
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65506
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65479
65507
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
65480
65508
|
}
|
|
65481
65509
|
return contents;
|
|
@@ -65502,13 +65530,13 @@ var deserializeAws_ec2NetworkInsightsAccessScopeContent = function (output, cont
|
|
|
65502
65530
|
if (output.matchPathSet === "") {
|
|
65503
65531
|
contents.MatchPaths = [];
|
|
65504
65532
|
}
|
|
65505
|
-
if (output["matchPathSet"] !== undefined && output["matchPathSet"]["item"] !== undefined) {
|
|
65533
|
+
else if (output["matchPathSet"] !== undefined && output["matchPathSet"]["item"] !== undefined) {
|
|
65506
65534
|
contents.MatchPaths = deserializeAws_ec2AccessScopePathList(__getArrayIfSingleItem(output["matchPathSet"]["item"]), context);
|
|
65507
65535
|
}
|
|
65508
65536
|
if (output.excludePathSet === "") {
|
|
65509
65537
|
contents.ExcludePaths = [];
|
|
65510
65538
|
}
|
|
65511
|
-
if (output["excludePathSet"] !== undefined && output["excludePathSet"]["item"] !== undefined) {
|
|
65539
|
+
else if (output["excludePathSet"] !== undefined && output["excludePathSet"]["item"] !== undefined) {
|
|
65512
65540
|
contents.ExcludePaths = deserializeAws_ec2AccessScopePathList(__getArrayIfSingleItem(output["excludePathSet"]["item"]), context);
|
|
65513
65541
|
}
|
|
65514
65542
|
return contents;
|
|
@@ -65552,7 +65580,7 @@ var deserializeAws_ec2NetworkInsightsAnalysis = function (output, context) {
|
|
|
65552
65580
|
if (output.filterInArnSet === "") {
|
|
65553
65581
|
contents.FilterInArns = [];
|
|
65554
65582
|
}
|
|
65555
|
-
if (output["filterInArnSet"] !== undefined && output["filterInArnSet"]["item"] !== undefined) {
|
|
65583
|
+
else if (output["filterInArnSet"] !== undefined && output["filterInArnSet"]["item"] !== undefined) {
|
|
65556
65584
|
contents.FilterInArns = deserializeAws_ec2ArnList(__getArrayIfSingleItem(output["filterInArnSet"]["item"]), context);
|
|
65557
65585
|
}
|
|
65558
65586
|
if (output["startDate"] !== undefined) {
|
|
@@ -65573,31 +65601,32 @@ var deserializeAws_ec2NetworkInsightsAnalysis = function (output, context) {
|
|
|
65573
65601
|
if (output.forwardPathComponentSet === "") {
|
|
65574
65602
|
contents.ForwardPathComponents = [];
|
|
65575
65603
|
}
|
|
65576
|
-
if (output["forwardPathComponentSet"] !== undefined &&
|
|
65604
|
+
else if (output["forwardPathComponentSet"] !== undefined &&
|
|
65605
|
+
output["forwardPathComponentSet"]["item"] !== undefined) {
|
|
65577
65606
|
contents.ForwardPathComponents = deserializeAws_ec2PathComponentList(__getArrayIfSingleItem(output["forwardPathComponentSet"]["item"]), context);
|
|
65578
65607
|
}
|
|
65579
65608
|
if (output.returnPathComponentSet === "") {
|
|
65580
65609
|
contents.ReturnPathComponents = [];
|
|
65581
65610
|
}
|
|
65582
|
-
if (output["returnPathComponentSet"] !== undefined && output["returnPathComponentSet"]["item"] !== undefined) {
|
|
65611
|
+
else if (output["returnPathComponentSet"] !== undefined && output["returnPathComponentSet"]["item"] !== undefined) {
|
|
65583
65612
|
contents.ReturnPathComponents = deserializeAws_ec2PathComponentList(__getArrayIfSingleItem(output["returnPathComponentSet"]["item"]), context);
|
|
65584
65613
|
}
|
|
65585
65614
|
if (output.explanationSet === "") {
|
|
65586
65615
|
contents.Explanations = [];
|
|
65587
65616
|
}
|
|
65588
|
-
if (output["explanationSet"] !== undefined && output["explanationSet"]["item"] !== undefined) {
|
|
65617
|
+
else if (output["explanationSet"] !== undefined && output["explanationSet"]["item"] !== undefined) {
|
|
65589
65618
|
contents.Explanations = deserializeAws_ec2ExplanationList(__getArrayIfSingleItem(output["explanationSet"]["item"]), context);
|
|
65590
65619
|
}
|
|
65591
65620
|
if (output.alternatePathHintSet === "") {
|
|
65592
65621
|
contents.AlternatePathHints = [];
|
|
65593
65622
|
}
|
|
65594
|
-
if (output["alternatePathHintSet"] !== undefined && output["alternatePathHintSet"]["item"] !== undefined) {
|
|
65623
|
+
else if (output["alternatePathHintSet"] !== undefined && output["alternatePathHintSet"]["item"] !== undefined) {
|
|
65595
65624
|
contents.AlternatePathHints = deserializeAws_ec2AlternatePathHintList(__getArrayIfSingleItem(output["alternatePathHintSet"]["item"]), context);
|
|
65596
65625
|
}
|
|
65597
65626
|
if (output.tagSet === "") {
|
|
65598
65627
|
contents.Tags = [];
|
|
65599
65628
|
}
|
|
65600
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65629
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65601
65630
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
65602
65631
|
}
|
|
65603
65632
|
return contents;
|
|
@@ -65655,7 +65684,7 @@ var deserializeAws_ec2NetworkInsightsPath = function (output, context) {
|
|
|
65655
65684
|
if (output.tagSet === "") {
|
|
65656
65685
|
contents.Tags = [];
|
|
65657
65686
|
}
|
|
65658
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65687
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65659
65688
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
65660
65689
|
}
|
|
65661
65690
|
return contents;
|
|
@@ -65714,7 +65743,7 @@ var deserializeAws_ec2NetworkInterface = function (output, context) {
|
|
|
65714
65743
|
if (output.groupSet === "") {
|
|
65715
65744
|
contents.Groups = [];
|
|
65716
65745
|
}
|
|
65717
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
65746
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
65718
65747
|
contents.Groups = deserializeAws_ec2GroupIdentifierList(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
65719
65748
|
}
|
|
65720
65749
|
if (output["interfaceType"] !== undefined) {
|
|
@@ -65723,7 +65752,7 @@ var deserializeAws_ec2NetworkInterface = function (output, context) {
|
|
|
65723
65752
|
if (output.ipv6AddressesSet === "") {
|
|
65724
65753
|
contents.Ipv6Addresses = [];
|
|
65725
65754
|
}
|
|
65726
|
-
if (output["ipv6AddressesSet"] !== undefined && output["ipv6AddressesSet"]["item"] !== undefined) {
|
|
65755
|
+
else if (output["ipv6AddressesSet"] !== undefined && output["ipv6AddressesSet"]["item"] !== undefined) {
|
|
65727
65756
|
contents.Ipv6Addresses = deserializeAws_ec2NetworkInterfaceIpv6AddressesList(__getArrayIfSingleItem(output["ipv6AddressesSet"]["item"]), context);
|
|
65728
65757
|
}
|
|
65729
65758
|
if (output["macAddress"] !== undefined) {
|
|
@@ -65747,19 +65776,19 @@ var deserializeAws_ec2NetworkInterface = function (output, context) {
|
|
|
65747
65776
|
if (output.privateIpAddressesSet === "") {
|
|
65748
65777
|
contents.PrivateIpAddresses = [];
|
|
65749
65778
|
}
|
|
65750
|
-
if (output["privateIpAddressesSet"] !== undefined && output["privateIpAddressesSet"]["item"] !== undefined) {
|
|
65779
|
+
else if (output["privateIpAddressesSet"] !== undefined && output["privateIpAddressesSet"]["item"] !== undefined) {
|
|
65751
65780
|
contents.PrivateIpAddresses = deserializeAws_ec2NetworkInterfacePrivateIpAddressList(__getArrayIfSingleItem(output["privateIpAddressesSet"]["item"]), context);
|
|
65752
65781
|
}
|
|
65753
65782
|
if (output.ipv4PrefixSet === "") {
|
|
65754
65783
|
contents.Ipv4Prefixes = [];
|
|
65755
65784
|
}
|
|
65756
|
-
if (output["ipv4PrefixSet"] !== undefined && output["ipv4PrefixSet"]["item"] !== undefined) {
|
|
65785
|
+
else if (output["ipv4PrefixSet"] !== undefined && output["ipv4PrefixSet"]["item"] !== undefined) {
|
|
65757
65786
|
contents.Ipv4Prefixes = deserializeAws_ec2Ipv4PrefixesList(__getArrayIfSingleItem(output["ipv4PrefixSet"]["item"]), context);
|
|
65758
65787
|
}
|
|
65759
65788
|
if (output.ipv6PrefixSet === "") {
|
|
65760
65789
|
contents.Ipv6Prefixes = [];
|
|
65761
65790
|
}
|
|
65762
|
-
if (output["ipv6PrefixSet"] !== undefined && output["ipv6PrefixSet"]["item"] !== undefined) {
|
|
65791
|
+
else if (output["ipv6PrefixSet"] !== undefined && output["ipv6PrefixSet"]["item"] !== undefined) {
|
|
65763
65792
|
contents.Ipv6Prefixes = deserializeAws_ec2Ipv6PrefixesList(__getArrayIfSingleItem(output["ipv6PrefixSet"]["item"]), context);
|
|
65764
65793
|
}
|
|
65765
65794
|
if (output["requesterId"] !== undefined) {
|
|
@@ -65780,7 +65809,7 @@ var deserializeAws_ec2NetworkInterface = function (output, context) {
|
|
|
65780
65809
|
if (output.tagSet === "") {
|
|
65781
65810
|
contents.TagSet = [];
|
|
65782
65811
|
}
|
|
65783
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65812
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
65784
65813
|
contents.TagSet = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
65785
65814
|
}
|
|
65786
65815
|
if (output["vpcId"] !== undefined) {
|
|
@@ -66044,43 +66073,44 @@ var deserializeAws_ec2PacketHeaderStatement = function (output, context) {
|
|
|
66044
66073
|
if (output.sourceAddressSet === "") {
|
|
66045
66074
|
contents.SourceAddresses = [];
|
|
66046
66075
|
}
|
|
66047
|
-
if (output["sourceAddressSet"] !== undefined && output["sourceAddressSet"]["item"] !== undefined) {
|
|
66076
|
+
else if (output["sourceAddressSet"] !== undefined && output["sourceAddressSet"]["item"] !== undefined) {
|
|
66048
66077
|
contents.SourceAddresses = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["sourceAddressSet"]["item"]), context);
|
|
66049
66078
|
}
|
|
66050
66079
|
if (output.destinationAddressSet === "") {
|
|
66051
66080
|
contents.DestinationAddresses = [];
|
|
66052
66081
|
}
|
|
66053
|
-
if (output["destinationAddressSet"] !== undefined && output["destinationAddressSet"]["item"] !== undefined) {
|
|
66082
|
+
else if (output["destinationAddressSet"] !== undefined && output["destinationAddressSet"]["item"] !== undefined) {
|
|
66054
66083
|
contents.DestinationAddresses = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["destinationAddressSet"]["item"]), context);
|
|
66055
66084
|
}
|
|
66056
66085
|
if (output.sourcePortSet === "") {
|
|
66057
66086
|
contents.SourcePorts = [];
|
|
66058
66087
|
}
|
|
66059
|
-
if (output["sourcePortSet"] !== undefined && output["sourcePortSet"]["item"] !== undefined) {
|
|
66088
|
+
else if (output["sourcePortSet"] !== undefined && output["sourcePortSet"]["item"] !== undefined) {
|
|
66060
66089
|
contents.SourcePorts = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["sourcePortSet"]["item"]), context);
|
|
66061
66090
|
}
|
|
66062
66091
|
if (output.destinationPortSet === "") {
|
|
66063
66092
|
contents.DestinationPorts = [];
|
|
66064
66093
|
}
|
|
66065
|
-
if (output["destinationPortSet"] !== undefined && output["destinationPortSet"]["item"] !== undefined) {
|
|
66094
|
+
else if (output["destinationPortSet"] !== undefined && output["destinationPortSet"]["item"] !== undefined) {
|
|
66066
66095
|
contents.DestinationPorts = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["destinationPortSet"]["item"]), context);
|
|
66067
66096
|
}
|
|
66068
66097
|
if (output.sourcePrefixListSet === "") {
|
|
66069
66098
|
contents.SourcePrefixLists = [];
|
|
66070
66099
|
}
|
|
66071
|
-
if (output["sourcePrefixListSet"] !== undefined && output["sourcePrefixListSet"]["item"] !== undefined) {
|
|
66100
|
+
else if (output["sourcePrefixListSet"] !== undefined && output["sourcePrefixListSet"]["item"] !== undefined) {
|
|
66072
66101
|
contents.SourcePrefixLists = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["sourcePrefixListSet"]["item"]), context);
|
|
66073
66102
|
}
|
|
66074
66103
|
if (output.destinationPrefixListSet === "") {
|
|
66075
66104
|
contents.DestinationPrefixLists = [];
|
|
66076
66105
|
}
|
|
66077
|
-
if (output["destinationPrefixListSet"] !== undefined &&
|
|
66106
|
+
else if (output["destinationPrefixListSet"] !== undefined &&
|
|
66107
|
+
output["destinationPrefixListSet"]["item"] !== undefined) {
|
|
66078
66108
|
contents.DestinationPrefixLists = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["destinationPrefixListSet"]["item"]), context);
|
|
66079
66109
|
}
|
|
66080
66110
|
if (output.protocolSet === "") {
|
|
66081
66111
|
contents.Protocols = [];
|
|
66082
66112
|
}
|
|
66083
|
-
if (output["protocolSet"] !== undefined && output["protocolSet"]["item"] !== undefined) {
|
|
66113
|
+
else if (output["protocolSet"] !== undefined && output["protocolSet"]["item"] !== undefined) {
|
|
66084
66114
|
contents.Protocols = deserializeAws_ec2ProtocolList(__getArrayIfSingleItem(output["protocolSet"]["item"]), context);
|
|
66085
66115
|
}
|
|
66086
66116
|
return contents;
|
|
@@ -66142,7 +66172,7 @@ var deserializeAws_ec2PathComponent = function (output, context) {
|
|
|
66142
66172
|
if (output.additionalDetailSet === "") {
|
|
66143
66173
|
contents.AdditionalDetails = [];
|
|
66144
66174
|
}
|
|
66145
|
-
if (output["additionalDetailSet"] !== undefined && output["additionalDetailSet"]["item"] !== undefined) {
|
|
66175
|
+
else if (output["additionalDetailSet"] !== undefined && output["additionalDetailSet"]["item"] !== undefined) {
|
|
66146
66176
|
contents.AdditionalDetails = deserializeAws_ec2AdditionalDetailList(__getArrayIfSingleItem(output["additionalDetailSet"]["item"]), context);
|
|
66147
66177
|
}
|
|
66148
66178
|
if (output["transitGateway"] !== undefined) {
|
|
@@ -66423,7 +66453,7 @@ var deserializeAws_ec2PlacementGroup = function (output, context) {
|
|
|
66423
66453
|
if (output.tagSet === "") {
|
|
66424
66454
|
contents.Tags = [];
|
|
66425
66455
|
}
|
|
66426
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
66456
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
66427
66457
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
66428
66458
|
}
|
|
66429
66459
|
if (output["groupArn"] !== undefined) {
|
|
@@ -66438,7 +66468,7 @@ var deserializeAws_ec2PlacementGroupInfo = function (output, context) {
|
|
|
66438
66468
|
if (output.supportedStrategies === "") {
|
|
66439
66469
|
contents.SupportedStrategies = [];
|
|
66440
66470
|
}
|
|
66441
|
-
if (output["supportedStrategies"] !== undefined && output["supportedStrategies"]["item"] !== undefined) {
|
|
66471
|
+
else if (output["supportedStrategies"] !== undefined && output["supportedStrategies"]["item"] !== undefined) {
|
|
66442
66472
|
contents.SupportedStrategies = deserializeAws_ec2PlacementGroupStrategyList(__getArrayIfSingleItem(output["supportedStrategies"]["item"]), context);
|
|
66443
66473
|
}
|
|
66444
66474
|
return contents;
|
|
@@ -66523,7 +66553,7 @@ var deserializeAws_ec2PrefixList = function (output, context) {
|
|
|
66523
66553
|
if (output.cidrSet === "") {
|
|
66524
66554
|
contents.Cidrs = [];
|
|
66525
66555
|
}
|
|
66526
|
-
if (output["cidrSet"] !== undefined && output["cidrSet"]["item"] !== undefined) {
|
|
66556
|
+
else if (output["cidrSet"] !== undefined && output["cidrSet"]["item"] !== undefined) {
|
|
66527
66557
|
contents.Cidrs = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["cidrSet"]["item"]), context);
|
|
66528
66558
|
}
|
|
66529
66559
|
if (output["prefixListId"] !== undefined) {
|
|
@@ -66688,7 +66718,7 @@ var deserializeAws_ec2PrincipalIdFormat = function (output, context) {
|
|
|
66688
66718
|
if (output.statusSet === "") {
|
|
66689
66719
|
contents.Statuses = [];
|
|
66690
66720
|
}
|
|
66691
|
-
if (output["statusSet"] !== undefined && output["statusSet"]["item"] !== undefined) {
|
|
66721
|
+
else if (output["statusSet"] !== undefined && output["statusSet"]["item"] !== undefined) {
|
|
66692
66722
|
contents.Statuses = deserializeAws_ec2IdFormatList(__getArrayIfSingleItem(output["statusSet"]["item"]), context);
|
|
66693
66723
|
}
|
|
66694
66724
|
return contents;
|
|
@@ -66808,7 +66838,7 @@ var deserializeAws_ec2ProcessorInfo = function (output, context) {
|
|
|
66808
66838
|
if (output.supportedArchitectures === "") {
|
|
66809
66839
|
contents.SupportedArchitectures = [];
|
|
66810
66840
|
}
|
|
66811
|
-
if (output["supportedArchitectures"] !== undefined && output["supportedArchitectures"]["item"] !== undefined) {
|
|
66841
|
+
else if (output["supportedArchitectures"] !== undefined && output["supportedArchitectures"]["item"] !== undefined) {
|
|
66812
66842
|
contents.SupportedArchitectures = deserializeAws_ec2ArchitectureTypeList(__getArrayIfSingleItem(output["supportedArchitectures"]["item"]), context);
|
|
66813
66843
|
}
|
|
66814
66844
|
if (output["sustainedClockSpeedInGhz"] !== undefined) {
|
|
@@ -66960,7 +66990,7 @@ var deserializeAws_ec2PublicIpv4Pool = function (output, context) {
|
|
|
66960
66990
|
if (output.poolAddressRangeSet === "") {
|
|
66961
66991
|
contents.PoolAddressRanges = [];
|
|
66962
66992
|
}
|
|
66963
|
-
if (output["poolAddressRangeSet"] !== undefined && output["poolAddressRangeSet"]["item"] !== undefined) {
|
|
66993
|
+
else if (output["poolAddressRangeSet"] !== undefined && output["poolAddressRangeSet"]["item"] !== undefined) {
|
|
66964
66994
|
contents.PoolAddressRanges = deserializeAws_ec2PublicIpv4PoolRangeSet(__getArrayIfSingleItem(output["poolAddressRangeSet"]["item"]), context);
|
|
66965
66995
|
}
|
|
66966
66996
|
if (output["totalAddressCount"] !== undefined) {
|
|
@@ -66975,7 +67005,7 @@ var deserializeAws_ec2PublicIpv4Pool = function (output, context) {
|
|
|
66975
67005
|
if (output.tagSet === "") {
|
|
66976
67006
|
contents.Tags = [];
|
|
66977
67007
|
}
|
|
66978
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
67008
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
66979
67009
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
66980
67010
|
}
|
|
66981
67011
|
return contents;
|
|
@@ -67041,7 +67071,7 @@ var deserializeAws_ec2Purchase = function (output, context) {
|
|
|
67041
67071
|
if (output.hostIdSet === "") {
|
|
67042
67072
|
contents.HostIdSet = [];
|
|
67043
67073
|
}
|
|
67044
|
-
if (output["hostIdSet"] !== undefined && output["hostIdSet"]["item"] !== undefined) {
|
|
67074
|
+
else if (output["hostIdSet"] !== undefined && output["hostIdSet"]["item"] !== undefined) {
|
|
67045
67075
|
contents.HostIdSet = deserializeAws_ec2ResponseHostIdSet(__getArrayIfSingleItem(output["hostIdSet"]["item"]), context);
|
|
67046
67076
|
}
|
|
67047
67077
|
if (output["hostReservationId"] !== undefined) {
|
|
@@ -67088,7 +67118,7 @@ var deserializeAws_ec2PurchaseHostReservationResult = function (output, context)
|
|
|
67088
67118
|
if (output.purchase === "") {
|
|
67089
67119
|
contents.Purchase = [];
|
|
67090
67120
|
}
|
|
67091
|
-
if (output["purchase"] !== undefined && output["purchase"]["item"] !== undefined) {
|
|
67121
|
+
else if (output["purchase"] !== undefined && output["purchase"]["item"] !== undefined) {
|
|
67092
67122
|
contents.Purchase = deserializeAws_ec2PurchaseSet(__getArrayIfSingleItem(output["purchase"]["item"]), context);
|
|
67093
67123
|
}
|
|
67094
67124
|
if (output["totalHourlyPrice"] !== undefined) {
|
|
@@ -67115,7 +67145,7 @@ var deserializeAws_ec2PurchaseScheduledInstancesResult = function (output, conte
|
|
|
67115
67145
|
if (output.scheduledInstanceSet === "") {
|
|
67116
67146
|
contents.ScheduledInstanceSet = [];
|
|
67117
67147
|
}
|
|
67118
|
-
if (output["scheduledInstanceSet"] !== undefined && output["scheduledInstanceSet"]["item"] !== undefined) {
|
|
67148
|
+
else if (output["scheduledInstanceSet"] !== undefined && output["scheduledInstanceSet"]["item"] !== undefined) {
|
|
67119
67149
|
contents.ScheduledInstanceSet = deserializeAws_ec2PurchasedScheduledInstanceSet(__getArrayIfSingleItem(output["scheduledInstanceSet"]["item"]), context);
|
|
67120
67150
|
}
|
|
67121
67151
|
return contents;
|
|
@@ -67275,7 +67305,7 @@ var deserializeAws_ec2RejectVpcEndpointConnectionsResult = function (output, con
|
|
|
67275
67305
|
if (output.unsuccessful === "") {
|
|
67276
67306
|
contents.Unsuccessful = [];
|
|
67277
67307
|
}
|
|
67278
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
67308
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
67279
67309
|
contents.Unsuccessful = deserializeAws_ec2UnsuccessfulItemSet(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
67280
67310
|
}
|
|
67281
67311
|
return contents;
|
|
@@ -67297,13 +67327,13 @@ var deserializeAws_ec2ReleaseHostsResult = function (output, context) {
|
|
|
67297
67327
|
if (output.successful === "") {
|
|
67298
67328
|
contents.Successful = [];
|
|
67299
67329
|
}
|
|
67300
|
-
if (output["successful"] !== undefined && output["successful"]["item"] !== undefined) {
|
|
67330
|
+
else if (output["successful"] !== undefined && output["successful"]["item"] !== undefined) {
|
|
67301
67331
|
contents.Successful = deserializeAws_ec2ResponseHostIdList(__getArrayIfSingleItem(output["successful"]["item"]), context);
|
|
67302
67332
|
}
|
|
67303
67333
|
if (output.unsuccessful === "") {
|
|
67304
67334
|
contents.Unsuccessful = [];
|
|
67305
67335
|
}
|
|
67306
|
-
if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
67336
|
+
else if (output["unsuccessful"] !== undefined && output["unsuccessful"]["item"] !== undefined) {
|
|
67307
67337
|
contents.Unsuccessful = deserializeAws_ec2UnsuccessfulItemList(__getArrayIfSingleItem(output["unsuccessful"]["item"]), context);
|
|
67308
67338
|
}
|
|
67309
67339
|
return contents;
|
|
@@ -67362,7 +67392,7 @@ var deserializeAws_ec2ReplaceRootVolumeTask = function (output, context) {
|
|
|
67362
67392
|
if (output.tagSet === "") {
|
|
67363
67393
|
contents.Tags = [];
|
|
67364
67394
|
}
|
|
67365
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
67395
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
67366
67396
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
67367
67397
|
}
|
|
67368
67398
|
return contents;
|
|
@@ -67415,7 +67445,7 @@ var deserializeAws_ec2RequestSpotInstancesResult = function (output, context) {
|
|
|
67415
67445
|
if (output.spotInstanceRequestSet === "") {
|
|
67416
67446
|
contents.SpotInstanceRequests = [];
|
|
67417
67447
|
}
|
|
67418
|
-
if (output["spotInstanceRequestSet"] !== undefined && output["spotInstanceRequestSet"]["item"] !== undefined) {
|
|
67448
|
+
else if (output["spotInstanceRequestSet"] !== undefined && output["spotInstanceRequestSet"]["item"] !== undefined) {
|
|
67419
67449
|
contents.SpotInstanceRequests = deserializeAws_ec2SpotInstanceRequestList(__getArrayIfSingleItem(output["spotInstanceRequestSet"]["item"]), context);
|
|
67420
67450
|
}
|
|
67421
67451
|
return contents;
|
|
@@ -67431,13 +67461,13 @@ var deserializeAws_ec2Reservation = function (output, context) {
|
|
|
67431
67461
|
if (output.groupSet === "") {
|
|
67432
67462
|
contents.Groups = [];
|
|
67433
67463
|
}
|
|
67434
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
67464
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
67435
67465
|
contents.Groups = deserializeAws_ec2GroupIdentifierList(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
67436
67466
|
}
|
|
67437
67467
|
if (output.instancesSet === "") {
|
|
67438
67468
|
contents.Instances = [];
|
|
67439
67469
|
}
|
|
67440
|
-
if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
67470
|
+
else if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
67441
67471
|
contents.Instances = deserializeAws_ec2InstanceList(__getArrayIfSingleItem(output["instancesSet"]["item"]), context);
|
|
67442
67472
|
}
|
|
67443
67473
|
if (output["ownerId"] !== undefined) {
|
|
@@ -67570,7 +67600,7 @@ var deserializeAws_ec2ReservedInstances = function (output, context) {
|
|
|
67570
67600
|
if (output.recurringCharges === "") {
|
|
67571
67601
|
contents.RecurringCharges = [];
|
|
67572
67602
|
}
|
|
67573
|
-
if (output["recurringCharges"] !== undefined && output["recurringCharges"]["item"] !== undefined) {
|
|
67603
|
+
else if (output["recurringCharges"] !== undefined && output["recurringCharges"]["item"] !== undefined) {
|
|
67574
67604
|
contents.RecurringCharges = deserializeAws_ec2RecurringChargesList(__getArrayIfSingleItem(output["recurringCharges"]["item"]), context);
|
|
67575
67605
|
}
|
|
67576
67606
|
if (output["scope"] !== undefined) {
|
|
@@ -67579,7 +67609,7 @@ var deserializeAws_ec2ReservedInstances = function (output, context) {
|
|
|
67579
67609
|
if (output.tagSet === "") {
|
|
67580
67610
|
contents.Tags = [];
|
|
67581
67611
|
}
|
|
67582
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
67612
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
67583
67613
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
67584
67614
|
}
|
|
67585
67615
|
return contents;
|
|
@@ -67650,13 +67680,13 @@ var deserializeAws_ec2ReservedInstancesListing = function (output, context) {
|
|
|
67650
67680
|
if (output.instanceCounts === "") {
|
|
67651
67681
|
contents.InstanceCounts = [];
|
|
67652
67682
|
}
|
|
67653
|
-
if (output["instanceCounts"] !== undefined && output["instanceCounts"]["item"] !== undefined) {
|
|
67683
|
+
else if (output["instanceCounts"] !== undefined && output["instanceCounts"]["item"] !== undefined) {
|
|
67654
67684
|
contents.InstanceCounts = deserializeAws_ec2InstanceCountList(__getArrayIfSingleItem(output["instanceCounts"]["item"]), context);
|
|
67655
67685
|
}
|
|
67656
67686
|
if (output.priceSchedules === "") {
|
|
67657
67687
|
contents.PriceSchedules = [];
|
|
67658
67688
|
}
|
|
67659
|
-
if (output["priceSchedules"] !== undefined && output["priceSchedules"]["item"] !== undefined) {
|
|
67689
|
+
else if (output["priceSchedules"] !== undefined && output["priceSchedules"]["item"] !== undefined) {
|
|
67660
67690
|
contents.PriceSchedules = deserializeAws_ec2PriceScheduleList(__getArrayIfSingleItem(output["priceSchedules"]["item"]), context);
|
|
67661
67691
|
}
|
|
67662
67692
|
if (output["reservedInstancesId"] !== undefined) {
|
|
@@ -67674,7 +67704,7 @@ var deserializeAws_ec2ReservedInstancesListing = function (output, context) {
|
|
|
67674
67704
|
if (output.tagSet === "") {
|
|
67675
67705
|
contents.Tags = [];
|
|
67676
67706
|
}
|
|
67677
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
67707
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
67678
67708
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
67679
67709
|
}
|
|
67680
67710
|
if (output["updateDate"] !== undefined) {
|
|
@@ -67716,13 +67746,13 @@ var deserializeAws_ec2ReservedInstancesModification = function (output, context)
|
|
|
67716
67746
|
if (output.modificationResultSet === "") {
|
|
67717
67747
|
contents.ModificationResults = [];
|
|
67718
67748
|
}
|
|
67719
|
-
if (output["modificationResultSet"] !== undefined && output["modificationResultSet"]["item"] !== undefined) {
|
|
67749
|
+
else if (output["modificationResultSet"] !== undefined && output["modificationResultSet"]["item"] !== undefined) {
|
|
67720
67750
|
contents.ModificationResults = deserializeAws_ec2ReservedInstancesModificationResultList(__getArrayIfSingleItem(output["modificationResultSet"]["item"]), context);
|
|
67721
67751
|
}
|
|
67722
67752
|
if (output.reservedInstancesSet === "") {
|
|
67723
67753
|
contents.ReservedInstancesIds = [];
|
|
67724
67754
|
}
|
|
67725
|
-
if (output["reservedInstancesSet"] !== undefined && output["reservedInstancesSet"]["item"] !== undefined) {
|
|
67755
|
+
else if (output["reservedInstancesSet"] !== undefined && output["reservedInstancesSet"]["item"] !== undefined) {
|
|
67726
67756
|
contents.ReservedInstancesIds = deserializeAws_ec2ReservedIntancesIds(__getArrayIfSingleItem(output["reservedInstancesSet"]["item"]), context);
|
|
67727
67757
|
}
|
|
67728
67758
|
if (output["reservedInstancesModificationId"] !== undefined) {
|
|
@@ -67829,13 +67859,13 @@ var deserializeAws_ec2ReservedInstancesOffering = function (output, context) {
|
|
|
67829
67859
|
if (output.pricingDetailsSet === "") {
|
|
67830
67860
|
contents.PricingDetails = [];
|
|
67831
67861
|
}
|
|
67832
|
-
if (output["pricingDetailsSet"] !== undefined && output["pricingDetailsSet"]["item"] !== undefined) {
|
|
67862
|
+
else if (output["pricingDetailsSet"] !== undefined && output["pricingDetailsSet"]["item"] !== undefined) {
|
|
67833
67863
|
contents.PricingDetails = deserializeAws_ec2PricingDetailsList(__getArrayIfSingleItem(output["pricingDetailsSet"]["item"]), context);
|
|
67834
67864
|
}
|
|
67835
67865
|
if (output.recurringCharges === "") {
|
|
67836
67866
|
contents.RecurringCharges = [];
|
|
67837
67867
|
}
|
|
67838
|
-
if (output["recurringCharges"] !== undefined && output["recurringCharges"]["item"] !== undefined) {
|
|
67868
|
+
else if (output["recurringCharges"] !== undefined && output["recurringCharges"]["item"] !== undefined) {
|
|
67839
67869
|
contents.RecurringCharges = deserializeAws_ec2RecurringChargesList(__getArrayIfSingleItem(output["recurringCharges"]["item"]), context);
|
|
67840
67870
|
}
|
|
67841
67871
|
if (output["scope"] !== undefined) {
|
|
@@ -67898,13 +67928,13 @@ var deserializeAws_ec2ResourceStatement = function (output, context) {
|
|
|
67898
67928
|
if (output.resourceSet === "") {
|
|
67899
67929
|
contents.Resources = [];
|
|
67900
67930
|
}
|
|
67901
|
-
if (output["resourceSet"] !== undefined && output["resourceSet"]["item"] !== undefined) {
|
|
67931
|
+
else if (output["resourceSet"] !== undefined && output["resourceSet"]["item"] !== undefined) {
|
|
67902
67932
|
contents.Resources = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["resourceSet"]["item"]), context);
|
|
67903
67933
|
}
|
|
67904
67934
|
if (output.resourceTypeSet === "") {
|
|
67905
67935
|
contents.ResourceTypes = [];
|
|
67906
67936
|
}
|
|
67907
|
-
if (output["resourceTypeSet"] !== undefined && output["resourceTypeSet"]["item"] !== undefined) {
|
|
67937
|
+
else if (output["resourceTypeSet"] !== undefined && output["resourceTypeSet"]["item"] !== undefined) {
|
|
67908
67938
|
contents.ResourceTypes = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["resourceTypeSet"]["item"]), context);
|
|
67909
67939
|
}
|
|
67910
67940
|
return contents;
|
|
@@ -67988,13 +68018,13 @@ var deserializeAws_ec2ResponseLaunchTemplateData = function (output, context) {
|
|
|
67988
68018
|
if (output.blockDeviceMappingSet === "") {
|
|
67989
68019
|
contents.BlockDeviceMappings = [];
|
|
67990
68020
|
}
|
|
67991
|
-
if (output["blockDeviceMappingSet"] !== undefined && output["blockDeviceMappingSet"]["item"] !== undefined) {
|
|
68021
|
+
else if (output["blockDeviceMappingSet"] !== undefined && output["blockDeviceMappingSet"]["item"] !== undefined) {
|
|
67992
68022
|
contents.BlockDeviceMappings = deserializeAws_ec2LaunchTemplateBlockDeviceMappingList(__getArrayIfSingleItem(output["blockDeviceMappingSet"]["item"]), context);
|
|
67993
68023
|
}
|
|
67994
68024
|
if (output.networkInterfaceSet === "") {
|
|
67995
68025
|
contents.NetworkInterfaces = [];
|
|
67996
68026
|
}
|
|
67997
|
-
if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
68027
|
+
else if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
67998
68028
|
contents.NetworkInterfaces = deserializeAws_ec2LaunchTemplateInstanceNetworkInterfaceSpecificationList(__getArrayIfSingleItem(output["networkInterfaceSet"]["item"]), context);
|
|
67999
68029
|
}
|
|
68000
68030
|
if (output["imageId"] !== undefined) {
|
|
@@ -68027,33 +68057,33 @@ var deserializeAws_ec2ResponseLaunchTemplateData = function (output, context) {
|
|
|
68027
68057
|
if (output.tagSpecificationSet === "") {
|
|
68028
68058
|
contents.TagSpecifications = [];
|
|
68029
68059
|
}
|
|
68030
|
-
if (output["tagSpecificationSet"] !== undefined && output["tagSpecificationSet"]["item"] !== undefined) {
|
|
68060
|
+
else if (output["tagSpecificationSet"] !== undefined && output["tagSpecificationSet"]["item"] !== undefined) {
|
|
68031
68061
|
contents.TagSpecifications = deserializeAws_ec2LaunchTemplateTagSpecificationList(__getArrayIfSingleItem(output["tagSpecificationSet"]["item"]), context);
|
|
68032
68062
|
}
|
|
68033
68063
|
if (output.elasticGpuSpecificationSet === "") {
|
|
68034
68064
|
contents.ElasticGpuSpecifications = [];
|
|
68035
68065
|
}
|
|
68036
|
-
if (output["elasticGpuSpecificationSet"] !== undefined &&
|
|
68066
|
+
else if (output["elasticGpuSpecificationSet"] !== undefined &&
|
|
68037
68067
|
output["elasticGpuSpecificationSet"]["item"] !== undefined) {
|
|
68038
68068
|
contents.ElasticGpuSpecifications = deserializeAws_ec2ElasticGpuSpecificationResponseList(__getArrayIfSingleItem(output["elasticGpuSpecificationSet"]["item"]), context);
|
|
68039
68069
|
}
|
|
68040
68070
|
if (output.elasticInferenceAcceleratorSet === "") {
|
|
68041
68071
|
contents.ElasticInferenceAccelerators = [];
|
|
68042
68072
|
}
|
|
68043
|
-
if (output["elasticInferenceAcceleratorSet"] !== undefined &&
|
|
68073
|
+
else if (output["elasticInferenceAcceleratorSet"] !== undefined &&
|
|
68044
68074
|
output["elasticInferenceAcceleratorSet"]["item"] !== undefined) {
|
|
68045
68075
|
contents.ElasticInferenceAccelerators = deserializeAws_ec2LaunchTemplateElasticInferenceAcceleratorResponseList(__getArrayIfSingleItem(output["elasticInferenceAcceleratorSet"]["item"]), context);
|
|
68046
68076
|
}
|
|
68047
68077
|
if (output.securityGroupIdSet === "") {
|
|
68048
68078
|
contents.SecurityGroupIds = [];
|
|
68049
68079
|
}
|
|
68050
|
-
if (output["securityGroupIdSet"] !== undefined && output["securityGroupIdSet"]["item"] !== undefined) {
|
|
68080
|
+
else if (output["securityGroupIdSet"] !== undefined && output["securityGroupIdSet"]["item"] !== undefined) {
|
|
68051
68081
|
contents.SecurityGroupIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["securityGroupIdSet"]["item"]), context);
|
|
68052
68082
|
}
|
|
68053
68083
|
if (output.securityGroupSet === "") {
|
|
68054
68084
|
contents.SecurityGroups = [];
|
|
68055
68085
|
}
|
|
68056
|
-
if (output["securityGroupSet"] !== undefined && output["securityGroupSet"]["item"] !== undefined) {
|
|
68086
|
+
else if (output["securityGroupSet"] !== undefined && output["securityGroupSet"]["item"] !== undefined) {
|
|
68057
68087
|
contents.SecurityGroups = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["securityGroupSet"]["item"]), context);
|
|
68058
68088
|
}
|
|
68059
68089
|
if (output["instanceMarketOptions"] !== undefined) {
|
|
@@ -68072,7 +68102,7 @@ var deserializeAws_ec2ResponseLaunchTemplateData = function (output, context) {
|
|
|
68072
68102
|
if (output.licenseSet === "") {
|
|
68073
68103
|
contents.LicenseSpecifications = [];
|
|
68074
68104
|
}
|
|
68075
|
-
if (output["licenseSet"] !== undefined && output["licenseSet"]["item"] !== undefined) {
|
|
68105
|
+
else if (output["licenseSet"] !== undefined && output["licenseSet"]["item"] !== undefined) {
|
|
68076
68106
|
contents.LicenseSpecifications = deserializeAws_ec2LaunchTemplateLicenseList(__getArrayIfSingleItem(output["licenseSet"]["item"]), context);
|
|
68077
68107
|
}
|
|
68078
68108
|
if (output["hibernationOptions"] !== undefined) {
|
|
@@ -68215,7 +68245,7 @@ var deserializeAws_ec2RevokeSecurityGroupEgressResult = function (output, contex
|
|
|
68215
68245
|
if (output.unknownIpPermissionSet === "") {
|
|
68216
68246
|
contents.UnknownIpPermissions = [];
|
|
68217
68247
|
}
|
|
68218
|
-
if (output["unknownIpPermissionSet"] !== undefined && output["unknownIpPermissionSet"]["item"] !== undefined) {
|
|
68248
|
+
else if (output["unknownIpPermissionSet"] !== undefined && output["unknownIpPermissionSet"]["item"] !== undefined) {
|
|
68219
68249
|
contents.UnknownIpPermissions = deserializeAws_ec2IpPermissionList(__getArrayIfSingleItem(output["unknownIpPermissionSet"]["item"]), context);
|
|
68220
68250
|
}
|
|
68221
68251
|
return contents;
|
|
@@ -68231,7 +68261,7 @@ var deserializeAws_ec2RevokeSecurityGroupIngressResult = function (output, conte
|
|
|
68231
68261
|
if (output.unknownIpPermissionSet === "") {
|
|
68232
68262
|
contents.UnknownIpPermissions = [];
|
|
68233
68263
|
}
|
|
68234
|
-
if (output["unknownIpPermissionSet"] !== undefined && output["unknownIpPermissionSet"]["item"] !== undefined) {
|
|
68264
|
+
else if (output["unknownIpPermissionSet"] !== undefined && output["unknownIpPermissionSet"]["item"] !== undefined) {
|
|
68235
68265
|
contents.UnknownIpPermissions = deserializeAws_ec2IpPermissionList(__getArrayIfSingleItem(output["unknownIpPermissionSet"]["item"]), context);
|
|
68236
68266
|
}
|
|
68237
68267
|
return contents;
|
|
@@ -68338,13 +68368,13 @@ var deserializeAws_ec2RouteTable = function (output, context) {
|
|
|
68338
68368
|
if (output.associationSet === "") {
|
|
68339
68369
|
contents.Associations = [];
|
|
68340
68370
|
}
|
|
68341
|
-
if (output["associationSet"] !== undefined && output["associationSet"]["item"] !== undefined) {
|
|
68371
|
+
else if (output["associationSet"] !== undefined && output["associationSet"]["item"] !== undefined) {
|
|
68342
68372
|
contents.Associations = deserializeAws_ec2RouteTableAssociationList(__getArrayIfSingleItem(output["associationSet"]["item"]), context);
|
|
68343
68373
|
}
|
|
68344
68374
|
if (output.propagatingVgwSet === "") {
|
|
68345
68375
|
contents.PropagatingVgws = [];
|
|
68346
68376
|
}
|
|
68347
|
-
if (output["propagatingVgwSet"] !== undefined && output["propagatingVgwSet"]["item"] !== undefined) {
|
|
68377
|
+
else if (output["propagatingVgwSet"] !== undefined && output["propagatingVgwSet"]["item"] !== undefined) {
|
|
68348
68378
|
contents.PropagatingVgws = deserializeAws_ec2PropagatingVgwList(__getArrayIfSingleItem(output["propagatingVgwSet"]["item"]), context);
|
|
68349
68379
|
}
|
|
68350
68380
|
if (output["routeTableId"] !== undefined) {
|
|
@@ -68353,13 +68383,13 @@ var deserializeAws_ec2RouteTable = function (output, context) {
|
|
|
68353
68383
|
if (output.routeSet === "") {
|
|
68354
68384
|
contents.Routes = [];
|
|
68355
68385
|
}
|
|
68356
|
-
if (output["routeSet"] !== undefined && output["routeSet"]["item"] !== undefined) {
|
|
68386
|
+
else if (output["routeSet"] !== undefined && output["routeSet"]["item"] !== undefined) {
|
|
68357
68387
|
contents.Routes = deserializeAws_ec2RouteList(__getArrayIfSingleItem(output["routeSet"]["item"]), context);
|
|
68358
68388
|
}
|
|
68359
68389
|
if (output.tagSet === "") {
|
|
68360
68390
|
contents.Tags = [];
|
|
68361
68391
|
}
|
|
68362
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
68392
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
68363
68393
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
68364
68394
|
}
|
|
68365
68395
|
if (output["vpcId"] !== undefined) {
|
|
@@ -68448,7 +68478,7 @@ var deserializeAws_ec2RunScheduledInstancesResult = function (output, context) {
|
|
|
68448
68478
|
if (output.instanceIdSet === "") {
|
|
68449
68479
|
contents.InstanceIdSet = [];
|
|
68450
68480
|
}
|
|
68451
|
-
if (output["instanceIdSet"] !== undefined && output["instanceIdSet"]["item"] !== undefined) {
|
|
68481
|
+
else if (output["instanceIdSet"] !== undefined && output["instanceIdSet"]["item"] !== undefined) {
|
|
68452
68482
|
contents.InstanceIdSet = deserializeAws_ec2InstanceIdSet(__getArrayIfSingleItem(output["instanceIdSet"]["item"]), context);
|
|
68453
68483
|
}
|
|
68454
68484
|
return contents;
|
|
@@ -68627,7 +68657,7 @@ var deserializeAws_ec2ScheduledInstanceRecurrence = function (output, context) {
|
|
|
68627
68657
|
if (output.occurrenceDaySet === "") {
|
|
68628
68658
|
contents.OccurrenceDaySet = [];
|
|
68629
68659
|
}
|
|
68630
|
-
if (output["occurrenceDaySet"] !== undefined && output["occurrenceDaySet"]["item"] !== undefined) {
|
|
68660
|
+
else if (output["occurrenceDaySet"] !== undefined && output["occurrenceDaySet"]["item"] !== undefined) {
|
|
68631
68661
|
contents.OccurrenceDaySet = deserializeAws_ec2OccurrenceDaySet(__getArrayIfSingleItem(output["occurrenceDaySet"]["item"]), context);
|
|
68632
68662
|
}
|
|
68633
68663
|
if (output["occurrenceRelativeToEnd"] !== undefined) {
|
|
@@ -68656,7 +68686,7 @@ var deserializeAws_ec2SearchLocalGatewayRoutesResult = function (output, context
|
|
|
68656
68686
|
if (output.routeSet === "") {
|
|
68657
68687
|
contents.Routes = [];
|
|
68658
68688
|
}
|
|
68659
|
-
if (output["routeSet"] !== undefined && output["routeSet"]["item"] !== undefined) {
|
|
68689
|
+
else if (output["routeSet"] !== undefined && output["routeSet"]["item"] !== undefined) {
|
|
68660
68690
|
contents.Routes = deserializeAws_ec2LocalGatewayRouteList(__getArrayIfSingleItem(output["routeSet"]["item"]), context);
|
|
68661
68691
|
}
|
|
68662
68692
|
if (output["nextToken"] !== undefined) {
|
|
@@ -68672,7 +68702,7 @@ var deserializeAws_ec2SearchTransitGatewayMulticastGroupsResult = function (outp
|
|
|
68672
68702
|
if (output.multicastGroups === "") {
|
|
68673
68703
|
contents.MulticastGroups = [];
|
|
68674
68704
|
}
|
|
68675
|
-
if (output["multicastGroups"] !== undefined && output["multicastGroups"]["item"] !== undefined) {
|
|
68705
|
+
else if (output["multicastGroups"] !== undefined && output["multicastGroups"]["item"] !== undefined) {
|
|
68676
68706
|
contents.MulticastGroups = deserializeAws_ec2TransitGatewayMulticastGroupList(__getArrayIfSingleItem(output["multicastGroups"]["item"]), context);
|
|
68677
68707
|
}
|
|
68678
68708
|
if (output["nextToken"] !== undefined) {
|
|
@@ -68688,7 +68718,7 @@ var deserializeAws_ec2SearchTransitGatewayRoutesResult = function (output, conte
|
|
|
68688
68718
|
if (output.routeSet === "") {
|
|
68689
68719
|
contents.Routes = [];
|
|
68690
68720
|
}
|
|
68691
|
-
if (output["routeSet"] !== undefined && output["routeSet"]["item"] !== undefined) {
|
|
68721
|
+
else if (output["routeSet"] !== undefined && output["routeSet"]["item"] !== undefined) {
|
|
68692
68722
|
contents.Routes = deserializeAws_ec2TransitGatewayRouteList(__getArrayIfSingleItem(output["routeSet"]["item"]), context);
|
|
68693
68723
|
}
|
|
68694
68724
|
if (output["additionalRoutesAvailable"] !== undefined) {
|
|
@@ -68716,7 +68746,7 @@ var deserializeAws_ec2SecurityGroup = function (output, context) {
|
|
|
68716
68746
|
if (output.ipPermissions === "") {
|
|
68717
68747
|
contents.IpPermissions = [];
|
|
68718
68748
|
}
|
|
68719
|
-
if (output["ipPermissions"] !== undefined && output["ipPermissions"]["item"] !== undefined) {
|
|
68749
|
+
else if (output["ipPermissions"] !== undefined && output["ipPermissions"]["item"] !== undefined) {
|
|
68720
68750
|
contents.IpPermissions = deserializeAws_ec2IpPermissionList(__getArrayIfSingleItem(output["ipPermissions"]["item"]), context);
|
|
68721
68751
|
}
|
|
68722
68752
|
if (output["ownerId"] !== undefined) {
|
|
@@ -68728,13 +68758,13 @@ var deserializeAws_ec2SecurityGroup = function (output, context) {
|
|
|
68728
68758
|
if (output.ipPermissionsEgress === "") {
|
|
68729
68759
|
contents.IpPermissionsEgress = [];
|
|
68730
68760
|
}
|
|
68731
|
-
if (output["ipPermissionsEgress"] !== undefined && output["ipPermissionsEgress"]["item"] !== undefined) {
|
|
68761
|
+
else if (output["ipPermissionsEgress"] !== undefined && output["ipPermissionsEgress"]["item"] !== undefined) {
|
|
68732
68762
|
contents.IpPermissionsEgress = deserializeAws_ec2IpPermissionList(__getArrayIfSingleItem(output["ipPermissionsEgress"]["item"]), context);
|
|
68733
68763
|
}
|
|
68734
68764
|
if (output.tagSet === "") {
|
|
68735
68765
|
contents.Tags = [];
|
|
68736
68766
|
}
|
|
68737
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
68767
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
68738
68768
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
68739
68769
|
}
|
|
68740
68770
|
if (output["vpcId"] !== undefined) {
|
|
@@ -68857,7 +68887,7 @@ var deserializeAws_ec2SecurityGroupRule = function (output, context) {
|
|
|
68857
68887
|
if (output.tagSet === "") {
|
|
68858
68888
|
contents.Tags = [];
|
|
68859
68889
|
}
|
|
68860
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
68890
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
68861
68891
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
68862
68892
|
}
|
|
68863
68893
|
return contents;
|
|
@@ -68893,7 +68923,7 @@ var deserializeAws_ec2ServiceConfiguration = function (output, context) {
|
|
|
68893
68923
|
if (output.serviceType === "") {
|
|
68894
68924
|
contents.ServiceType = [];
|
|
68895
68925
|
}
|
|
68896
|
-
if (output["serviceType"] !== undefined && output["serviceType"]["item"] !== undefined) {
|
|
68926
|
+
else if (output["serviceType"] !== undefined && output["serviceType"]["item"] !== undefined) {
|
|
68897
68927
|
contents.ServiceType = deserializeAws_ec2ServiceTypeDetailSet(__getArrayIfSingleItem(output["serviceType"]["item"]), context);
|
|
68898
68928
|
}
|
|
68899
68929
|
if (output["serviceId"] !== undefined) {
|
|
@@ -68908,7 +68938,7 @@ var deserializeAws_ec2ServiceConfiguration = function (output, context) {
|
|
|
68908
68938
|
if (output.availabilityZoneSet === "") {
|
|
68909
68939
|
contents.AvailabilityZones = [];
|
|
68910
68940
|
}
|
|
68911
|
-
if (output["availabilityZoneSet"] !== undefined && output["availabilityZoneSet"]["item"] !== undefined) {
|
|
68941
|
+
else if (output["availabilityZoneSet"] !== undefined && output["availabilityZoneSet"]["item"] !== undefined) {
|
|
68912
68942
|
contents.AvailabilityZones = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["availabilityZoneSet"]["item"]), context);
|
|
68913
68943
|
}
|
|
68914
68944
|
if (output["acceptanceRequired"] !== undefined) {
|
|
@@ -68920,25 +68950,28 @@ var deserializeAws_ec2ServiceConfiguration = function (output, context) {
|
|
|
68920
68950
|
if (output.networkLoadBalancerArnSet === "") {
|
|
68921
68951
|
contents.NetworkLoadBalancerArns = [];
|
|
68922
68952
|
}
|
|
68923
|
-
if (output["networkLoadBalancerArnSet"] !== undefined &&
|
|
68953
|
+
else if (output["networkLoadBalancerArnSet"] !== undefined &&
|
|
68954
|
+
output["networkLoadBalancerArnSet"]["item"] !== undefined) {
|
|
68924
68955
|
contents.NetworkLoadBalancerArns = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["networkLoadBalancerArnSet"]["item"]), context);
|
|
68925
68956
|
}
|
|
68926
68957
|
if (output.gatewayLoadBalancerArnSet === "") {
|
|
68927
68958
|
contents.GatewayLoadBalancerArns = [];
|
|
68928
68959
|
}
|
|
68929
|
-
if (output["gatewayLoadBalancerArnSet"] !== undefined &&
|
|
68960
|
+
else if (output["gatewayLoadBalancerArnSet"] !== undefined &&
|
|
68961
|
+
output["gatewayLoadBalancerArnSet"]["item"] !== undefined) {
|
|
68930
68962
|
contents.GatewayLoadBalancerArns = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["gatewayLoadBalancerArnSet"]["item"]), context);
|
|
68931
68963
|
}
|
|
68932
68964
|
if (output.supportedIpAddressTypeSet === "") {
|
|
68933
68965
|
contents.SupportedIpAddressTypes = [];
|
|
68934
68966
|
}
|
|
68935
|
-
if (output["supportedIpAddressTypeSet"] !== undefined &&
|
|
68967
|
+
else if (output["supportedIpAddressTypeSet"] !== undefined &&
|
|
68968
|
+
output["supportedIpAddressTypeSet"]["item"] !== undefined) {
|
|
68936
68969
|
contents.SupportedIpAddressTypes = deserializeAws_ec2SupportedIpAddressTypes(__getArrayIfSingleItem(output["supportedIpAddressTypeSet"]["item"]), context);
|
|
68937
68970
|
}
|
|
68938
68971
|
if (output.baseEndpointDnsNameSet === "") {
|
|
68939
68972
|
contents.BaseEndpointDnsNames = [];
|
|
68940
68973
|
}
|
|
68941
|
-
if (output["baseEndpointDnsNameSet"] !== undefined && output["baseEndpointDnsNameSet"]["item"] !== undefined) {
|
|
68974
|
+
else if (output["baseEndpointDnsNameSet"] !== undefined && output["baseEndpointDnsNameSet"]["item"] !== undefined) {
|
|
68942
68975
|
contents.BaseEndpointDnsNames = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["baseEndpointDnsNameSet"]["item"]), context);
|
|
68943
68976
|
}
|
|
68944
68977
|
if (output["privateDnsName"] !== undefined) {
|
|
@@ -68953,7 +68986,7 @@ var deserializeAws_ec2ServiceConfiguration = function (output, context) {
|
|
|
68953
68986
|
if (output.tagSet === "") {
|
|
68954
68987
|
contents.Tags = [];
|
|
68955
68988
|
}
|
|
68956
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
68989
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
68957
68990
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
68958
68991
|
}
|
|
68959
68992
|
return contents;
|
|
@@ -68995,13 +69028,13 @@ var deserializeAws_ec2ServiceDetail = function (output, context) {
|
|
|
68995
69028
|
if (output.serviceType === "") {
|
|
68996
69029
|
contents.ServiceType = [];
|
|
68997
69030
|
}
|
|
68998
|
-
if (output["serviceType"] !== undefined && output["serviceType"]["item"] !== undefined) {
|
|
69031
|
+
else if (output["serviceType"] !== undefined && output["serviceType"]["item"] !== undefined) {
|
|
68999
69032
|
contents.ServiceType = deserializeAws_ec2ServiceTypeDetailSet(__getArrayIfSingleItem(output["serviceType"]["item"]), context);
|
|
69000
69033
|
}
|
|
69001
69034
|
if (output.availabilityZoneSet === "") {
|
|
69002
69035
|
contents.AvailabilityZones = [];
|
|
69003
69036
|
}
|
|
69004
|
-
if (output["availabilityZoneSet"] !== undefined && output["availabilityZoneSet"]["item"] !== undefined) {
|
|
69037
|
+
else if (output["availabilityZoneSet"] !== undefined && output["availabilityZoneSet"]["item"] !== undefined) {
|
|
69005
69038
|
contents.AvailabilityZones = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["availabilityZoneSet"]["item"]), context);
|
|
69006
69039
|
}
|
|
69007
69040
|
if (output["owner"] !== undefined) {
|
|
@@ -69010,7 +69043,7 @@ var deserializeAws_ec2ServiceDetail = function (output, context) {
|
|
|
69010
69043
|
if (output.baseEndpointDnsNameSet === "") {
|
|
69011
69044
|
contents.BaseEndpointDnsNames = [];
|
|
69012
69045
|
}
|
|
69013
|
-
if (output["baseEndpointDnsNameSet"] !== undefined && output["baseEndpointDnsNameSet"]["item"] !== undefined) {
|
|
69046
|
+
else if (output["baseEndpointDnsNameSet"] !== undefined && output["baseEndpointDnsNameSet"]["item"] !== undefined) {
|
|
69014
69047
|
contents.BaseEndpointDnsNames = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["baseEndpointDnsNameSet"]["item"]), context);
|
|
69015
69048
|
}
|
|
69016
69049
|
if (output["privateDnsName"] !== undefined) {
|
|
@@ -69019,7 +69052,7 @@ var deserializeAws_ec2ServiceDetail = function (output, context) {
|
|
|
69019
69052
|
if (output.privateDnsNameSet === "") {
|
|
69020
69053
|
contents.PrivateDnsNames = [];
|
|
69021
69054
|
}
|
|
69022
|
-
if (output["privateDnsNameSet"] !== undefined && output["privateDnsNameSet"]["item"] !== undefined) {
|
|
69055
|
+
else if (output["privateDnsNameSet"] !== undefined && output["privateDnsNameSet"]["item"] !== undefined) {
|
|
69023
69056
|
contents.PrivateDnsNames = deserializeAws_ec2PrivateDnsDetailsSet(__getArrayIfSingleItem(output["privateDnsNameSet"]["item"]), context);
|
|
69024
69057
|
}
|
|
69025
69058
|
if (output["vpcEndpointPolicySupported"] !== undefined) {
|
|
@@ -69037,7 +69070,7 @@ var deserializeAws_ec2ServiceDetail = function (output, context) {
|
|
|
69037
69070
|
if (output.tagSet === "") {
|
|
69038
69071
|
contents.Tags = [];
|
|
69039
69072
|
}
|
|
69040
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69073
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69041
69074
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
69042
69075
|
}
|
|
69043
69076
|
if (output["privateDnsNameVerificationState"] !== undefined) {
|
|
@@ -69046,7 +69079,8 @@ var deserializeAws_ec2ServiceDetail = function (output, context) {
|
|
|
69046
69079
|
if (output.supportedIpAddressTypeSet === "") {
|
|
69047
69080
|
contents.SupportedIpAddressTypes = [];
|
|
69048
69081
|
}
|
|
69049
|
-
if (output["supportedIpAddressTypeSet"] !== undefined &&
|
|
69082
|
+
else if (output["supportedIpAddressTypeSet"] !== undefined &&
|
|
69083
|
+
output["supportedIpAddressTypeSet"]["item"] !== undefined) {
|
|
69050
69084
|
contents.SupportedIpAddressTypes = deserializeAws_ec2SupportedIpAddressTypes(__getArrayIfSingleItem(output["supportedIpAddressTypeSet"]["item"]), context);
|
|
69051
69085
|
}
|
|
69052
69086
|
return contents;
|
|
@@ -69145,7 +69179,7 @@ var deserializeAws_ec2Snapshot = function (output, context) {
|
|
|
69145
69179
|
if (output.tagSet === "") {
|
|
69146
69180
|
contents.Tags = [];
|
|
69147
69181
|
}
|
|
69148
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69182
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69149
69183
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
69150
69184
|
}
|
|
69151
69185
|
if (output["storageTier"] !== undefined) {
|
|
@@ -69231,7 +69265,7 @@ var deserializeAws_ec2SnapshotInfo = function (output, context) {
|
|
|
69231
69265
|
if (output.tagSet === "") {
|
|
69232
69266
|
contents.Tags = [];
|
|
69233
69267
|
}
|
|
69234
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69268
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69235
69269
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
69236
69270
|
}
|
|
69237
69271
|
if (output["encrypted"] !== undefined) {
|
|
@@ -69397,7 +69431,7 @@ var deserializeAws_ec2SnapshotTierStatus = function (output, context) {
|
|
|
69397
69431
|
if (output.tagSet === "") {
|
|
69398
69432
|
contents.Tags = [];
|
|
69399
69433
|
}
|
|
69400
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69434
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69401
69435
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
69402
69436
|
}
|
|
69403
69437
|
if (output["storageTier"] !== undefined) {
|
|
@@ -69496,7 +69530,7 @@ var deserializeAws_ec2SpotFleetLaunchSpecification = function (output, context)
|
|
|
69496
69530
|
if (output.groupSet === "") {
|
|
69497
69531
|
contents.SecurityGroups = [];
|
|
69498
69532
|
}
|
|
69499
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
69533
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
69500
69534
|
contents.SecurityGroups = deserializeAws_ec2GroupIdentifierList(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
69501
69535
|
}
|
|
69502
69536
|
if (output["addressingType"] !== undefined) {
|
|
@@ -69505,7 +69539,7 @@ var deserializeAws_ec2SpotFleetLaunchSpecification = function (output, context)
|
|
|
69505
69539
|
if (output.blockDeviceMapping === "") {
|
|
69506
69540
|
contents.BlockDeviceMappings = [];
|
|
69507
69541
|
}
|
|
69508
|
-
if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
69542
|
+
else if (output["blockDeviceMapping"] !== undefined && output["blockDeviceMapping"]["item"] !== undefined) {
|
|
69509
69543
|
contents.BlockDeviceMappings = deserializeAws_ec2BlockDeviceMappingList(__getArrayIfSingleItem(output["blockDeviceMapping"]["item"]), context);
|
|
69510
69544
|
}
|
|
69511
69545
|
if (output["ebsOptimized"] !== undefined) {
|
|
@@ -69532,7 +69566,7 @@ var deserializeAws_ec2SpotFleetLaunchSpecification = function (output, context)
|
|
|
69532
69566
|
if (output.networkInterfaceSet === "") {
|
|
69533
69567
|
contents.NetworkInterfaces = [];
|
|
69534
69568
|
}
|
|
69535
|
-
if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
69569
|
+
else if (output["networkInterfaceSet"] !== undefined && output["networkInterfaceSet"]["item"] !== undefined) {
|
|
69536
69570
|
contents.NetworkInterfaces = deserializeAws_ec2InstanceNetworkInterfaceSpecificationList(__getArrayIfSingleItem(output["networkInterfaceSet"]["item"]), context);
|
|
69537
69571
|
}
|
|
69538
69572
|
if (output["placement"] !== undefined) {
|
|
@@ -69556,7 +69590,7 @@ var deserializeAws_ec2SpotFleetLaunchSpecification = function (output, context)
|
|
|
69556
69590
|
if (output.tagSpecificationSet === "") {
|
|
69557
69591
|
contents.TagSpecifications = [];
|
|
69558
69592
|
}
|
|
69559
|
-
if (output["tagSpecificationSet"] !== undefined && output["tagSpecificationSet"]["item"] !== undefined) {
|
|
69593
|
+
else if (output["tagSpecificationSet"] !== undefined && output["tagSpecificationSet"]["item"] !== undefined) {
|
|
69560
69594
|
contents.TagSpecifications = deserializeAws_ec2SpotFleetTagSpecificationList(__getArrayIfSingleItem(output["tagSpecificationSet"]["item"]), context);
|
|
69561
69595
|
}
|
|
69562
69596
|
if (output["instanceRequirements"] !== undefined) {
|
|
@@ -69600,7 +69634,7 @@ var deserializeAws_ec2SpotFleetRequestConfig = function (output, context) {
|
|
|
69600
69634
|
if (output.tagSet === "") {
|
|
69601
69635
|
contents.Tags = [];
|
|
69602
69636
|
}
|
|
69603
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69637
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69604
69638
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
69605
69639
|
}
|
|
69606
69640
|
return contents;
|
|
@@ -69661,13 +69695,13 @@ var deserializeAws_ec2SpotFleetRequestConfigData = function (output, context) {
|
|
|
69661
69695
|
if (output.launchSpecifications === "") {
|
|
69662
69696
|
contents.LaunchSpecifications = [];
|
|
69663
69697
|
}
|
|
69664
|
-
if (output["launchSpecifications"] !== undefined && output["launchSpecifications"]["item"] !== undefined) {
|
|
69698
|
+
else if (output["launchSpecifications"] !== undefined && output["launchSpecifications"]["item"] !== undefined) {
|
|
69665
69699
|
contents.LaunchSpecifications = deserializeAws_ec2LaunchSpecsList(__getArrayIfSingleItem(output["launchSpecifications"]["item"]), context);
|
|
69666
69700
|
}
|
|
69667
69701
|
if (output.launchTemplateConfigs === "") {
|
|
69668
69702
|
contents.LaunchTemplateConfigs = [];
|
|
69669
69703
|
}
|
|
69670
|
-
if (output["launchTemplateConfigs"] !== undefined && output["launchTemplateConfigs"]["item"] !== undefined) {
|
|
69704
|
+
else if (output["launchTemplateConfigs"] !== undefined && output["launchTemplateConfigs"]["item"] !== undefined) {
|
|
69671
69705
|
contents.LaunchTemplateConfigs = deserializeAws_ec2LaunchTemplateConfigList(__getArrayIfSingleItem(output["launchTemplateConfigs"]["item"]), context);
|
|
69672
69706
|
}
|
|
69673
69707
|
if (output["spotPrice"] !== undefined) {
|
|
@@ -69718,7 +69752,7 @@ var deserializeAws_ec2SpotFleetRequestConfigData = function (output, context) {
|
|
|
69718
69752
|
if (output.TagSpecification === "") {
|
|
69719
69753
|
contents.TagSpecifications = [];
|
|
69720
69754
|
}
|
|
69721
|
-
if (output["TagSpecification"] !== undefined && output["TagSpecification"]["item"] !== undefined) {
|
|
69755
|
+
else if (output["TagSpecification"] !== undefined && output["TagSpecification"]["item"] !== undefined) {
|
|
69722
69756
|
contents.TagSpecifications = deserializeAws_ec2TagSpecificationList(__getArrayIfSingleItem(output["TagSpecification"]["item"]), context);
|
|
69723
69757
|
}
|
|
69724
69758
|
return contents;
|
|
@@ -69744,7 +69778,7 @@ var deserializeAws_ec2SpotFleetTagSpecification = function (output, context) {
|
|
|
69744
69778
|
if (output.tag === "") {
|
|
69745
69779
|
contents.Tags = [];
|
|
69746
69780
|
}
|
|
69747
|
-
if (output["tag"] !== undefined && output["tag"]["item"] !== undefined) {
|
|
69781
|
+
else if (output["tag"] !== undefined && output["tag"]["item"] !== undefined) {
|
|
69748
69782
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tag"]["item"]), context);
|
|
69749
69783
|
}
|
|
69750
69784
|
return contents;
|
|
@@ -69826,7 +69860,7 @@ var deserializeAws_ec2SpotInstanceRequest = function (output, context) {
|
|
|
69826
69860
|
if (output.tagSet === "") {
|
|
69827
69861
|
contents.Tags = [];
|
|
69828
69862
|
}
|
|
69829
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69863
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
69830
69864
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
69831
69865
|
}
|
|
69832
69866
|
if (output["type"] !== undefined) {
|
|
@@ -70026,13 +70060,13 @@ var deserializeAws_ec2StaleIpPermission = function (output, context) {
|
|
|
70026
70060
|
if (output.ipRanges === "") {
|
|
70027
70061
|
contents.IpRanges = [];
|
|
70028
70062
|
}
|
|
70029
|
-
if (output["ipRanges"] !== undefined && output["ipRanges"]["item"] !== undefined) {
|
|
70063
|
+
else if (output["ipRanges"] !== undefined && output["ipRanges"]["item"] !== undefined) {
|
|
70030
70064
|
contents.IpRanges = deserializeAws_ec2IpRanges(__getArrayIfSingleItem(output["ipRanges"]["item"]), context);
|
|
70031
70065
|
}
|
|
70032
70066
|
if (output.prefixListIds === "") {
|
|
70033
70067
|
contents.PrefixListIds = [];
|
|
70034
70068
|
}
|
|
70035
|
-
if (output["prefixListIds"] !== undefined && output["prefixListIds"]["item"] !== undefined) {
|
|
70069
|
+
else if (output["prefixListIds"] !== undefined && output["prefixListIds"]["item"] !== undefined) {
|
|
70036
70070
|
contents.PrefixListIds = deserializeAws_ec2PrefixListIdSet(__getArrayIfSingleItem(output["prefixListIds"]["item"]), context);
|
|
70037
70071
|
}
|
|
70038
70072
|
if (output["toPort"] !== undefined) {
|
|
@@ -70041,7 +70075,7 @@ var deserializeAws_ec2StaleIpPermission = function (output, context) {
|
|
|
70041
70075
|
if (output.groups === "") {
|
|
70042
70076
|
contents.UserIdGroupPairs = [];
|
|
70043
70077
|
}
|
|
70044
|
-
if (output["groups"] !== undefined && output["groups"]["item"] !== undefined) {
|
|
70078
|
+
else if (output["groups"] !== undefined && output["groups"]["item"] !== undefined) {
|
|
70045
70079
|
contents.UserIdGroupPairs = deserializeAws_ec2UserIdGroupPairSet(__getArrayIfSingleItem(output["groups"]["item"]), context);
|
|
70046
70080
|
}
|
|
70047
70081
|
return contents;
|
|
@@ -70077,13 +70111,14 @@ var deserializeAws_ec2StaleSecurityGroup = function (output, context) {
|
|
|
70077
70111
|
if (output.staleIpPermissions === "") {
|
|
70078
70112
|
contents.StaleIpPermissions = [];
|
|
70079
70113
|
}
|
|
70080
|
-
if (output["staleIpPermissions"] !== undefined && output["staleIpPermissions"]["item"] !== undefined) {
|
|
70114
|
+
else if (output["staleIpPermissions"] !== undefined && output["staleIpPermissions"]["item"] !== undefined) {
|
|
70081
70115
|
contents.StaleIpPermissions = deserializeAws_ec2StaleIpPermissionSet(__getArrayIfSingleItem(output["staleIpPermissions"]["item"]), context);
|
|
70082
70116
|
}
|
|
70083
70117
|
if (output.staleIpPermissionsEgress === "") {
|
|
70084
70118
|
contents.StaleIpPermissionsEgress = [];
|
|
70085
70119
|
}
|
|
70086
|
-
if (output["staleIpPermissionsEgress"] !== undefined &&
|
|
70120
|
+
else if (output["staleIpPermissionsEgress"] !== undefined &&
|
|
70121
|
+
output["staleIpPermissionsEgress"]["item"] !== undefined) {
|
|
70087
70122
|
contents.StaleIpPermissionsEgress = deserializeAws_ec2StaleIpPermissionSet(__getArrayIfSingleItem(output["staleIpPermissionsEgress"]["item"]), context);
|
|
70088
70123
|
}
|
|
70089
70124
|
if (output["vpcId"] !== undefined) {
|
|
@@ -70108,7 +70143,7 @@ var deserializeAws_ec2StartInstancesResult = function (output, context) {
|
|
|
70108
70143
|
if (output.instancesSet === "") {
|
|
70109
70144
|
contents.StartingInstances = [];
|
|
70110
70145
|
}
|
|
70111
|
-
if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
70146
|
+
else if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
70112
70147
|
contents.StartingInstances = deserializeAws_ec2InstanceStateChangeList(__getArrayIfSingleItem(output["instancesSet"]["item"]), context);
|
|
70113
70148
|
}
|
|
70114
70149
|
return contents;
|
|
@@ -70160,7 +70195,7 @@ var deserializeAws_ec2StopInstancesResult = function (output, context) {
|
|
|
70160
70195
|
if (output.instancesSet === "") {
|
|
70161
70196
|
contents.StoppingInstances = [];
|
|
70162
70197
|
}
|
|
70163
|
-
if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
70198
|
+
else if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
70164
70199
|
contents.StoppingInstances = deserializeAws_ec2InstanceStateChangeList(__getArrayIfSingleItem(output["instancesSet"]["item"]), context);
|
|
70165
70200
|
}
|
|
70166
70201
|
return contents;
|
|
@@ -70296,14 +70331,14 @@ var deserializeAws_ec2Subnet = function (output, context) {
|
|
|
70296
70331
|
if (output.ipv6CidrBlockAssociationSet === "") {
|
|
70297
70332
|
contents.Ipv6CidrBlockAssociationSet = [];
|
|
70298
70333
|
}
|
|
70299
|
-
if (output["ipv6CidrBlockAssociationSet"] !== undefined &&
|
|
70334
|
+
else if (output["ipv6CidrBlockAssociationSet"] !== undefined &&
|
|
70300
70335
|
output["ipv6CidrBlockAssociationSet"]["item"] !== undefined) {
|
|
70301
70336
|
contents.Ipv6CidrBlockAssociationSet = deserializeAws_ec2SubnetIpv6CidrBlockAssociationSet(__getArrayIfSingleItem(output["ipv6CidrBlockAssociationSet"]["item"]), context);
|
|
70302
70337
|
}
|
|
70303
70338
|
if (output.tagSet === "") {
|
|
70304
70339
|
contents.Tags = [];
|
|
70305
70340
|
}
|
|
70306
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
70341
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
70307
70342
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
70308
70343
|
}
|
|
70309
70344
|
if (output["subnetArn"] !== undefined) {
|
|
@@ -70390,7 +70425,7 @@ var deserializeAws_ec2SubnetCidrReservation = function (output, context) {
|
|
|
70390
70425
|
if (output.tagSet === "") {
|
|
70391
70426
|
contents.Tags = [];
|
|
70392
70427
|
}
|
|
70393
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
70428
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
70394
70429
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
70395
70430
|
}
|
|
70396
70431
|
return contents;
|
|
@@ -70555,7 +70590,7 @@ var deserializeAws_ec2TagSpecification = function (output, context) {
|
|
|
70555
70590
|
if (output.Tag === "") {
|
|
70556
70591
|
contents.Tags = [];
|
|
70557
70592
|
}
|
|
70558
|
-
if (output["Tag"] !== undefined && output["Tag"]["item"] !== undefined) {
|
|
70593
|
+
else if (output["Tag"] !== undefined && output["Tag"]["item"] !== undefined) {
|
|
70559
70594
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["Tag"]["item"]), context);
|
|
70560
70595
|
}
|
|
70561
70596
|
return contents;
|
|
@@ -70634,7 +70669,7 @@ var deserializeAws_ec2TargetGroupsConfig = function (output, context) {
|
|
|
70634
70669
|
if (output.targetGroups === "") {
|
|
70635
70670
|
contents.TargetGroups = [];
|
|
70636
70671
|
}
|
|
70637
|
-
if (output["targetGroups"] !== undefined && output["targetGroups"]["item"] !== undefined) {
|
|
70672
|
+
else if (output["targetGroups"] !== undefined && output["targetGroups"]["item"] !== undefined) {
|
|
70638
70673
|
contents.TargetGroups = deserializeAws_ec2TargetGroups(__getArrayIfSingleItem(output["targetGroups"]["item"]), context);
|
|
70639
70674
|
}
|
|
70640
70675
|
return contents;
|
|
@@ -70666,7 +70701,7 @@ var deserializeAws_ec2TargetNetwork = function (output, context) {
|
|
|
70666
70701
|
if (output.securityGroups === "") {
|
|
70667
70702
|
contents.SecurityGroups = [];
|
|
70668
70703
|
}
|
|
70669
|
-
if (output["securityGroups"] !== undefined && output["securityGroups"]["item"] !== undefined) {
|
|
70704
|
+
else if (output["securityGroups"] !== undefined && output["securityGroups"]["item"] !== undefined) {
|
|
70670
70705
|
contents.SecurityGroups = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["securityGroups"]["item"]), context);
|
|
70671
70706
|
}
|
|
70672
70707
|
return contents;
|
|
@@ -70719,7 +70754,7 @@ var deserializeAws_ec2TerminateClientVpnConnectionsResult = function (output, co
|
|
|
70719
70754
|
if (output.connectionStatuses === "") {
|
|
70720
70755
|
contents.ConnectionStatuses = [];
|
|
70721
70756
|
}
|
|
70722
|
-
if (output["connectionStatuses"] !== undefined && output["connectionStatuses"]["item"] !== undefined) {
|
|
70757
|
+
else if (output["connectionStatuses"] !== undefined && output["connectionStatuses"]["item"] !== undefined) {
|
|
70723
70758
|
contents.ConnectionStatuses = deserializeAws_ec2TerminateConnectionStatusSet(__getArrayIfSingleItem(output["connectionStatuses"]["item"]), context);
|
|
70724
70759
|
}
|
|
70725
70760
|
return contents;
|
|
@@ -70758,7 +70793,7 @@ var deserializeAws_ec2TerminateInstancesResult = function (output, context) {
|
|
|
70758
70793
|
if (output.instancesSet === "") {
|
|
70759
70794
|
contents.TerminatingInstances = [];
|
|
70760
70795
|
}
|
|
70761
|
-
if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
70796
|
+
else if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
70762
70797
|
contents.TerminatingInstances = deserializeAws_ec2InstanceStateChangeList(__getArrayIfSingleItem(output["instancesSet"]["item"]), context);
|
|
70763
70798
|
}
|
|
70764
70799
|
return contents;
|
|
@@ -70820,19 +70855,19 @@ var deserializeAws_ec2TrafficMirrorFilter = function (output, context) {
|
|
|
70820
70855
|
if (output.ingressFilterRuleSet === "") {
|
|
70821
70856
|
contents.IngressFilterRules = [];
|
|
70822
70857
|
}
|
|
70823
|
-
if (output["ingressFilterRuleSet"] !== undefined && output["ingressFilterRuleSet"]["item"] !== undefined) {
|
|
70858
|
+
else if (output["ingressFilterRuleSet"] !== undefined && output["ingressFilterRuleSet"]["item"] !== undefined) {
|
|
70824
70859
|
contents.IngressFilterRules = deserializeAws_ec2TrafficMirrorFilterRuleList(__getArrayIfSingleItem(output["ingressFilterRuleSet"]["item"]), context);
|
|
70825
70860
|
}
|
|
70826
70861
|
if (output.egressFilterRuleSet === "") {
|
|
70827
70862
|
contents.EgressFilterRules = [];
|
|
70828
70863
|
}
|
|
70829
|
-
if (output["egressFilterRuleSet"] !== undefined && output["egressFilterRuleSet"]["item"] !== undefined) {
|
|
70864
|
+
else if (output["egressFilterRuleSet"] !== undefined && output["egressFilterRuleSet"]["item"] !== undefined) {
|
|
70830
70865
|
contents.EgressFilterRules = deserializeAws_ec2TrafficMirrorFilterRuleList(__getArrayIfSingleItem(output["egressFilterRuleSet"]["item"]), context);
|
|
70831
70866
|
}
|
|
70832
70867
|
if (output.networkServiceSet === "") {
|
|
70833
70868
|
contents.NetworkServices = [];
|
|
70834
70869
|
}
|
|
70835
|
-
if (output["networkServiceSet"] !== undefined && output["networkServiceSet"]["item"] !== undefined) {
|
|
70870
|
+
else if (output["networkServiceSet"] !== undefined && output["networkServiceSet"]["item"] !== undefined) {
|
|
70836
70871
|
contents.NetworkServices = deserializeAws_ec2TrafficMirrorNetworkServiceList(__getArrayIfSingleItem(output["networkServiceSet"]["item"]), context);
|
|
70837
70872
|
}
|
|
70838
70873
|
if (output["description"] !== undefined) {
|
|
@@ -70841,7 +70876,7 @@ var deserializeAws_ec2TrafficMirrorFilter = function (output, context) {
|
|
|
70841
70876
|
if (output.tagSet === "") {
|
|
70842
70877
|
contents.Tags = [];
|
|
70843
70878
|
}
|
|
70844
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
70879
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
70845
70880
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
70846
70881
|
}
|
|
70847
70882
|
return contents;
|
|
@@ -70981,7 +71016,7 @@ var deserializeAws_ec2TrafficMirrorSession = function (output, context) {
|
|
|
70981
71016
|
if (output.tagSet === "") {
|
|
70982
71017
|
contents.Tags = [];
|
|
70983
71018
|
}
|
|
70984
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71019
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
70985
71020
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
70986
71021
|
}
|
|
70987
71022
|
return contents;
|
|
@@ -71028,7 +71063,7 @@ var deserializeAws_ec2TrafficMirrorTarget = function (output, context) {
|
|
|
71028
71063
|
if (output.tagSet === "") {
|
|
71029
71064
|
contents.Tags = [];
|
|
71030
71065
|
}
|
|
71031
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71066
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71032
71067
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
71033
71068
|
}
|
|
71034
71069
|
if (output["gatewayLoadBalancerEndpointId"] !== undefined) {
|
|
@@ -71081,7 +71116,7 @@ var deserializeAws_ec2TransitGateway = function (output, context) {
|
|
|
71081
71116
|
if (output.tagSet === "") {
|
|
71082
71117
|
contents.Tags = [];
|
|
71083
71118
|
}
|
|
71084
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71119
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71085
71120
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
71086
71121
|
}
|
|
71087
71122
|
return contents;
|
|
@@ -71154,7 +71189,7 @@ var deserializeAws_ec2TransitGatewayAttachment = function (output, context) {
|
|
|
71154
71189
|
if (output.tagSet === "") {
|
|
71155
71190
|
contents.Tags = [];
|
|
71156
71191
|
}
|
|
71157
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71192
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71158
71193
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
71159
71194
|
}
|
|
71160
71195
|
return contents;
|
|
@@ -71271,7 +71306,7 @@ var deserializeAws_ec2TransitGatewayConnect = function (output, context) {
|
|
|
71271
71306
|
if (output.tagSet === "") {
|
|
71272
71307
|
contents.Tags = [];
|
|
71273
71308
|
}
|
|
71274
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71309
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71275
71310
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
71276
71311
|
}
|
|
71277
71312
|
return contents;
|
|
@@ -71322,7 +71357,7 @@ var deserializeAws_ec2TransitGatewayConnectPeer = function (output, context) {
|
|
|
71322
71357
|
if (output.tagSet === "") {
|
|
71323
71358
|
contents.Tags = [];
|
|
71324
71359
|
}
|
|
71325
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71360
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71326
71361
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
71327
71362
|
}
|
|
71328
71363
|
return contents;
|
|
@@ -71344,7 +71379,7 @@ var deserializeAws_ec2TransitGatewayConnectPeerConfiguration = function (output,
|
|
|
71344
71379
|
if (output.insideCidrBlocks === "") {
|
|
71345
71380
|
contents.InsideCidrBlocks = [];
|
|
71346
71381
|
}
|
|
71347
|
-
if (output["insideCidrBlocks"] !== undefined && output["insideCidrBlocks"]["item"] !== undefined) {
|
|
71382
|
+
else if (output["insideCidrBlocks"] !== undefined && output["insideCidrBlocks"]["item"] !== undefined) {
|
|
71348
71383
|
contents.InsideCidrBlocks = deserializeAws_ec2InsideCidrBlocksStringList(__getArrayIfSingleItem(output["insideCidrBlocks"]["item"]), context);
|
|
71349
71384
|
}
|
|
71350
71385
|
if (output["protocol"] !== undefined) {
|
|
@@ -71353,7 +71388,7 @@ var deserializeAws_ec2TransitGatewayConnectPeerConfiguration = function (output,
|
|
|
71353
71388
|
if (output.bgpConfigurations === "") {
|
|
71354
71389
|
contents.BgpConfigurations = [];
|
|
71355
71390
|
}
|
|
71356
|
-
if (output["bgpConfigurations"] !== undefined && output["bgpConfigurations"]["item"] !== undefined) {
|
|
71391
|
+
else if (output["bgpConfigurations"] !== undefined && output["bgpConfigurations"]["item"] !== undefined) {
|
|
71357
71392
|
contents.BgpConfigurations = deserializeAws_ec2TransitGatewayAttachmentBgpConfigurationList(__getArrayIfSingleItem(output["bgpConfigurations"]["item"]), context);
|
|
71358
71393
|
}
|
|
71359
71394
|
return contents;
|
|
@@ -71390,7 +71425,7 @@ var deserializeAws_ec2TransitGatewayMulticastDeregisteredGroupMembers = function
|
|
|
71390
71425
|
if (output.deregisteredNetworkInterfaceIds === "") {
|
|
71391
71426
|
contents.DeregisteredNetworkInterfaceIds = [];
|
|
71392
71427
|
}
|
|
71393
|
-
if (output["deregisteredNetworkInterfaceIds"] !== undefined &&
|
|
71428
|
+
else if (output["deregisteredNetworkInterfaceIds"] !== undefined &&
|
|
71394
71429
|
output["deregisteredNetworkInterfaceIds"]["item"] !== undefined) {
|
|
71395
71430
|
contents.DeregisteredNetworkInterfaceIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["deregisteredNetworkInterfaceIds"]["item"]), context);
|
|
71396
71431
|
}
|
|
@@ -71411,7 +71446,7 @@ var deserializeAws_ec2TransitGatewayMulticastDeregisteredGroupSources = function
|
|
|
71411
71446
|
if (output.deregisteredNetworkInterfaceIds === "") {
|
|
71412
71447
|
contents.DeregisteredNetworkInterfaceIds = [];
|
|
71413
71448
|
}
|
|
71414
|
-
if (output["deregisteredNetworkInterfaceIds"] !== undefined &&
|
|
71449
|
+
else if (output["deregisteredNetworkInterfaceIds"] !== undefined &&
|
|
71415
71450
|
output["deregisteredNetworkInterfaceIds"]["item"] !== undefined) {
|
|
71416
71451
|
contents.DeregisteredNetworkInterfaceIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["deregisteredNetworkInterfaceIds"]["item"]), context);
|
|
71417
71452
|
}
|
|
@@ -71455,7 +71490,7 @@ var deserializeAws_ec2TransitGatewayMulticastDomain = function (output, context)
|
|
|
71455
71490
|
if (output.tagSet === "") {
|
|
71456
71491
|
contents.Tags = [];
|
|
71457
71492
|
}
|
|
71458
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71493
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71459
71494
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
71460
71495
|
}
|
|
71461
71496
|
return contents;
|
|
@@ -71522,7 +71557,7 @@ var deserializeAws_ec2TransitGatewayMulticastDomainAssociations = function (outp
|
|
|
71522
71557
|
if (output.subnets === "") {
|
|
71523
71558
|
contents.Subnets = [];
|
|
71524
71559
|
}
|
|
71525
|
-
if (output["subnets"] !== undefined && output["subnets"]["item"] !== undefined) {
|
|
71560
|
+
else if (output["subnets"] !== undefined && output["subnets"]["item"] !== undefined) {
|
|
71526
71561
|
contents.Subnets = deserializeAws_ec2SubnetAssociationList(__getArrayIfSingleItem(output["subnets"]["item"]), context);
|
|
71527
71562
|
}
|
|
71528
71563
|
return contents;
|
|
@@ -71625,7 +71660,7 @@ var deserializeAws_ec2TransitGatewayMulticastRegisteredGroupMembers = function (
|
|
|
71625
71660
|
if (output.registeredNetworkInterfaceIds === "") {
|
|
71626
71661
|
contents.RegisteredNetworkInterfaceIds = [];
|
|
71627
71662
|
}
|
|
71628
|
-
if (output["registeredNetworkInterfaceIds"] !== undefined &&
|
|
71663
|
+
else if (output["registeredNetworkInterfaceIds"] !== undefined &&
|
|
71629
71664
|
output["registeredNetworkInterfaceIds"]["item"] !== undefined) {
|
|
71630
71665
|
contents.RegisteredNetworkInterfaceIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["registeredNetworkInterfaceIds"]["item"]), context);
|
|
71631
71666
|
}
|
|
@@ -71646,7 +71681,7 @@ var deserializeAws_ec2TransitGatewayMulticastRegisteredGroupSources = function (
|
|
|
71646
71681
|
if (output.registeredNetworkInterfaceIds === "") {
|
|
71647
71682
|
contents.RegisteredNetworkInterfaceIds = [];
|
|
71648
71683
|
}
|
|
71649
|
-
if (output["registeredNetworkInterfaceIds"] !== undefined &&
|
|
71684
|
+
else if (output["registeredNetworkInterfaceIds"] !== undefined &&
|
|
71650
71685
|
output["registeredNetworkInterfaceIds"]["item"] !== undefined) {
|
|
71651
71686
|
contents.RegisteredNetworkInterfaceIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["registeredNetworkInterfaceIds"]["item"]), context);
|
|
71652
71687
|
}
|
|
@@ -71674,7 +71709,8 @@ var deserializeAws_ec2TransitGatewayOptions = function (output, context) {
|
|
|
71674
71709
|
if (output.transitGatewayCidrBlocks === "") {
|
|
71675
71710
|
contents.TransitGatewayCidrBlocks = [];
|
|
71676
71711
|
}
|
|
71677
|
-
if (output["transitGatewayCidrBlocks"] !== undefined &&
|
|
71712
|
+
else if (output["transitGatewayCidrBlocks"] !== undefined &&
|
|
71713
|
+
output["transitGatewayCidrBlocks"]["item"] !== undefined) {
|
|
71678
71714
|
contents.TransitGatewayCidrBlocks = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["transitGatewayCidrBlocks"]["item"]), context);
|
|
71679
71715
|
}
|
|
71680
71716
|
if (output["autoAcceptSharedAttachments"] !== undefined) {
|
|
@@ -71734,7 +71770,7 @@ var deserializeAws_ec2TransitGatewayPeeringAttachment = function (output, contex
|
|
|
71734
71770
|
if (output.tagSet === "") {
|
|
71735
71771
|
contents.Tags = [];
|
|
71736
71772
|
}
|
|
71737
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71773
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71738
71774
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
71739
71775
|
}
|
|
71740
71776
|
return contents;
|
|
@@ -71847,7 +71883,8 @@ var deserializeAws_ec2TransitGatewayRoute = function (output, context) {
|
|
|
71847
71883
|
if (output.transitGatewayAttachments === "") {
|
|
71848
71884
|
contents.TransitGatewayAttachments = [];
|
|
71849
71885
|
}
|
|
71850
|
-
if (output["transitGatewayAttachments"] !== undefined &&
|
|
71886
|
+
else if (output["transitGatewayAttachments"] !== undefined &&
|
|
71887
|
+
output["transitGatewayAttachments"]["item"] !== undefined) {
|
|
71851
71888
|
contents.TransitGatewayAttachments = deserializeAws_ec2TransitGatewayRouteAttachmentList(__getArrayIfSingleItem(output["transitGatewayAttachments"]["item"]), context);
|
|
71852
71889
|
}
|
|
71853
71890
|
if (output["type"] !== undefined) {
|
|
@@ -71926,7 +71963,7 @@ var deserializeAws_ec2TransitGatewayRouteTable = function (output, context) {
|
|
|
71926
71963
|
if (output.tagSet === "") {
|
|
71927
71964
|
contents.Tags = [];
|
|
71928
71965
|
}
|
|
71929
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71966
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
71930
71967
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
71931
71968
|
}
|
|
71932
71969
|
return contents;
|
|
@@ -72066,7 +72103,7 @@ var deserializeAws_ec2TransitGatewayVpcAttachment = function (output, context) {
|
|
|
72066
72103
|
if (output.subnetIds === "") {
|
|
72067
72104
|
contents.SubnetIds = [];
|
|
72068
72105
|
}
|
|
72069
|
-
if (output["subnetIds"] !== undefined && output["subnetIds"]["item"] !== undefined) {
|
|
72106
|
+
else if (output["subnetIds"] !== undefined && output["subnetIds"]["item"] !== undefined) {
|
|
72070
72107
|
contents.SubnetIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["subnetIds"]["item"]), context);
|
|
72071
72108
|
}
|
|
72072
72109
|
if (output["creationTime"] !== undefined) {
|
|
@@ -72078,7 +72115,7 @@ var deserializeAws_ec2TransitGatewayVpcAttachment = function (output, context) {
|
|
|
72078
72115
|
if (output.tagSet === "") {
|
|
72079
72116
|
contents.Tags = [];
|
|
72080
72117
|
}
|
|
72081
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
72118
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
72082
72119
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
72083
72120
|
}
|
|
72084
72121
|
return contents;
|
|
@@ -72141,7 +72178,7 @@ var deserializeAws_ec2TrunkInterfaceAssociation = function (output, context) {
|
|
|
72141
72178
|
if (output.tagSet === "") {
|
|
72142
72179
|
contents.Tags = [];
|
|
72143
72180
|
}
|
|
72144
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
72181
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
72145
72182
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
72146
72183
|
}
|
|
72147
72184
|
return contents;
|
|
@@ -72214,47 +72251,47 @@ var deserializeAws_ec2TunnelOption = function (output, context) {
|
|
|
72214
72251
|
if (output.phase1EncryptionAlgorithmSet === "") {
|
|
72215
72252
|
contents.Phase1EncryptionAlgorithms = [];
|
|
72216
72253
|
}
|
|
72217
|
-
if (output["phase1EncryptionAlgorithmSet"] !== undefined &&
|
|
72254
|
+
else if (output["phase1EncryptionAlgorithmSet"] !== undefined &&
|
|
72218
72255
|
output["phase1EncryptionAlgorithmSet"]["item"] !== undefined) {
|
|
72219
72256
|
contents.Phase1EncryptionAlgorithms = deserializeAws_ec2Phase1EncryptionAlgorithmsList(__getArrayIfSingleItem(output["phase1EncryptionAlgorithmSet"]["item"]), context);
|
|
72220
72257
|
}
|
|
72221
72258
|
if (output.phase2EncryptionAlgorithmSet === "") {
|
|
72222
72259
|
contents.Phase2EncryptionAlgorithms = [];
|
|
72223
72260
|
}
|
|
72224
|
-
if (output["phase2EncryptionAlgorithmSet"] !== undefined &&
|
|
72261
|
+
else if (output["phase2EncryptionAlgorithmSet"] !== undefined &&
|
|
72225
72262
|
output["phase2EncryptionAlgorithmSet"]["item"] !== undefined) {
|
|
72226
72263
|
contents.Phase2EncryptionAlgorithms = deserializeAws_ec2Phase2EncryptionAlgorithmsList(__getArrayIfSingleItem(output["phase2EncryptionAlgorithmSet"]["item"]), context);
|
|
72227
72264
|
}
|
|
72228
72265
|
if (output.phase1IntegrityAlgorithmSet === "") {
|
|
72229
72266
|
contents.Phase1IntegrityAlgorithms = [];
|
|
72230
72267
|
}
|
|
72231
|
-
if (output["phase1IntegrityAlgorithmSet"] !== undefined &&
|
|
72268
|
+
else if (output["phase1IntegrityAlgorithmSet"] !== undefined &&
|
|
72232
72269
|
output["phase1IntegrityAlgorithmSet"]["item"] !== undefined) {
|
|
72233
72270
|
contents.Phase1IntegrityAlgorithms = deserializeAws_ec2Phase1IntegrityAlgorithmsList(__getArrayIfSingleItem(output["phase1IntegrityAlgorithmSet"]["item"]), context);
|
|
72234
72271
|
}
|
|
72235
72272
|
if (output.phase2IntegrityAlgorithmSet === "") {
|
|
72236
72273
|
contents.Phase2IntegrityAlgorithms = [];
|
|
72237
72274
|
}
|
|
72238
|
-
if (output["phase2IntegrityAlgorithmSet"] !== undefined &&
|
|
72275
|
+
else if (output["phase2IntegrityAlgorithmSet"] !== undefined &&
|
|
72239
72276
|
output["phase2IntegrityAlgorithmSet"]["item"] !== undefined) {
|
|
72240
72277
|
contents.Phase2IntegrityAlgorithms = deserializeAws_ec2Phase2IntegrityAlgorithmsList(__getArrayIfSingleItem(output["phase2IntegrityAlgorithmSet"]["item"]), context);
|
|
72241
72278
|
}
|
|
72242
72279
|
if (output.phase1DHGroupNumberSet === "") {
|
|
72243
72280
|
contents.Phase1DHGroupNumbers = [];
|
|
72244
72281
|
}
|
|
72245
|
-
if (output["phase1DHGroupNumberSet"] !== undefined && output["phase1DHGroupNumberSet"]["item"] !== undefined) {
|
|
72282
|
+
else if (output["phase1DHGroupNumberSet"] !== undefined && output["phase1DHGroupNumberSet"]["item"] !== undefined) {
|
|
72246
72283
|
contents.Phase1DHGroupNumbers = deserializeAws_ec2Phase1DHGroupNumbersList(__getArrayIfSingleItem(output["phase1DHGroupNumberSet"]["item"]), context);
|
|
72247
72284
|
}
|
|
72248
72285
|
if (output.phase2DHGroupNumberSet === "") {
|
|
72249
72286
|
contents.Phase2DHGroupNumbers = [];
|
|
72250
72287
|
}
|
|
72251
|
-
if (output["phase2DHGroupNumberSet"] !== undefined && output["phase2DHGroupNumberSet"]["item"] !== undefined) {
|
|
72288
|
+
else if (output["phase2DHGroupNumberSet"] !== undefined && output["phase2DHGroupNumberSet"]["item"] !== undefined) {
|
|
72252
72289
|
contents.Phase2DHGroupNumbers = deserializeAws_ec2Phase2DHGroupNumbersList(__getArrayIfSingleItem(output["phase2DHGroupNumberSet"]["item"]), context);
|
|
72253
72290
|
}
|
|
72254
72291
|
if (output.ikeVersionSet === "") {
|
|
72255
72292
|
contents.IkeVersions = [];
|
|
72256
72293
|
}
|
|
72257
|
-
if (output["ikeVersionSet"] !== undefined && output["ikeVersionSet"]["item"] !== undefined) {
|
|
72294
|
+
else if (output["ikeVersionSet"] !== undefined && output["ikeVersionSet"]["item"] !== undefined) {
|
|
72258
72295
|
contents.IkeVersions = deserializeAws_ec2IKEVersionsList(__getArrayIfSingleItem(output["ikeVersionSet"]["item"]), context);
|
|
72259
72296
|
}
|
|
72260
72297
|
if (output["startupAction"] !== undefined) {
|
|
@@ -72284,13 +72321,15 @@ var deserializeAws_ec2UnassignIpv6AddressesResult = function (output, context) {
|
|
|
72284
72321
|
if (output.unassignedIpv6Addresses === "") {
|
|
72285
72322
|
contents.UnassignedIpv6Addresses = [];
|
|
72286
72323
|
}
|
|
72287
|
-
if (output["unassignedIpv6Addresses"] !== undefined &&
|
|
72324
|
+
else if (output["unassignedIpv6Addresses"] !== undefined &&
|
|
72325
|
+
output["unassignedIpv6Addresses"]["item"] !== undefined) {
|
|
72288
72326
|
contents.UnassignedIpv6Addresses = deserializeAws_ec2Ipv6AddressList(__getArrayIfSingleItem(output["unassignedIpv6Addresses"]["item"]), context);
|
|
72289
72327
|
}
|
|
72290
72328
|
if (output.unassignedIpv6PrefixSet === "") {
|
|
72291
72329
|
contents.UnassignedIpv6Prefixes = [];
|
|
72292
72330
|
}
|
|
72293
|
-
if (output["unassignedIpv6PrefixSet"] !== undefined &&
|
|
72331
|
+
else if (output["unassignedIpv6PrefixSet"] !== undefined &&
|
|
72332
|
+
output["unassignedIpv6PrefixSet"]["item"] !== undefined) {
|
|
72294
72333
|
contents.UnassignedIpv6Prefixes = deserializeAws_ec2IpPrefixList(__getArrayIfSingleItem(output["unassignedIpv6PrefixSet"]["item"]), context);
|
|
72295
72334
|
}
|
|
72296
72335
|
return contents;
|
|
@@ -72302,7 +72341,7 @@ var deserializeAws_ec2UnmonitorInstancesResult = function (output, context) {
|
|
|
72302
72341
|
if (output.instancesSet === "") {
|
|
72303
72342
|
contents.InstanceMonitorings = [];
|
|
72304
72343
|
}
|
|
72305
|
-
if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
72344
|
+
else if (output["instancesSet"] !== undefined && output["instancesSet"]["item"] !== undefined) {
|
|
72306
72345
|
contents.InstanceMonitorings = deserializeAws_ec2InstanceMonitoringList(__getArrayIfSingleItem(output["instancesSet"]["item"]), context);
|
|
72307
72346
|
}
|
|
72308
72347
|
return contents;
|
|
@@ -72503,7 +72542,7 @@ var deserializeAws_ec2ValidationWarning = function (output, context) {
|
|
|
72503
72542
|
if (output.errorSet === "") {
|
|
72504
72543
|
contents.Errors = [];
|
|
72505
72544
|
}
|
|
72506
|
-
if (output["errorSet"] !== undefined && output["errorSet"]["item"] !== undefined) {
|
|
72545
|
+
else if (output["errorSet"] !== undefined && output["errorSet"]["item"] !== undefined) {
|
|
72507
72546
|
contents.Errors = deserializeAws_ec2ErrorSet(__getArrayIfSingleItem(output["errorSet"]["item"]), context);
|
|
72508
72547
|
}
|
|
72509
72548
|
return contents;
|
|
@@ -72551,13 +72590,13 @@ var deserializeAws_ec2VCpuInfo = function (output, context) {
|
|
|
72551
72590
|
if (output.validCores === "") {
|
|
72552
72591
|
contents.ValidCores = [];
|
|
72553
72592
|
}
|
|
72554
|
-
if (output["validCores"] !== undefined && output["validCores"]["item"] !== undefined) {
|
|
72593
|
+
else if (output["validCores"] !== undefined && output["validCores"]["item"] !== undefined) {
|
|
72555
72594
|
contents.ValidCores = deserializeAws_ec2CoreCountList(__getArrayIfSingleItem(output["validCores"]["item"]), context);
|
|
72556
72595
|
}
|
|
72557
72596
|
if (output.validThreadsPerCore === "") {
|
|
72558
72597
|
contents.ValidThreadsPerCore = [];
|
|
72559
72598
|
}
|
|
72560
|
-
if (output["validThreadsPerCore"] !== undefined && output["validThreadsPerCore"]["item"] !== undefined) {
|
|
72599
|
+
else if (output["validThreadsPerCore"] !== undefined && output["validThreadsPerCore"]["item"] !== undefined) {
|
|
72561
72600
|
contents.ValidThreadsPerCore = deserializeAws_ec2ThreadsPerCoreList(__getArrayIfSingleItem(output["validThreadsPerCore"]["item"]), context);
|
|
72562
72601
|
}
|
|
72563
72602
|
return contents;
|
|
@@ -72633,7 +72672,7 @@ var deserializeAws_ec2Volume = function (output, context) {
|
|
|
72633
72672
|
if (output.attachmentSet === "") {
|
|
72634
72673
|
contents.Attachments = [];
|
|
72635
72674
|
}
|
|
72636
|
-
if (output["attachmentSet"] !== undefined && output["attachmentSet"]["item"] !== undefined) {
|
|
72675
|
+
else if (output["attachmentSet"] !== undefined && output["attachmentSet"]["item"] !== undefined) {
|
|
72637
72676
|
contents.Attachments = deserializeAws_ec2VolumeAttachmentList(__getArrayIfSingleItem(output["attachmentSet"]["item"]), context);
|
|
72638
72677
|
}
|
|
72639
72678
|
if (output["availabilityZone"] !== undefined) {
|
|
@@ -72669,7 +72708,7 @@ var deserializeAws_ec2Volume = function (output, context) {
|
|
|
72669
72708
|
if (output.tagSet === "") {
|
|
72670
72709
|
contents.Tags = [];
|
|
72671
72710
|
}
|
|
72672
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
72711
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
72673
72712
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
72674
72713
|
}
|
|
72675
72714
|
if (output["volumeType"] !== undefined) {
|
|
@@ -72938,7 +72977,7 @@ var deserializeAws_ec2VolumeStatusInfo = function (output, context) {
|
|
|
72938
72977
|
if (output.details === "") {
|
|
72939
72978
|
contents.Details = [];
|
|
72940
72979
|
}
|
|
72941
|
-
if (output["details"] !== undefined && output["details"]["item"] !== undefined) {
|
|
72980
|
+
else if (output["details"] !== undefined && output["details"]["item"] !== undefined) {
|
|
72942
72981
|
contents.Details = deserializeAws_ec2VolumeStatusDetailsList(__getArrayIfSingleItem(output["details"]["item"]), context);
|
|
72943
72982
|
}
|
|
72944
72983
|
if (output["status"] !== undefined) {
|
|
@@ -72959,7 +72998,7 @@ var deserializeAws_ec2VolumeStatusItem = function (output, context) {
|
|
|
72959
72998
|
if (output.actionsSet === "") {
|
|
72960
72999
|
contents.Actions = [];
|
|
72961
73000
|
}
|
|
72962
|
-
if (output["actionsSet"] !== undefined && output["actionsSet"]["item"] !== undefined) {
|
|
73001
|
+
else if (output["actionsSet"] !== undefined && output["actionsSet"]["item"] !== undefined) {
|
|
72963
73002
|
contents.Actions = deserializeAws_ec2VolumeStatusActionsList(__getArrayIfSingleItem(output["actionsSet"]["item"]), context);
|
|
72964
73003
|
}
|
|
72965
73004
|
if (output["availabilityZone"] !== undefined) {
|
|
@@ -72971,7 +73010,7 @@ var deserializeAws_ec2VolumeStatusItem = function (output, context) {
|
|
|
72971
73010
|
if (output.eventsSet === "") {
|
|
72972
73011
|
contents.Events = [];
|
|
72973
73012
|
}
|
|
72974
|
-
if (output["eventsSet"] !== undefined && output["eventsSet"]["item"] !== undefined) {
|
|
73013
|
+
else if (output["eventsSet"] !== undefined && output["eventsSet"]["item"] !== undefined) {
|
|
72975
73014
|
contents.Events = deserializeAws_ec2VolumeStatusEventsList(__getArrayIfSingleItem(output["eventsSet"]["item"]), context);
|
|
72976
73015
|
}
|
|
72977
73016
|
if (output["volumeId"] !== undefined) {
|
|
@@ -72983,7 +73022,7 @@ var deserializeAws_ec2VolumeStatusItem = function (output, context) {
|
|
|
72983
73022
|
if (output.attachmentStatuses === "") {
|
|
72984
73023
|
contents.AttachmentStatuses = [];
|
|
72985
73024
|
}
|
|
72986
|
-
if (output["attachmentStatuses"] !== undefined && output["attachmentStatuses"]["item"] !== undefined) {
|
|
73025
|
+
else if (output["attachmentStatuses"] !== undefined && output["attachmentStatuses"]["item"] !== undefined) {
|
|
72987
73026
|
contents.AttachmentStatuses = deserializeAws_ec2VolumeStatusAttachmentStatusList(__getArrayIfSingleItem(output["attachmentStatuses"]["item"]), context);
|
|
72988
73027
|
}
|
|
72989
73028
|
return contents;
|
|
@@ -73032,14 +73071,15 @@ var deserializeAws_ec2Vpc = function (output, context) {
|
|
|
73032
73071
|
if (output.ipv6CidrBlockAssociationSet === "") {
|
|
73033
73072
|
contents.Ipv6CidrBlockAssociationSet = [];
|
|
73034
73073
|
}
|
|
73035
|
-
if (output["ipv6CidrBlockAssociationSet"] !== undefined &&
|
|
73074
|
+
else if (output["ipv6CidrBlockAssociationSet"] !== undefined &&
|
|
73036
73075
|
output["ipv6CidrBlockAssociationSet"]["item"] !== undefined) {
|
|
73037
73076
|
contents.Ipv6CidrBlockAssociationSet = deserializeAws_ec2VpcIpv6CidrBlockAssociationSet(__getArrayIfSingleItem(output["ipv6CidrBlockAssociationSet"]["item"]), context);
|
|
73038
73077
|
}
|
|
73039
73078
|
if (output.cidrBlockAssociationSet === "") {
|
|
73040
73079
|
contents.CidrBlockAssociationSet = [];
|
|
73041
73080
|
}
|
|
73042
|
-
if (output["cidrBlockAssociationSet"] !== undefined &&
|
|
73081
|
+
else if (output["cidrBlockAssociationSet"] !== undefined &&
|
|
73082
|
+
output["cidrBlockAssociationSet"]["item"] !== undefined) {
|
|
73043
73083
|
contents.CidrBlockAssociationSet = deserializeAws_ec2VpcCidrBlockAssociationSet(__getArrayIfSingleItem(output["cidrBlockAssociationSet"]["item"]), context);
|
|
73044
73084
|
}
|
|
73045
73085
|
if (output["isDefault"] !== undefined) {
|
|
@@ -73048,7 +73088,7 @@ var deserializeAws_ec2Vpc = function (output, context) {
|
|
|
73048
73088
|
if (output.tagSet === "") {
|
|
73049
73089
|
contents.Tags = [];
|
|
73050
73090
|
}
|
|
73051
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73091
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73052
73092
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
73053
73093
|
}
|
|
73054
73094
|
return contents;
|
|
@@ -73128,7 +73168,7 @@ var deserializeAws_ec2VpcClassicLink = function (output, context) {
|
|
|
73128
73168
|
if (output.tagSet === "") {
|
|
73129
73169
|
contents.Tags = [];
|
|
73130
73170
|
}
|
|
73131
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73171
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73132
73172
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
73133
73173
|
}
|
|
73134
73174
|
if (output["vpcId"] !== undefined) {
|
|
@@ -73189,19 +73229,19 @@ var deserializeAws_ec2VpcEndpoint = function (output, context) {
|
|
|
73189
73229
|
if (output.routeTableIdSet === "") {
|
|
73190
73230
|
contents.RouteTableIds = [];
|
|
73191
73231
|
}
|
|
73192
|
-
if (output["routeTableIdSet"] !== undefined && output["routeTableIdSet"]["item"] !== undefined) {
|
|
73232
|
+
else if (output["routeTableIdSet"] !== undefined && output["routeTableIdSet"]["item"] !== undefined) {
|
|
73193
73233
|
contents.RouteTableIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["routeTableIdSet"]["item"]), context);
|
|
73194
73234
|
}
|
|
73195
73235
|
if (output.subnetIdSet === "") {
|
|
73196
73236
|
contents.SubnetIds = [];
|
|
73197
73237
|
}
|
|
73198
|
-
if (output["subnetIdSet"] !== undefined && output["subnetIdSet"]["item"] !== undefined) {
|
|
73238
|
+
else if (output["subnetIdSet"] !== undefined && output["subnetIdSet"]["item"] !== undefined) {
|
|
73199
73239
|
contents.SubnetIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["subnetIdSet"]["item"]), context);
|
|
73200
73240
|
}
|
|
73201
73241
|
if (output.groupSet === "") {
|
|
73202
73242
|
contents.Groups = [];
|
|
73203
73243
|
}
|
|
73204
|
-
if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
73244
|
+
else if (output["groupSet"] !== undefined && output["groupSet"]["item"] !== undefined) {
|
|
73205
73245
|
contents.Groups = deserializeAws_ec2GroupIdentifierSet(__getArrayIfSingleItem(output["groupSet"]["item"]), context);
|
|
73206
73246
|
}
|
|
73207
73247
|
if (output["ipAddressType"] !== undefined) {
|
|
@@ -73219,13 +73259,13 @@ var deserializeAws_ec2VpcEndpoint = function (output, context) {
|
|
|
73219
73259
|
if (output.networkInterfaceIdSet === "") {
|
|
73220
73260
|
contents.NetworkInterfaceIds = [];
|
|
73221
73261
|
}
|
|
73222
|
-
if (output["networkInterfaceIdSet"] !== undefined && output["networkInterfaceIdSet"]["item"] !== undefined) {
|
|
73262
|
+
else if (output["networkInterfaceIdSet"] !== undefined && output["networkInterfaceIdSet"]["item"] !== undefined) {
|
|
73223
73263
|
contents.NetworkInterfaceIds = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["networkInterfaceIdSet"]["item"]), context);
|
|
73224
73264
|
}
|
|
73225
73265
|
if (output.dnsEntrySet === "") {
|
|
73226
73266
|
contents.DnsEntries = [];
|
|
73227
73267
|
}
|
|
73228
|
-
if (output["dnsEntrySet"] !== undefined && output["dnsEntrySet"]["item"] !== undefined) {
|
|
73268
|
+
else if (output["dnsEntrySet"] !== undefined && output["dnsEntrySet"]["item"] !== undefined) {
|
|
73229
73269
|
contents.DnsEntries = deserializeAws_ec2DnsEntrySet(__getArrayIfSingleItem(output["dnsEntrySet"]["item"]), context);
|
|
73230
73270
|
}
|
|
73231
73271
|
if (output["creationTimestamp"] !== undefined) {
|
|
@@ -73234,7 +73274,7 @@ var deserializeAws_ec2VpcEndpoint = function (output, context) {
|
|
|
73234
73274
|
if (output.tagSet === "") {
|
|
73235
73275
|
contents.Tags = [];
|
|
73236
73276
|
}
|
|
73237
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73277
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73238
73278
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
73239
73279
|
}
|
|
73240
73280
|
if (output["ownerId"] !== undefined) {
|
|
@@ -73275,19 +73315,21 @@ var deserializeAws_ec2VpcEndpointConnection = function (output, context) {
|
|
|
73275
73315
|
if (output.dnsEntrySet === "") {
|
|
73276
73316
|
contents.DnsEntries = [];
|
|
73277
73317
|
}
|
|
73278
|
-
if (output["dnsEntrySet"] !== undefined && output["dnsEntrySet"]["item"] !== undefined) {
|
|
73318
|
+
else if (output["dnsEntrySet"] !== undefined && output["dnsEntrySet"]["item"] !== undefined) {
|
|
73279
73319
|
contents.DnsEntries = deserializeAws_ec2DnsEntrySet(__getArrayIfSingleItem(output["dnsEntrySet"]["item"]), context);
|
|
73280
73320
|
}
|
|
73281
73321
|
if (output.networkLoadBalancerArnSet === "") {
|
|
73282
73322
|
contents.NetworkLoadBalancerArns = [];
|
|
73283
73323
|
}
|
|
73284
|
-
if (output["networkLoadBalancerArnSet"] !== undefined &&
|
|
73324
|
+
else if (output["networkLoadBalancerArnSet"] !== undefined &&
|
|
73325
|
+
output["networkLoadBalancerArnSet"]["item"] !== undefined) {
|
|
73285
73326
|
contents.NetworkLoadBalancerArns = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["networkLoadBalancerArnSet"]["item"]), context);
|
|
73286
73327
|
}
|
|
73287
73328
|
if (output.gatewayLoadBalancerArnSet === "") {
|
|
73288
73329
|
contents.GatewayLoadBalancerArns = [];
|
|
73289
73330
|
}
|
|
73290
|
-
if (output["gatewayLoadBalancerArnSet"] !== undefined &&
|
|
73331
|
+
else if (output["gatewayLoadBalancerArnSet"] !== undefined &&
|
|
73332
|
+
output["gatewayLoadBalancerArnSet"]["item"] !== undefined) {
|
|
73291
73333
|
contents.GatewayLoadBalancerArns = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["gatewayLoadBalancerArnSet"]["item"]), context);
|
|
73292
73334
|
}
|
|
73293
73335
|
if (output["ipAddressType"] !== undefined) {
|
|
@@ -73384,7 +73426,7 @@ var deserializeAws_ec2VpcPeeringConnection = function (output, context) {
|
|
|
73384
73426
|
if (output.tagSet === "") {
|
|
73385
73427
|
contents.Tags = [];
|
|
73386
73428
|
}
|
|
73387
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73429
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73388
73430
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
73389
73431
|
}
|
|
73390
73432
|
if (output["vpcPeeringConnectionId"] !== undefined) {
|
|
@@ -73448,13 +73490,13 @@ var deserializeAws_ec2VpcPeeringConnectionVpcInfo = function (output, context) {
|
|
|
73448
73490
|
if (output.ipv6CidrBlockSet === "") {
|
|
73449
73491
|
contents.Ipv6CidrBlockSet = [];
|
|
73450
73492
|
}
|
|
73451
|
-
if (output["ipv6CidrBlockSet"] !== undefined && output["ipv6CidrBlockSet"]["item"] !== undefined) {
|
|
73493
|
+
else if (output["ipv6CidrBlockSet"] !== undefined && output["ipv6CidrBlockSet"]["item"] !== undefined) {
|
|
73452
73494
|
contents.Ipv6CidrBlockSet = deserializeAws_ec2Ipv6CidrBlockSet(__getArrayIfSingleItem(output["ipv6CidrBlockSet"]["item"]), context);
|
|
73453
73495
|
}
|
|
73454
73496
|
if (output.cidrBlockSet === "") {
|
|
73455
73497
|
contents.CidrBlockSet = [];
|
|
73456
73498
|
}
|
|
73457
|
-
if (output["cidrBlockSet"] !== undefined && output["cidrBlockSet"]["item"] !== undefined) {
|
|
73499
|
+
else if (output["cidrBlockSet"] !== undefined && output["cidrBlockSet"]["item"] !== undefined) {
|
|
73458
73500
|
contents.CidrBlockSet = deserializeAws_ec2CidrBlockSet(__getArrayIfSingleItem(output["cidrBlockSet"]["item"]), context);
|
|
73459
73501
|
}
|
|
73460
73502
|
if (output["ownerId"] !== undefined) {
|
|
@@ -73528,19 +73570,19 @@ var deserializeAws_ec2VpnConnection = function (output, context) {
|
|
|
73528
73570
|
if (output.routes === "") {
|
|
73529
73571
|
contents.Routes = [];
|
|
73530
73572
|
}
|
|
73531
|
-
if (output["routes"] !== undefined && output["routes"]["item"] !== undefined) {
|
|
73573
|
+
else if (output["routes"] !== undefined && output["routes"]["item"] !== undefined) {
|
|
73532
73574
|
contents.Routes = deserializeAws_ec2VpnStaticRouteList(__getArrayIfSingleItem(output["routes"]["item"]), context);
|
|
73533
73575
|
}
|
|
73534
73576
|
if (output.tagSet === "") {
|
|
73535
73577
|
contents.Tags = [];
|
|
73536
73578
|
}
|
|
73537
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73579
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73538
73580
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
73539
73581
|
}
|
|
73540
73582
|
if (output.vgwTelemetry === "") {
|
|
73541
73583
|
contents.VgwTelemetry = [];
|
|
73542
73584
|
}
|
|
73543
|
-
if (output["vgwTelemetry"] !== undefined && output["vgwTelemetry"]["item"] !== undefined) {
|
|
73585
|
+
else if (output["vgwTelemetry"] !== undefined && output["vgwTelemetry"]["item"] !== undefined) {
|
|
73544
73586
|
contents.VgwTelemetry = deserializeAws_ec2VgwTelemetryList(__getArrayIfSingleItem(output["vgwTelemetry"]["item"]), context);
|
|
73545
73587
|
}
|
|
73546
73588
|
return contents;
|
|
@@ -73621,7 +73663,7 @@ var deserializeAws_ec2VpnConnectionOptions = function (output, context) {
|
|
|
73621
73663
|
if (output.tunnelOptionSet === "") {
|
|
73622
73664
|
contents.TunnelOptions = [];
|
|
73623
73665
|
}
|
|
73624
|
-
if (output["tunnelOptionSet"] !== undefined && output["tunnelOptionSet"]["item"] !== undefined) {
|
|
73666
|
+
else if (output["tunnelOptionSet"] !== undefined && output["tunnelOptionSet"]["item"] !== undefined) {
|
|
73625
73667
|
contents.TunnelOptions = deserializeAws_ec2TunnelOptionsList(__getArrayIfSingleItem(output["tunnelOptionSet"]["item"]), context);
|
|
73626
73668
|
}
|
|
73627
73669
|
return contents;
|
|
@@ -73648,7 +73690,7 @@ var deserializeAws_ec2VpnGateway = function (output, context) {
|
|
|
73648
73690
|
if (output.attachments === "") {
|
|
73649
73691
|
contents.VpcAttachments = [];
|
|
73650
73692
|
}
|
|
73651
|
-
if (output["attachments"] !== undefined && output["attachments"]["item"] !== undefined) {
|
|
73693
|
+
else if (output["attachments"] !== undefined && output["attachments"]["item"] !== undefined) {
|
|
73652
73694
|
contents.VpcAttachments = deserializeAws_ec2VpcAttachmentList(__getArrayIfSingleItem(output["attachments"]["item"]), context);
|
|
73653
73695
|
}
|
|
73654
73696
|
if (output["vpnGatewayId"] !== undefined) {
|
|
@@ -73660,7 +73702,7 @@ var deserializeAws_ec2VpnGateway = function (output, context) {
|
|
|
73660
73702
|
if (output.tagSet === "") {
|
|
73661
73703
|
contents.Tags = [];
|
|
73662
73704
|
}
|
|
73663
|
-
if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73705
|
+
else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
|
|
73664
73706
|
contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
|
|
73665
73707
|
}
|
|
73666
73708
|
return contents;
|