@aws-sdk/client-memorydb 3.121.0 → 3.127.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 +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +208 -342
- package/dist-es/protocols/Aws_json1_1.js +116 -250
- package/package.json +26 -26
|
@@ -2589,19 +2589,16 @@ const deserializeAws_json1_1UserQuotaExceededFaultResponse = async (parsedOutput
|
|
|
2589
2589
|
};
|
|
2590
2590
|
const serializeAws_json1_1AuthenticationMode = (input, context) => {
|
|
2591
2591
|
return {
|
|
2592
|
-
...(input.Passwords
|
|
2593
|
-
|
|
2594
|
-
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
2592
|
+
...(input.Passwords != null && { Passwords: serializeAws_json1_1PasswordListInput(input.Passwords, context) }),
|
|
2593
|
+
...(input.Type != null && { Type: input.Type }),
|
|
2595
2594
|
};
|
|
2596
2595
|
};
|
|
2597
2596
|
const serializeAws_json1_1BatchUpdateClusterRequest = (input, context) => {
|
|
2598
2597
|
return {
|
|
2599
|
-
...(input.ClusterNames
|
|
2600
|
-
input.ClusterNames !== null && {
|
|
2598
|
+
...(input.ClusterNames != null && {
|
|
2601
2599
|
ClusterNames: serializeAws_json1_1ClusterNameList(input.ClusterNames, context),
|
|
2602
2600
|
}),
|
|
2603
|
-
...(input.ServiceUpdate
|
|
2604
|
-
input.ServiceUpdate !== null && {
|
|
2601
|
+
...(input.ServiceUpdate != null && {
|
|
2605
2602
|
ServiceUpdate: serializeAws_json1_1ServiceUpdateRequest(input.ServiceUpdate, context),
|
|
2606
2603
|
}),
|
|
2607
2604
|
};
|
|
@@ -2618,240 +2615,209 @@ const serializeAws_json1_1ClusterNameList = (input, context) => {
|
|
|
2618
2615
|
};
|
|
2619
2616
|
const serializeAws_json1_1CopySnapshotRequest = (input, context) => {
|
|
2620
2617
|
return {
|
|
2621
|
-
...(input.KmsKeyId
|
|
2622
|
-
...(input.SourceSnapshotName
|
|
2623
|
-
|
|
2624
|
-
...(input.
|
|
2625
|
-
...(input.
|
|
2626
|
-
...(input.TargetSnapshotName !== undefined &&
|
|
2627
|
-
input.TargetSnapshotName !== null && { TargetSnapshotName: input.TargetSnapshotName }),
|
|
2618
|
+
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2619
|
+
...(input.SourceSnapshotName != null && { SourceSnapshotName: input.SourceSnapshotName }),
|
|
2620
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2621
|
+
...(input.TargetBucket != null && { TargetBucket: input.TargetBucket }),
|
|
2622
|
+
...(input.TargetSnapshotName != null && { TargetSnapshotName: input.TargetSnapshotName }),
|
|
2628
2623
|
};
|
|
2629
2624
|
};
|
|
2630
2625
|
const serializeAws_json1_1CreateACLRequest = (input, context) => {
|
|
2631
2626
|
return {
|
|
2632
|
-
...(input.ACLName
|
|
2633
|
-
...(input.Tags
|
|
2634
|
-
...(input.UserNames
|
|
2635
|
-
input.UserNames !== null && { UserNames: serializeAws_json1_1UserNameListInput(input.UserNames, context) }),
|
|
2627
|
+
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2628
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2629
|
+
...(input.UserNames != null && { UserNames: serializeAws_json1_1UserNameListInput(input.UserNames, context) }),
|
|
2636
2630
|
};
|
|
2637
2631
|
};
|
|
2638
2632
|
const serializeAws_json1_1CreateClusterRequest = (input, context) => {
|
|
2639
2633
|
return {
|
|
2640
|
-
...(input.ACLName
|
|
2641
|
-
...(input.AutoMinorVersionUpgrade
|
|
2642
|
-
|
|
2643
|
-
...(input.
|
|
2644
|
-
...(input.
|
|
2645
|
-
...(input.
|
|
2646
|
-
...(input.
|
|
2647
|
-
...(input.
|
|
2648
|
-
|
|
2649
|
-
...(input.
|
|
2650
|
-
...(input.
|
|
2651
|
-
|
|
2652
|
-
...(input.
|
|
2653
|
-
...(input.ParameterGroupName !== undefined &&
|
|
2654
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2655
|
-
...(input.Port !== undefined && input.Port !== null && { Port: input.Port }),
|
|
2656
|
-
...(input.SecurityGroupIds !== undefined &&
|
|
2657
|
-
input.SecurityGroupIds !== null && {
|
|
2634
|
+
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2635
|
+
...(input.AutoMinorVersionUpgrade != null && { AutoMinorVersionUpgrade: input.AutoMinorVersionUpgrade }),
|
|
2636
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2637
|
+
...(input.Description != null && { Description: input.Description }),
|
|
2638
|
+
...(input.EngineVersion != null && { EngineVersion: input.EngineVersion }),
|
|
2639
|
+
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2640
|
+
...(input.MaintenanceWindow != null && { MaintenanceWindow: input.MaintenanceWindow }),
|
|
2641
|
+
...(input.NodeType != null && { NodeType: input.NodeType }),
|
|
2642
|
+
...(input.NumReplicasPerShard != null && { NumReplicasPerShard: input.NumReplicasPerShard }),
|
|
2643
|
+
...(input.NumShards != null && { NumShards: input.NumShards }),
|
|
2644
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2645
|
+
...(input.Port != null && { Port: input.Port }),
|
|
2646
|
+
...(input.SecurityGroupIds != null && {
|
|
2658
2647
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdsList(input.SecurityGroupIds, context),
|
|
2659
2648
|
}),
|
|
2660
|
-
...(input.SnapshotArns
|
|
2661
|
-
input.SnapshotArns !== null && {
|
|
2649
|
+
...(input.SnapshotArns != null && {
|
|
2662
2650
|
SnapshotArns: serializeAws_json1_1SnapshotArnsList(input.SnapshotArns, context),
|
|
2663
2651
|
}),
|
|
2664
|
-
...(input.SnapshotName
|
|
2665
|
-
...(input.SnapshotRetentionLimit
|
|
2666
|
-
|
|
2667
|
-
...(input.
|
|
2668
|
-
|
|
2669
|
-
...(input.
|
|
2670
|
-
...(input.
|
|
2671
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2672
|
-
...(input.TLSEnabled !== undefined && input.TLSEnabled !== null && { TLSEnabled: input.TLSEnabled }),
|
|
2673
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2652
|
+
...(input.SnapshotName != null && { SnapshotName: input.SnapshotName }),
|
|
2653
|
+
...(input.SnapshotRetentionLimit != null && { SnapshotRetentionLimit: input.SnapshotRetentionLimit }),
|
|
2654
|
+
...(input.SnapshotWindow != null && { SnapshotWindow: input.SnapshotWindow }),
|
|
2655
|
+
...(input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }),
|
|
2656
|
+
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2657
|
+
...(input.TLSEnabled != null && { TLSEnabled: input.TLSEnabled }),
|
|
2658
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2674
2659
|
};
|
|
2675
2660
|
};
|
|
2676
2661
|
const serializeAws_json1_1CreateParameterGroupRequest = (input, context) => {
|
|
2677
2662
|
return {
|
|
2678
|
-
...(input.Description
|
|
2679
|
-
...(input.Family
|
|
2680
|
-
...(input.ParameterGroupName
|
|
2681
|
-
|
|
2682
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2663
|
+
...(input.Description != null && { Description: input.Description }),
|
|
2664
|
+
...(input.Family != null && { Family: input.Family }),
|
|
2665
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2666
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2683
2667
|
};
|
|
2684
2668
|
};
|
|
2685
2669
|
const serializeAws_json1_1CreateSnapshotRequest = (input, context) => {
|
|
2686
2670
|
return {
|
|
2687
|
-
...(input.ClusterName
|
|
2688
|
-
...(input.KmsKeyId
|
|
2689
|
-
...(input.SnapshotName
|
|
2690
|
-
...(input.Tags
|
|
2671
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2672
|
+
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2673
|
+
...(input.SnapshotName != null && { SnapshotName: input.SnapshotName }),
|
|
2674
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2691
2675
|
};
|
|
2692
2676
|
};
|
|
2693
2677
|
const serializeAws_json1_1CreateSubnetGroupRequest = (input, context) => {
|
|
2694
2678
|
return {
|
|
2695
|
-
...(input.Description
|
|
2696
|
-
...(input.SubnetGroupName
|
|
2697
|
-
|
|
2698
|
-
...(input.
|
|
2699
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }),
|
|
2700
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2679
|
+
...(input.Description != null && { Description: input.Description }),
|
|
2680
|
+
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2681
|
+
...(input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }),
|
|
2682
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2701
2683
|
};
|
|
2702
2684
|
};
|
|
2703
2685
|
const serializeAws_json1_1CreateUserRequest = (input, context) => {
|
|
2704
2686
|
return {
|
|
2705
|
-
...(input.AccessString
|
|
2706
|
-
...(input.AuthenticationMode
|
|
2707
|
-
input.AuthenticationMode !== null && {
|
|
2687
|
+
...(input.AccessString != null && { AccessString: input.AccessString }),
|
|
2688
|
+
...(input.AuthenticationMode != null && {
|
|
2708
2689
|
AuthenticationMode: serializeAws_json1_1AuthenticationMode(input.AuthenticationMode, context),
|
|
2709
2690
|
}),
|
|
2710
|
-
...(input.Tags
|
|
2711
|
-
...(input.UserName
|
|
2691
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2692
|
+
...(input.UserName != null && { UserName: input.UserName }),
|
|
2712
2693
|
};
|
|
2713
2694
|
};
|
|
2714
2695
|
const serializeAws_json1_1DeleteACLRequest = (input, context) => {
|
|
2715
2696
|
return {
|
|
2716
|
-
...(input.ACLName
|
|
2697
|
+
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2717
2698
|
};
|
|
2718
2699
|
};
|
|
2719
2700
|
const serializeAws_json1_1DeleteClusterRequest = (input, context) => {
|
|
2720
2701
|
return {
|
|
2721
|
-
...(input.ClusterName
|
|
2722
|
-
...(input.FinalSnapshotName
|
|
2723
|
-
input.FinalSnapshotName !== null && { FinalSnapshotName: input.FinalSnapshotName }),
|
|
2702
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2703
|
+
...(input.FinalSnapshotName != null && { FinalSnapshotName: input.FinalSnapshotName }),
|
|
2724
2704
|
};
|
|
2725
2705
|
};
|
|
2726
2706
|
const serializeAws_json1_1DeleteParameterGroupRequest = (input, context) => {
|
|
2727
2707
|
return {
|
|
2728
|
-
...(input.ParameterGroupName
|
|
2729
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2708
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2730
2709
|
};
|
|
2731
2710
|
};
|
|
2732
2711
|
const serializeAws_json1_1DeleteSnapshotRequest = (input, context) => {
|
|
2733
2712
|
return {
|
|
2734
|
-
...(input.SnapshotName
|
|
2713
|
+
...(input.SnapshotName != null && { SnapshotName: input.SnapshotName }),
|
|
2735
2714
|
};
|
|
2736
2715
|
};
|
|
2737
2716
|
const serializeAws_json1_1DeleteSubnetGroupRequest = (input, context) => {
|
|
2738
2717
|
return {
|
|
2739
|
-
...(input.SubnetGroupName
|
|
2740
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2718
|
+
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2741
2719
|
};
|
|
2742
2720
|
};
|
|
2743
2721
|
const serializeAws_json1_1DeleteUserRequest = (input, context) => {
|
|
2744
2722
|
return {
|
|
2745
|
-
...(input.UserName
|
|
2723
|
+
...(input.UserName != null && { UserName: input.UserName }),
|
|
2746
2724
|
};
|
|
2747
2725
|
};
|
|
2748
2726
|
const serializeAws_json1_1DescribeACLsRequest = (input, context) => {
|
|
2749
2727
|
return {
|
|
2750
|
-
...(input.ACLName
|
|
2751
|
-
...(input.MaxResults
|
|
2752
|
-
...(input.NextToken
|
|
2728
|
+
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2729
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2730
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2753
2731
|
};
|
|
2754
2732
|
};
|
|
2755
2733
|
const serializeAws_json1_1DescribeClustersRequest = (input, context) => {
|
|
2756
2734
|
return {
|
|
2757
|
-
...(input.ClusterName
|
|
2758
|
-
...(input.MaxResults
|
|
2759
|
-
...(input.NextToken
|
|
2760
|
-
...(input.ShowShardDetails
|
|
2761
|
-
input.ShowShardDetails !== null && { ShowShardDetails: input.ShowShardDetails }),
|
|
2735
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2736
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2737
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2738
|
+
...(input.ShowShardDetails != null && { ShowShardDetails: input.ShowShardDetails }),
|
|
2762
2739
|
};
|
|
2763
2740
|
};
|
|
2764
2741
|
const serializeAws_json1_1DescribeEngineVersionsRequest = (input, context) => {
|
|
2765
2742
|
return {
|
|
2766
|
-
...(input.DefaultOnly
|
|
2767
|
-
...(input.EngineVersion
|
|
2768
|
-
...(input.MaxResults
|
|
2769
|
-
...(input.NextToken
|
|
2770
|
-
...(input.ParameterGroupFamily
|
|
2771
|
-
input.ParameterGroupFamily !== null && { ParameterGroupFamily: input.ParameterGroupFamily }),
|
|
2743
|
+
...(input.DefaultOnly != null && { DefaultOnly: input.DefaultOnly }),
|
|
2744
|
+
...(input.EngineVersion != null && { EngineVersion: input.EngineVersion }),
|
|
2745
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2746
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2747
|
+
...(input.ParameterGroupFamily != null && { ParameterGroupFamily: input.ParameterGroupFamily }),
|
|
2772
2748
|
};
|
|
2773
2749
|
};
|
|
2774
2750
|
const serializeAws_json1_1DescribeEventsRequest = (input, context) => {
|
|
2775
2751
|
return {
|
|
2776
|
-
...(input.Duration
|
|
2777
|
-
...(input.EndTime
|
|
2778
|
-
|
|
2779
|
-
...(input.
|
|
2780
|
-
...(input.
|
|
2781
|
-
...(input.
|
|
2782
|
-
...(input.
|
|
2783
|
-
...(input.StartTime !== undefined &&
|
|
2784
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
2752
|
+
...(input.Duration != null && { Duration: input.Duration }),
|
|
2753
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
2754
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2755
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2756
|
+
...(input.SourceName != null && { SourceName: input.SourceName }),
|
|
2757
|
+
...(input.SourceType != null && { SourceType: input.SourceType }),
|
|
2758
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
2785
2759
|
};
|
|
2786
2760
|
};
|
|
2787
2761
|
const serializeAws_json1_1DescribeParameterGroupsRequest = (input, context) => {
|
|
2788
2762
|
return {
|
|
2789
|
-
...(input.MaxResults
|
|
2790
|
-
...(input.NextToken
|
|
2791
|
-
...(input.ParameterGroupName
|
|
2792
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2763
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2764
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2765
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2793
2766
|
};
|
|
2794
2767
|
};
|
|
2795
2768
|
const serializeAws_json1_1DescribeParametersRequest = (input, context) => {
|
|
2796
2769
|
return {
|
|
2797
|
-
...(input.MaxResults
|
|
2798
|
-
...(input.NextToken
|
|
2799
|
-
...(input.ParameterGroupName
|
|
2800
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2770
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2771
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2772
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2801
2773
|
};
|
|
2802
2774
|
};
|
|
2803
2775
|
const serializeAws_json1_1DescribeServiceUpdatesRequest = (input, context) => {
|
|
2804
2776
|
return {
|
|
2805
|
-
...(input.ClusterNames
|
|
2806
|
-
input.ClusterNames !== null && {
|
|
2777
|
+
...(input.ClusterNames != null && {
|
|
2807
2778
|
ClusterNames: serializeAws_json1_1ClusterNameList(input.ClusterNames, context),
|
|
2808
2779
|
}),
|
|
2809
|
-
...(input.MaxResults
|
|
2810
|
-
...(input.NextToken
|
|
2811
|
-
...(input.ServiceUpdateName
|
|
2812
|
-
|
|
2813
|
-
...(input.Status !== undefined &&
|
|
2814
|
-
input.Status !== null && { Status: serializeAws_json1_1ServiceUpdateStatusList(input.Status, context) }),
|
|
2780
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2781
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2782
|
+
...(input.ServiceUpdateName != null && { ServiceUpdateName: input.ServiceUpdateName }),
|
|
2783
|
+
...(input.Status != null && { Status: serializeAws_json1_1ServiceUpdateStatusList(input.Status, context) }),
|
|
2815
2784
|
};
|
|
2816
2785
|
};
|
|
2817
2786
|
const serializeAws_json1_1DescribeSnapshotsRequest = (input, context) => {
|
|
2818
2787
|
return {
|
|
2819
|
-
...(input.ClusterName
|
|
2820
|
-
...(input.MaxResults
|
|
2821
|
-
...(input.NextToken
|
|
2822
|
-
...(input.ShowDetail
|
|
2823
|
-
...(input.SnapshotName
|
|
2824
|
-
...(input.Source
|
|
2788
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2789
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2790
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2791
|
+
...(input.ShowDetail != null && { ShowDetail: input.ShowDetail }),
|
|
2792
|
+
...(input.SnapshotName != null && { SnapshotName: input.SnapshotName }),
|
|
2793
|
+
...(input.Source != null && { Source: input.Source }),
|
|
2825
2794
|
};
|
|
2826
2795
|
};
|
|
2827
2796
|
const serializeAws_json1_1DescribeSubnetGroupsRequest = (input, context) => {
|
|
2828
2797
|
return {
|
|
2829
|
-
...(input.MaxResults
|
|
2830
|
-
...(input.NextToken
|
|
2831
|
-
...(input.SubnetGroupName
|
|
2832
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2798
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2799
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2800
|
+
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
2833
2801
|
};
|
|
2834
2802
|
};
|
|
2835
2803
|
const serializeAws_json1_1DescribeUsersRequest = (input, context) => {
|
|
2836
2804
|
return {
|
|
2837
|
-
...(input.Filters
|
|
2838
|
-
|
|
2839
|
-
...(input.
|
|
2840
|
-
...(input.
|
|
2841
|
-
...(input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }),
|
|
2805
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1FilterList(input.Filters, context) }),
|
|
2806
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2807
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2808
|
+
...(input.UserName != null && { UserName: input.UserName }),
|
|
2842
2809
|
};
|
|
2843
2810
|
};
|
|
2844
2811
|
const serializeAws_json1_1FailoverShardRequest = (input, context) => {
|
|
2845
2812
|
return {
|
|
2846
|
-
...(input.ClusterName
|
|
2847
|
-
...(input.ShardName
|
|
2813
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2814
|
+
...(input.ShardName != null && { ShardName: input.ShardName }),
|
|
2848
2815
|
};
|
|
2849
2816
|
};
|
|
2850
2817
|
const serializeAws_json1_1Filter = (input, context) => {
|
|
2851
2818
|
return {
|
|
2852
|
-
...(input.Name
|
|
2853
|
-
...(input.Values
|
|
2854
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValueList(input.Values, context) }),
|
|
2819
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2820
|
+
...(input.Values != null && { Values: serializeAws_json1_1FilterValueList(input.Values, context) }),
|
|
2855
2821
|
};
|
|
2856
2822
|
};
|
|
2857
2823
|
const serializeAws_json1_1FilterList = (input, context) => {
|
|
@@ -2886,12 +2852,12 @@ const serializeAws_json1_1KeyList = (input, context) => {
|
|
|
2886
2852
|
};
|
|
2887
2853
|
const serializeAws_json1_1ListAllowedNodeTypeUpdatesRequest = (input, context) => {
|
|
2888
2854
|
return {
|
|
2889
|
-
...(input.ClusterName
|
|
2855
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
2890
2856
|
};
|
|
2891
2857
|
};
|
|
2892
2858
|
const serializeAws_json1_1ListTagsRequest = (input, context) => {
|
|
2893
2859
|
return {
|
|
2894
|
-
...(input.ResourceArn
|
|
2860
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2895
2861
|
};
|
|
2896
2862
|
};
|
|
2897
2863
|
const serializeAws_json1_1ParameterNameList = (input, context) => {
|
|
@@ -2906,9 +2872,8 @@ const serializeAws_json1_1ParameterNameList = (input, context) => {
|
|
|
2906
2872
|
};
|
|
2907
2873
|
const serializeAws_json1_1ParameterNameValue = (input, context) => {
|
|
2908
2874
|
return {
|
|
2909
|
-
...(input.ParameterName
|
|
2910
|
-
...(input.ParameterValue
|
|
2911
|
-
input.ParameterValue !== null && { ParameterValue: input.ParameterValue }),
|
|
2875
|
+
...(input.ParameterName != null && { ParameterName: input.ParameterName }),
|
|
2876
|
+
...(input.ParameterValue != null && { ParameterValue: input.ParameterValue }),
|
|
2912
2877
|
};
|
|
2913
2878
|
};
|
|
2914
2879
|
const serializeAws_json1_1ParameterNameValueList = (input, context) => {
|
|
@@ -2933,16 +2898,14 @@ const serializeAws_json1_1PasswordListInput = (input, context) => {
|
|
|
2933
2898
|
};
|
|
2934
2899
|
const serializeAws_json1_1ReplicaConfigurationRequest = (input, context) => {
|
|
2935
2900
|
return {
|
|
2936
|
-
...(input.ReplicaCount
|
|
2901
|
+
...(input.ReplicaCount != null && { ReplicaCount: input.ReplicaCount }),
|
|
2937
2902
|
};
|
|
2938
2903
|
};
|
|
2939
2904
|
const serializeAws_json1_1ResetParameterGroupRequest = (input, context) => {
|
|
2940
2905
|
return {
|
|
2941
|
-
...(input.AllParameters
|
|
2942
|
-
...(input.ParameterGroupName
|
|
2943
|
-
|
|
2944
|
-
...(input.ParameterNames !== undefined &&
|
|
2945
|
-
input.ParameterNames !== null && {
|
|
2906
|
+
...(input.AllParameters != null && { AllParameters: input.AllParameters }),
|
|
2907
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
2908
|
+
...(input.ParameterNames != null && {
|
|
2946
2909
|
ParameterNames: serializeAws_json1_1ParameterNameList(input.ParameterNames, context),
|
|
2947
2910
|
}),
|
|
2948
2911
|
};
|
|
@@ -2959,8 +2922,7 @@ const serializeAws_json1_1SecurityGroupIdsList = (input, context) => {
|
|
|
2959
2922
|
};
|
|
2960
2923
|
const serializeAws_json1_1ServiceUpdateRequest = (input, context) => {
|
|
2961
2924
|
return {
|
|
2962
|
-
...(input.ServiceUpdateNameToApply
|
|
2963
|
-
input.ServiceUpdateNameToApply !== null && { ServiceUpdateNameToApply: input.ServiceUpdateNameToApply }),
|
|
2925
|
+
...(input.ServiceUpdateNameToApply != null && { ServiceUpdateNameToApply: input.ServiceUpdateNameToApply }),
|
|
2964
2926
|
};
|
|
2965
2927
|
};
|
|
2966
2928
|
const serializeAws_json1_1ServiceUpdateStatusList = (input, context) => {
|
|
@@ -2975,7 +2937,7 @@ const serializeAws_json1_1ServiceUpdateStatusList = (input, context) => {
|
|
|
2975
2937
|
};
|
|
2976
2938
|
const serializeAws_json1_1ShardConfigurationRequest = (input, context) => {
|
|
2977
2939
|
return {
|
|
2978
|
-
...(input.ShardCount
|
|
2940
|
+
...(input.ShardCount != null && { ShardCount: input.ShardCount }),
|
|
2979
2941
|
};
|
|
2980
2942
|
};
|
|
2981
2943
|
const serializeAws_json1_1SnapshotArnsList = (input, context) => {
|
|
@@ -3000,8 +2962,8 @@ const serializeAws_json1_1SubnetIdentifierList = (input, context) => {
|
|
|
3000
2962
|
};
|
|
3001
2963
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
3002
2964
|
return {
|
|
3003
|
-
...(input.Key
|
|
3004
|
-
...(input.Value
|
|
2965
|
+
...(input.Key != null && { Key: input.Key }),
|
|
2966
|
+
...(input.Value != null && { Value: input.Value }),
|
|
3005
2967
|
};
|
|
3006
2968
|
};
|
|
3007
2969
|
const serializeAws_json1_1TagList = (input, context) => {
|
|
@@ -3016,89 +2978,73 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
3016
2978
|
};
|
|
3017
2979
|
const serializeAws_json1_1TagResourceRequest = (input, context) => {
|
|
3018
2980
|
return {
|
|
3019
|
-
...(input.ResourceArn
|
|
3020
|
-
...(input.Tags
|
|
2981
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2982
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
3021
2983
|
};
|
|
3022
2984
|
};
|
|
3023
2985
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
3024
2986
|
return {
|
|
3025
|
-
...(input.ResourceArn
|
|
3026
|
-
...(input.TagKeys
|
|
3027
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }),
|
|
2987
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2988
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }),
|
|
3028
2989
|
};
|
|
3029
2990
|
};
|
|
3030
2991
|
const serializeAws_json1_1UpdateACLRequest = (input, context) => {
|
|
3031
2992
|
return {
|
|
3032
|
-
...(input.ACLName
|
|
3033
|
-
...(input.UserNamesToAdd
|
|
3034
|
-
input.UserNamesToAdd !== null && {
|
|
2993
|
+
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
2994
|
+
...(input.UserNamesToAdd != null && {
|
|
3035
2995
|
UserNamesToAdd: serializeAws_json1_1UserNameListInput(input.UserNamesToAdd, context),
|
|
3036
2996
|
}),
|
|
3037
|
-
...(input.UserNamesToRemove
|
|
3038
|
-
input.UserNamesToRemove !== null && {
|
|
2997
|
+
...(input.UserNamesToRemove != null && {
|
|
3039
2998
|
UserNamesToRemove: serializeAws_json1_1UserNameListInput(input.UserNamesToRemove, context),
|
|
3040
2999
|
}),
|
|
3041
3000
|
};
|
|
3042
3001
|
};
|
|
3043
3002
|
const serializeAws_json1_1UpdateClusterRequest = (input, context) => {
|
|
3044
3003
|
return {
|
|
3045
|
-
...(input.ACLName
|
|
3046
|
-
...(input.ClusterName
|
|
3047
|
-
...(input.Description
|
|
3048
|
-
...(input.EngineVersion
|
|
3049
|
-
...(input.MaintenanceWindow
|
|
3050
|
-
|
|
3051
|
-
...(input.
|
|
3052
|
-
...(input.
|
|
3053
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }),
|
|
3054
|
-
...(input.ReplicaConfiguration !== undefined &&
|
|
3055
|
-
input.ReplicaConfiguration !== null && {
|
|
3004
|
+
...(input.ACLName != null && { ACLName: input.ACLName }),
|
|
3005
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
3006
|
+
...(input.Description != null && { Description: input.Description }),
|
|
3007
|
+
...(input.EngineVersion != null && { EngineVersion: input.EngineVersion }),
|
|
3008
|
+
...(input.MaintenanceWindow != null && { MaintenanceWindow: input.MaintenanceWindow }),
|
|
3009
|
+
...(input.NodeType != null && { NodeType: input.NodeType }),
|
|
3010
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
3011
|
+
...(input.ReplicaConfiguration != null && {
|
|
3056
3012
|
ReplicaConfiguration: serializeAws_json1_1ReplicaConfigurationRequest(input.ReplicaConfiguration, context),
|
|
3057
3013
|
}),
|
|
3058
|
-
...(input.SecurityGroupIds
|
|
3059
|
-
input.SecurityGroupIds !== null && {
|
|
3014
|
+
...(input.SecurityGroupIds != null && {
|
|
3060
3015
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdsList(input.SecurityGroupIds, context),
|
|
3061
3016
|
}),
|
|
3062
|
-
...(input.ShardConfiguration
|
|
3063
|
-
input.ShardConfiguration !== null && {
|
|
3017
|
+
...(input.ShardConfiguration != null && {
|
|
3064
3018
|
ShardConfiguration: serializeAws_json1_1ShardConfigurationRequest(input.ShardConfiguration, context),
|
|
3065
3019
|
}),
|
|
3066
|
-
...(input.SnapshotRetentionLimit
|
|
3067
|
-
|
|
3068
|
-
...(input.
|
|
3069
|
-
|
|
3070
|
-
...(input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn }),
|
|
3071
|
-
...(input.SnsTopicStatus !== undefined &&
|
|
3072
|
-
input.SnsTopicStatus !== null && { SnsTopicStatus: input.SnsTopicStatus }),
|
|
3020
|
+
...(input.SnapshotRetentionLimit != null && { SnapshotRetentionLimit: input.SnapshotRetentionLimit }),
|
|
3021
|
+
...(input.SnapshotWindow != null && { SnapshotWindow: input.SnapshotWindow }),
|
|
3022
|
+
...(input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }),
|
|
3023
|
+
...(input.SnsTopicStatus != null && { SnsTopicStatus: input.SnsTopicStatus }),
|
|
3073
3024
|
};
|
|
3074
3025
|
};
|
|
3075
3026
|
const serializeAws_json1_1UpdateParameterGroupRequest = (input, context) => {
|
|
3076
3027
|
return {
|
|
3077
|
-
...(input.ParameterGroupName
|
|
3078
|
-
|
|
3079
|
-
...(input.ParameterNameValues !== undefined &&
|
|
3080
|
-
input.ParameterNameValues !== null && {
|
|
3028
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
3029
|
+
...(input.ParameterNameValues != null && {
|
|
3081
3030
|
ParameterNameValues: serializeAws_json1_1ParameterNameValueList(input.ParameterNameValues, context),
|
|
3082
3031
|
}),
|
|
3083
3032
|
};
|
|
3084
3033
|
};
|
|
3085
3034
|
const serializeAws_json1_1UpdateSubnetGroupRequest = (input, context) => {
|
|
3086
3035
|
return {
|
|
3087
|
-
...(input.Description
|
|
3088
|
-
...(input.SubnetGroupName
|
|
3089
|
-
|
|
3090
|
-
...(input.SubnetIds !== undefined &&
|
|
3091
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }),
|
|
3036
|
+
...(input.Description != null && { Description: input.Description }),
|
|
3037
|
+
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
3038
|
+
...(input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }),
|
|
3092
3039
|
};
|
|
3093
3040
|
};
|
|
3094
3041
|
const serializeAws_json1_1UpdateUserRequest = (input, context) => {
|
|
3095
3042
|
return {
|
|
3096
|
-
...(input.AccessString
|
|
3097
|
-
...(input.AuthenticationMode
|
|
3098
|
-
input.AuthenticationMode !== null && {
|
|
3043
|
+
...(input.AccessString != null && { AccessString: input.AccessString }),
|
|
3044
|
+
...(input.AuthenticationMode != null && {
|
|
3099
3045
|
AuthenticationMode: serializeAws_json1_1AuthenticationMode(input.AuthenticationMode, context),
|
|
3100
3046
|
}),
|
|
3101
|
-
...(input.UserName
|
|
3047
|
+
...(input.UserName != null && { UserName: input.UserName }),
|
|
3102
3048
|
};
|
|
3103
3049
|
};
|
|
3104
3050
|
const serializeAws_json1_1UserNameListInput = (input, context) => {
|
|
@@ -3114,18 +3060,14 @@ const serializeAws_json1_1UserNameListInput = (input, context) => {
|
|
|
3114
3060
|
const deserializeAws_json1_1ACL = (output, context) => {
|
|
3115
3061
|
return {
|
|
3116
3062
|
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
3117
|
-
Clusters: output.Clusters
|
|
3118
|
-
? deserializeAws_json1_1ACLClusterNameList(output.Clusters, context)
|
|
3119
|
-
: undefined,
|
|
3063
|
+
Clusters: output.Clusters != null ? deserializeAws_json1_1ACLClusterNameList(output.Clusters, context) : undefined,
|
|
3120
3064
|
MinimumEngineVersion: (0, smithy_client_1.expectString)(output.MinimumEngineVersion),
|
|
3121
3065
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3122
|
-
PendingChanges: output.PendingChanges
|
|
3066
|
+
PendingChanges: output.PendingChanges != null
|
|
3123
3067
|
? deserializeAws_json1_1ACLPendingChanges(output.PendingChanges, context)
|
|
3124
3068
|
: undefined,
|
|
3125
3069
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3126
|
-
UserNames: output.UserNames
|
|
3127
|
-
? deserializeAws_json1_1UserNameList(output.UserNames, context)
|
|
3128
|
-
: undefined,
|
|
3070
|
+
UserNames: output.UserNames != null ? deserializeAws_json1_1UserNameList(output.UserNames, context) : undefined,
|
|
3129
3071
|
};
|
|
3130
3072
|
};
|
|
3131
3073
|
const deserializeAws_json1_1ACLAlreadyExistsFault = (output, context) => {
|
|
@@ -3173,10 +3115,8 @@ const deserializeAws_json1_1ACLNotFoundFault = (output, context) => {
|
|
|
3173
3115
|
};
|
|
3174
3116
|
const deserializeAws_json1_1ACLPendingChanges = (output, context) => {
|
|
3175
3117
|
return {
|
|
3176
|
-
UserNamesToAdd: output.UserNamesToAdd
|
|
3177
|
-
|
|
3178
|
-
: undefined,
|
|
3179
|
-
UserNamesToRemove: output.UserNamesToRemove !== undefined && output.UserNamesToRemove !== null
|
|
3118
|
+
UserNamesToAdd: output.UserNamesToAdd != null ? deserializeAws_json1_1UserNameList(output.UserNamesToAdd, context) : undefined,
|
|
3119
|
+
UserNamesToRemove: output.UserNamesToRemove != null
|
|
3180
3120
|
? deserializeAws_json1_1UserNameList(output.UserNamesToRemove, context)
|
|
3181
3121
|
: undefined,
|
|
3182
3122
|
};
|
|
@@ -3209,10 +3149,10 @@ const deserializeAws_json1_1AvailabilityZone = (output, context) => {
|
|
|
3209
3149
|
};
|
|
3210
3150
|
const deserializeAws_json1_1BatchUpdateClusterResponse = (output, context) => {
|
|
3211
3151
|
return {
|
|
3212
|
-
ProcessedClusters: output.ProcessedClusters
|
|
3152
|
+
ProcessedClusters: output.ProcessedClusters != null
|
|
3213
3153
|
? deserializeAws_json1_1ClusterList(output.ProcessedClusters, context)
|
|
3214
3154
|
: undefined,
|
|
3215
|
-
UnprocessedClusters: output.UnprocessedClusters
|
|
3155
|
+
UnprocessedClusters: output.UnprocessedClusters != null
|
|
3216
3156
|
? deserializeAws_json1_1UnprocessedClusterList(output.UnprocessedClusters, context)
|
|
3217
3157
|
: undefined,
|
|
3218
3158
|
};
|
|
@@ -3223,9 +3163,7 @@ const deserializeAws_json1_1Cluster = (output, context) => {
|
|
|
3223
3163
|
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
3224
3164
|
AutoMinorVersionUpgrade: (0, smithy_client_1.expectBoolean)(output.AutoMinorVersionUpgrade),
|
|
3225
3165
|
AvailabilityMode: (0, smithy_client_1.expectString)(output.AvailabilityMode),
|
|
3226
|
-
ClusterEndpoint: output.ClusterEndpoint
|
|
3227
|
-
? deserializeAws_json1_1Endpoint(output.ClusterEndpoint, context)
|
|
3228
|
-
: undefined,
|
|
3166
|
+
ClusterEndpoint: output.ClusterEndpoint != null ? deserializeAws_json1_1Endpoint(output.ClusterEndpoint, context) : undefined,
|
|
3229
3167
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3230
3168
|
EnginePatchVersion: (0, smithy_client_1.expectString)(output.EnginePatchVersion),
|
|
3231
3169
|
EngineVersion: (0, smithy_client_1.expectString)(output.EngineVersion),
|
|
@@ -3236,15 +3174,13 @@ const deserializeAws_json1_1Cluster = (output, context) => {
|
|
|
3236
3174
|
NumberOfShards: (0, smithy_client_1.expectInt32)(output.NumberOfShards),
|
|
3237
3175
|
ParameterGroupName: (0, smithy_client_1.expectString)(output.ParameterGroupName),
|
|
3238
3176
|
ParameterGroupStatus: (0, smithy_client_1.expectString)(output.ParameterGroupStatus),
|
|
3239
|
-
PendingUpdates: output.PendingUpdates
|
|
3177
|
+
PendingUpdates: output.PendingUpdates != null
|
|
3240
3178
|
? deserializeAws_json1_1ClusterPendingUpdates(output.PendingUpdates, context)
|
|
3241
3179
|
: undefined,
|
|
3242
|
-
SecurityGroups: output.SecurityGroups
|
|
3180
|
+
SecurityGroups: output.SecurityGroups != null
|
|
3243
3181
|
? deserializeAws_json1_1SecurityGroupMembershipList(output.SecurityGroups, context)
|
|
3244
3182
|
: undefined,
|
|
3245
|
-
Shards: output.Shards
|
|
3246
|
-
? deserializeAws_json1_1ShardList(output.Shards, context)
|
|
3247
|
-
: undefined,
|
|
3183
|
+
Shards: output.Shards != null ? deserializeAws_json1_1ShardList(output.Shards, context) : undefined,
|
|
3248
3184
|
SnapshotRetentionLimit: (0, smithy_client_1.expectInt32)(output.SnapshotRetentionLimit),
|
|
3249
3185
|
SnapshotWindow: (0, smithy_client_1.expectString)(output.SnapshotWindow),
|
|
3250
3186
|
SnsTopicArn: (0, smithy_client_1.expectString)(output.SnsTopicArn),
|
|
@@ -3269,9 +3205,7 @@ const deserializeAws_json1_1ClusterConfiguration = (output, context) => {
|
|
|
3269
3205
|
NumShards: (0, smithy_client_1.expectInt32)(output.NumShards),
|
|
3270
3206
|
ParameterGroupName: (0, smithy_client_1.expectString)(output.ParameterGroupName),
|
|
3271
3207
|
Port: (0, smithy_client_1.expectInt32)(output.Port),
|
|
3272
|
-
Shards: output.Shards
|
|
3273
|
-
? deserializeAws_json1_1ShardDetails(output.Shards, context)
|
|
3274
|
-
: undefined,
|
|
3208
|
+
Shards: output.Shards != null ? deserializeAws_json1_1ShardDetails(output.Shards, context) : undefined,
|
|
3275
3209
|
SnapshotRetentionLimit: (0, smithy_client_1.expectInt32)(output.SnapshotRetentionLimit),
|
|
3276
3210
|
SnapshotWindow: (0, smithy_client_1.expectString)(output.SnapshotWindow),
|
|
3277
3211
|
SubnetGroupName: (0, smithy_client_1.expectString)(output.SubnetGroupName),
|
|
@@ -3297,13 +3231,9 @@ const deserializeAws_json1_1ClusterNotFoundFault = (output, context) => {
|
|
|
3297
3231
|
};
|
|
3298
3232
|
const deserializeAws_json1_1ClusterPendingUpdates = (output, context) => {
|
|
3299
3233
|
return {
|
|
3300
|
-
ACLs: output.ACLs
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
Resharding: output.Resharding !== undefined && output.Resharding !== null
|
|
3304
|
-
? deserializeAws_json1_1ReshardingStatus(output.Resharding, context)
|
|
3305
|
-
: undefined,
|
|
3306
|
-
ServiceUpdates: output.ServiceUpdates !== undefined && output.ServiceUpdates !== null
|
|
3234
|
+
ACLs: output.ACLs != null ? deserializeAws_json1_1ACLsUpdateStatus(output.ACLs, context) : undefined,
|
|
3235
|
+
Resharding: output.Resharding != null ? deserializeAws_json1_1ReshardingStatus(output.Resharding, context) : undefined,
|
|
3236
|
+
ServiceUpdates: output.ServiceUpdates != null
|
|
3307
3237
|
? deserializeAws_json1_1PendingModifiedServiceUpdateList(output.ServiceUpdates, context)
|
|
3308
3238
|
: undefined,
|
|
3309
3239
|
};
|
|
@@ -3315,47 +3245,37 @@ const deserializeAws_json1_1ClusterQuotaForCustomerExceededFault = (output, cont
|
|
|
3315
3245
|
};
|
|
3316
3246
|
const deserializeAws_json1_1CopySnapshotResponse = (output, context) => {
|
|
3317
3247
|
return {
|
|
3318
|
-
Snapshot: output.Snapshot
|
|
3319
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
3320
|
-
: undefined,
|
|
3248
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
3321
3249
|
};
|
|
3322
3250
|
};
|
|
3323
3251
|
const deserializeAws_json1_1CreateACLResponse = (output, context) => {
|
|
3324
3252
|
return {
|
|
3325
|
-
ACL: output.ACL
|
|
3253
|
+
ACL: output.ACL != null ? deserializeAws_json1_1ACL(output.ACL, context) : undefined,
|
|
3326
3254
|
};
|
|
3327
3255
|
};
|
|
3328
3256
|
const deserializeAws_json1_1CreateClusterResponse = (output, context) => {
|
|
3329
3257
|
return {
|
|
3330
|
-
Cluster: output.Cluster
|
|
3331
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
3332
|
-
: undefined,
|
|
3258
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
3333
3259
|
};
|
|
3334
3260
|
};
|
|
3335
3261
|
const deserializeAws_json1_1CreateParameterGroupResponse = (output, context) => {
|
|
3336
3262
|
return {
|
|
3337
|
-
ParameterGroup: output.ParameterGroup
|
|
3338
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
3339
|
-
: undefined,
|
|
3263
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
3340
3264
|
};
|
|
3341
3265
|
};
|
|
3342
3266
|
const deserializeAws_json1_1CreateSnapshotResponse = (output, context) => {
|
|
3343
3267
|
return {
|
|
3344
|
-
Snapshot: output.Snapshot
|
|
3345
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
3346
|
-
: undefined,
|
|
3268
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
3347
3269
|
};
|
|
3348
3270
|
};
|
|
3349
3271
|
const deserializeAws_json1_1CreateSubnetGroupResponse = (output, context) => {
|
|
3350
3272
|
return {
|
|
3351
|
-
SubnetGroup: output.SubnetGroup
|
|
3352
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
3353
|
-
: undefined,
|
|
3273
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
3354
3274
|
};
|
|
3355
3275
|
};
|
|
3356
3276
|
const deserializeAws_json1_1CreateUserResponse = (output, context) => {
|
|
3357
3277
|
return {
|
|
3358
|
-
User: output.User
|
|
3278
|
+
User: output.User != null ? deserializeAws_json1_1User(output.User, context) : undefined,
|
|
3359
3279
|
};
|
|
3360
3280
|
};
|
|
3361
3281
|
const deserializeAws_json1_1DefaultUserRequired = (output, context) => {
|
|
@@ -3365,61 +3285,49 @@ const deserializeAws_json1_1DefaultUserRequired = (output, context) => {
|
|
|
3365
3285
|
};
|
|
3366
3286
|
const deserializeAws_json1_1DeleteACLResponse = (output, context) => {
|
|
3367
3287
|
return {
|
|
3368
|
-
ACL: output.ACL
|
|
3288
|
+
ACL: output.ACL != null ? deserializeAws_json1_1ACL(output.ACL, context) : undefined,
|
|
3369
3289
|
};
|
|
3370
3290
|
};
|
|
3371
3291
|
const deserializeAws_json1_1DeleteClusterResponse = (output, context) => {
|
|
3372
3292
|
return {
|
|
3373
|
-
Cluster: output.Cluster
|
|
3374
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
3375
|
-
: undefined,
|
|
3293
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
3376
3294
|
};
|
|
3377
3295
|
};
|
|
3378
3296
|
const deserializeAws_json1_1DeleteParameterGroupResponse = (output, context) => {
|
|
3379
3297
|
return {
|
|
3380
|
-
ParameterGroup: output.ParameterGroup
|
|
3381
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
3382
|
-
: undefined,
|
|
3298
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
3383
3299
|
};
|
|
3384
3300
|
};
|
|
3385
3301
|
const deserializeAws_json1_1DeleteSnapshotResponse = (output, context) => {
|
|
3386
3302
|
return {
|
|
3387
|
-
Snapshot: output.Snapshot
|
|
3388
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
3389
|
-
: undefined,
|
|
3303
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
3390
3304
|
};
|
|
3391
3305
|
};
|
|
3392
3306
|
const deserializeAws_json1_1DeleteSubnetGroupResponse = (output, context) => {
|
|
3393
3307
|
return {
|
|
3394
|
-
SubnetGroup: output.SubnetGroup
|
|
3395
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
3396
|
-
: undefined,
|
|
3308
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
3397
3309
|
};
|
|
3398
3310
|
};
|
|
3399
3311
|
const deserializeAws_json1_1DeleteUserResponse = (output, context) => {
|
|
3400
3312
|
return {
|
|
3401
|
-
User: output.User
|
|
3313
|
+
User: output.User != null ? deserializeAws_json1_1User(output.User, context) : undefined,
|
|
3402
3314
|
};
|
|
3403
3315
|
};
|
|
3404
3316
|
const deserializeAws_json1_1DescribeACLsResponse = (output, context) => {
|
|
3405
3317
|
return {
|
|
3406
|
-
ACLs: output.ACLs
|
|
3407
|
-
? deserializeAws_json1_1ACLList(output.ACLs, context)
|
|
3408
|
-
: undefined,
|
|
3318
|
+
ACLs: output.ACLs != null ? deserializeAws_json1_1ACLList(output.ACLs, context) : undefined,
|
|
3409
3319
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3410
3320
|
};
|
|
3411
3321
|
};
|
|
3412
3322
|
const deserializeAws_json1_1DescribeClustersResponse = (output, context) => {
|
|
3413
3323
|
return {
|
|
3414
|
-
Clusters: output.Clusters
|
|
3415
|
-
? deserializeAws_json1_1ClusterList(output.Clusters, context)
|
|
3416
|
-
: undefined,
|
|
3324
|
+
Clusters: output.Clusters != null ? deserializeAws_json1_1ClusterList(output.Clusters, context) : undefined,
|
|
3417
3325
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3418
3326
|
};
|
|
3419
3327
|
};
|
|
3420
3328
|
const deserializeAws_json1_1DescribeEngineVersionsResponse = (output, context) => {
|
|
3421
3329
|
return {
|
|
3422
|
-
EngineVersions: output.EngineVersions
|
|
3330
|
+
EngineVersions: output.EngineVersions != null
|
|
3423
3331
|
? deserializeAws_json1_1EngineVersionInfoList(output.EngineVersions, context)
|
|
3424
3332
|
: undefined,
|
|
3425
3333
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -3427,16 +3335,14 @@ const deserializeAws_json1_1DescribeEngineVersionsResponse = (output, context) =
|
|
|
3427
3335
|
};
|
|
3428
3336
|
const deserializeAws_json1_1DescribeEventsResponse = (output, context) => {
|
|
3429
3337
|
return {
|
|
3430
|
-
Events: output.Events
|
|
3431
|
-
? deserializeAws_json1_1EventList(output.Events, context)
|
|
3432
|
-
: undefined,
|
|
3338
|
+
Events: output.Events != null ? deserializeAws_json1_1EventList(output.Events, context) : undefined,
|
|
3433
3339
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3434
3340
|
};
|
|
3435
3341
|
};
|
|
3436
3342
|
const deserializeAws_json1_1DescribeParameterGroupsResponse = (output, context) => {
|
|
3437
3343
|
return {
|
|
3438
3344
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3439
|
-
ParameterGroups: output.ParameterGroups
|
|
3345
|
+
ParameterGroups: output.ParameterGroups != null
|
|
3440
3346
|
? deserializeAws_json1_1ParameterGroupList(output.ParameterGroups, context)
|
|
3441
3347
|
: undefined,
|
|
3442
3348
|
};
|
|
@@ -3444,15 +3350,13 @@ const deserializeAws_json1_1DescribeParameterGroupsResponse = (output, context)
|
|
|
3444
3350
|
const deserializeAws_json1_1DescribeParametersResponse = (output, context) => {
|
|
3445
3351
|
return {
|
|
3446
3352
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3447
|
-
Parameters: output.Parameters
|
|
3448
|
-
? deserializeAws_json1_1ParametersList(output.Parameters, context)
|
|
3449
|
-
: undefined,
|
|
3353
|
+
Parameters: output.Parameters != null ? deserializeAws_json1_1ParametersList(output.Parameters, context) : undefined,
|
|
3450
3354
|
};
|
|
3451
3355
|
};
|
|
3452
3356
|
const deserializeAws_json1_1DescribeServiceUpdatesResponse = (output, context) => {
|
|
3453
3357
|
return {
|
|
3454
3358
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3455
|
-
ServiceUpdates: output.ServiceUpdates
|
|
3359
|
+
ServiceUpdates: output.ServiceUpdates != null
|
|
3456
3360
|
? deserializeAws_json1_1ServiceUpdateList(output.ServiceUpdates, context)
|
|
3457
3361
|
: undefined,
|
|
3458
3362
|
};
|
|
@@ -3460,25 +3364,19 @@ const deserializeAws_json1_1DescribeServiceUpdatesResponse = (output, context) =
|
|
|
3460
3364
|
const deserializeAws_json1_1DescribeSnapshotsResponse = (output, context) => {
|
|
3461
3365
|
return {
|
|
3462
3366
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3463
|
-
Snapshots: output.Snapshots
|
|
3464
|
-
? deserializeAws_json1_1SnapshotList(output.Snapshots, context)
|
|
3465
|
-
: undefined,
|
|
3367
|
+
Snapshots: output.Snapshots != null ? deserializeAws_json1_1SnapshotList(output.Snapshots, context) : undefined,
|
|
3466
3368
|
};
|
|
3467
3369
|
};
|
|
3468
3370
|
const deserializeAws_json1_1DescribeSubnetGroupsResponse = (output, context) => {
|
|
3469
3371
|
return {
|
|
3470
3372
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3471
|
-
SubnetGroups: output.SubnetGroups
|
|
3472
|
-
? deserializeAws_json1_1SubnetGroupList(output.SubnetGroups, context)
|
|
3473
|
-
: undefined,
|
|
3373
|
+
SubnetGroups: output.SubnetGroups != null ? deserializeAws_json1_1SubnetGroupList(output.SubnetGroups, context) : undefined,
|
|
3474
3374
|
};
|
|
3475
3375
|
};
|
|
3476
3376
|
const deserializeAws_json1_1DescribeUsersResponse = (output, context) => {
|
|
3477
3377
|
return {
|
|
3478
3378
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3479
|
-
Users: output.Users
|
|
3480
|
-
? deserializeAws_json1_1UserList(output.Users, context)
|
|
3481
|
-
: undefined,
|
|
3379
|
+
Users: output.Users != null ? deserializeAws_json1_1UserList(output.Users, context) : undefined,
|
|
3482
3380
|
};
|
|
3483
3381
|
};
|
|
3484
3382
|
const deserializeAws_json1_1DuplicateUserNameFault = (output, context) => {
|
|
@@ -3512,9 +3410,7 @@ const deserializeAws_json1_1EngineVersionInfoList = (output, context) => {
|
|
|
3512
3410
|
};
|
|
3513
3411
|
const deserializeAws_json1_1Event = (output, context) => {
|
|
3514
3412
|
return {
|
|
3515
|
-
Date: output.Date
|
|
3516
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date)))
|
|
3517
|
-
: undefined,
|
|
3413
|
+
Date: output.Date != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date))) : undefined,
|
|
3518
3414
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3519
3415
|
SourceName: (0, smithy_client_1.expectString)(output.SourceName),
|
|
3520
3416
|
SourceType: (0, smithy_client_1.expectString)(output.SourceType),
|
|
@@ -3533,9 +3429,7 @@ const deserializeAws_json1_1EventList = (output, context) => {
|
|
|
3533
3429
|
};
|
|
3534
3430
|
const deserializeAws_json1_1FailoverShardResponse = (output, context) => {
|
|
3535
3431
|
return {
|
|
3536
|
-
Cluster: output.Cluster
|
|
3537
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
3538
|
-
: undefined,
|
|
3432
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
3539
3433
|
};
|
|
3540
3434
|
};
|
|
3541
3435
|
const deserializeAws_json1_1InsufficientClusterCapacityFault = (output, context) => {
|
|
@@ -3610,30 +3504,24 @@ const deserializeAws_json1_1InvalidVPCNetworkStateFault = (output, context) => {
|
|
|
3610
3504
|
};
|
|
3611
3505
|
const deserializeAws_json1_1ListAllowedNodeTypeUpdatesResponse = (output, context) => {
|
|
3612
3506
|
return {
|
|
3613
|
-
ScaleDownNodeTypes: output.ScaleDownNodeTypes
|
|
3507
|
+
ScaleDownNodeTypes: output.ScaleDownNodeTypes != null
|
|
3614
3508
|
? deserializeAws_json1_1NodeTypeList(output.ScaleDownNodeTypes, context)
|
|
3615
3509
|
: undefined,
|
|
3616
|
-
ScaleUpNodeTypes: output.ScaleUpNodeTypes
|
|
3510
|
+
ScaleUpNodeTypes: output.ScaleUpNodeTypes != null
|
|
3617
3511
|
? deserializeAws_json1_1NodeTypeList(output.ScaleUpNodeTypes, context)
|
|
3618
3512
|
: undefined,
|
|
3619
3513
|
};
|
|
3620
3514
|
};
|
|
3621
3515
|
const deserializeAws_json1_1ListTagsResponse = (output, context) => {
|
|
3622
3516
|
return {
|
|
3623
|
-
TagList: output.TagList
|
|
3624
|
-
? deserializeAws_json1_1TagList(output.TagList, context)
|
|
3625
|
-
: undefined,
|
|
3517
|
+
TagList: output.TagList != null ? deserializeAws_json1_1TagList(output.TagList, context) : undefined,
|
|
3626
3518
|
};
|
|
3627
3519
|
};
|
|
3628
3520
|
const deserializeAws_json1_1Node = (output, context) => {
|
|
3629
3521
|
return {
|
|
3630
3522
|
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
3631
|
-
CreateTime: output.CreateTime
|
|
3632
|
-
|
|
3633
|
-
: undefined,
|
|
3634
|
-
Endpoint: output.Endpoint !== undefined && output.Endpoint !== null
|
|
3635
|
-
? deserializeAws_json1_1Endpoint(output.Endpoint, context)
|
|
3636
|
-
: undefined,
|
|
3523
|
+
CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime))) : undefined,
|
|
3524
|
+
Endpoint: output.Endpoint != null ? deserializeAws_json1_1Endpoint(output.Endpoint, context) : undefined,
|
|
3637
3525
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3638
3526
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3639
3527
|
};
|
|
@@ -3749,16 +3637,12 @@ const deserializeAws_json1_1PendingModifiedServiceUpdateList = (output, context)
|
|
|
3749
3637
|
};
|
|
3750
3638
|
const deserializeAws_json1_1ResetParameterGroupResponse = (output, context) => {
|
|
3751
3639
|
return {
|
|
3752
|
-
ParameterGroup: output.ParameterGroup
|
|
3753
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
3754
|
-
: undefined,
|
|
3640
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
3755
3641
|
};
|
|
3756
3642
|
};
|
|
3757
3643
|
const deserializeAws_json1_1ReshardingStatus = (output, context) => {
|
|
3758
3644
|
return {
|
|
3759
|
-
SlotMigration: output.SlotMigration
|
|
3760
|
-
? deserializeAws_json1_1SlotMigration(output.SlotMigration, context)
|
|
3761
|
-
: undefined,
|
|
3645
|
+
SlotMigration: output.SlotMigration != null ? deserializeAws_json1_1SlotMigration(output.SlotMigration, context) : undefined,
|
|
3762
3646
|
};
|
|
3763
3647
|
};
|
|
3764
3648
|
const deserializeAws_json1_1SecurityGroupMembership = (output, context) => {
|
|
@@ -3785,13 +3669,13 @@ const deserializeAws_json1_1ServiceLinkedRoleNotFoundFault = (output, context) =
|
|
|
3785
3669
|
};
|
|
3786
3670
|
const deserializeAws_json1_1ServiceUpdate = (output, context) => {
|
|
3787
3671
|
return {
|
|
3788
|
-
AutoUpdateStartDate: output.AutoUpdateStartDate
|
|
3672
|
+
AutoUpdateStartDate: output.AutoUpdateStartDate != null
|
|
3789
3673
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AutoUpdateStartDate)))
|
|
3790
3674
|
: undefined,
|
|
3791
3675
|
ClusterName: (0, smithy_client_1.expectString)(output.ClusterName),
|
|
3792
3676
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3793
3677
|
NodesUpdated: (0, smithy_client_1.expectString)(output.NodesUpdated),
|
|
3794
|
-
ReleaseDate: output.ReleaseDate
|
|
3678
|
+
ReleaseDate: output.ReleaseDate != null
|
|
3795
3679
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReleaseDate)))
|
|
3796
3680
|
: undefined,
|
|
3797
3681
|
ServiceUpdateName: (0, smithy_client_1.expectString)(output.ServiceUpdateName),
|
|
@@ -3818,9 +3702,7 @@ const deserializeAws_json1_1ServiceUpdateNotFoundFault = (output, context) => {
|
|
|
3818
3702
|
const deserializeAws_json1_1Shard = (output, context) => {
|
|
3819
3703
|
return {
|
|
3820
3704
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3821
|
-
Nodes: output.Nodes
|
|
3822
|
-
? deserializeAws_json1_1NodeList(output.Nodes, context)
|
|
3823
|
-
: undefined,
|
|
3705
|
+
Nodes: output.Nodes != null ? deserializeAws_json1_1NodeList(output.Nodes, context) : undefined,
|
|
3824
3706
|
NumberOfNodes: (0, smithy_client_1.expectInt32)(output.NumberOfNodes),
|
|
3825
3707
|
Slots: (0, smithy_client_1.expectString)(output.Slots),
|
|
3826
3708
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -3834,12 +3716,12 @@ const deserializeAws_json1_1ShardConfiguration = (output, context) => {
|
|
|
3834
3716
|
};
|
|
3835
3717
|
const deserializeAws_json1_1ShardDetail = (output, context) => {
|
|
3836
3718
|
return {
|
|
3837
|
-
Configuration: output.Configuration
|
|
3719
|
+
Configuration: output.Configuration != null
|
|
3838
3720
|
? deserializeAws_json1_1ShardConfiguration(output.Configuration, context)
|
|
3839
3721
|
: undefined,
|
|
3840
3722
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3841
3723
|
Size: (0, smithy_client_1.expectString)(output.Size),
|
|
3842
|
-
SnapshotCreationTime: output.SnapshotCreationTime
|
|
3724
|
+
SnapshotCreationTime: output.SnapshotCreationTime != null
|
|
3843
3725
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SnapshotCreationTime)))
|
|
3844
3726
|
: undefined,
|
|
3845
3727
|
};
|
|
@@ -3884,7 +3766,7 @@ const deserializeAws_json1_1SlotMigration = (output, context) => {
|
|
|
3884
3766
|
const deserializeAws_json1_1Snapshot = (output, context) => {
|
|
3885
3767
|
return {
|
|
3886
3768
|
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
3887
|
-
ClusterConfiguration: output.ClusterConfiguration
|
|
3769
|
+
ClusterConfiguration: output.ClusterConfiguration != null
|
|
3888
3770
|
? deserializeAws_json1_1ClusterConfiguration(output.ClusterConfiguration, context)
|
|
3889
3771
|
: undefined,
|
|
3890
3772
|
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
@@ -3921,7 +3803,7 @@ const deserializeAws_json1_1SnapshotQuotaExceededFault = (output, context) => {
|
|
|
3921
3803
|
};
|
|
3922
3804
|
const deserializeAws_json1_1Subnet = (output, context) => {
|
|
3923
3805
|
return {
|
|
3924
|
-
AvailabilityZone: output.AvailabilityZone
|
|
3806
|
+
AvailabilityZone: output.AvailabilityZone != null
|
|
3925
3807
|
? deserializeAws_json1_1AvailabilityZone(output.AvailabilityZone, context)
|
|
3926
3808
|
: undefined,
|
|
3927
3809
|
Identifier: (0, smithy_client_1.expectString)(output.Identifier),
|
|
@@ -3932,9 +3814,7 @@ const deserializeAws_json1_1SubnetGroup = (output, context) => {
|
|
|
3932
3814
|
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
3933
3815
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3934
3816
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3935
|
-
Subnets: output.Subnets
|
|
3936
|
-
? deserializeAws_json1_1SubnetList(output.Subnets, context)
|
|
3937
|
-
: undefined,
|
|
3817
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_1SubnetList(output.Subnets, context) : undefined,
|
|
3938
3818
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
3939
3819
|
};
|
|
3940
3820
|
};
|
|
@@ -4024,9 +3904,7 @@ const deserializeAws_json1_1TagQuotaPerResourceExceeded = (output, context) => {
|
|
|
4024
3904
|
};
|
|
4025
3905
|
const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
4026
3906
|
return {
|
|
4027
|
-
TagList: output.TagList
|
|
4028
|
-
? deserializeAws_json1_1TagList(output.TagList, context)
|
|
4029
|
-
: undefined,
|
|
3907
|
+
TagList: output.TagList != null ? deserializeAws_json1_1TagList(output.TagList, context) : undefined,
|
|
4030
3908
|
};
|
|
4031
3909
|
};
|
|
4032
3910
|
const deserializeAws_json1_1TestFailoverNotAvailableFault = (output, context) => {
|
|
@@ -4054,52 +3932,40 @@ const deserializeAws_json1_1UnprocessedClusterList = (output, context) => {
|
|
|
4054
3932
|
};
|
|
4055
3933
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
4056
3934
|
return {
|
|
4057
|
-
TagList: output.TagList
|
|
4058
|
-
? deserializeAws_json1_1TagList(output.TagList, context)
|
|
4059
|
-
: undefined,
|
|
3935
|
+
TagList: output.TagList != null ? deserializeAws_json1_1TagList(output.TagList, context) : undefined,
|
|
4060
3936
|
};
|
|
4061
3937
|
};
|
|
4062
3938
|
const deserializeAws_json1_1UpdateACLResponse = (output, context) => {
|
|
4063
3939
|
return {
|
|
4064
|
-
ACL: output.ACL
|
|
3940
|
+
ACL: output.ACL != null ? deserializeAws_json1_1ACL(output.ACL, context) : undefined,
|
|
4065
3941
|
};
|
|
4066
3942
|
};
|
|
4067
3943
|
const deserializeAws_json1_1UpdateClusterResponse = (output, context) => {
|
|
4068
3944
|
return {
|
|
4069
|
-
Cluster: output.Cluster
|
|
4070
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
4071
|
-
: undefined,
|
|
3945
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
4072
3946
|
};
|
|
4073
3947
|
};
|
|
4074
3948
|
const deserializeAws_json1_1UpdateParameterGroupResponse = (output, context) => {
|
|
4075
3949
|
return {
|
|
4076
|
-
ParameterGroup: output.ParameterGroup
|
|
4077
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
4078
|
-
: undefined,
|
|
3950
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
4079
3951
|
};
|
|
4080
3952
|
};
|
|
4081
3953
|
const deserializeAws_json1_1UpdateSubnetGroupResponse = (output, context) => {
|
|
4082
3954
|
return {
|
|
4083
|
-
SubnetGroup: output.SubnetGroup
|
|
4084
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
4085
|
-
: undefined,
|
|
3955
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
4086
3956
|
};
|
|
4087
3957
|
};
|
|
4088
3958
|
const deserializeAws_json1_1UpdateUserResponse = (output, context) => {
|
|
4089
3959
|
return {
|
|
4090
|
-
User: output.User
|
|
3960
|
+
User: output.User != null ? deserializeAws_json1_1User(output.User, context) : undefined,
|
|
4091
3961
|
};
|
|
4092
3962
|
};
|
|
4093
3963
|
const deserializeAws_json1_1User = (output, context) => {
|
|
4094
3964
|
return {
|
|
4095
|
-
ACLNames: output.ACLNames
|
|
4096
|
-
? deserializeAws_json1_1ACLNameList(output.ACLNames, context)
|
|
4097
|
-
: undefined,
|
|
3965
|
+
ACLNames: output.ACLNames != null ? deserializeAws_json1_1ACLNameList(output.ACLNames, context) : undefined,
|
|
4098
3966
|
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
4099
3967
|
AccessString: (0, smithy_client_1.expectString)(output.AccessString),
|
|
4100
|
-
Authentication: output.Authentication
|
|
4101
|
-
? deserializeAws_json1_1Authentication(output.Authentication, context)
|
|
4102
|
-
: undefined,
|
|
3968
|
+
Authentication: output.Authentication != null ? deserializeAws_json1_1Authentication(output.Authentication, context) : undefined,
|
|
4103
3969
|
MinimumEngineVersion: (0, smithy_client_1.expectString)(output.MinimumEngineVersion),
|
|
4104
3970
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4105
3971
|
Status: (0, smithy_client_1.expectString)(output.Status),
|