@aws-sdk/client-redshift-serverless 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/README.md +0 -6
- package/dist-cjs/protocols/Aws_json1_1.js +171 -291
- package/dist-es/protocols/Aws_json1_1.js +99 -219
- package/dist-types/RedshiftServerless.d.ts +1 -7
- package/dist-types/RedshiftServerlessClient.d.ts +1 -7
- package/package.json +26 -26
|
@@ -2832,8 +2832,7 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
2832
2832
|
});
|
|
2833
2833
|
}); };
|
|
2834
2834
|
var serializeAws_json1_1ConfigParameter = function (input, context) {
|
|
2835
|
-
return __assign(__assign({}, (input.parameterKey
|
|
2836
|
-
input.parameterValue !== null && { parameterValue: input.parameterValue }));
|
|
2835
|
+
return __assign(__assign({}, (input.parameterKey != null && { parameterKey: input.parameterKey })), (input.parameterValue != null && { parameterValue: input.parameterValue }));
|
|
2837
2836
|
};
|
|
2838
2837
|
var serializeAws_json1_1ConfigParameterList = function (input, context) {
|
|
2839
2838
|
return input
|
|
@@ -2846,90 +2845,72 @@ var serializeAws_json1_1ConfigParameterList = function (input, context) {
|
|
|
2846
2845
|
});
|
|
2847
2846
|
};
|
|
2848
2847
|
var serializeAws_json1_1ConvertRecoveryPointToSnapshotRequest = function (input, context) {
|
|
2849
|
-
return __assign(__assign(__assign({}, (input.recoveryPointId
|
|
2850
|
-
input.recoveryPointId !== null && { recoveryPointId: input.recoveryPointId })), (input.retentionPeriod !== undefined &&
|
|
2851
|
-
input.retentionPeriod !== null && { retentionPeriod: input.retentionPeriod })), (input.snapshotName !== undefined && input.snapshotName !== null && { snapshotName: input.snapshotName }));
|
|
2848
|
+
return __assign(__assign(__assign({}, (input.recoveryPointId != null && { recoveryPointId: input.recoveryPointId })), (input.retentionPeriod != null && { retentionPeriod: input.retentionPeriod })), (input.snapshotName != null && { snapshotName: input.snapshotName }));
|
|
2852
2849
|
};
|
|
2853
2850
|
var serializeAws_json1_1CreateEndpointAccessRequest = function (input, context) {
|
|
2854
|
-
return __assign(__assign(__assign(__assign({}, (input.endpointName
|
|
2855
|
-
input.subnetIds !== null && { subnetIds: serializeAws_json1_1SubnetIdList(input.subnetIds, context) })), (input.vpcSecurityGroupIds !== undefined &&
|
|
2856
|
-
input.vpcSecurityGroupIds !== null && {
|
|
2851
|
+
return __assign(__assign(__assign(__assign({}, (input.endpointName != null && { endpointName: input.endpointName })), (input.subnetIds != null && { subnetIds: serializeAws_json1_1SubnetIdList(input.subnetIds, context) })), (input.vpcSecurityGroupIds != null && {
|
|
2857
2852
|
vpcSecurityGroupIds: serializeAws_json1_1VpcSecurityGroupIdList(input.vpcSecurityGroupIds, context),
|
|
2858
|
-
})), (input.workgroupName
|
|
2853
|
+
})), (input.workgroupName != null && { workgroupName: input.workgroupName }));
|
|
2859
2854
|
};
|
|
2860
2855
|
var serializeAws_json1_1CreateNamespaceRequest = function (input, context) {
|
|
2861
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.adminUserPassword
|
|
2862
|
-
input.adminUserPassword !== null && { adminUserPassword: input.adminUserPassword })), (input.adminUsername !== undefined && input.adminUsername !== null && { adminUsername: input.adminUsername })), (input.dbName !== undefined && input.dbName !== null && { dbName: input.dbName })), (input.defaultIamRoleArn !== undefined &&
|
|
2863
|
-
input.defaultIamRoleArn !== null && { defaultIamRoleArn: input.defaultIamRoleArn })), (input.iamRoles !== undefined &&
|
|
2864
|
-
input.iamRoles !== null && { iamRoles: serializeAws_json1_1IamRoleArnList(input.iamRoles, context) })), (input.kmsKeyId !== undefined && input.kmsKeyId !== null && { kmsKeyId: input.kmsKeyId })), (input.logExports !== undefined &&
|
|
2865
|
-
input.logExports !== null && { logExports: serializeAws_json1_1LogExportList(input.logExports, context) })), (input.namespaceName !== undefined && input.namespaceName !== null && { namespaceName: input.namespaceName })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
2856
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.adminUserPassword != null && { adminUserPassword: input.adminUserPassword })), (input.adminUsername != null && { adminUsername: input.adminUsername })), (input.dbName != null && { dbName: input.dbName })), (input.defaultIamRoleArn != null && { defaultIamRoleArn: input.defaultIamRoleArn })), (input.iamRoles != null && { iamRoles: serializeAws_json1_1IamRoleArnList(input.iamRoles, context) })), (input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId })), (input.logExports != null && { logExports: serializeAws_json1_1LogExportList(input.logExports, context) })), (input.namespaceName != null && { namespaceName: input.namespaceName })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
2866
2857
|
};
|
|
2867
2858
|
var serializeAws_json1_1CreateSnapshotRequest = function (input, context) {
|
|
2868
|
-
return __assign(__assign(__assign({}, (input.namespaceName
|
|
2869
|
-
input.retentionPeriod !== null && { retentionPeriod: input.retentionPeriod })), (input.snapshotName !== undefined && input.snapshotName !== null && { snapshotName: input.snapshotName }));
|
|
2859
|
+
return __assign(__assign(__assign({}, (input.namespaceName != null && { namespaceName: input.namespaceName })), (input.retentionPeriod != null && { retentionPeriod: input.retentionPeriod })), (input.snapshotName != null && { snapshotName: input.snapshotName }));
|
|
2870
2860
|
};
|
|
2871
2861
|
var serializeAws_json1_1CreateUsageLimitRequest = function (input, context) {
|
|
2872
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.amount
|
|
2862
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.amount != null && { amount: input.amount })), (input.breachAction != null && { breachAction: input.breachAction })), (input.period != null && { period: input.period })), (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.usageType != null && { usageType: input.usageType }));
|
|
2873
2863
|
};
|
|
2874
2864
|
var serializeAws_json1_1CreateWorkgroupRequest = function (input, context) {
|
|
2875
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.baseCapacity
|
|
2876
|
-
input.configParameters !== null && {
|
|
2865
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.baseCapacity != null && { baseCapacity: input.baseCapacity })), (input.configParameters != null && {
|
|
2877
2866
|
configParameters: serializeAws_json1_1ConfigParameterList(input.configParameters, context),
|
|
2878
|
-
})), (input.enhancedVpcRouting
|
|
2879
|
-
input.enhancedVpcRouting !== null && { enhancedVpcRouting: input.enhancedVpcRouting })), (input.namespaceName !== undefined && input.namespaceName !== null && { namespaceName: input.namespaceName })), (input.publiclyAccessible !== undefined &&
|
|
2880
|
-
input.publiclyAccessible !== null && { publiclyAccessible: input.publiclyAccessible })), (input.securityGroupIds !== undefined &&
|
|
2881
|
-
input.securityGroupIds !== null && {
|
|
2867
|
+
})), (input.enhancedVpcRouting != null && { enhancedVpcRouting: input.enhancedVpcRouting })), (input.namespaceName != null && { namespaceName: input.namespaceName })), (input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible })), (input.securityGroupIds != null && {
|
|
2882
2868
|
securityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.securityGroupIds, context),
|
|
2883
|
-
})), (input.subnetIds
|
|
2884
|
-
input.subnetIds !== null && { subnetIds: serializeAws_json1_1SubnetIdList(input.subnetIds, context) })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.workgroupName !== undefined && input.workgroupName !== null && { workgroupName: input.workgroupName }));
|
|
2869
|
+
})), (input.subnetIds != null && { subnetIds: serializeAws_json1_1SubnetIdList(input.subnetIds, context) })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.workgroupName != null && { workgroupName: input.workgroupName }));
|
|
2885
2870
|
};
|
|
2886
2871
|
var serializeAws_json1_1DeleteEndpointAccessRequest = function (input, context) {
|
|
2887
|
-
return __assign({}, (input.endpointName
|
|
2872
|
+
return __assign({}, (input.endpointName != null && { endpointName: input.endpointName }));
|
|
2888
2873
|
};
|
|
2889
2874
|
var serializeAws_json1_1DeleteNamespaceRequest = function (input, context) {
|
|
2890
|
-
return __assign(__assign(__assign({}, (input.finalSnapshotName
|
|
2891
|
-
input.finalSnapshotName !== null && { finalSnapshotName: input.finalSnapshotName })), (input.finalSnapshotRetentionPeriod !== undefined &&
|
|
2892
|
-
input.finalSnapshotRetentionPeriod !== null && {
|
|
2875
|
+
return __assign(__assign(__assign({}, (input.finalSnapshotName != null && { finalSnapshotName: input.finalSnapshotName })), (input.finalSnapshotRetentionPeriod != null && {
|
|
2893
2876
|
finalSnapshotRetentionPeriod: input.finalSnapshotRetentionPeriod,
|
|
2894
|
-
})), (input.namespaceName
|
|
2877
|
+
})), (input.namespaceName != null && { namespaceName: input.namespaceName }));
|
|
2895
2878
|
};
|
|
2896
2879
|
var serializeAws_json1_1DeleteResourcePolicyRequest = function (input, context) {
|
|
2897
|
-
return __assign({}, (input.resourceArn
|
|
2880
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
2898
2881
|
};
|
|
2899
2882
|
var serializeAws_json1_1DeleteSnapshotRequest = function (input, context) {
|
|
2900
|
-
return __assign({}, (input.snapshotName
|
|
2883
|
+
return __assign({}, (input.snapshotName != null && { snapshotName: input.snapshotName }));
|
|
2901
2884
|
};
|
|
2902
2885
|
var serializeAws_json1_1DeleteUsageLimitRequest = function (input, context) {
|
|
2903
|
-
return __assign({}, (input.usageLimitId
|
|
2886
|
+
return __assign({}, (input.usageLimitId != null && { usageLimitId: input.usageLimitId }));
|
|
2904
2887
|
};
|
|
2905
2888
|
var serializeAws_json1_1DeleteWorkgroupRequest = function (input, context) {
|
|
2906
|
-
return __assign({}, (input.workgroupName
|
|
2889
|
+
return __assign({}, (input.workgroupName != null && { workgroupName: input.workgroupName }));
|
|
2907
2890
|
};
|
|
2908
2891
|
var serializeAws_json1_1GetCredentialsRequest = function (input, context) {
|
|
2909
|
-
return __assign(__assign(__assign({}, (input.dbName
|
|
2910
|
-
input.durationSeconds !== null && { durationSeconds: input.durationSeconds })), (input.workgroupName !== undefined && input.workgroupName !== null && { workgroupName: input.workgroupName }));
|
|
2892
|
+
return __assign(__assign(__assign({}, (input.dbName != null && { dbName: input.dbName })), (input.durationSeconds != null && { durationSeconds: input.durationSeconds })), (input.workgroupName != null && { workgroupName: input.workgroupName }));
|
|
2911
2893
|
};
|
|
2912
2894
|
var serializeAws_json1_1GetEndpointAccessRequest = function (input, context) {
|
|
2913
|
-
return __assign({}, (input.endpointName
|
|
2895
|
+
return __assign({}, (input.endpointName != null && { endpointName: input.endpointName }));
|
|
2914
2896
|
};
|
|
2915
2897
|
var serializeAws_json1_1GetNamespaceRequest = function (input, context) {
|
|
2916
|
-
return __assign({}, (input.namespaceName
|
|
2898
|
+
return __assign({}, (input.namespaceName != null && { namespaceName: input.namespaceName }));
|
|
2917
2899
|
};
|
|
2918
2900
|
var serializeAws_json1_1GetRecoveryPointRequest = function (input, context) {
|
|
2919
|
-
return __assign({}, (input.recoveryPointId
|
|
2920
|
-
input.recoveryPointId !== null && { recoveryPointId: input.recoveryPointId }));
|
|
2901
|
+
return __assign({}, (input.recoveryPointId != null && { recoveryPointId: input.recoveryPointId }));
|
|
2921
2902
|
};
|
|
2922
2903
|
var serializeAws_json1_1GetResourcePolicyRequest = function (input, context) {
|
|
2923
|
-
return __assign({}, (input.resourceArn
|
|
2904
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
2924
2905
|
};
|
|
2925
2906
|
var serializeAws_json1_1GetSnapshotRequest = function (input, context) {
|
|
2926
|
-
return __assign(__assign(__assign({}, (input.ownerAccount
|
|
2907
|
+
return __assign(__assign(__assign({}, (input.ownerAccount != null && { ownerAccount: input.ownerAccount })), (input.snapshotArn != null && { snapshotArn: input.snapshotArn })), (input.snapshotName != null && { snapshotName: input.snapshotName }));
|
|
2927
2908
|
};
|
|
2928
2909
|
var serializeAws_json1_1GetUsageLimitRequest = function (input, context) {
|
|
2929
|
-
return __assign({}, (input.usageLimitId
|
|
2910
|
+
return __assign({}, (input.usageLimitId != null && { usageLimitId: input.usageLimitId }));
|
|
2930
2911
|
};
|
|
2931
2912
|
var serializeAws_json1_1GetWorkgroupRequest = function (input, context) {
|
|
2932
|
-
return __assign({}, (input.workgroupName
|
|
2913
|
+
return __assign({}, (input.workgroupName != null && { workgroupName: input.workgroupName }));
|
|
2933
2914
|
};
|
|
2934
2915
|
var serializeAws_json1_1IamRoleArnList = function (input, context) {
|
|
2935
2916
|
return input
|
|
@@ -2942,29 +2923,25 @@ var serializeAws_json1_1IamRoleArnList = function (input, context) {
|
|
|
2942
2923
|
});
|
|
2943
2924
|
};
|
|
2944
2925
|
var serializeAws_json1_1ListEndpointAccessRequest = function (input, context) {
|
|
2945
|
-
return __assign(__assign(__assign(__assign({}, (input.maxResults
|
|
2926
|
+
return __assign(__assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.vpcId != null && { vpcId: input.vpcId })), (input.workgroupName != null && { workgroupName: input.workgroupName }));
|
|
2946
2927
|
};
|
|
2947
2928
|
var serializeAws_json1_1ListNamespacesRequest = function (input, context) {
|
|
2948
|
-
return __assign(__assign({}, (input.maxResults
|
|
2929
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
2949
2930
|
};
|
|
2950
2931
|
var serializeAws_json1_1ListRecoveryPointsRequest = function (input, context) {
|
|
2951
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.endTime
|
|
2952
|
-
input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.namespaceName !== undefined && input.namespaceName !== null && { namespaceName: input.namespaceName })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.startTime !== undefined &&
|
|
2953
|
-
input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }));
|
|
2932
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.namespaceName != null && { namespaceName: input.namespaceName })), (input.nextToken != null && { nextToken: input.nextToken })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }));
|
|
2954
2933
|
};
|
|
2955
2934
|
var serializeAws_json1_1ListSnapshotsRequest = function (input, context) {
|
|
2956
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime
|
|
2957
|
-
input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.namespaceArn !== undefined && input.namespaceArn !== null && { namespaceArn: input.namespaceArn })), (input.namespaceName !== undefined && input.namespaceName !== null && { namespaceName: input.namespaceName })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.ownerAccount !== undefined && input.ownerAccount !== null && { ownerAccount: input.ownerAccount })), (input.startTime !== undefined &&
|
|
2958
|
-
input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }));
|
|
2935
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.namespaceArn != null && { namespaceArn: input.namespaceArn })), (input.namespaceName != null && { namespaceName: input.namespaceName })), (input.nextToken != null && { nextToken: input.nextToken })), (input.ownerAccount != null && { ownerAccount: input.ownerAccount })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }));
|
|
2959
2936
|
};
|
|
2960
2937
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
2961
|
-
return __assign({}, (input.resourceArn
|
|
2938
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
2962
2939
|
};
|
|
2963
2940
|
var serializeAws_json1_1ListUsageLimitsRequest = function (input, context) {
|
|
2964
|
-
return __assign(__assign(__assign(__assign({}, (input.maxResults
|
|
2941
|
+
return __assign(__assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.usageType != null && { usageType: input.usageType }));
|
|
2965
2942
|
};
|
|
2966
2943
|
var serializeAws_json1_1ListWorkgroupsRequest = function (input, context) {
|
|
2967
|
-
return __assign(__assign({}, (input.maxResults
|
|
2944
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
2968
2945
|
};
|
|
2969
2946
|
var serializeAws_json1_1LogExportList = function (input, context) {
|
|
2970
2947
|
return input
|
|
@@ -2977,14 +2954,13 @@ var serializeAws_json1_1LogExportList = function (input, context) {
|
|
|
2977
2954
|
});
|
|
2978
2955
|
};
|
|
2979
2956
|
var serializeAws_json1_1PutResourcePolicyRequest = function (input, context) {
|
|
2980
|
-
return __assign(__assign({}, (input.policy
|
|
2957
|
+
return __assign(__assign({}, (input.policy != null && { policy: input.policy })), (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
2981
2958
|
};
|
|
2982
2959
|
var serializeAws_json1_1RestoreFromRecoveryPointRequest = function (input, context) {
|
|
2983
|
-
return __assign(__assign(__assign({}, (input.namespaceName
|
|
2984
|
-
input.recoveryPointId !== null && { recoveryPointId: input.recoveryPointId })), (input.workgroupName !== undefined && input.workgroupName !== null && { workgroupName: input.workgroupName }));
|
|
2960
|
+
return __assign(__assign(__assign({}, (input.namespaceName != null && { namespaceName: input.namespaceName })), (input.recoveryPointId != null && { recoveryPointId: input.recoveryPointId })), (input.workgroupName != null && { workgroupName: input.workgroupName }));
|
|
2985
2961
|
};
|
|
2986
2962
|
var serializeAws_json1_1RestoreFromSnapshotRequest = function (input, context) {
|
|
2987
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.namespaceName
|
|
2963
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.namespaceName != null && { namespaceName: input.namespaceName })), (input.ownerAccount != null && { ownerAccount: input.ownerAccount })), (input.snapshotArn != null && { snapshotArn: input.snapshotArn })), (input.snapshotName != null && { snapshotName: input.snapshotName })), (input.workgroupName != null && { workgroupName: input.workgroupName }));
|
|
2988
2964
|
};
|
|
2989
2965
|
var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
2990
2966
|
return input
|
|
@@ -3007,7 +2983,7 @@ var serializeAws_json1_1SubnetIdList = function (input, context) {
|
|
|
3007
2983
|
});
|
|
3008
2984
|
};
|
|
3009
2985
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
3010
|
-
return __assign(__assign({}, (input.key
|
|
2986
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
3011
2987
|
};
|
|
3012
2988
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
3013
2989
|
return input
|
|
@@ -3030,43 +3006,31 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
3030
3006
|
});
|
|
3031
3007
|
};
|
|
3032
3008
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
3033
|
-
return __assign(__assign({}, (input.resourceArn
|
|
3009
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
3034
3010
|
};
|
|
3035
3011
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
3036
|
-
return __assign(__assign({}, (input.resourceArn
|
|
3037
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }));
|
|
3012
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }));
|
|
3038
3013
|
};
|
|
3039
3014
|
var serializeAws_json1_1UpdateEndpointAccessRequest = function (input, context) {
|
|
3040
|
-
return __assign(__assign({}, (input.endpointName
|
|
3041
|
-
input.vpcSecurityGroupIds !== null && {
|
|
3015
|
+
return __assign(__assign({}, (input.endpointName != null && { endpointName: input.endpointName })), (input.vpcSecurityGroupIds != null && {
|
|
3042
3016
|
vpcSecurityGroupIds: serializeAws_json1_1VpcSecurityGroupIdList(input.vpcSecurityGroupIds, context),
|
|
3043
3017
|
}));
|
|
3044
3018
|
};
|
|
3045
3019
|
var serializeAws_json1_1UpdateNamespaceRequest = function (input, context) {
|
|
3046
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.adminUserPassword
|
|
3047
|
-
input.adminUserPassword !== null && { adminUserPassword: input.adminUserPassword })), (input.adminUsername !== undefined && input.adminUsername !== null && { adminUsername: input.adminUsername })), (input.defaultIamRoleArn !== undefined &&
|
|
3048
|
-
input.defaultIamRoleArn !== null && { defaultIamRoleArn: input.defaultIamRoleArn })), (input.iamRoles !== undefined &&
|
|
3049
|
-
input.iamRoles !== null && { iamRoles: serializeAws_json1_1IamRoleArnList(input.iamRoles, context) })), (input.kmsKeyId !== undefined && input.kmsKeyId !== null && { kmsKeyId: input.kmsKeyId })), (input.logExports !== undefined &&
|
|
3050
|
-
input.logExports !== null && { logExports: serializeAws_json1_1LogExportList(input.logExports, context) })), (input.namespaceName !== undefined && input.namespaceName !== null && { namespaceName: input.namespaceName }));
|
|
3020
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.adminUserPassword != null && { adminUserPassword: input.adminUserPassword })), (input.adminUsername != null && { adminUsername: input.adminUsername })), (input.defaultIamRoleArn != null && { defaultIamRoleArn: input.defaultIamRoleArn })), (input.iamRoles != null && { iamRoles: serializeAws_json1_1IamRoleArnList(input.iamRoles, context) })), (input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId })), (input.logExports != null && { logExports: serializeAws_json1_1LogExportList(input.logExports, context) })), (input.namespaceName != null && { namespaceName: input.namespaceName }));
|
|
3051
3021
|
};
|
|
3052
3022
|
var serializeAws_json1_1UpdateSnapshotRequest = function (input, context) {
|
|
3053
|
-
return __assign(__assign({}, (input.retentionPeriod
|
|
3054
|
-
input.retentionPeriod !== null && { retentionPeriod: input.retentionPeriod })), (input.snapshotName !== undefined && input.snapshotName !== null && { snapshotName: input.snapshotName }));
|
|
3023
|
+
return __assign(__assign({}, (input.retentionPeriod != null && { retentionPeriod: input.retentionPeriod })), (input.snapshotName != null && { snapshotName: input.snapshotName }));
|
|
3055
3024
|
};
|
|
3056
3025
|
var serializeAws_json1_1UpdateUsageLimitRequest = function (input, context) {
|
|
3057
|
-
return __assign(__assign(__assign({}, (input.amount
|
|
3026
|
+
return __assign(__assign(__assign({}, (input.amount != null && { amount: input.amount })), (input.breachAction != null && { breachAction: input.breachAction })), (input.usageLimitId != null && { usageLimitId: input.usageLimitId }));
|
|
3058
3027
|
};
|
|
3059
3028
|
var serializeAws_json1_1UpdateWorkgroupRequest = function (input, context) {
|
|
3060
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.baseCapacity
|
|
3061
|
-
input.configParameters !== null && {
|
|
3029
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.baseCapacity != null && { baseCapacity: input.baseCapacity })), (input.configParameters != null && {
|
|
3062
3030
|
configParameters: serializeAws_json1_1ConfigParameterList(input.configParameters, context),
|
|
3063
|
-
})), (input.enhancedVpcRouting
|
|
3064
|
-
input.enhancedVpcRouting !== null && { enhancedVpcRouting: input.enhancedVpcRouting })), (input.publiclyAccessible !== undefined &&
|
|
3065
|
-
input.publiclyAccessible !== null && { publiclyAccessible: input.publiclyAccessible })), (input.securityGroupIds !== undefined &&
|
|
3066
|
-
input.securityGroupIds !== null && {
|
|
3031
|
+
})), (input.enhancedVpcRouting != null && { enhancedVpcRouting: input.enhancedVpcRouting })), (input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible })), (input.securityGroupIds != null && {
|
|
3067
3032
|
securityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.securityGroupIds, context),
|
|
3068
|
-
})), (input.subnetIds
|
|
3069
|
-
input.subnetIds !== null && { subnetIds: serializeAws_json1_1SubnetIdList(input.subnetIds, context) })), (input.workgroupName !== undefined && input.workgroupName !== null && { workgroupName: input.workgroupName }));
|
|
3033
|
+
})), (input.subnetIds != null && { subnetIds: serializeAws_json1_1SubnetIdList(input.subnetIds, context) })), (input.workgroupName != null && { workgroupName: input.workgroupName }));
|
|
3070
3034
|
};
|
|
3071
3035
|
var serializeAws_json1_1VpcSecurityGroupIdList = function (input, context) {
|
|
3072
3036
|
return input
|
|
@@ -3119,58 +3083,42 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
3119
3083
|
};
|
|
3120
3084
|
var deserializeAws_json1_1ConvertRecoveryPointToSnapshotResponse = function (output, context) {
|
|
3121
3085
|
return {
|
|
3122
|
-
snapshot: output.snapshot
|
|
3123
|
-
? deserializeAws_json1_1Snapshot(output.snapshot, context)
|
|
3124
|
-
: undefined,
|
|
3086
|
+
snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
|
|
3125
3087
|
};
|
|
3126
3088
|
};
|
|
3127
3089
|
var deserializeAws_json1_1CreateEndpointAccessResponse = function (output, context) {
|
|
3128
3090
|
return {
|
|
3129
|
-
endpoint: output.endpoint
|
|
3130
|
-
? deserializeAws_json1_1EndpointAccess(output.endpoint, context)
|
|
3131
|
-
: undefined,
|
|
3091
|
+
endpoint: output.endpoint != null ? deserializeAws_json1_1EndpointAccess(output.endpoint, context) : undefined,
|
|
3132
3092
|
};
|
|
3133
3093
|
};
|
|
3134
3094
|
var deserializeAws_json1_1CreateNamespaceResponse = function (output, context) {
|
|
3135
3095
|
return {
|
|
3136
|
-
namespace: output.namespace
|
|
3137
|
-
? deserializeAws_json1_1Namespace(output.namespace, context)
|
|
3138
|
-
: undefined,
|
|
3096
|
+
namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
|
|
3139
3097
|
};
|
|
3140
3098
|
};
|
|
3141
3099
|
var deserializeAws_json1_1CreateSnapshotResponse = function (output, context) {
|
|
3142
3100
|
return {
|
|
3143
|
-
snapshot: output.snapshot
|
|
3144
|
-
? deserializeAws_json1_1Snapshot(output.snapshot, context)
|
|
3145
|
-
: undefined,
|
|
3101
|
+
snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
|
|
3146
3102
|
};
|
|
3147
3103
|
};
|
|
3148
3104
|
var deserializeAws_json1_1CreateUsageLimitResponse = function (output, context) {
|
|
3149
3105
|
return {
|
|
3150
|
-
usageLimit: output.usageLimit
|
|
3151
|
-
? deserializeAws_json1_1UsageLimit(output.usageLimit, context)
|
|
3152
|
-
: undefined,
|
|
3106
|
+
usageLimit: output.usageLimit != null ? deserializeAws_json1_1UsageLimit(output.usageLimit, context) : undefined,
|
|
3153
3107
|
};
|
|
3154
3108
|
};
|
|
3155
3109
|
var deserializeAws_json1_1CreateWorkgroupResponse = function (output, context) {
|
|
3156
3110
|
return {
|
|
3157
|
-
workgroup: output.workgroup
|
|
3158
|
-
? deserializeAws_json1_1Workgroup(output.workgroup, context)
|
|
3159
|
-
: undefined,
|
|
3111
|
+
workgroup: output.workgroup != null ? deserializeAws_json1_1Workgroup(output.workgroup, context) : undefined,
|
|
3160
3112
|
};
|
|
3161
3113
|
};
|
|
3162
3114
|
var deserializeAws_json1_1DeleteEndpointAccessResponse = function (output, context) {
|
|
3163
3115
|
return {
|
|
3164
|
-
endpoint: output.endpoint
|
|
3165
|
-
? deserializeAws_json1_1EndpointAccess(output.endpoint, context)
|
|
3166
|
-
: undefined,
|
|
3116
|
+
endpoint: output.endpoint != null ? deserializeAws_json1_1EndpointAccess(output.endpoint, context) : undefined,
|
|
3167
3117
|
};
|
|
3168
3118
|
};
|
|
3169
3119
|
var deserializeAws_json1_1DeleteNamespaceResponse = function (output, context) {
|
|
3170
3120
|
return {
|
|
3171
|
-
namespace: output.namespace
|
|
3172
|
-
? deserializeAws_json1_1Namespace(output.namespace, context)
|
|
3173
|
-
: undefined,
|
|
3121
|
+
namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
|
|
3174
3122
|
};
|
|
3175
3123
|
};
|
|
3176
3124
|
var deserializeAws_json1_1DeleteResourcePolicyResponse = function (output, context) {
|
|
@@ -3178,51 +3126,39 @@ var deserializeAws_json1_1DeleteResourcePolicyResponse = function (output, conte
|
|
|
3178
3126
|
};
|
|
3179
3127
|
var deserializeAws_json1_1DeleteSnapshotResponse = function (output, context) {
|
|
3180
3128
|
return {
|
|
3181
|
-
snapshot: output.snapshot
|
|
3182
|
-
? deserializeAws_json1_1Snapshot(output.snapshot, context)
|
|
3183
|
-
: undefined,
|
|
3129
|
+
snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
|
|
3184
3130
|
};
|
|
3185
3131
|
};
|
|
3186
3132
|
var deserializeAws_json1_1DeleteUsageLimitResponse = function (output, context) {
|
|
3187
3133
|
return {
|
|
3188
|
-
usageLimit: output.usageLimit
|
|
3189
|
-
? deserializeAws_json1_1UsageLimit(output.usageLimit, context)
|
|
3190
|
-
: undefined,
|
|
3134
|
+
usageLimit: output.usageLimit != null ? deserializeAws_json1_1UsageLimit(output.usageLimit, context) : undefined,
|
|
3191
3135
|
};
|
|
3192
3136
|
};
|
|
3193
3137
|
var deserializeAws_json1_1DeleteWorkgroupResponse = function (output, context) {
|
|
3194
3138
|
return {
|
|
3195
|
-
workgroup: output.workgroup
|
|
3196
|
-
? deserializeAws_json1_1Workgroup(output.workgroup, context)
|
|
3197
|
-
: undefined,
|
|
3139
|
+
workgroup: output.workgroup != null ? deserializeAws_json1_1Workgroup(output.workgroup, context) : undefined,
|
|
3198
3140
|
};
|
|
3199
3141
|
};
|
|
3200
3142
|
var deserializeAws_json1_1Endpoint = function (output, context) {
|
|
3201
3143
|
return {
|
|
3202
3144
|
address: __expectString(output.address),
|
|
3203
3145
|
port: __expectInt32(output.port),
|
|
3204
|
-
vpcEndpoints: output.vpcEndpoints
|
|
3205
|
-
? deserializeAws_json1_1VpcEndpointList(output.vpcEndpoints, context)
|
|
3206
|
-
: undefined,
|
|
3146
|
+
vpcEndpoints: output.vpcEndpoints != null ? deserializeAws_json1_1VpcEndpointList(output.vpcEndpoints, context) : undefined,
|
|
3207
3147
|
};
|
|
3208
3148
|
};
|
|
3209
3149
|
var deserializeAws_json1_1EndpointAccess = function (output, context) {
|
|
3210
3150
|
return {
|
|
3211
3151
|
address: __expectString(output.address),
|
|
3212
3152
|
endpointArn: __expectString(output.endpointArn),
|
|
3213
|
-
endpointCreateTime: output.endpointCreateTime
|
|
3153
|
+
endpointCreateTime: output.endpointCreateTime != null
|
|
3214
3154
|
? __expectNonNull(__parseRfc3339DateTime(output.endpointCreateTime))
|
|
3215
3155
|
: undefined,
|
|
3216
3156
|
endpointName: __expectString(output.endpointName),
|
|
3217
3157
|
endpointStatus: __expectString(output.endpointStatus),
|
|
3218
3158
|
port: __expectInt32(output.port),
|
|
3219
|
-
subnetIds: output.subnetIds
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
vpcEndpoint: output.vpcEndpoint !== undefined && output.vpcEndpoint !== null
|
|
3223
|
-
? deserializeAws_json1_1VpcEndpoint(output.vpcEndpoint, context)
|
|
3224
|
-
: undefined,
|
|
3225
|
-
vpcSecurityGroups: output.vpcSecurityGroups !== undefined && output.vpcSecurityGroups !== null
|
|
3159
|
+
subnetIds: output.subnetIds != null ? deserializeAws_json1_1SubnetIdList(output.subnetIds, context) : undefined,
|
|
3160
|
+
vpcEndpoint: output.vpcEndpoint != null ? deserializeAws_json1_1VpcEndpoint(output.vpcEndpoint, context) : undefined,
|
|
3161
|
+
vpcSecurityGroups: output.vpcSecurityGroups != null
|
|
3226
3162
|
? deserializeAws_json1_1VpcSecurityGroupMembershipList(output.vpcSecurityGroups, context)
|
|
3227
3163
|
: undefined,
|
|
3228
3164
|
workgroupName: __expectString(output.workgroupName),
|
|
@@ -3243,61 +3179,45 @@ var deserializeAws_json1_1GetCredentialsResponse = function (output, context) {
|
|
|
3243
3179
|
return {
|
|
3244
3180
|
dbPassword: __expectString(output.dbPassword),
|
|
3245
3181
|
dbUser: __expectString(output.dbUser),
|
|
3246
|
-
expiration: output.expiration
|
|
3247
|
-
|
|
3248
|
-
: undefined,
|
|
3249
|
-
nextRefreshTime: output.nextRefreshTime !== undefined && output.nextRefreshTime !== null
|
|
3182
|
+
expiration: output.expiration != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiration))) : undefined,
|
|
3183
|
+
nextRefreshTime: output.nextRefreshTime != null
|
|
3250
3184
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.nextRefreshTime)))
|
|
3251
3185
|
: undefined,
|
|
3252
3186
|
};
|
|
3253
3187
|
};
|
|
3254
3188
|
var deserializeAws_json1_1GetEndpointAccessResponse = function (output, context) {
|
|
3255
3189
|
return {
|
|
3256
|
-
endpoint: output.endpoint
|
|
3257
|
-
? deserializeAws_json1_1EndpointAccess(output.endpoint, context)
|
|
3258
|
-
: undefined,
|
|
3190
|
+
endpoint: output.endpoint != null ? deserializeAws_json1_1EndpointAccess(output.endpoint, context) : undefined,
|
|
3259
3191
|
};
|
|
3260
3192
|
};
|
|
3261
3193
|
var deserializeAws_json1_1GetNamespaceResponse = function (output, context) {
|
|
3262
3194
|
return {
|
|
3263
|
-
namespace: output.namespace
|
|
3264
|
-
? deserializeAws_json1_1Namespace(output.namespace, context)
|
|
3265
|
-
: undefined,
|
|
3195
|
+
namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
|
|
3266
3196
|
};
|
|
3267
3197
|
};
|
|
3268
3198
|
var deserializeAws_json1_1GetRecoveryPointResponse = function (output, context) {
|
|
3269
3199
|
return {
|
|
3270
|
-
recoveryPoint: output.recoveryPoint
|
|
3271
|
-
? deserializeAws_json1_1RecoveryPoint(output.recoveryPoint, context)
|
|
3272
|
-
: undefined,
|
|
3200
|
+
recoveryPoint: output.recoveryPoint != null ? deserializeAws_json1_1RecoveryPoint(output.recoveryPoint, context) : undefined,
|
|
3273
3201
|
};
|
|
3274
3202
|
};
|
|
3275
3203
|
var deserializeAws_json1_1GetResourcePolicyResponse = function (output, context) {
|
|
3276
3204
|
return {
|
|
3277
|
-
resourcePolicy: output.resourcePolicy
|
|
3278
|
-
? deserializeAws_json1_1ResourcePolicy(output.resourcePolicy, context)
|
|
3279
|
-
: undefined,
|
|
3205
|
+
resourcePolicy: output.resourcePolicy != null ? deserializeAws_json1_1ResourcePolicy(output.resourcePolicy, context) : undefined,
|
|
3280
3206
|
};
|
|
3281
3207
|
};
|
|
3282
3208
|
var deserializeAws_json1_1GetSnapshotResponse = function (output, context) {
|
|
3283
3209
|
return {
|
|
3284
|
-
snapshot: output.snapshot
|
|
3285
|
-
? deserializeAws_json1_1Snapshot(output.snapshot, context)
|
|
3286
|
-
: undefined,
|
|
3210
|
+
snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
|
|
3287
3211
|
};
|
|
3288
3212
|
};
|
|
3289
3213
|
var deserializeAws_json1_1GetUsageLimitResponse = function (output, context) {
|
|
3290
3214
|
return {
|
|
3291
|
-
usageLimit: output.usageLimit
|
|
3292
|
-
? deserializeAws_json1_1UsageLimit(output.usageLimit, context)
|
|
3293
|
-
: undefined,
|
|
3215
|
+
usageLimit: output.usageLimit != null ? deserializeAws_json1_1UsageLimit(output.usageLimit, context) : undefined,
|
|
3294
3216
|
};
|
|
3295
3217
|
};
|
|
3296
3218
|
var deserializeAws_json1_1GetWorkgroupResponse = function (output, context) {
|
|
3297
3219
|
return {
|
|
3298
|
-
workgroup: output.workgroup
|
|
3299
|
-
? deserializeAws_json1_1Workgroup(output.workgroup, context)
|
|
3300
|
-
: undefined,
|
|
3220
|
+
workgroup: output.workgroup != null ? deserializeAws_json1_1Workgroup(output.workgroup, context) : undefined,
|
|
3301
3221
|
};
|
|
3302
3222
|
};
|
|
3303
3223
|
var deserializeAws_json1_1IamRoleArnList = function (output, context) {
|
|
@@ -3328,24 +3248,20 @@ var deserializeAws_json1_1InvalidPaginationException = function (output, context
|
|
|
3328
3248
|
};
|
|
3329
3249
|
var deserializeAws_json1_1ListEndpointAccessResponse = function (output, context) {
|
|
3330
3250
|
return {
|
|
3331
|
-
endpoints: output.endpoints
|
|
3332
|
-
? deserializeAws_json1_1EndpointAccessList(output.endpoints, context)
|
|
3333
|
-
: undefined,
|
|
3251
|
+
endpoints: output.endpoints != null ? deserializeAws_json1_1EndpointAccessList(output.endpoints, context) : undefined,
|
|
3334
3252
|
nextToken: __expectString(output.nextToken),
|
|
3335
3253
|
};
|
|
3336
3254
|
};
|
|
3337
3255
|
var deserializeAws_json1_1ListNamespacesResponse = function (output, context) {
|
|
3338
3256
|
return {
|
|
3339
|
-
namespaces: output.namespaces
|
|
3340
|
-
? deserializeAws_json1_1NamespaceList(output.namespaces, context)
|
|
3341
|
-
: undefined,
|
|
3257
|
+
namespaces: output.namespaces != null ? deserializeAws_json1_1NamespaceList(output.namespaces, context) : undefined,
|
|
3342
3258
|
nextToken: __expectString(output.nextToken),
|
|
3343
3259
|
};
|
|
3344
3260
|
};
|
|
3345
3261
|
var deserializeAws_json1_1ListRecoveryPointsResponse = function (output, context) {
|
|
3346
3262
|
return {
|
|
3347
3263
|
nextToken: __expectString(output.nextToken),
|
|
3348
|
-
recoveryPoints: output.recoveryPoints
|
|
3264
|
+
recoveryPoints: output.recoveryPoints != null
|
|
3349
3265
|
? deserializeAws_json1_1RecoveryPointList(output.recoveryPoints, context)
|
|
3350
3266
|
: undefined,
|
|
3351
3267
|
};
|
|
@@ -3353,32 +3269,24 @@ var deserializeAws_json1_1ListRecoveryPointsResponse = function (output, context
|
|
|
3353
3269
|
var deserializeAws_json1_1ListSnapshotsResponse = function (output, context) {
|
|
3354
3270
|
return {
|
|
3355
3271
|
nextToken: __expectString(output.nextToken),
|
|
3356
|
-
snapshots: output.snapshots
|
|
3357
|
-
? deserializeAws_json1_1SnapshotList(output.snapshots, context)
|
|
3358
|
-
: undefined,
|
|
3272
|
+
snapshots: output.snapshots != null ? deserializeAws_json1_1SnapshotList(output.snapshots, context) : undefined,
|
|
3359
3273
|
};
|
|
3360
3274
|
};
|
|
3361
3275
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
3362
3276
|
return {
|
|
3363
|
-
tags: output.tags
|
|
3364
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
3365
|
-
: undefined,
|
|
3277
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
3366
3278
|
};
|
|
3367
3279
|
};
|
|
3368
3280
|
var deserializeAws_json1_1ListUsageLimitsResponse = function (output, context) {
|
|
3369
3281
|
return {
|
|
3370
3282
|
nextToken: __expectString(output.nextToken),
|
|
3371
|
-
usageLimits: output.usageLimits
|
|
3372
|
-
? deserializeAws_json1_1UsageLimits(output.usageLimits, context)
|
|
3373
|
-
: undefined,
|
|
3283
|
+
usageLimits: output.usageLimits != null ? deserializeAws_json1_1UsageLimits(output.usageLimits, context) : undefined,
|
|
3374
3284
|
};
|
|
3375
3285
|
};
|
|
3376
3286
|
var deserializeAws_json1_1ListWorkgroupsResponse = function (output, context) {
|
|
3377
3287
|
return {
|
|
3378
3288
|
nextToken: __expectString(output.nextToken),
|
|
3379
|
-
workgroups: output.workgroups
|
|
3380
|
-
? deserializeAws_json1_1WorkgroupList(output.workgroups, context)
|
|
3381
|
-
: undefined,
|
|
3289
|
+
workgroups: output.workgroups != null ? deserializeAws_json1_1WorkgroupList(output.workgroups, context) : undefined,
|
|
3382
3290
|
};
|
|
3383
3291
|
};
|
|
3384
3292
|
var deserializeAws_json1_1LogExportList = function (output, context) {
|
|
@@ -3395,18 +3303,12 @@ var deserializeAws_json1_1LogExportList = function (output, context) {
|
|
|
3395
3303
|
var deserializeAws_json1_1Namespace = function (output, context) {
|
|
3396
3304
|
return {
|
|
3397
3305
|
adminUsername: __expectString(output.adminUsername),
|
|
3398
|
-
creationDate: output.creationDate
|
|
3399
|
-
? __expectNonNull(__parseRfc3339DateTime(output.creationDate))
|
|
3400
|
-
: undefined,
|
|
3306
|
+
creationDate: output.creationDate != null ? __expectNonNull(__parseRfc3339DateTime(output.creationDate)) : undefined,
|
|
3401
3307
|
dbName: __expectString(output.dbName),
|
|
3402
3308
|
defaultIamRoleArn: __expectString(output.defaultIamRoleArn),
|
|
3403
|
-
iamRoles: output.iamRoles
|
|
3404
|
-
? deserializeAws_json1_1IamRoleArnList(output.iamRoles, context)
|
|
3405
|
-
: undefined,
|
|
3309
|
+
iamRoles: output.iamRoles != null ? deserializeAws_json1_1IamRoleArnList(output.iamRoles, context) : undefined,
|
|
3406
3310
|
kmsKeyId: __expectString(output.kmsKeyId),
|
|
3407
|
-
logExports: output.logExports
|
|
3408
|
-
? deserializeAws_json1_1LogExportList(output.logExports, context)
|
|
3409
|
-
: undefined,
|
|
3311
|
+
logExports: output.logExports != null ? deserializeAws_json1_1LogExportList(output.logExports, context) : undefined,
|
|
3410
3312
|
namespaceArn: __expectString(output.namespaceArn),
|
|
3411
3313
|
namespaceId: __expectString(output.namespaceId),
|
|
3412
3314
|
namespaceName: __expectString(output.namespaceName),
|
|
@@ -3445,15 +3347,13 @@ var deserializeAws_json1_1NetworkInterfaceList = function (output, context) {
|
|
|
3445
3347
|
};
|
|
3446
3348
|
var deserializeAws_json1_1PutResourcePolicyResponse = function (output, context) {
|
|
3447
3349
|
return {
|
|
3448
|
-
resourcePolicy: output.resourcePolicy
|
|
3449
|
-
? deserializeAws_json1_1ResourcePolicy(output.resourcePolicy, context)
|
|
3450
|
-
: undefined,
|
|
3350
|
+
resourcePolicy: output.resourcePolicy != null ? deserializeAws_json1_1ResourcePolicy(output.resourcePolicy, context) : undefined,
|
|
3451
3351
|
};
|
|
3452
3352
|
};
|
|
3453
3353
|
var deserializeAws_json1_1RecoveryPoint = function (output, context) {
|
|
3454
3354
|
return {
|
|
3455
3355
|
namespaceName: __expectString(output.namespaceName),
|
|
3456
|
-
recoveryPointCreateTime: output.recoveryPointCreateTime
|
|
3356
|
+
recoveryPointCreateTime: output.recoveryPointCreateTime != null
|
|
3457
3357
|
? __expectNonNull(__parseRfc3339DateTime(output.recoveryPointCreateTime))
|
|
3458
3358
|
: undefined,
|
|
3459
3359
|
recoveryPointId: __expectString(output.recoveryPointId),
|
|
@@ -3486,17 +3386,13 @@ var deserializeAws_json1_1ResourcePolicy = function (output, context) {
|
|
|
3486
3386
|
};
|
|
3487
3387
|
var deserializeAws_json1_1RestoreFromRecoveryPointResponse = function (output, context) {
|
|
3488
3388
|
return {
|
|
3489
|
-
namespace: output.namespace
|
|
3490
|
-
? deserializeAws_json1_1Namespace(output.namespace, context)
|
|
3491
|
-
: undefined,
|
|
3389
|
+
namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
|
|
3492
3390
|
recoveryPointId: __expectString(output.recoveryPointId),
|
|
3493
3391
|
};
|
|
3494
3392
|
};
|
|
3495
3393
|
var deserializeAws_json1_1RestoreFromSnapshotResponse = function (output, context) {
|
|
3496
3394
|
return {
|
|
3497
|
-
namespace: output.namespace
|
|
3498
|
-
? deserializeAws_json1_1Namespace(output.namespace, context)
|
|
3499
|
-
: undefined,
|
|
3395
|
+
namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
|
|
3500
3396
|
ownerAccount: __expectString(output.ownerAccount),
|
|
3501
3397
|
snapshotName: __expectString(output.snapshotName),
|
|
3502
3398
|
};
|
|
@@ -3519,10 +3415,10 @@ var deserializeAws_json1_1ServiceQuotaExceededException = function (output, cont
|
|
|
3519
3415
|
};
|
|
3520
3416
|
var deserializeAws_json1_1Snapshot = function (output, context) {
|
|
3521
3417
|
return {
|
|
3522
|
-
accountsWithProvisionedRestoreAccess: output.accountsWithProvisionedRestoreAccess
|
|
3418
|
+
accountsWithProvisionedRestoreAccess: output.accountsWithProvisionedRestoreAccess != null
|
|
3523
3419
|
? deserializeAws_json1_1AccountIdList(output.accountsWithProvisionedRestoreAccess, context)
|
|
3524
3420
|
: undefined,
|
|
3525
|
-
accountsWithRestoreAccess: output.accountsWithRestoreAccess
|
|
3421
|
+
accountsWithRestoreAccess: output.accountsWithRestoreAccess != null
|
|
3526
3422
|
? deserializeAws_json1_1AccountIdList(output.accountsWithRestoreAccess, context)
|
|
3527
3423
|
: undefined,
|
|
3528
3424
|
actualIncrementalBackupSizeInMegaBytes: __limitedParseDouble(output.actualIncrementalBackupSizeInMegaBytes),
|
|
@@ -3536,13 +3432,13 @@ var deserializeAws_json1_1Snapshot = function (output, context) {
|
|
|
3536
3432
|
namespaceName: __expectString(output.namespaceName),
|
|
3537
3433
|
ownerAccount: __expectString(output.ownerAccount),
|
|
3538
3434
|
snapshotArn: __expectString(output.snapshotArn),
|
|
3539
|
-
snapshotCreateTime: output.snapshotCreateTime
|
|
3435
|
+
snapshotCreateTime: output.snapshotCreateTime != null
|
|
3540
3436
|
? __expectNonNull(__parseRfc3339DateTime(output.snapshotCreateTime))
|
|
3541
3437
|
: undefined,
|
|
3542
3438
|
snapshotName: __expectString(output.snapshotName),
|
|
3543
3439
|
snapshotRemainingDays: __expectInt32(output.snapshotRemainingDays),
|
|
3544
3440
|
snapshotRetentionPeriod: __expectInt32(output.snapshotRetentionPeriod),
|
|
3545
|
-
snapshotRetentionStartTime: output.snapshotRetentionStartTime
|
|
3441
|
+
snapshotRetentionStartTime: output.snapshotRetentionStartTime != null
|
|
3546
3442
|
? __expectNonNull(__parseRfc3339DateTime(output.snapshotRetentionStartTime))
|
|
3547
3443
|
: undefined,
|
|
3548
3444
|
status: __expectString(output.status),
|
|
@@ -3608,37 +3504,27 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
3608
3504
|
};
|
|
3609
3505
|
var deserializeAws_json1_1UpdateEndpointAccessResponse = function (output, context) {
|
|
3610
3506
|
return {
|
|
3611
|
-
endpoint: output.endpoint
|
|
3612
|
-
? deserializeAws_json1_1EndpointAccess(output.endpoint, context)
|
|
3613
|
-
: undefined,
|
|
3507
|
+
endpoint: output.endpoint != null ? deserializeAws_json1_1EndpointAccess(output.endpoint, context) : undefined,
|
|
3614
3508
|
};
|
|
3615
3509
|
};
|
|
3616
3510
|
var deserializeAws_json1_1UpdateNamespaceResponse = function (output, context) {
|
|
3617
3511
|
return {
|
|
3618
|
-
namespace: output.namespace
|
|
3619
|
-
? deserializeAws_json1_1Namespace(output.namespace, context)
|
|
3620
|
-
: undefined,
|
|
3512
|
+
namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
|
|
3621
3513
|
};
|
|
3622
3514
|
};
|
|
3623
3515
|
var deserializeAws_json1_1UpdateSnapshotResponse = function (output, context) {
|
|
3624
3516
|
return {
|
|
3625
|
-
snapshot: output.snapshot
|
|
3626
|
-
? deserializeAws_json1_1Snapshot(output.snapshot, context)
|
|
3627
|
-
: undefined,
|
|
3517
|
+
snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
|
|
3628
3518
|
};
|
|
3629
3519
|
};
|
|
3630
3520
|
var deserializeAws_json1_1UpdateUsageLimitResponse = function (output, context) {
|
|
3631
3521
|
return {
|
|
3632
|
-
usageLimit: output.usageLimit
|
|
3633
|
-
? deserializeAws_json1_1UsageLimit(output.usageLimit, context)
|
|
3634
|
-
: undefined,
|
|
3522
|
+
usageLimit: output.usageLimit != null ? deserializeAws_json1_1UsageLimit(output.usageLimit, context) : undefined,
|
|
3635
3523
|
};
|
|
3636
3524
|
};
|
|
3637
3525
|
var deserializeAws_json1_1UpdateWorkgroupResponse = function (output, context) {
|
|
3638
3526
|
return {
|
|
3639
|
-
workgroup: output.workgroup
|
|
3640
|
-
? deserializeAws_json1_1Workgroup(output.workgroup, context)
|
|
3641
|
-
: undefined,
|
|
3527
|
+
workgroup: output.workgroup != null ? deserializeAws_json1_1Workgroup(output.workgroup, context) : undefined,
|
|
3642
3528
|
};
|
|
3643
3529
|
};
|
|
3644
3530
|
var deserializeAws_json1_1UsageLimit = function (output, context) {
|
|
@@ -3670,7 +3556,7 @@ var deserializeAws_json1_1ValidationException = function (output, context) {
|
|
|
3670
3556
|
};
|
|
3671
3557
|
var deserializeAws_json1_1VpcEndpoint = function (output, context) {
|
|
3672
3558
|
return {
|
|
3673
|
-
networkInterfaces: output.networkInterfaces
|
|
3559
|
+
networkInterfaces: output.networkInterfaces != null
|
|
3674
3560
|
? deserializeAws_json1_1NetworkInterfaceList(output.networkInterfaces, context)
|
|
3675
3561
|
: undefined,
|
|
3676
3562
|
vpcEndpointId: __expectString(output.vpcEndpointId),
|
|
@@ -3708,25 +3594,19 @@ var deserializeAws_json1_1VpcSecurityGroupMembershipList = function (output, con
|
|
|
3708
3594
|
var deserializeAws_json1_1Workgroup = function (output, context) {
|
|
3709
3595
|
return {
|
|
3710
3596
|
baseCapacity: __expectInt32(output.baseCapacity),
|
|
3711
|
-
configParameters: output.configParameters
|
|
3597
|
+
configParameters: output.configParameters != null
|
|
3712
3598
|
? deserializeAws_json1_1ConfigParameterList(output.configParameters, context)
|
|
3713
3599
|
: undefined,
|
|
3714
|
-
creationDate: output.creationDate
|
|
3715
|
-
|
|
3716
|
-
: undefined,
|
|
3717
|
-
endpoint: output.endpoint !== undefined && output.endpoint !== null
|
|
3718
|
-
? deserializeAws_json1_1Endpoint(output.endpoint, context)
|
|
3719
|
-
: undefined,
|
|
3600
|
+
creationDate: output.creationDate != null ? __expectNonNull(__parseRfc3339DateTime(output.creationDate)) : undefined,
|
|
3601
|
+
endpoint: output.endpoint != null ? deserializeAws_json1_1Endpoint(output.endpoint, context) : undefined,
|
|
3720
3602
|
enhancedVpcRouting: __expectBoolean(output.enhancedVpcRouting),
|
|
3721
3603
|
namespaceName: __expectString(output.namespaceName),
|
|
3722
3604
|
publiclyAccessible: __expectBoolean(output.publiclyAccessible),
|
|
3723
|
-
securityGroupIds: output.securityGroupIds
|
|
3605
|
+
securityGroupIds: output.securityGroupIds != null
|
|
3724
3606
|
? deserializeAws_json1_1SecurityGroupIdList(output.securityGroupIds, context)
|
|
3725
3607
|
: undefined,
|
|
3726
3608
|
status: __expectString(output.status),
|
|
3727
|
-
subnetIds: output.subnetIds
|
|
3728
|
-
? deserializeAws_json1_1SubnetIdList(output.subnetIds, context)
|
|
3729
|
-
: undefined,
|
|
3609
|
+
subnetIds: output.subnetIds != null ? deserializeAws_json1_1SubnetIdList(output.subnetIds, context) : undefined,
|
|
3730
3610
|
workgroupArn: __expectString(output.workgroupArn),
|
|
3731
3611
|
workgroupId: __expectString(output.workgroupId),
|
|
3732
3612
|
workgroupName: __expectString(output.workgroupName),
|