@aws-sdk/client-global-accelerator 3.121.0 → 3.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +204 -330
- package/dist-es/protocols/Aws_json1_1.js +129 -255
- package/package.json +26 -26
|
@@ -3653,80 +3653,57 @@ var deserializeAws_json1_1ListenerNotFoundExceptionResponse = function (parsedOu
|
|
|
3653
3653
|
});
|
|
3654
3654
|
}); };
|
|
3655
3655
|
var serializeAws_json1_1AddCustomRoutingEndpointsRequest = function (input, context) {
|
|
3656
|
-
return __assign(__assign({}, (input.EndpointConfigurations
|
|
3657
|
-
input.EndpointConfigurations !== null && {
|
|
3656
|
+
return __assign(__assign({}, (input.EndpointConfigurations != null && {
|
|
3658
3657
|
EndpointConfigurations: serializeAws_json1_1CustomRoutingEndpointConfigurations(input.EndpointConfigurations, context),
|
|
3659
|
-
})), (input.EndpointGroupArn
|
|
3660
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3658
|
+
})), (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3661
3659
|
};
|
|
3662
3660
|
var serializeAws_json1_1AdvertiseByoipCidrRequest = function (input, context) {
|
|
3663
|
-
return __assign({}, (input.Cidr
|
|
3661
|
+
return __assign({}, (input.Cidr != null && { Cidr: input.Cidr }));
|
|
3664
3662
|
};
|
|
3665
3663
|
var serializeAws_json1_1AllowCustomRoutingTrafficRequest = function (input, context) {
|
|
3666
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AllowAllTrafficToEndpoint
|
|
3667
|
-
input.AllowAllTrafficToEndpoint !== null && { AllowAllTrafficToEndpoint: input.AllowAllTrafficToEndpoint })), (input.DestinationAddresses !== undefined &&
|
|
3668
|
-
input.DestinationAddresses !== null && {
|
|
3664
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AllowAllTrafficToEndpoint != null && { AllowAllTrafficToEndpoint: input.AllowAllTrafficToEndpoint })), (input.DestinationAddresses != null && {
|
|
3669
3665
|
DestinationAddresses: serializeAws_json1_1DestinationAddresses(input.DestinationAddresses, context),
|
|
3670
|
-
})), (input.DestinationPorts
|
|
3671
|
-
input.DestinationPorts !== null && {
|
|
3666
|
+
})), (input.DestinationPorts != null && {
|
|
3672
3667
|
DestinationPorts: serializeAws_json1_1DestinationPorts(input.DestinationPorts, context),
|
|
3673
|
-
})), (input.EndpointGroupArn
|
|
3674
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn })), (input.EndpointId !== undefined && input.EndpointId !== null && { EndpointId: input.EndpointId }));
|
|
3668
|
+
})), (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn })), (input.EndpointId != null && { EndpointId: input.EndpointId }));
|
|
3675
3669
|
};
|
|
3676
3670
|
var serializeAws_json1_1CidrAuthorizationContext = function (input, context) {
|
|
3677
|
-
return __assign(__assign({}, (input.Message
|
|
3671
|
+
return __assign(__assign({}, (input.Message != null && { Message: input.Message })), (input.Signature != null && { Signature: input.Signature }));
|
|
3678
3672
|
};
|
|
3679
3673
|
var serializeAws_json1_1CreateAcceleratorRequest = function (input, context) {
|
|
3680
3674
|
var _a;
|
|
3681
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Enabled
|
|
3682
|
-
input.IpAddresses !== null && { IpAddresses: serializeAws_json1_1IpAddresses(input.IpAddresses, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3675
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.IpAddressType != null && { IpAddressType: input.IpAddressType })), (input.IpAddresses != null && { IpAddresses: serializeAws_json1_1IpAddresses(input.IpAddresses, context) })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3683
3676
|
};
|
|
3684
3677
|
var serializeAws_json1_1CreateCustomRoutingAcceleratorRequest = function (input, context) {
|
|
3685
3678
|
var _a;
|
|
3686
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Enabled
|
|
3687
|
-
input.IpAddresses !== null && { IpAddresses: serializeAws_json1_1IpAddresses(input.IpAddresses, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3679
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.IpAddressType != null && { IpAddressType: input.IpAddressType })), (input.IpAddresses != null && { IpAddresses: serializeAws_json1_1IpAddresses(input.IpAddresses, context) })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3688
3680
|
};
|
|
3689
3681
|
var serializeAws_json1_1CreateCustomRoutingEndpointGroupRequest = function (input, context) {
|
|
3690
3682
|
var _a;
|
|
3691
|
-
return __assign(__assign(__assign(__assign({}, (input.DestinationConfigurations
|
|
3692
|
-
input.DestinationConfigurations !== null && {
|
|
3683
|
+
return __assign(__assign(__assign(__assign({}, (input.DestinationConfigurations != null && {
|
|
3693
3684
|
DestinationConfigurations: serializeAws_json1_1CustomRoutingDestinationConfigurations(input.DestinationConfigurations, context),
|
|
3694
|
-
})), (input.EndpointGroupRegion !==
|
|
3695
|
-
input.EndpointGroupRegion !== null && { EndpointGroupRegion: input.EndpointGroupRegion })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.ListenerArn !== undefined && input.ListenerArn !== null && { ListenerArn: input.ListenerArn }));
|
|
3685
|
+
})), (input.EndpointGroupRegion != null && { EndpointGroupRegion: input.EndpointGroupRegion })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.ListenerArn != null && { ListenerArn: input.ListenerArn }));
|
|
3696
3686
|
};
|
|
3697
3687
|
var serializeAws_json1_1CreateCustomRoutingListenerRequest = function (input, context) {
|
|
3698
3688
|
var _a;
|
|
3699
|
-
return __assign(__assign(__assign({}, (input.AcceleratorArn !==
|
|
3700
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.PortRanges !== undefined &&
|
|
3701
|
-
input.PortRanges !== null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) }));
|
|
3689
|
+
return __assign(__assign(__assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.PortRanges != null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) }));
|
|
3702
3690
|
};
|
|
3703
3691
|
var serializeAws_json1_1CreateEndpointGroupRequest = function (input, context) {
|
|
3704
3692
|
var _a;
|
|
3705
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndpointConfigurations
|
|
3706
|
-
input.EndpointConfigurations !== null && {
|
|
3693
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndpointConfigurations != null && {
|
|
3707
3694
|
EndpointConfigurations: serializeAws_json1_1EndpointConfigurations(input.EndpointConfigurations, context),
|
|
3708
|
-
})), (input.EndpointGroupRegion !==
|
|
3709
|
-
input.EndpointGroupRegion !== null && { EndpointGroupRegion: input.EndpointGroupRegion })), (input.HealthCheckIntervalSeconds !== undefined &&
|
|
3710
|
-
input.HealthCheckIntervalSeconds !== null && { HealthCheckIntervalSeconds: input.HealthCheckIntervalSeconds })), (input.HealthCheckPath !== undefined &&
|
|
3711
|
-
input.HealthCheckPath !== null && { HealthCheckPath: input.HealthCheckPath })), (input.HealthCheckPort !== undefined &&
|
|
3712
|
-
input.HealthCheckPort !== null && { HealthCheckPort: input.HealthCheckPort })), (input.HealthCheckProtocol !== undefined &&
|
|
3713
|
-
input.HealthCheckProtocol !== null && { HealthCheckProtocol: input.HealthCheckProtocol })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.ListenerArn !== undefined && input.ListenerArn !== null && { ListenerArn: input.ListenerArn })), (input.PortOverrides !== undefined &&
|
|
3714
|
-
input.PortOverrides !== null && {
|
|
3695
|
+
})), (input.EndpointGroupRegion != null && { EndpointGroupRegion: input.EndpointGroupRegion })), (input.HealthCheckIntervalSeconds != null && { HealthCheckIntervalSeconds: input.HealthCheckIntervalSeconds })), (input.HealthCheckPath != null && { HealthCheckPath: input.HealthCheckPath })), (input.HealthCheckPort != null && { HealthCheckPort: input.HealthCheckPort })), (input.HealthCheckProtocol != null && { HealthCheckProtocol: input.HealthCheckProtocol })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.ListenerArn != null && { ListenerArn: input.ListenerArn })), (input.PortOverrides != null && {
|
|
3715
3696
|
PortOverrides: serializeAws_json1_1PortOverrides(input.PortOverrides, context),
|
|
3716
|
-
})), (input.ThresholdCount
|
|
3717
|
-
|
|
3718
|
-
|
|
3697
|
+
})), (input.ThresholdCount != null && { ThresholdCount: input.ThresholdCount })), (input.TrafficDialPercentage != null && {
|
|
3698
|
+
TrafficDialPercentage: __serializeFloat(input.TrafficDialPercentage),
|
|
3699
|
+
}));
|
|
3719
3700
|
};
|
|
3720
3701
|
var serializeAws_json1_1CreateListenerRequest = function (input, context) {
|
|
3721
3702
|
var _a;
|
|
3722
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorArn !==
|
|
3723
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn })), (input.ClientAffinity !== undefined &&
|
|
3724
|
-
input.ClientAffinity !== null && { ClientAffinity: input.ClientAffinity })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.PortRanges !== undefined &&
|
|
3725
|
-
input.PortRanges !== null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) })), (input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol }));
|
|
3703
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn })), (input.ClientAffinity != null && { ClientAffinity: input.ClientAffinity })), { IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.PortRanges != null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) })), (input.Protocol != null && { Protocol: input.Protocol }));
|
|
3726
3704
|
};
|
|
3727
3705
|
var serializeAws_json1_1CustomRoutingDestinationConfiguration = function (input, context) {
|
|
3728
|
-
return __assign(__assign(__assign({}, (input.FromPort
|
|
3729
|
-
input.Protocols !== null && { Protocols: serializeAws_json1_1CustomRoutingProtocols(input.Protocols, context) })), (input.ToPort !== undefined && input.ToPort !== null && { ToPort: input.ToPort }));
|
|
3706
|
+
return __assign(__assign(__assign({}, (input.FromPort != null && { FromPort: input.FromPort })), (input.Protocols != null && { Protocols: serializeAws_json1_1CustomRoutingProtocols(input.Protocols, context) })), (input.ToPort != null && { ToPort: input.ToPort }));
|
|
3730
3707
|
};
|
|
3731
3708
|
var serializeAws_json1_1CustomRoutingDestinationConfigurations = function (input, context) {
|
|
3732
3709
|
return input
|
|
@@ -3739,7 +3716,7 @@ var serializeAws_json1_1CustomRoutingDestinationConfigurations = function (input
|
|
|
3739
3716
|
});
|
|
3740
3717
|
};
|
|
3741
3718
|
var serializeAws_json1_1CustomRoutingEndpointConfiguration = function (input, context) {
|
|
3742
|
-
return __assign({}, (input.EndpointId
|
|
3719
|
+
return __assign({}, (input.EndpointId != null && { EndpointId: input.EndpointId }));
|
|
3743
3720
|
};
|
|
3744
3721
|
var serializeAws_json1_1CustomRoutingEndpointConfigurations = function (input, context) {
|
|
3745
3722
|
return input
|
|
@@ -3762,70 +3739,56 @@ var serializeAws_json1_1CustomRoutingProtocols = function (input, context) {
|
|
|
3762
3739
|
});
|
|
3763
3740
|
};
|
|
3764
3741
|
var serializeAws_json1_1DeleteAcceleratorRequest = function (input, context) {
|
|
3765
|
-
return __assign({}, (input.AcceleratorArn
|
|
3766
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3742
|
+
return __assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3767
3743
|
};
|
|
3768
3744
|
var serializeAws_json1_1DeleteCustomRoutingAcceleratorRequest = function (input, context) {
|
|
3769
|
-
return __assign({}, (input.AcceleratorArn
|
|
3770
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3745
|
+
return __assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3771
3746
|
};
|
|
3772
3747
|
var serializeAws_json1_1DeleteCustomRoutingEndpointGroupRequest = function (input, context) {
|
|
3773
|
-
return __assign({}, (input.EndpointGroupArn
|
|
3774
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3748
|
+
return __assign({}, (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3775
3749
|
};
|
|
3776
3750
|
var serializeAws_json1_1DeleteCustomRoutingListenerRequest = function (input, context) {
|
|
3777
|
-
return __assign({}, (input.ListenerArn
|
|
3751
|
+
return __assign({}, (input.ListenerArn != null && { ListenerArn: input.ListenerArn }));
|
|
3778
3752
|
};
|
|
3779
3753
|
var serializeAws_json1_1DeleteEndpointGroupRequest = function (input, context) {
|
|
3780
|
-
return __assign({}, (input.EndpointGroupArn
|
|
3781
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3754
|
+
return __assign({}, (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3782
3755
|
};
|
|
3783
3756
|
var serializeAws_json1_1DeleteListenerRequest = function (input, context) {
|
|
3784
|
-
return __assign({}, (input.ListenerArn
|
|
3757
|
+
return __assign({}, (input.ListenerArn != null && { ListenerArn: input.ListenerArn }));
|
|
3785
3758
|
};
|
|
3786
3759
|
var serializeAws_json1_1DenyCustomRoutingTrafficRequest = function (input, context) {
|
|
3787
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DenyAllTrafficToEndpoint
|
|
3788
|
-
input.DenyAllTrafficToEndpoint !== null && { DenyAllTrafficToEndpoint: input.DenyAllTrafficToEndpoint })), (input.DestinationAddresses !== undefined &&
|
|
3789
|
-
input.DestinationAddresses !== null && {
|
|
3760
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DenyAllTrafficToEndpoint != null && { DenyAllTrafficToEndpoint: input.DenyAllTrafficToEndpoint })), (input.DestinationAddresses != null && {
|
|
3790
3761
|
DestinationAddresses: serializeAws_json1_1DestinationAddresses(input.DestinationAddresses, context),
|
|
3791
|
-
})), (input.DestinationPorts
|
|
3792
|
-
input.DestinationPorts !== null && {
|
|
3762
|
+
})), (input.DestinationPorts != null && {
|
|
3793
3763
|
DestinationPorts: serializeAws_json1_1DestinationPorts(input.DestinationPorts, context),
|
|
3794
|
-
})), (input.EndpointGroupArn
|
|
3795
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn })), (input.EndpointId !== undefined && input.EndpointId !== null && { EndpointId: input.EndpointId }));
|
|
3764
|
+
})), (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn })), (input.EndpointId != null && { EndpointId: input.EndpointId }));
|
|
3796
3765
|
};
|
|
3797
3766
|
var serializeAws_json1_1DeprovisionByoipCidrRequest = function (input, context) {
|
|
3798
|
-
return __assign({}, (input.Cidr
|
|
3767
|
+
return __assign({}, (input.Cidr != null && { Cidr: input.Cidr }));
|
|
3799
3768
|
};
|
|
3800
3769
|
var serializeAws_json1_1DescribeAcceleratorAttributesRequest = function (input, context) {
|
|
3801
|
-
return __assign({}, (input.AcceleratorArn
|
|
3802
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3770
|
+
return __assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3803
3771
|
};
|
|
3804
3772
|
var serializeAws_json1_1DescribeAcceleratorRequest = function (input, context) {
|
|
3805
|
-
return __assign({}, (input.AcceleratorArn
|
|
3806
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3773
|
+
return __assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3807
3774
|
};
|
|
3808
3775
|
var serializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesRequest = function (input, context) {
|
|
3809
|
-
return __assign({}, (input.AcceleratorArn
|
|
3810
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3776
|
+
return __assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3811
3777
|
};
|
|
3812
3778
|
var serializeAws_json1_1DescribeCustomRoutingAcceleratorRequest = function (input, context) {
|
|
3813
|
-
return __assign({}, (input.AcceleratorArn
|
|
3814
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3779
|
+
return __assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }));
|
|
3815
3780
|
};
|
|
3816
3781
|
var serializeAws_json1_1DescribeCustomRoutingEndpointGroupRequest = function (input, context) {
|
|
3817
|
-
return __assign({}, (input.EndpointGroupArn
|
|
3818
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3782
|
+
return __assign({}, (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3819
3783
|
};
|
|
3820
3784
|
var serializeAws_json1_1DescribeCustomRoutingListenerRequest = function (input, context) {
|
|
3821
|
-
return __assign({}, (input.ListenerArn
|
|
3785
|
+
return __assign({}, (input.ListenerArn != null && { ListenerArn: input.ListenerArn }));
|
|
3822
3786
|
};
|
|
3823
3787
|
var serializeAws_json1_1DescribeEndpointGroupRequest = function (input, context) {
|
|
3824
|
-
return __assign({}, (input.EndpointGroupArn
|
|
3825
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3788
|
+
return __assign({}, (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }));
|
|
3826
3789
|
};
|
|
3827
3790
|
var serializeAws_json1_1DescribeListenerRequest = function (input, context) {
|
|
3828
|
-
return __assign({}, (input.ListenerArn
|
|
3791
|
+
return __assign({}, (input.ListenerArn != null && { ListenerArn: input.ListenerArn }));
|
|
3829
3792
|
};
|
|
3830
3793
|
var serializeAws_json1_1DestinationAddresses = function (input, context) {
|
|
3831
3794
|
return input
|
|
@@ -3848,8 +3811,9 @@ var serializeAws_json1_1DestinationPorts = function (input, context) {
|
|
|
3848
3811
|
});
|
|
3849
3812
|
};
|
|
3850
3813
|
var serializeAws_json1_1EndpointConfiguration = function (input, context) {
|
|
3851
|
-
return __assign(__assign(__assign({}, (input.ClientIPPreservationEnabled
|
|
3852
|
-
|
|
3814
|
+
return __assign(__assign(__assign({}, (input.ClientIPPreservationEnabled != null && {
|
|
3815
|
+
ClientIPPreservationEnabled: input.ClientIPPreservationEnabled,
|
|
3816
|
+
})), (input.EndpointId != null && { EndpointId: input.EndpointId })), (input.Weight != null && { Weight: input.Weight }));
|
|
3853
3817
|
};
|
|
3854
3818
|
var serializeAws_json1_1EndpointConfigurations = function (input, context) {
|
|
3855
3819
|
return input
|
|
@@ -3882,42 +3846,37 @@ var serializeAws_json1_1IpAddresses = function (input, context) {
|
|
|
3882
3846
|
});
|
|
3883
3847
|
};
|
|
3884
3848
|
var serializeAws_json1_1ListAcceleratorsRequest = function (input, context) {
|
|
3885
|
-
return __assign(__assign({}, (input.MaxResults
|
|
3849
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3886
3850
|
};
|
|
3887
3851
|
var serializeAws_json1_1ListByoipCidrsRequest = function (input, context) {
|
|
3888
|
-
return __assign(__assign({}, (input.MaxResults
|
|
3852
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3889
3853
|
};
|
|
3890
3854
|
var serializeAws_json1_1ListCustomRoutingAcceleratorsRequest = function (input, context) {
|
|
3891
|
-
return __assign(__assign({}, (input.MaxResults
|
|
3855
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3892
3856
|
};
|
|
3893
3857
|
var serializeAws_json1_1ListCustomRoutingEndpointGroupsRequest = function (input, context) {
|
|
3894
|
-
return __assign(__assign(__assign({}, (input.ListenerArn
|
|
3858
|
+
return __assign(__assign(__assign({}, (input.ListenerArn != null && { ListenerArn: input.ListenerArn })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3895
3859
|
};
|
|
3896
3860
|
var serializeAws_json1_1ListCustomRoutingListenersRequest = function (input, context) {
|
|
3897
|
-
return __assign(__assign(__assign({}, (input.AcceleratorArn
|
|
3898
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3861
|
+
return __assign(__assign(__assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3899
3862
|
};
|
|
3900
3863
|
var serializeAws_json1_1ListCustomRoutingPortMappingsByDestinationRequest = function (input, context) {
|
|
3901
|
-
return __assign(__assign(__assign(__assign({}, (input.DestinationAddress
|
|
3902
|
-
input.DestinationAddress !== null && { DestinationAddress: input.DestinationAddress })), (input.EndpointId !== undefined && input.EndpointId !== null && { EndpointId: input.EndpointId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3864
|
+
return __assign(__assign(__assign(__assign({}, (input.DestinationAddress != null && { DestinationAddress: input.DestinationAddress })), (input.EndpointId != null && { EndpointId: input.EndpointId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3903
3865
|
};
|
|
3904
3866
|
var serializeAws_json1_1ListCustomRoutingPortMappingsRequest = function (input, context) {
|
|
3905
|
-
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn
|
|
3906
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn })), (input.EndpointGroupArn !== undefined &&
|
|
3907
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3867
|
+
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn })), (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3908
3868
|
};
|
|
3909
3869
|
var serializeAws_json1_1ListEndpointGroupsRequest = function (input, context) {
|
|
3910
|
-
return __assign(__assign(__assign({}, (input.ListenerArn
|
|
3870
|
+
return __assign(__assign(__assign({}, (input.ListenerArn != null && { ListenerArn: input.ListenerArn })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3911
3871
|
};
|
|
3912
3872
|
var serializeAws_json1_1ListListenersRequest = function (input, context) {
|
|
3913
|
-
return __assign(__assign(__assign({}, (input.AcceleratorArn
|
|
3914
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3873
|
+
return __assign(__assign(__assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3915
3874
|
};
|
|
3916
3875
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
3917
|
-
return __assign({}, (input.ResourceArn
|
|
3876
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
3918
3877
|
};
|
|
3919
3878
|
var serializeAws_json1_1PortOverride = function (input, context) {
|
|
3920
|
-
return __assign(__assign({}, (input.EndpointPort
|
|
3879
|
+
return __assign(__assign({}, (input.EndpointPort != null && { EndpointPort: input.EndpointPort })), (input.ListenerPort != null && { ListenerPort: input.ListenerPort }));
|
|
3921
3880
|
};
|
|
3922
3881
|
var serializeAws_json1_1PortOverrides = function (input, context) {
|
|
3923
3882
|
return input
|
|
@@ -3930,7 +3889,7 @@ var serializeAws_json1_1PortOverrides = function (input, context) {
|
|
|
3930
3889
|
});
|
|
3931
3890
|
};
|
|
3932
3891
|
var serializeAws_json1_1PortRange = function (input, context) {
|
|
3933
|
-
return __assign(__assign({}, (input.FromPort
|
|
3892
|
+
return __assign(__assign({}, (input.FromPort != null && { FromPort: input.FromPort })), (input.ToPort != null && { ToPort: input.ToPort }));
|
|
3934
3893
|
};
|
|
3935
3894
|
var serializeAws_json1_1PortRanges = function (input, context) {
|
|
3936
3895
|
return input
|
|
@@ -3943,18 +3902,15 @@ var serializeAws_json1_1PortRanges = function (input, context) {
|
|
|
3943
3902
|
});
|
|
3944
3903
|
};
|
|
3945
3904
|
var serializeAws_json1_1ProvisionByoipCidrRequest = function (input, context) {
|
|
3946
|
-
return __assign(__assign({}, (input.Cidr
|
|
3947
|
-
input.CidrAuthorizationContext !== null && {
|
|
3905
|
+
return __assign(__assign({}, (input.Cidr != null && { Cidr: input.Cidr })), (input.CidrAuthorizationContext != null && {
|
|
3948
3906
|
CidrAuthorizationContext: serializeAws_json1_1CidrAuthorizationContext(input.CidrAuthorizationContext, context),
|
|
3949
3907
|
}));
|
|
3950
3908
|
};
|
|
3951
3909
|
var serializeAws_json1_1RemoveCustomRoutingEndpointsRequest = function (input, context) {
|
|
3952
|
-
return __assign(__assign({}, (input.EndpointGroupArn
|
|
3953
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn })), (input.EndpointIds !== undefined &&
|
|
3954
|
-
input.EndpointIds !== null && { EndpointIds: serializeAws_json1_1EndpointIds(input.EndpointIds, context) }));
|
|
3910
|
+
return __assign(__assign({}, (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn })), (input.EndpointIds != null && { EndpointIds: serializeAws_json1_1EndpointIds(input.EndpointIds, context) }));
|
|
3955
3911
|
};
|
|
3956
3912
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
3957
|
-
return __assign(__assign({}, (input.Key
|
|
3913
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
3958
3914
|
};
|
|
3959
3915
|
var serializeAws_json1_1TagKeys = function (input, context) {
|
|
3960
3916
|
return input
|
|
@@ -3967,7 +3923,7 @@ var serializeAws_json1_1TagKeys = function (input, context) {
|
|
|
3967
3923
|
});
|
|
3968
3924
|
};
|
|
3969
3925
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
3970
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3926
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3971
3927
|
};
|
|
3972
3928
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
3973
3929
|
return input
|
|
@@ -3980,72 +3936,49 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
3980
3936
|
});
|
|
3981
3937
|
};
|
|
3982
3938
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
3983
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3984
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
3939
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
3985
3940
|
};
|
|
3986
3941
|
var serializeAws_json1_1UpdateAcceleratorAttributesRequest = function (input, context) {
|
|
3987
|
-
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn
|
|
3988
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn })), (input.FlowLogsEnabled !== undefined &&
|
|
3989
|
-
input.FlowLogsEnabled !== null && { FlowLogsEnabled: input.FlowLogsEnabled })), (input.FlowLogsS3Bucket !== undefined &&
|
|
3990
|
-
input.FlowLogsS3Bucket !== null && { FlowLogsS3Bucket: input.FlowLogsS3Bucket })), (input.FlowLogsS3Prefix !== undefined &&
|
|
3991
|
-
input.FlowLogsS3Prefix !== null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }));
|
|
3942
|
+
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn })), (input.FlowLogsEnabled != null && { FlowLogsEnabled: input.FlowLogsEnabled })), (input.FlowLogsS3Bucket != null && { FlowLogsS3Bucket: input.FlowLogsS3Bucket })), (input.FlowLogsS3Prefix != null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }));
|
|
3992
3943
|
};
|
|
3993
3944
|
var serializeAws_json1_1UpdateAcceleratorRequest = function (input, context) {
|
|
3994
|
-
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn
|
|
3995
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn })), (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled })), (input.IpAddressType !== undefined && input.IpAddressType !== null && { IpAddressType: input.IpAddressType })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
3945
|
+
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn })), (input.Enabled != null && { Enabled: input.Enabled })), (input.IpAddressType != null && { IpAddressType: input.IpAddressType })), (input.Name != null && { Name: input.Name }));
|
|
3996
3946
|
};
|
|
3997
3947
|
var serializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesRequest = function (input, context) {
|
|
3998
|
-
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn
|
|
3999
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn })), (input.FlowLogsEnabled !== undefined &&
|
|
4000
|
-
input.FlowLogsEnabled !== null && { FlowLogsEnabled: input.FlowLogsEnabled })), (input.FlowLogsS3Bucket !== undefined &&
|
|
4001
|
-
input.FlowLogsS3Bucket !== null && { FlowLogsS3Bucket: input.FlowLogsS3Bucket })), (input.FlowLogsS3Prefix !== undefined &&
|
|
4002
|
-
input.FlowLogsS3Prefix !== null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }));
|
|
3948
|
+
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn })), (input.FlowLogsEnabled != null && { FlowLogsEnabled: input.FlowLogsEnabled })), (input.FlowLogsS3Bucket != null && { FlowLogsS3Bucket: input.FlowLogsS3Bucket })), (input.FlowLogsS3Prefix != null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }));
|
|
4003
3949
|
};
|
|
4004
3950
|
var serializeAws_json1_1UpdateCustomRoutingAcceleratorRequest = function (input, context) {
|
|
4005
|
-
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn
|
|
4006
|
-
input.AcceleratorArn !== null && { AcceleratorArn: input.AcceleratorArn })), (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled })), (input.IpAddressType !== undefined && input.IpAddressType !== null && { IpAddressType: input.IpAddressType })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
3951
|
+
return __assign(__assign(__assign(__assign({}, (input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn })), (input.Enabled != null && { Enabled: input.Enabled })), (input.IpAddressType != null && { IpAddressType: input.IpAddressType })), (input.Name != null && { Name: input.Name }));
|
|
4007
3952
|
};
|
|
4008
3953
|
var serializeAws_json1_1UpdateCustomRoutingListenerRequest = function (input, context) {
|
|
4009
|
-
return __assign(__assign({}, (input.ListenerArn
|
|
4010
|
-
input.PortRanges !== null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) }));
|
|
3954
|
+
return __assign(__assign({}, (input.ListenerArn != null && { ListenerArn: input.ListenerArn })), (input.PortRanges != null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) }));
|
|
4011
3955
|
};
|
|
4012
3956
|
var serializeAws_json1_1UpdateEndpointGroupRequest = function (input, context) {
|
|
4013
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndpointConfigurations
|
|
4014
|
-
input.EndpointConfigurations !== null && {
|
|
3957
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndpointConfigurations != null && {
|
|
4015
3958
|
EndpointConfigurations: serializeAws_json1_1EndpointConfigurations(input.EndpointConfigurations, context),
|
|
4016
|
-
})), (input.EndpointGroupArn
|
|
4017
|
-
input.EndpointGroupArn !== null && { EndpointGroupArn: input.EndpointGroupArn })), (input.HealthCheckIntervalSeconds !== undefined &&
|
|
4018
|
-
input.HealthCheckIntervalSeconds !== null && { HealthCheckIntervalSeconds: input.HealthCheckIntervalSeconds })), (input.HealthCheckPath !== undefined &&
|
|
4019
|
-
input.HealthCheckPath !== null && { HealthCheckPath: input.HealthCheckPath })), (input.HealthCheckPort !== undefined &&
|
|
4020
|
-
input.HealthCheckPort !== null && { HealthCheckPort: input.HealthCheckPort })), (input.HealthCheckProtocol !== undefined &&
|
|
4021
|
-
input.HealthCheckProtocol !== null && { HealthCheckProtocol: input.HealthCheckProtocol })), (input.PortOverrides !== undefined &&
|
|
4022
|
-
input.PortOverrides !== null && {
|
|
3959
|
+
})), (input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn })), (input.HealthCheckIntervalSeconds != null && { HealthCheckIntervalSeconds: input.HealthCheckIntervalSeconds })), (input.HealthCheckPath != null && { HealthCheckPath: input.HealthCheckPath })), (input.HealthCheckPort != null && { HealthCheckPort: input.HealthCheckPort })), (input.HealthCheckProtocol != null && { HealthCheckProtocol: input.HealthCheckProtocol })), (input.PortOverrides != null && {
|
|
4023
3960
|
PortOverrides: serializeAws_json1_1PortOverrides(input.PortOverrides, context),
|
|
4024
|
-
})), (input.ThresholdCount
|
|
4025
|
-
|
|
4026
|
-
|
|
3961
|
+
})), (input.ThresholdCount != null && { ThresholdCount: input.ThresholdCount })), (input.TrafficDialPercentage != null && {
|
|
3962
|
+
TrafficDialPercentage: __serializeFloat(input.TrafficDialPercentage),
|
|
3963
|
+
}));
|
|
4027
3964
|
};
|
|
4028
3965
|
var serializeAws_json1_1UpdateListenerRequest = function (input, context) {
|
|
4029
|
-
return __assign(__assign(__assign(__assign({}, (input.ClientAffinity
|
|
4030
|
-
input.ClientAffinity !== null && { ClientAffinity: input.ClientAffinity })), (input.ListenerArn !== undefined && input.ListenerArn !== null && { ListenerArn: input.ListenerArn })), (input.PortRanges !== undefined &&
|
|
4031
|
-
input.PortRanges !== null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) })), (input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol }));
|
|
3966
|
+
return __assign(__assign(__assign(__assign({}, (input.ClientAffinity != null && { ClientAffinity: input.ClientAffinity })), (input.ListenerArn != null && { ListenerArn: input.ListenerArn })), (input.PortRanges != null && { PortRanges: serializeAws_json1_1PortRanges(input.PortRanges, context) })), (input.Protocol != null && { Protocol: input.Protocol }));
|
|
4032
3967
|
};
|
|
4033
3968
|
var serializeAws_json1_1WithdrawByoipCidrRequest = function (input, context) {
|
|
4034
|
-
return __assign({}, (input.Cidr
|
|
3969
|
+
return __assign({}, (input.Cidr != null && { Cidr: input.Cidr }));
|
|
4035
3970
|
};
|
|
4036
3971
|
var deserializeAws_json1_1Accelerator = function (output, context) {
|
|
4037
3972
|
return {
|
|
4038
3973
|
AcceleratorArn: __expectString(output.AcceleratorArn),
|
|
4039
|
-
CreatedTime: output.CreatedTime
|
|
3974
|
+
CreatedTime: output.CreatedTime != null
|
|
4040
3975
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
4041
3976
|
: undefined,
|
|
4042
3977
|
DnsName: __expectString(output.DnsName),
|
|
4043
3978
|
Enabled: __expectBoolean(output.Enabled),
|
|
4044
3979
|
IpAddressType: __expectString(output.IpAddressType),
|
|
4045
|
-
IpSets: output.IpSets
|
|
4046
|
-
|
|
4047
|
-
: undefined,
|
|
4048
|
-
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
3980
|
+
IpSets: output.IpSets != null ? deserializeAws_json1_1IpSets(output.IpSets, context) : undefined,
|
|
3981
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4049
3982
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4050
3983
|
: undefined,
|
|
4051
3984
|
Name: __expectString(output.Name),
|
|
@@ -4087,7 +4020,7 @@ var deserializeAws_json1_1AccessDeniedException = function (output, context) {
|
|
|
4087
4020
|
};
|
|
4088
4021
|
var deserializeAws_json1_1AddCustomRoutingEndpointsResponse = function (output, context) {
|
|
4089
4022
|
return {
|
|
4090
|
-
EndpointDescriptions: output.EndpointDescriptions
|
|
4023
|
+
EndpointDescriptions: output.EndpointDescriptions != null
|
|
4091
4024
|
? deserializeAws_json1_1CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
|
|
4092
4025
|
: undefined,
|
|
4093
4026
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
@@ -4095,9 +4028,7 @@ var deserializeAws_json1_1AddCustomRoutingEndpointsResponse = function (output,
|
|
|
4095
4028
|
};
|
|
4096
4029
|
var deserializeAws_json1_1AdvertiseByoipCidrResponse = function (output, context) {
|
|
4097
4030
|
return {
|
|
4098
|
-
ByoipCidr: output.ByoipCidr
|
|
4099
|
-
? deserializeAws_json1_1ByoipCidr(output.ByoipCidr, context)
|
|
4100
|
-
: undefined,
|
|
4031
|
+
ByoipCidr: output.ByoipCidr != null ? deserializeAws_json1_1ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
4101
4032
|
};
|
|
4102
4033
|
};
|
|
4103
4034
|
var deserializeAws_json1_1AssociatedEndpointGroupFoundException = function (output, context) {
|
|
@@ -4113,18 +4044,14 @@ var deserializeAws_json1_1AssociatedListenerFoundException = function (output, c
|
|
|
4113
4044
|
var deserializeAws_json1_1ByoipCidr = function (output, context) {
|
|
4114
4045
|
return {
|
|
4115
4046
|
Cidr: __expectString(output.Cidr),
|
|
4116
|
-
Events: output.Events
|
|
4117
|
-
? deserializeAws_json1_1ByoipCidrEvents(output.Events, context)
|
|
4118
|
-
: undefined,
|
|
4047
|
+
Events: output.Events != null ? deserializeAws_json1_1ByoipCidrEvents(output.Events, context) : undefined,
|
|
4119
4048
|
State: __expectString(output.State),
|
|
4120
4049
|
};
|
|
4121
4050
|
};
|
|
4122
4051
|
var deserializeAws_json1_1ByoipCidrEvent = function (output, context) {
|
|
4123
4052
|
return {
|
|
4124
4053
|
Message: __expectString(output.Message),
|
|
4125
|
-
Timestamp: output.Timestamp
|
|
4126
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp)))
|
|
4127
|
-
: undefined,
|
|
4054
|
+
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
4128
4055
|
};
|
|
4129
4056
|
};
|
|
4130
4057
|
var deserializeAws_json1_1ByoipCidrEvents = function (output, context) {
|
|
@@ -4161,59 +4088,49 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
4161
4088
|
};
|
|
4162
4089
|
var deserializeAws_json1_1CreateAcceleratorResponse = function (output, context) {
|
|
4163
4090
|
return {
|
|
4164
|
-
Accelerator: output.Accelerator
|
|
4165
|
-
? deserializeAws_json1_1Accelerator(output.Accelerator, context)
|
|
4166
|
-
: undefined,
|
|
4091
|
+
Accelerator: output.Accelerator != null ? deserializeAws_json1_1Accelerator(output.Accelerator, context) : undefined,
|
|
4167
4092
|
};
|
|
4168
4093
|
};
|
|
4169
4094
|
var deserializeAws_json1_1CreateCustomRoutingAcceleratorResponse = function (output, context) {
|
|
4170
4095
|
return {
|
|
4171
|
-
Accelerator: output.Accelerator
|
|
4096
|
+
Accelerator: output.Accelerator != null
|
|
4172
4097
|
? deserializeAws_json1_1CustomRoutingAccelerator(output.Accelerator, context)
|
|
4173
4098
|
: undefined,
|
|
4174
4099
|
};
|
|
4175
4100
|
};
|
|
4176
4101
|
var deserializeAws_json1_1CreateCustomRoutingEndpointGroupResponse = function (output, context) {
|
|
4177
4102
|
return {
|
|
4178
|
-
EndpointGroup: output.EndpointGroup
|
|
4103
|
+
EndpointGroup: output.EndpointGroup != null
|
|
4179
4104
|
? deserializeAws_json1_1CustomRoutingEndpointGroup(output.EndpointGroup, context)
|
|
4180
4105
|
: undefined,
|
|
4181
4106
|
};
|
|
4182
4107
|
};
|
|
4183
4108
|
var deserializeAws_json1_1CreateCustomRoutingListenerResponse = function (output, context) {
|
|
4184
4109
|
return {
|
|
4185
|
-
Listener: output.Listener
|
|
4186
|
-
? deserializeAws_json1_1CustomRoutingListener(output.Listener, context)
|
|
4187
|
-
: undefined,
|
|
4110
|
+
Listener: output.Listener != null ? deserializeAws_json1_1CustomRoutingListener(output.Listener, context) : undefined,
|
|
4188
4111
|
};
|
|
4189
4112
|
};
|
|
4190
4113
|
var deserializeAws_json1_1CreateEndpointGroupResponse = function (output, context) {
|
|
4191
4114
|
return {
|
|
4192
|
-
EndpointGroup: output.EndpointGroup
|
|
4193
|
-
? deserializeAws_json1_1EndpointGroup(output.EndpointGroup, context)
|
|
4194
|
-
: undefined,
|
|
4115
|
+
EndpointGroup: output.EndpointGroup != null ? deserializeAws_json1_1EndpointGroup(output.EndpointGroup, context) : undefined,
|
|
4195
4116
|
};
|
|
4196
4117
|
};
|
|
4197
4118
|
var deserializeAws_json1_1CreateListenerResponse = function (output, context) {
|
|
4198
4119
|
return {
|
|
4199
|
-
Listener: output.Listener
|
|
4200
|
-
? deserializeAws_json1_1Listener(output.Listener, context)
|
|
4201
|
-
: undefined,
|
|
4120
|
+
Listener: output.Listener != null ? deserializeAws_json1_1Listener(output.Listener, context) : undefined,
|
|
4202
4121
|
};
|
|
4203
4122
|
};
|
|
4204
4123
|
var deserializeAws_json1_1CustomRoutingAccelerator = function (output, context) {
|
|
4205
4124
|
return {
|
|
4206
4125
|
AcceleratorArn: __expectString(output.AcceleratorArn),
|
|
4207
|
-
CreatedTime: output.CreatedTime
|
|
4126
|
+
CreatedTime: output.CreatedTime != null
|
|
4208
4127
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
4209
4128
|
: undefined,
|
|
4210
4129
|
DnsName: __expectString(output.DnsName),
|
|
4211
4130
|
Enabled: __expectBoolean(output.Enabled),
|
|
4212
4131
|
IpAddressType: __expectString(output.IpAddressType),
|
|
4213
|
-
IpSets: output.IpSets
|
|
4214
|
-
|
|
4215
|
-
: undefined,
|
|
4216
|
-
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4132
|
+
IpSets: output.IpSets != null ? deserializeAws_json1_1IpSets(output.IpSets, context) : undefined,
|
|
4133
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4217
4134
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4218
4135
|
: undefined,
|
|
4219
4136
|
Name: __expectString(output.Name),
|
|
@@ -4241,9 +4158,7 @@ var deserializeAws_json1_1CustomRoutingAccelerators = function (output, context)
|
|
|
4241
4158
|
var deserializeAws_json1_1CustomRoutingDestinationDescription = function (output, context) {
|
|
4242
4159
|
return {
|
|
4243
4160
|
FromPort: __expectInt32(output.FromPort),
|
|
4244
|
-
Protocols: output.Protocols
|
|
4245
|
-
? deserializeAws_json1_1Protocols(output.Protocols, context)
|
|
4246
|
-
: undefined,
|
|
4161
|
+
Protocols: output.Protocols != null ? deserializeAws_json1_1Protocols(output.Protocols, context) : undefined,
|
|
4247
4162
|
ToPort: __expectInt32(output.ToPort),
|
|
4248
4163
|
};
|
|
4249
4164
|
};
|
|
@@ -4276,10 +4191,10 @@ var deserializeAws_json1_1CustomRoutingEndpointDescriptions = function (output,
|
|
|
4276
4191
|
};
|
|
4277
4192
|
var deserializeAws_json1_1CustomRoutingEndpointGroup = function (output, context) {
|
|
4278
4193
|
return {
|
|
4279
|
-
DestinationDescriptions: output.DestinationDescriptions
|
|
4194
|
+
DestinationDescriptions: output.DestinationDescriptions != null
|
|
4280
4195
|
? deserializeAws_json1_1CustomRoutingDestinationDescriptions(output.DestinationDescriptions, context)
|
|
4281
4196
|
: undefined,
|
|
4282
|
-
EndpointDescriptions: output.EndpointDescriptions
|
|
4197
|
+
EndpointDescriptions: output.EndpointDescriptions != null
|
|
4283
4198
|
? deserializeAws_json1_1CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
|
|
4284
4199
|
: undefined,
|
|
4285
4200
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
@@ -4300,9 +4215,7 @@ var deserializeAws_json1_1CustomRoutingEndpointGroups = function (output, contex
|
|
|
4300
4215
|
var deserializeAws_json1_1CustomRoutingListener = function (output, context) {
|
|
4301
4216
|
return {
|
|
4302
4217
|
ListenerArn: __expectString(output.ListenerArn),
|
|
4303
|
-
PortRanges: output.PortRanges
|
|
4304
|
-
? deserializeAws_json1_1PortRanges(output.PortRanges, context)
|
|
4305
|
-
: undefined,
|
|
4218
|
+
PortRanges: output.PortRanges != null ? deserializeAws_json1_1PortRanges(output.PortRanges, context) : undefined,
|
|
4306
4219
|
};
|
|
4307
4220
|
};
|
|
4308
4221
|
var deserializeAws_json1_1CustomRoutingListeners = function (output, context) {
|
|
@@ -4329,74 +4242,64 @@ var deserializeAws_json1_1CustomRoutingProtocols = function (output, context) {
|
|
|
4329
4242
|
};
|
|
4330
4243
|
var deserializeAws_json1_1DeprovisionByoipCidrResponse = function (output, context) {
|
|
4331
4244
|
return {
|
|
4332
|
-
ByoipCidr: output.ByoipCidr
|
|
4333
|
-
? deserializeAws_json1_1ByoipCidr(output.ByoipCidr, context)
|
|
4334
|
-
: undefined,
|
|
4245
|
+
ByoipCidr: output.ByoipCidr != null ? deserializeAws_json1_1ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
4335
4246
|
};
|
|
4336
4247
|
};
|
|
4337
4248
|
var deserializeAws_json1_1DescribeAcceleratorAttributesResponse = function (output, context) {
|
|
4338
4249
|
return {
|
|
4339
|
-
AcceleratorAttributes: output.AcceleratorAttributes
|
|
4250
|
+
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
4340
4251
|
? deserializeAws_json1_1AcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
4341
4252
|
: undefined,
|
|
4342
4253
|
};
|
|
4343
4254
|
};
|
|
4344
4255
|
var deserializeAws_json1_1DescribeAcceleratorResponse = function (output, context) {
|
|
4345
4256
|
return {
|
|
4346
|
-
Accelerator: output.Accelerator
|
|
4347
|
-
? deserializeAws_json1_1Accelerator(output.Accelerator, context)
|
|
4348
|
-
: undefined,
|
|
4257
|
+
Accelerator: output.Accelerator != null ? deserializeAws_json1_1Accelerator(output.Accelerator, context) : undefined,
|
|
4349
4258
|
};
|
|
4350
4259
|
};
|
|
4351
4260
|
var deserializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesResponse = function (output, context) {
|
|
4352
4261
|
return {
|
|
4353
|
-
AcceleratorAttributes: output.AcceleratorAttributes
|
|
4262
|
+
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
4354
4263
|
? deserializeAws_json1_1CustomRoutingAcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
4355
4264
|
: undefined,
|
|
4356
4265
|
};
|
|
4357
4266
|
};
|
|
4358
4267
|
var deserializeAws_json1_1DescribeCustomRoutingAcceleratorResponse = function (output, context) {
|
|
4359
4268
|
return {
|
|
4360
|
-
Accelerator: output.Accelerator
|
|
4269
|
+
Accelerator: output.Accelerator != null
|
|
4361
4270
|
? deserializeAws_json1_1CustomRoutingAccelerator(output.Accelerator, context)
|
|
4362
4271
|
: undefined,
|
|
4363
4272
|
};
|
|
4364
4273
|
};
|
|
4365
4274
|
var deserializeAws_json1_1DescribeCustomRoutingEndpointGroupResponse = function (output, context) {
|
|
4366
4275
|
return {
|
|
4367
|
-
EndpointGroup: output.EndpointGroup
|
|
4276
|
+
EndpointGroup: output.EndpointGroup != null
|
|
4368
4277
|
? deserializeAws_json1_1CustomRoutingEndpointGroup(output.EndpointGroup, context)
|
|
4369
4278
|
: undefined,
|
|
4370
4279
|
};
|
|
4371
4280
|
};
|
|
4372
4281
|
var deserializeAws_json1_1DescribeCustomRoutingListenerResponse = function (output, context) {
|
|
4373
4282
|
return {
|
|
4374
|
-
Listener: output.Listener
|
|
4375
|
-
? deserializeAws_json1_1CustomRoutingListener(output.Listener, context)
|
|
4376
|
-
: undefined,
|
|
4283
|
+
Listener: output.Listener != null ? deserializeAws_json1_1CustomRoutingListener(output.Listener, context) : undefined,
|
|
4377
4284
|
};
|
|
4378
4285
|
};
|
|
4379
4286
|
var deserializeAws_json1_1DescribeEndpointGroupResponse = function (output, context) {
|
|
4380
4287
|
return {
|
|
4381
|
-
EndpointGroup: output.EndpointGroup
|
|
4382
|
-
? deserializeAws_json1_1EndpointGroup(output.EndpointGroup, context)
|
|
4383
|
-
: undefined,
|
|
4288
|
+
EndpointGroup: output.EndpointGroup != null ? deserializeAws_json1_1EndpointGroup(output.EndpointGroup, context) : undefined,
|
|
4384
4289
|
};
|
|
4385
4290
|
};
|
|
4386
4291
|
var deserializeAws_json1_1DescribeListenerResponse = function (output, context) {
|
|
4387
4292
|
return {
|
|
4388
|
-
Listener: output.Listener
|
|
4389
|
-
? deserializeAws_json1_1Listener(output.Listener, context)
|
|
4390
|
-
: undefined,
|
|
4293
|
+
Listener: output.Listener != null ? deserializeAws_json1_1Listener(output.Listener, context) : undefined,
|
|
4391
4294
|
};
|
|
4392
4295
|
};
|
|
4393
4296
|
var deserializeAws_json1_1DestinationPortMapping = function (output, context) {
|
|
4394
4297
|
return {
|
|
4395
4298
|
AcceleratorArn: __expectString(output.AcceleratorArn),
|
|
4396
|
-
AcceleratorSocketAddresses: output.AcceleratorSocketAddresses
|
|
4299
|
+
AcceleratorSocketAddresses: output.AcceleratorSocketAddresses != null
|
|
4397
4300
|
? deserializeAws_json1_1SocketAddresses(output.AcceleratorSocketAddresses, context)
|
|
4398
4301
|
: undefined,
|
|
4399
|
-
DestinationSocketAddress: output.DestinationSocketAddress
|
|
4302
|
+
DestinationSocketAddress: output.DestinationSocketAddress != null
|
|
4400
4303
|
? deserializeAws_json1_1SocketAddress(output.DestinationSocketAddress, context)
|
|
4401
4304
|
: undefined,
|
|
4402
4305
|
DestinationTrafficState: __expectString(output.DestinationTrafficState),
|
|
@@ -4444,7 +4347,7 @@ var deserializeAws_json1_1EndpointDescriptions = function (output, context) {
|
|
|
4444
4347
|
};
|
|
4445
4348
|
var deserializeAws_json1_1EndpointGroup = function (output, context) {
|
|
4446
4349
|
return {
|
|
4447
|
-
EndpointDescriptions: output.EndpointDescriptions
|
|
4350
|
+
EndpointDescriptions: output.EndpointDescriptions != null
|
|
4448
4351
|
? deserializeAws_json1_1EndpointDescriptions(output.EndpointDescriptions, context)
|
|
4449
4352
|
: undefined,
|
|
4450
4353
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
@@ -4453,9 +4356,7 @@ var deserializeAws_json1_1EndpointGroup = function (output, context) {
|
|
|
4453
4356
|
HealthCheckPath: __expectString(output.HealthCheckPath),
|
|
4454
4357
|
HealthCheckPort: __expectInt32(output.HealthCheckPort),
|
|
4455
4358
|
HealthCheckProtocol: __expectString(output.HealthCheckProtocol),
|
|
4456
|
-
PortOverrides: output.PortOverrides
|
|
4457
|
-
? deserializeAws_json1_1PortOverrides(output.PortOverrides, context)
|
|
4458
|
-
: undefined,
|
|
4359
|
+
PortOverrides: output.PortOverrides != null ? deserializeAws_json1_1PortOverrides(output.PortOverrides, context) : undefined,
|
|
4459
4360
|
ThresholdCount: __expectInt32(output.ThresholdCount),
|
|
4460
4361
|
TrafficDialPercentage: __limitedParseFloat32(output.TrafficDialPercentage),
|
|
4461
4362
|
};
|
|
@@ -4524,9 +4425,7 @@ var deserializeAws_json1_1IpAddresses = function (output, context) {
|
|
|
4524
4425
|
};
|
|
4525
4426
|
var deserializeAws_json1_1IpSet = function (output, context) {
|
|
4526
4427
|
return {
|
|
4527
|
-
IpAddresses: output.IpAddresses
|
|
4528
|
-
? deserializeAws_json1_1IpAddresses(output.IpAddresses, context)
|
|
4529
|
-
: undefined,
|
|
4428
|
+
IpAddresses: output.IpAddresses != null ? deserializeAws_json1_1IpAddresses(output.IpAddresses, context) : undefined,
|
|
4530
4429
|
IpFamily: __expectString(output.IpFamily),
|
|
4531
4430
|
};
|
|
4532
4431
|
};
|
|
@@ -4548,23 +4447,19 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
4548
4447
|
};
|
|
4549
4448
|
var deserializeAws_json1_1ListAcceleratorsResponse = function (output, context) {
|
|
4550
4449
|
return {
|
|
4551
|
-
Accelerators: output.Accelerators
|
|
4552
|
-
? deserializeAws_json1_1Accelerators(output.Accelerators, context)
|
|
4553
|
-
: undefined,
|
|
4450
|
+
Accelerators: output.Accelerators != null ? deserializeAws_json1_1Accelerators(output.Accelerators, context) : undefined,
|
|
4554
4451
|
NextToken: __expectString(output.NextToken),
|
|
4555
4452
|
};
|
|
4556
4453
|
};
|
|
4557
4454
|
var deserializeAws_json1_1ListByoipCidrsResponse = function (output, context) {
|
|
4558
4455
|
return {
|
|
4559
|
-
ByoipCidrs: output.ByoipCidrs
|
|
4560
|
-
? deserializeAws_json1_1ByoipCidrs(output.ByoipCidrs, context)
|
|
4561
|
-
: undefined,
|
|
4456
|
+
ByoipCidrs: output.ByoipCidrs != null ? deserializeAws_json1_1ByoipCidrs(output.ByoipCidrs, context) : undefined,
|
|
4562
4457
|
NextToken: __expectString(output.NextToken),
|
|
4563
4458
|
};
|
|
4564
4459
|
};
|
|
4565
4460
|
var deserializeAws_json1_1ListCustomRoutingAcceleratorsResponse = function (output, context) {
|
|
4566
4461
|
return {
|
|
4567
|
-
Accelerators: output.Accelerators
|
|
4462
|
+
Accelerators: output.Accelerators != null
|
|
4568
4463
|
? deserializeAws_json1_1CustomRoutingAccelerators(output.Accelerators, context)
|
|
4569
4464
|
: undefined,
|
|
4570
4465
|
NextToken: __expectString(output.NextToken),
|
|
@@ -4572,7 +4467,7 @@ var deserializeAws_json1_1ListCustomRoutingAcceleratorsResponse = function (outp
|
|
|
4572
4467
|
};
|
|
4573
4468
|
var deserializeAws_json1_1ListCustomRoutingEndpointGroupsResponse = function (output, context) {
|
|
4574
4469
|
return {
|
|
4575
|
-
EndpointGroups: output.EndpointGroups
|
|
4470
|
+
EndpointGroups: output.EndpointGroups != null
|
|
4576
4471
|
? deserializeAws_json1_1CustomRoutingEndpointGroups(output.EndpointGroups, context)
|
|
4577
4472
|
: undefined,
|
|
4578
4473
|
NextToken: __expectString(output.NextToken),
|
|
@@ -4580,15 +4475,13 @@ var deserializeAws_json1_1ListCustomRoutingEndpointGroupsResponse = function (ou
|
|
|
4580
4475
|
};
|
|
4581
4476
|
var deserializeAws_json1_1ListCustomRoutingListenersResponse = function (output, context) {
|
|
4582
4477
|
return {
|
|
4583
|
-
Listeners: output.Listeners
|
|
4584
|
-
? deserializeAws_json1_1CustomRoutingListeners(output.Listeners, context)
|
|
4585
|
-
: undefined,
|
|
4478
|
+
Listeners: output.Listeners != null ? deserializeAws_json1_1CustomRoutingListeners(output.Listeners, context) : undefined,
|
|
4586
4479
|
NextToken: __expectString(output.NextToken),
|
|
4587
4480
|
};
|
|
4588
4481
|
};
|
|
4589
4482
|
var deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationResponse = function (output, context) {
|
|
4590
4483
|
return {
|
|
4591
|
-
DestinationPortMappings: output.DestinationPortMappings
|
|
4484
|
+
DestinationPortMappings: output.DestinationPortMappings != null
|
|
4592
4485
|
? deserializeAws_json1_1DestinationPortMappings(output.DestinationPortMappings, context)
|
|
4593
4486
|
: undefined,
|
|
4594
4487
|
NextToken: __expectString(output.NextToken),
|
|
@@ -4597,16 +4490,12 @@ var deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationResponse = f
|
|
|
4597
4490
|
var deserializeAws_json1_1ListCustomRoutingPortMappingsResponse = function (output, context) {
|
|
4598
4491
|
return {
|
|
4599
4492
|
NextToken: __expectString(output.NextToken),
|
|
4600
|
-
PortMappings: output.PortMappings
|
|
4601
|
-
? deserializeAws_json1_1PortMappings(output.PortMappings, context)
|
|
4602
|
-
: undefined,
|
|
4493
|
+
PortMappings: output.PortMappings != null ? deserializeAws_json1_1PortMappings(output.PortMappings, context) : undefined,
|
|
4603
4494
|
};
|
|
4604
4495
|
};
|
|
4605
4496
|
var deserializeAws_json1_1ListEndpointGroupsResponse = function (output, context) {
|
|
4606
4497
|
return {
|
|
4607
|
-
EndpointGroups: output.EndpointGroups
|
|
4608
|
-
? deserializeAws_json1_1EndpointGroups(output.EndpointGroups, context)
|
|
4609
|
-
: undefined,
|
|
4498
|
+
EndpointGroups: output.EndpointGroups != null ? deserializeAws_json1_1EndpointGroups(output.EndpointGroups, context) : undefined,
|
|
4610
4499
|
NextToken: __expectString(output.NextToken),
|
|
4611
4500
|
};
|
|
4612
4501
|
};
|
|
@@ -4614,9 +4503,7 @@ var deserializeAws_json1_1Listener = function (output, context) {
|
|
|
4614
4503
|
return {
|
|
4615
4504
|
ClientAffinity: __expectString(output.ClientAffinity),
|
|
4616
4505
|
ListenerArn: __expectString(output.ListenerArn),
|
|
4617
|
-
PortRanges: output.PortRanges
|
|
4618
|
-
? deserializeAws_json1_1PortRanges(output.PortRanges, context)
|
|
4619
|
-
: undefined,
|
|
4506
|
+
PortRanges: output.PortRanges != null ? deserializeAws_json1_1PortRanges(output.PortRanges, context) : undefined,
|
|
4620
4507
|
Protocol: __expectString(output.Protocol),
|
|
4621
4508
|
};
|
|
4622
4509
|
};
|
|
@@ -4638,29 +4525,25 @@ var deserializeAws_json1_1Listeners = function (output, context) {
|
|
|
4638
4525
|
};
|
|
4639
4526
|
var deserializeAws_json1_1ListListenersResponse = function (output, context) {
|
|
4640
4527
|
return {
|
|
4641
|
-
Listeners: output.Listeners
|
|
4642
|
-
? deserializeAws_json1_1Listeners(output.Listeners, context)
|
|
4643
|
-
: undefined,
|
|
4528
|
+
Listeners: output.Listeners != null ? deserializeAws_json1_1Listeners(output.Listeners, context) : undefined,
|
|
4644
4529
|
NextToken: __expectString(output.NextToken),
|
|
4645
4530
|
};
|
|
4646
4531
|
};
|
|
4647
4532
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
4648
4533
|
return {
|
|
4649
|
-
Tags: output.Tags
|
|
4534
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4650
4535
|
};
|
|
4651
4536
|
};
|
|
4652
4537
|
var deserializeAws_json1_1PortMapping = function (output, context) {
|
|
4653
4538
|
return {
|
|
4654
4539
|
AcceleratorPort: __expectInt32(output.AcceleratorPort),
|
|
4655
|
-
DestinationSocketAddress: output.DestinationSocketAddress
|
|
4540
|
+
DestinationSocketAddress: output.DestinationSocketAddress != null
|
|
4656
4541
|
? deserializeAws_json1_1SocketAddress(output.DestinationSocketAddress, context)
|
|
4657
4542
|
: undefined,
|
|
4658
4543
|
DestinationTrafficState: __expectString(output.DestinationTrafficState),
|
|
4659
4544
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
4660
4545
|
EndpointId: __expectString(output.EndpointId),
|
|
4661
|
-
Protocols: output.Protocols
|
|
4662
|
-
? deserializeAws_json1_1CustomRoutingProtocols(output.Protocols, context)
|
|
4663
|
-
: undefined,
|
|
4546
|
+
Protocols: output.Protocols != null ? deserializeAws_json1_1CustomRoutingProtocols(output.Protocols, context) : undefined,
|
|
4664
4547
|
};
|
|
4665
4548
|
};
|
|
4666
4549
|
var deserializeAws_json1_1PortMappings = function (output, context) {
|
|
@@ -4721,9 +4604,7 @@ var deserializeAws_json1_1Protocols = function (output, context) {
|
|
|
4721
4604
|
};
|
|
4722
4605
|
var deserializeAws_json1_1ProvisionByoipCidrResponse = function (output, context) {
|
|
4723
4606
|
return {
|
|
4724
|
-
ByoipCidr: output.ByoipCidr
|
|
4725
|
-
? deserializeAws_json1_1ByoipCidr(output.ByoipCidr, context)
|
|
4726
|
-
: undefined,
|
|
4607
|
+
ByoipCidr: output.ByoipCidr != null ? deserializeAws_json1_1ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
4727
4608
|
};
|
|
4728
4609
|
};
|
|
4729
4610
|
var deserializeAws_json1_1SocketAddress = function (output, context) {
|
|
@@ -4768,58 +4649,48 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
4768
4649
|
};
|
|
4769
4650
|
var deserializeAws_json1_1UpdateAcceleratorAttributesResponse = function (output, context) {
|
|
4770
4651
|
return {
|
|
4771
|
-
AcceleratorAttributes: output.AcceleratorAttributes
|
|
4652
|
+
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
4772
4653
|
? deserializeAws_json1_1AcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
4773
4654
|
: undefined,
|
|
4774
4655
|
};
|
|
4775
4656
|
};
|
|
4776
4657
|
var deserializeAws_json1_1UpdateAcceleratorResponse = function (output, context) {
|
|
4777
4658
|
return {
|
|
4778
|
-
Accelerator: output.Accelerator
|
|
4779
|
-
? deserializeAws_json1_1Accelerator(output.Accelerator, context)
|
|
4780
|
-
: undefined,
|
|
4659
|
+
Accelerator: output.Accelerator != null ? deserializeAws_json1_1Accelerator(output.Accelerator, context) : undefined,
|
|
4781
4660
|
};
|
|
4782
4661
|
};
|
|
4783
4662
|
var deserializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesResponse = function (output, context) {
|
|
4784
4663
|
return {
|
|
4785
|
-
AcceleratorAttributes: output.AcceleratorAttributes
|
|
4664
|
+
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
4786
4665
|
? deserializeAws_json1_1CustomRoutingAcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
4787
4666
|
: undefined,
|
|
4788
4667
|
};
|
|
4789
4668
|
};
|
|
4790
4669
|
var deserializeAws_json1_1UpdateCustomRoutingAcceleratorResponse = function (output, context) {
|
|
4791
4670
|
return {
|
|
4792
|
-
Accelerator: output.Accelerator
|
|
4671
|
+
Accelerator: output.Accelerator != null
|
|
4793
4672
|
? deserializeAws_json1_1CustomRoutingAccelerator(output.Accelerator, context)
|
|
4794
4673
|
: undefined,
|
|
4795
4674
|
};
|
|
4796
4675
|
};
|
|
4797
4676
|
var deserializeAws_json1_1UpdateCustomRoutingListenerResponse = function (output, context) {
|
|
4798
4677
|
return {
|
|
4799
|
-
Listener: output.Listener
|
|
4800
|
-
? deserializeAws_json1_1CustomRoutingListener(output.Listener, context)
|
|
4801
|
-
: undefined,
|
|
4678
|
+
Listener: output.Listener != null ? deserializeAws_json1_1CustomRoutingListener(output.Listener, context) : undefined,
|
|
4802
4679
|
};
|
|
4803
4680
|
};
|
|
4804
4681
|
var deserializeAws_json1_1UpdateEndpointGroupResponse = function (output, context) {
|
|
4805
4682
|
return {
|
|
4806
|
-
EndpointGroup: output.EndpointGroup
|
|
4807
|
-
? deserializeAws_json1_1EndpointGroup(output.EndpointGroup, context)
|
|
4808
|
-
: undefined,
|
|
4683
|
+
EndpointGroup: output.EndpointGroup != null ? deserializeAws_json1_1EndpointGroup(output.EndpointGroup, context) : undefined,
|
|
4809
4684
|
};
|
|
4810
4685
|
};
|
|
4811
4686
|
var deserializeAws_json1_1UpdateListenerResponse = function (output, context) {
|
|
4812
4687
|
return {
|
|
4813
|
-
Listener: output.Listener
|
|
4814
|
-
? deserializeAws_json1_1Listener(output.Listener, context)
|
|
4815
|
-
: undefined,
|
|
4688
|
+
Listener: output.Listener != null ? deserializeAws_json1_1Listener(output.Listener, context) : undefined,
|
|
4816
4689
|
};
|
|
4817
4690
|
};
|
|
4818
4691
|
var deserializeAws_json1_1WithdrawByoipCidrResponse = function (output, context) {
|
|
4819
4692
|
return {
|
|
4820
|
-
ByoipCidr: output.ByoipCidr
|
|
4821
|
-
? deserializeAws_json1_1ByoipCidr(output.ByoipCidr, context)
|
|
4822
|
-
: undefined,
|
|
4693
|
+
ByoipCidr: output.ByoipCidr != null ? deserializeAws_json1_1ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
4823
4694
|
};
|
|
4824
4695
|
};
|
|
4825
4696
|
var deserializeMetadata = function (output) {
|
|
@@ -4878,6 +4749,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4878
4749
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
4879
4750
|
var sanitizeErrorCode = function (rawValue) {
|
|
4880
4751
|
var cleanValue = rawValue;
|
|
4752
|
+
if (typeof cleanValue === "number") {
|
|
4753
|
+
cleanValue = cleanValue.toString();
|
|
4754
|
+
}
|
|
4881
4755
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4882
4756
|
cleanValue = cleanValue.split(":")[0];
|
|
4883
4757
|
}
|