@aws-sdk/client-keyspaces 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_0.js +87 -127
- package/dist-es/protocols/Aws_json1_0.js +56 -96
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-keyspaces
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -846,18 +846,15 @@ const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, c
|
|
|
846
846
|
};
|
|
847
847
|
const serializeAws_json1_0CapacitySpecification = (input, context) => {
|
|
848
848
|
return {
|
|
849
|
-
...(input.readCapacityUnits
|
|
850
|
-
|
|
851
|
-
...(input.
|
|
852
|
-
input.throughputMode !== null && { throughputMode: input.throughputMode }),
|
|
853
|
-
...(input.writeCapacityUnits !== undefined &&
|
|
854
|
-
input.writeCapacityUnits !== null && { writeCapacityUnits: input.writeCapacityUnits }),
|
|
849
|
+
...(input.readCapacityUnits != null && { readCapacityUnits: input.readCapacityUnits }),
|
|
850
|
+
...(input.throughputMode != null && { throughputMode: input.throughputMode }),
|
|
851
|
+
...(input.writeCapacityUnits != null && { writeCapacityUnits: input.writeCapacityUnits }),
|
|
855
852
|
};
|
|
856
853
|
};
|
|
857
854
|
const serializeAws_json1_0ClusteringKey = (input, context) => {
|
|
858
855
|
return {
|
|
859
|
-
...(input.name
|
|
860
|
-
...(input.orderBy
|
|
856
|
+
...(input.name != null && { name: input.name }),
|
|
857
|
+
...(input.orderBy != null && { orderBy: input.orderBy }),
|
|
861
858
|
};
|
|
862
859
|
};
|
|
863
860
|
const serializeAws_json1_0ClusteringKeyList = (input, context) => {
|
|
@@ -872,8 +869,8 @@ const serializeAws_json1_0ClusteringKeyList = (input, context) => {
|
|
|
872
869
|
};
|
|
873
870
|
const serializeAws_json1_0ColumnDefinition = (input, context) => {
|
|
874
871
|
return {
|
|
875
|
-
...(input.name
|
|
876
|
-
...(input.type
|
|
872
|
+
...(input.name != null && { name: input.name }),
|
|
873
|
+
...(input.type != null && { type: input.type }),
|
|
877
874
|
};
|
|
878
875
|
};
|
|
879
876
|
const serializeAws_json1_0ColumnDefinitionList = (input, context) => {
|
|
@@ -888,95 +885,88 @@ const serializeAws_json1_0ColumnDefinitionList = (input, context) => {
|
|
|
888
885
|
};
|
|
889
886
|
const serializeAws_json1_0Comment = (input, context) => {
|
|
890
887
|
return {
|
|
891
|
-
...(input.message
|
|
888
|
+
...(input.message != null && { message: input.message }),
|
|
892
889
|
};
|
|
893
890
|
};
|
|
894
891
|
const serializeAws_json1_0CreateKeyspaceRequest = (input, context) => {
|
|
895
892
|
return {
|
|
896
|
-
...(input.keyspaceName
|
|
897
|
-
...(input.tags
|
|
893
|
+
...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
|
|
894
|
+
...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
|
|
898
895
|
};
|
|
899
896
|
};
|
|
900
897
|
const serializeAws_json1_0CreateTableRequest = (input, context) => {
|
|
901
898
|
return {
|
|
902
|
-
...(input.capacitySpecification
|
|
903
|
-
input.capacitySpecification !== null && {
|
|
899
|
+
...(input.capacitySpecification != null && {
|
|
904
900
|
capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
|
|
905
901
|
}),
|
|
906
|
-
...(input.comment
|
|
907
|
-
|
|
908
|
-
...(input.
|
|
909
|
-
input.defaultTimeToLive !== null && { defaultTimeToLive: input.defaultTimeToLive }),
|
|
910
|
-
...(input.encryptionSpecification !== undefined &&
|
|
911
|
-
input.encryptionSpecification !== null && {
|
|
902
|
+
...(input.comment != null && { comment: serializeAws_json1_0Comment(input.comment, context) }),
|
|
903
|
+
...(input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive }),
|
|
904
|
+
...(input.encryptionSpecification != null && {
|
|
912
905
|
encryptionSpecification: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecification, context),
|
|
913
906
|
}),
|
|
914
|
-
...(input.keyspaceName
|
|
915
|
-
...(input.pointInTimeRecovery
|
|
916
|
-
input.pointInTimeRecovery !== null && {
|
|
907
|
+
...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
|
|
908
|
+
...(input.pointInTimeRecovery != null && {
|
|
917
909
|
pointInTimeRecovery: serializeAws_json1_0PointInTimeRecovery(input.pointInTimeRecovery, context),
|
|
918
910
|
}),
|
|
919
|
-
...(input.schemaDefinition
|
|
920
|
-
input.schemaDefinition !== null && {
|
|
911
|
+
...(input.schemaDefinition != null && {
|
|
921
912
|
schemaDefinition: serializeAws_json1_0SchemaDefinition(input.schemaDefinition, context),
|
|
922
913
|
}),
|
|
923
|
-
...(input.tableName
|
|
924
|
-
...(input.tags
|
|
925
|
-
...(input.ttl
|
|
914
|
+
...(input.tableName != null && { tableName: input.tableName }),
|
|
915
|
+
...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
|
|
916
|
+
...(input.ttl != null && { ttl: serializeAws_json1_0TimeToLive(input.ttl, context) }),
|
|
926
917
|
};
|
|
927
918
|
};
|
|
928
919
|
const serializeAws_json1_0DeleteKeyspaceRequest = (input, context) => {
|
|
929
920
|
return {
|
|
930
|
-
...(input.keyspaceName
|
|
921
|
+
...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
|
|
931
922
|
};
|
|
932
923
|
};
|
|
933
924
|
const serializeAws_json1_0DeleteTableRequest = (input, context) => {
|
|
934
925
|
return {
|
|
935
|
-
...(input.keyspaceName
|
|
936
|
-
...(input.tableName
|
|
926
|
+
...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
|
|
927
|
+
...(input.tableName != null && { tableName: input.tableName }),
|
|
937
928
|
};
|
|
938
929
|
};
|
|
939
930
|
const serializeAws_json1_0EncryptionSpecification = (input, context) => {
|
|
940
931
|
return {
|
|
941
|
-
...(input.kmsKeyIdentifier
|
|
942
|
-
|
|
943
|
-
...(input.type !== undefined && input.type !== null && { type: input.type }),
|
|
932
|
+
...(input.kmsKeyIdentifier != null && { kmsKeyIdentifier: input.kmsKeyIdentifier }),
|
|
933
|
+
...(input.type != null && { type: input.type }),
|
|
944
934
|
};
|
|
945
935
|
};
|
|
946
936
|
const serializeAws_json1_0GetKeyspaceRequest = (input, context) => {
|
|
947
937
|
return {
|
|
948
|
-
...(input.keyspaceName
|
|
938
|
+
...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
|
|
949
939
|
};
|
|
950
940
|
};
|
|
951
941
|
const serializeAws_json1_0GetTableRequest = (input, context) => {
|
|
952
942
|
return {
|
|
953
|
-
...(input.keyspaceName
|
|
954
|
-
...(input.tableName
|
|
943
|
+
...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
|
|
944
|
+
...(input.tableName != null && { tableName: input.tableName }),
|
|
955
945
|
};
|
|
956
946
|
};
|
|
957
947
|
const serializeAws_json1_0ListKeyspacesRequest = (input, context) => {
|
|
958
948
|
return {
|
|
959
|
-
...(input.maxResults
|
|
960
|
-
...(input.nextToken
|
|
949
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
950
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
961
951
|
};
|
|
962
952
|
};
|
|
963
953
|
const serializeAws_json1_0ListTablesRequest = (input, context) => {
|
|
964
954
|
return {
|
|
965
|
-
...(input.keyspaceName
|
|
966
|
-
...(input.maxResults
|
|
967
|
-
...(input.nextToken
|
|
955
|
+
...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
|
|
956
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
957
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
968
958
|
};
|
|
969
959
|
};
|
|
970
960
|
const serializeAws_json1_0ListTagsForResourceRequest = (input, context) => {
|
|
971
961
|
return {
|
|
972
|
-
...(input.maxResults
|
|
973
|
-
...(input.nextToken
|
|
974
|
-
...(input.resourceArn
|
|
962
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
963
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
964
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
975
965
|
};
|
|
976
966
|
};
|
|
977
967
|
const serializeAws_json1_0PartitionKey = (input, context) => {
|
|
978
968
|
return {
|
|
979
|
-
...(input.name
|
|
969
|
+
...(input.name != null && { name: input.name }),
|
|
980
970
|
};
|
|
981
971
|
};
|
|
982
972
|
const serializeAws_json1_0PartitionKeyList = (input, context) => {
|
|
@@ -991,58 +981,47 @@ const serializeAws_json1_0PartitionKeyList = (input, context) => {
|
|
|
991
981
|
};
|
|
992
982
|
const serializeAws_json1_0PointInTimeRecovery = (input, context) => {
|
|
993
983
|
return {
|
|
994
|
-
...(input.status
|
|
984
|
+
...(input.status != null && { status: input.status }),
|
|
995
985
|
};
|
|
996
986
|
};
|
|
997
987
|
const serializeAws_json1_0RestoreTableRequest = (input, context) => {
|
|
998
988
|
return {
|
|
999
|
-
...(input.capacitySpecificationOverride
|
|
1000
|
-
input.capacitySpecificationOverride !== null && {
|
|
989
|
+
...(input.capacitySpecificationOverride != null && {
|
|
1001
990
|
capacitySpecificationOverride: serializeAws_json1_0CapacitySpecification(input.capacitySpecificationOverride, context),
|
|
1002
991
|
}),
|
|
1003
|
-
...(input.encryptionSpecificationOverride
|
|
1004
|
-
input.encryptionSpecificationOverride !== null && {
|
|
992
|
+
...(input.encryptionSpecificationOverride != null && {
|
|
1005
993
|
encryptionSpecificationOverride: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecificationOverride, context),
|
|
1006
994
|
}),
|
|
1007
|
-
...(input.pointInTimeRecoveryOverride
|
|
1008
|
-
input.pointInTimeRecoveryOverride !== null && {
|
|
995
|
+
...(input.pointInTimeRecoveryOverride != null && {
|
|
1009
996
|
pointInTimeRecoveryOverride: serializeAws_json1_0PointInTimeRecovery(input.pointInTimeRecoveryOverride, context),
|
|
1010
997
|
}),
|
|
1011
|
-
...(input.restoreTimestamp
|
|
1012
|
-
|
|
1013
|
-
...(input.
|
|
1014
|
-
|
|
1015
|
-
...(input.
|
|
1016
|
-
|
|
1017
|
-
...(input.tagsOverride !== undefined &&
|
|
1018
|
-
input.tagsOverride !== null && { tagsOverride: serializeAws_json1_0TagList(input.tagsOverride, context) }),
|
|
1019
|
-
...(input.targetKeyspaceName !== undefined &&
|
|
1020
|
-
input.targetKeyspaceName !== null && { targetKeyspaceName: input.targetKeyspaceName }),
|
|
1021
|
-
...(input.targetTableName !== undefined &&
|
|
1022
|
-
input.targetTableName !== null && { targetTableName: input.targetTableName }),
|
|
998
|
+
...(input.restoreTimestamp != null && { restoreTimestamp: Math.round(input.restoreTimestamp.getTime() / 1000) }),
|
|
999
|
+
...(input.sourceKeyspaceName != null && { sourceKeyspaceName: input.sourceKeyspaceName }),
|
|
1000
|
+
...(input.sourceTableName != null && { sourceTableName: input.sourceTableName }),
|
|
1001
|
+
...(input.tagsOverride != null && { tagsOverride: serializeAws_json1_0TagList(input.tagsOverride, context) }),
|
|
1002
|
+
...(input.targetKeyspaceName != null && { targetKeyspaceName: input.targetKeyspaceName }),
|
|
1003
|
+
...(input.targetTableName != null && { targetTableName: input.targetTableName }),
|
|
1023
1004
|
};
|
|
1024
1005
|
};
|
|
1025
1006
|
const serializeAws_json1_0SchemaDefinition = (input, context) => {
|
|
1026
1007
|
return {
|
|
1027
|
-
...(input.allColumns
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1008
|
+
...(input.allColumns != null && {
|
|
1009
|
+
allColumns: serializeAws_json1_0ColumnDefinitionList(input.allColumns, context),
|
|
1010
|
+
}),
|
|
1011
|
+
...(input.clusteringKeys != null && {
|
|
1031
1012
|
clusteringKeys: serializeAws_json1_0ClusteringKeyList(input.clusteringKeys, context),
|
|
1032
1013
|
}),
|
|
1033
|
-
...(input.partitionKeys
|
|
1034
|
-
input.partitionKeys !== null && {
|
|
1014
|
+
...(input.partitionKeys != null && {
|
|
1035
1015
|
partitionKeys: serializeAws_json1_0PartitionKeyList(input.partitionKeys, context),
|
|
1036
1016
|
}),
|
|
1037
|
-
...(input.staticColumns
|
|
1038
|
-
input.staticColumns !== null && {
|
|
1017
|
+
...(input.staticColumns != null && {
|
|
1039
1018
|
staticColumns: serializeAws_json1_0StaticColumnList(input.staticColumns, context),
|
|
1040
1019
|
}),
|
|
1041
1020
|
};
|
|
1042
1021
|
};
|
|
1043
1022
|
const serializeAws_json1_0StaticColumn = (input, context) => {
|
|
1044
1023
|
return {
|
|
1045
|
-
...(input.name
|
|
1024
|
+
...(input.name != null && { name: input.name }),
|
|
1046
1025
|
};
|
|
1047
1026
|
};
|
|
1048
1027
|
const serializeAws_json1_0StaticColumnList = (input, context) => {
|
|
@@ -1057,8 +1036,8 @@ const serializeAws_json1_0StaticColumnList = (input, context) => {
|
|
|
1057
1036
|
};
|
|
1058
1037
|
const serializeAws_json1_0Tag = (input, context) => {
|
|
1059
1038
|
return {
|
|
1060
|
-
...(input.key
|
|
1061
|
-
...(input.value
|
|
1039
|
+
...(input.key != null && { key: input.key }),
|
|
1040
|
+
...(input.value != null && { value: input.value }),
|
|
1062
1041
|
};
|
|
1063
1042
|
};
|
|
1064
1043
|
const serializeAws_json1_0TagList = (input, context) => {
|
|
@@ -1073,42 +1052,39 @@ const serializeAws_json1_0TagList = (input, context) => {
|
|
|
1073
1052
|
};
|
|
1074
1053
|
const serializeAws_json1_0TagResourceRequest = (input, context) => {
|
|
1075
1054
|
return {
|
|
1076
|
-
...(input.resourceArn
|
|
1077
|
-
...(input.tags
|
|
1055
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1056
|
+
...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
|
|
1078
1057
|
};
|
|
1079
1058
|
};
|
|
1080
1059
|
const serializeAws_json1_0TimeToLive = (input, context) => {
|
|
1081
1060
|
return {
|
|
1082
|
-
...(input.status
|
|
1061
|
+
...(input.status != null && { status: input.status }),
|
|
1083
1062
|
};
|
|
1084
1063
|
};
|
|
1085
1064
|
const serializeAws_json1_0UntagResourceRequest = (input, context) => {
|
|
1086
1065
|
return {
|
|
1087
|
-
...(input.resourceArn
|
|
1088
|
-
...(input.tags
|
|
1066
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1067
|
+
...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
|
|
1089
1068
|
};
|
|
1090
1069
|
};
|
|
1091
1070
|
const serializeAws_json1_0UpdateTableRequest = (input, context) => {
|
|
1092
1071
|
return {
|
|
1093
|
-
...(input.addColumns
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1072
|
+
...(input.addColumns != null && {
|
|
1073
|
+
addColumns: serializeAws_json1_0ColumnDefinitionList(input.addColumns, context),
|
|
1074
|
+
}),
|
|
1075
|
+
...(input.capacitySpecification != null && {
|
|
1097
1076
|
capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
|
|
1098
1077
|
}),
|
|
1099
|
-
...(input.defaultTimeToLive
|
|
1100
|
-
|
|
1101
|
-
...(input.encryptionSpecification !== undefined &&
|
|
1102
|
-
input.encryptionSpecification !== null && {
|
|
1078
|
+
...(input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive }),
|
|
1079
|
+
...(input.encryptionSpecification != null && {
|
|
1103
1080
|
encryptionSpecification: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecification, context),
|
|
1104
1081
|
}),
|
|
1105
|
-
...(input.keyspaceName
|
|
1106
|
-
...(input.pointInTimeRecovery
|
|
1107
|
-
input.pointInTimeRecovery !== null && {
|
|
1082
|
+
...(input.keyspaceName != null && { keyspaceName: input.keyspaceName }),
|
|
1083
|
+
...(input.pointInTimeRecovery != null && {
|
|
1108
1084
|
pointInTimeRecovery: serializeAws_json1_0PointInTimeRecovery(input.pointInTimeRecovery, context),
|
|
1109
1085
|
}),
|
|
1110
|
-
...(input.tableName
|
|
1111
|
-
...(input.ttl
|
|
1086
|
+
...(input.tableName != null && { tableName: input.tableName }),
|
|
1087
|
+
...(input.ttl != null && { ttl: serializeAws_json1_0TimeToLive(input.ttl, context) }),
|
|
1112
1088
|
};
|
|
1113
1089
|
};
|
|
1114
1090
|
const deserializeAws_json1_0AccessDeniedException = (output, context) => {
|
|
@@ -1118,7 +1094,7 @@ const deserializeAws_json1_0AccessDeniedException = (output, context) => {
|
|
|
1118
1094
|
};
|
|
1119
1095
|
const deserializeAws_json1_0CapacitySpecificationSummary = (output, context) => {
|
|
1120
1096
|
return {
|
|
1121
|
-
lastUpdateToPayPerRequestTimestamp: output.lastUpdateToPayPerRequestTimestamp
|
|
1097
|
+
lastUpdateToPayPerRequestTimestamp: output.lastUpdateToPayPerRequestTimestamp != null
|
|
1122
1098
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateToPayPerRequestTimestamp)))
|
|
1123
1099
|
: undefined,
|
|
1124
1100
|
readCapacityUnits: (0, smithy_client_1.expectLong)(output.readCapacityUnits),
|
|
@@ -1200,32 +1176,28 @@ const deserializeAws_json1_0GetKeyspaceResponse = (output, context) => {
|
|
|
1200
1176
|
};
|
|
1201
1177
|
const deserializeAws_json1_0GetTableResponse = (output, context) => {
|
|
1202
1178
|
return {
|
|
1203
|
-
capacitySpecification: output.capacitySpecification
|
|
1179
|
+
capacitySpecification: output.capacitySpecification != null
|
|
1204
1180
|
? deserializeAws_json1_0CapacitySpecificationSummary(output.capacitySpecification, context)
|
|
1205
1181
|
: undefined,
|
|
1206
|
-
comment: output.comment
|
|
1207
|
-
|
|
1208
|
-
: undefined,
|
|
1209
|
-
creationTimestamp: output.creationTimestamp !== undefined && output.creationTimestamp !== null
|
|
1182
|
+
comment: output.comment != null ? deserializeAws_json1_0Comment(output.comment, context) : undefined,
|
|
1183
|
+
creationTimestamp: output.creationTimestamp != null
|
|
1210
1184
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTimestamp)))
|
|
1211
1185
|
: undefined,
|
|
1212
1186
|
defaultTimeToLive: (0, smithy_client_1.expectInt32)(output.defaultTimeToLive),
|
|
1213
|
-
encryptionSpecification: output.encryptionSpecification
|
|
1187
|
+
encryptionSpecification: output.encryptionSpecification != null
|
|
1214
1188
|
? deserializeAws_json1_0EncryptionSpecification(output.encryptionSpecification, context)
|
|
1215
1189
|
: undefined,
|
|
1216
1190
|
keyspaceName: (0, smithy_client_1.expectString)(output.keyspaceName),
|
|
1217
|
-
pointInTimeRecovery: output.pointInTimeRecovery
|
|
1191
|
+
pointInTimeRecovery: output.pointInTimeRecovery != null
|
|
1218
1192
|
? deserializeAws_json1_0PointInTimeRecoverySummary(output.pointInTimeRecovery, context)
|
|
1219
1193
|
: undefined,
|
|
1220
1194
|
resourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
|
|
1221
|
-
schemaDefinition: output.schemaDefinition
|
|
1195
|
+
schemaDefinition: output.schemaDefinition != null
|
|
1222
1196
|
? deserializeAws_json1_0SchemaDefinition(output.schemaDefinition, context)
|
|
1223
1197
|
: undefined,
|
|
1224
1198
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
1225
1199
|
tableName: (0, smithy_client_1.expectString)(output.tableName),
|
|
1226
|
-
ttl: output.ttl
|
|
1227
|
-
? deserializeAws_json1_0TimeToLive(output.ttl, context)
|
|
1228
|
-
: undefined,
|
|
1200
|
+
ttl: output.ttl != null ? deserializeAws_json1_0TimeToLive(output.ttl, context) : undefined,
|
|
1229
1201
|
};
|
|
1230
1202
|
};
|
|
1231
1203
|
const deserializeAws_json1_0InternalServerException = (output, context) => {
|
|
@@ -1252,26 +1224,20 @@ const deserializeAws_json1_0KeyspaceSummaryList = (output, context) => {
|
|
|
1252
1224
|
};
|
|
1253
1225
|
const deserializeAws_json1_0ListKeyspacesResponse = (output, context) => {
|
|
1254
1226
|
return {
|
|
1255
|
-
keyspaces: output.keyspaces
|
|
1256
|
-
? deserializeAws_json1_0KeyspaceSummaryList(output.keyspaces, context)
|
|
1257
|
-
: undefined,
|
|
1227
|
+
keyspaces: output.keyspaces != null ? deserializeAws_json1_0KeyspaceSummaryList(output.keyspaces, context) : undefined,
|
|
1258
1228
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1259
1229
|
};
|
|
1260
1230
|
};
|
|
1261
1231
|
const deserializeAws_json1_0ListTablesResponse = (output, context) => {
|
|
1262
1232
|
return {
|
|
1263
1233
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1264
|
-
tables: output.tables
|
|
1265
|
-
? deserializeAws_json1_0TableSummaryList(output.tables, context)
|
|
1266
|
-
: undefined,
|
|
1234
|
+
tables: output.tables != null ? deserializeAws_json1_0TableSummaryList(output.tables, context) : undefined,
|
|
1267
1235
|
};
|
|
1268
1236
|
};
|
|
1269
1237
|
const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
|
|
1270
1238
|
return {
|
|
1271
1239
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1272
|
-
tags: output.tags
|
|
1273
|
-
? deserializeAws_json1_0TagList(output.tags, context)
|
|
1274
|
-
: undefined,
|
|
1240
|
+
tags: output.tags != null ? deserializeAws_json1_0TagList(output.tags, context) : undefined,
|
|
1275
1241
|
};
|
|
1276
1242
|
};
|
|
1277
1243
|
const deserializeAws_json1_0PartitionKey = (output, context) => {
|
|
@@ -1292,7 +1258,7 @@ const deserializeAws_json1_0PartitionKeyList = (output, context) => {
|
|
|
1292
1258
|
};
|
|
1293
1259
|
const deserializeAws_json1_0PointInTimeRecoverySummary = (output, context) => {
|
|
1294
1260
|
return {
|
|
1295
|
-
earliestRestorableTimestamp: output.earliestRestorableTimestamp
|
|
1261
|
+
earliestRestorableTimestamp: output.earliestRestorableTimestamp != null
|
|
1296
1262
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.earliestRestorableTimestamp)))
|
|
1297
1263
|
: undefined,
|
|
1298
1264
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -1311,18 +1277,12 @@ const deserializeAws_json1_0RestoreTableResponse = (output, context) => {
|
|
|
1311
1277
|
};
|
|
1312
1278
|
const deserializeAws_json1_0SchemaDefinition = (output, context) => {
|
|
1313
1279
|
return {
|
|
1314
|
-
allColumns: output.allColumns
|
|
1315
|
-
|
|
1316
|
-
: undefined,
|
|
1317
|
-
clusteringKeys: output.clusteringKeys !== undefined && output.clusteringKeys !== null
|
|
1280
|
+
allColumns: output.allColumns != null ? deserializeAws_json1_0ColumnDefinitionList(output.allColumns, context) : undefined,
|
|
1281
|
+
clusteringKeys: output.clusteringKeys != null
|
|
1318
1282
|
? deserializeAws_json1_0ClusteringKeyList(output.clusteringKeys, context)
|
|
1319
1283
|
: undefined,
|
|
1320
|
-
partitionKeys: output.partitionKeys
|
|
1321
|
-
|
|
1322
|
-
: undefined,
|
|
1323
|
-
staticColumns: output.staticColumns !== undefined && output.staticColumns !== null
|
|
1324
|
-
? deserializeAws_json1_0StaticColumnList(output.staticColumns, context)
|
|
1325
|
-
: undefined,
|
|
1284
|
+
partitionKeys: output.partitionKeys != null ? deserializeAws_json1_0PartitionKeyList(output.partitionKeys, context) : undefined,
|
|
1285
|
+
staticColumns: output.staticColumns != null ? deserializeAws_json1_0StaticColumnList(output.staticColumns, context) : undefined,
|
|
1326
1286
|
};
|
|
1327
1287
|
};
|
|
1328
1288
|
const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
|
|
@@ -1096,13 +1096,10 @@ var deserializeAws_json1_0ValidationExceptionResponse = function (parsedOutput,
|
|
|
1096
1096
|
});
|
|
1097
1097
|
}); };
|
|
1098
1098
|
var serializeAws_json1_0CapacitySpecification = function (input, context) {
|
|
1099
|
-
return __assign(__assign(__assign({}, (input.readCapacityUnits
|
|
1100
|
-
input.readCapacityUnits !== null && { readCapacityUnits: input.readCapacityUnits })), (input.throughputMode !== undefined &&
|
|
1101
|
-
input.throughputMode !== null && { throughputMode: input.throughputMode })), (input.writeCapacityUnits !== undefined &&
|
|
1102
|
-
input.writeCapacityUnits !== null && { writeCapacityUnits: input.writeCapacityUnits }));
|
|
1099
|
+
return __assign(__assign(__assign({}, (input.readCapacityUnits != null && { readCapacityUnits: input.readCapacityUnits })), (input.throughputMode != null && { throughputMode: input.throughputMode })), (input.writeCapacityUnits != null && { writeCapacityUnits: input.writeCapacityUnits }));
|
|
1103
1100
|
};
|
|
1104
1101
|
var serializeAws_json1_0ClusteringKey = function (input, context) {
|
|
1105
|
-
return __assign(__assign({}, (input.name
|
|
1102
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.orderBy != null && { orderBy: input.orderBy }));
|
|
1106
1103
|
};
|
|
1107
1104
|
var serializeAws_json1_0ClusteringKeyList = function (input, context) {
|
|
1108
1105
|
return input
|
|
@@ -1115,7 +1112,7 @@ var serializeAws_json1_0ClusteringKeyList = function (input, context) {
|
|
|
1115
1112
|
});
|
|
1116
1113
|
};
|
|
1117
1114
|
var serializeAws_json1_0ColumnDefinition = function (input, context) {
|
|
1118
|
-
return __assign(__assign({}, (input.name
|
|
1115
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.type != null && { type: input.type }));
|
|
1119
1116
|
};
|
|
1120
1117
|
var serializeAws_json1_0ColumnDefinitionList = function (input, context) {
|
|
1121
1118
|
return input
|
|
@@ -1128,55 +1125,48 @@ var serializeAws_json1_0ColumnDefinitionList = function (input, context) {
|
|
|
1128
1125
|
});
|
|
1129
1126
|
};
|
|
1130
1127
|
var serializeAws_json1_0Comment = function (input, context) {
|
|
1131
|
-
return __assign({}, (input.message
|
|
1128
|
+
return __assign({}, (input.message != null && { message: input.message }));
|
|
1132
1129
|
};
|
|
1133
1130
|
var serializeAws_json1_0CreateKeyspaceRequest = function (input, context) {
|
|
1134
|
-
return __assign(__assign({}, (input.keyspaceName
|
|
1131
|
+
return __assign(__assign({}, (input.keyspaceName != null && { keyspaceName: input.keyspaceName })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
1135
1132
|
};
|
|
1136
1133
|
var serializeAws_json1_0CreateTableRequest = function (input, context) {
|
|
1137
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacitySpecification
|
|
1138
|
-
input.capacitySpecification !== null && {
|
|
1134
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacitySpecification != null && {
|
|
1139
1135
|
capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
|
|
1140
|
-
})), (input.comment
|
|
1141
|
-
input.comment !== null && { comment: serializeAws_json1_0Comment(input.comment, context) })), (input.defaultTimeToLive !== undefined &&
|
|
1142
|
-
input.defaultTimeToLive !== null && { defaultTimeToLive: input.defaultTimeToLive })), (input.encryptionSpecification !== undefined &&
|
|
1143
|
-
input.encryptionSpecification !== null && {
|
|
1136
|
+
})), (input.comment != null && { comment: serializeAws_json1_0Comment(input.comment, context) })), (input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive })), (input.encryptionSpecification != null && {
|
|
1144
1137
|
encryptionSpecification: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecification, context),
|
|
1145
|
-
})), (input.keyspaceName
|
|
1146
|
-
input.pointInTimeRecovery !== null && {
|
|
1138
|
+
})), (input.keyspaceName != null && { keyspaceName: input.keyspaceName })), (input.pointInTimeRecovery != null && {
|
|
1147
1139
|
pointInTimeRecovery: serializeAws_json1_0PointInTimeRecovery(input.pointInTimeRecovery, context),
|
|
1148
|
-
})), (input.schemaDefinition
|
|
1149
|
-
input.schemaDefinition !== null && {
|
|
1140
|
+
})), (input.schemaDefinition != null && {
|
|
1150
1141
|
schemaDefinition: serializeAws_json1_0SchemaDefinition(input.schemaDefinition, context),
|
|
1151
|
-
})), (input.tableName
|
|
1142
|
+
})), (input.tableName != null && { tableName: input.tableName })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.ttl != null && { ttl: serializeAws_json1_0TimeToLive(input.ttl, context) }));
|
|
1152
1143
|
};
|
|
1153
1144
|
var serializeAws_json1_0DeleteKeyspaceRequest = function (input, context) {
|
|
1154
|
-
return __assign({}, (input.keyspaceName
|
|
1145
|
+
return __assign({}, (input.keyspaceName != null && { keyspaceName: input.keyspaceName }));
|
|
1155
1146
|
};
|
|
1156
1147
|
var serializeAws_json1_0DeleteTableRequest = function (input, context) {
|
|
1157
|
-
return __assign(__assign({}, (input.keyspaceName
|
|
1148
|
+
return __assign(__assign({}, (input.keyspaceName != null && { keyspaceName: input.keyspaceName })), (input.tableName != null && { tableName: input.tableName }));
|
|
1158
1149
|
};
|
|
1159
1150
|
var serializeAws_json1_0EncryptionSpecification = function (input, context) {
|
|
1160
|
-
return __assign(__assign({}, (input.kmsKeyIdentifier
|
|
1161
|
-
input.kmsKeyIdentifier !== null && { kmsKeyIdentifier: input.kmsKeyIdentifier })), (input.type !== undefined && input.type !== null && { type: input.type }));
|
|
1151
|
+
return __assign(__assign({}, (input.kmsKeyIdentifier != null && { kmsKeyIdentifier: input.kmsKeyIdentifier })), (input.type != null && { type: input.type }));
|
|
1162
1152
|
};
|
|
1163
1153
|
var serializeAws_json1_0GetKeyspaceRequest = function (input, context) {
|
|
1164
|
-
return __assign({}, (input.keyspaceName
|
|
1154
|
+
return __assign({}, (input.keyspaceName != null && { keyspaceName: input.keyspaceName }));
|
|
1165
1155
|
};
|
|
1166
1156
|
var serializeAws_json1_0GetTableRequest = function (input, context) {
|
|
1167
|
-
return __assign(__assign({}, (input.keyspaceName
|
|
1157
|
+
return __assign(__assign({}, (input.keyspaceName != null && { keyspaceName: input.keyspaceName })), (input.tableName != null && { tableName: input.tableName }));
|
|
1168
1158
|
};
|
|
1169
1159
|
var serializeAws_json1_0ListKeyspacesRequest = function (input, context) {
|
|
1170
|
-
return __assign(__assign({}, (input.maxResults
|
|
1160
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
1171
1161
|
};
|
|
1172
1162
|
var serializeAws_json1_0ListTablesRequest = function (input, context) {
|
|
1173
|
-
return __assign(__assign(__assign({}, (input.keyspaceName
|
|
1163
|
+
return __assign(__assign(__assign({}, (input.keyspaceName != null && { keyspaceName: input.keyspaceName })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
1174
1164
|
};
|
|
1175
1165
|
var serializeAws_json1_0ListTagsForResourceRequest = function (input, context) {
|
|
1176
|
-
return __assign(__assign(__assign({}, (input.maxResults
|
|
1166
|
+
return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
1177
1167
|
};
|
|
1178
1168
|
var serializeAws_json1_0PartitionKey = function (input, context) {
|
|
1179
|
-
return __assign({}, (input.name
|
|
1169
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
1180
1170
|
};
|
|
1181
1171
|
var serializeAws_json1_0PartitionKeyList = function (input, context) {
|
|
1182
1172
|
return input
|
|
@@ -1189,41 +1179,30 @@ var serializeAws_json1_0PartitionKeyList = function (input, context) {
|
|
|
1189
1179
|
});
|
|
1190
1180
|
};
|
|
1191
1181
|
var serializeAws_json1_0PointInTimeRecovery = function (input, context) {
|
|
1192
|
-
return __assign({}, (input.status
|
|
1182
|
+
return __assign({}, (input.status != null && { status: input.status }));
|
|
1193
1183
|
};
|
|
1194
1184
|
var serializeAws_json1_0RestoreTableRequest = function (input, context) {
|
|
1195
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacitySpecificationOverride
|
|
1196
|
-
input.capacitySpecificationOverride !== null && {
|
|
1185
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.capacitySpecificationOverride != null && {
|
|
1197
1186
|
capacitySpecificationOverride: serializeAws_json1_0CapacitySpecification(input.capacitySpecificationOverride, context),
|
|
1198
|
-
})), (input.encryptionSpecificationOverride
|
|
1199
|
-
input.encryptionSpecificationOverride !== null && {
|
|
1187
|
+
})), (input.encryptionSpecificationOverride != null && {
|
|
1200
1188
|
encryptionSpecificationOverride: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecificationOverride, context),
|
|
1201
|
-
})), (input.pointInTimeRecoveryOverride
|
|
1202
|
-
input.pointInTimeRecoveryOverride !== null && {
|
|
1189
|
+
})), (input.pointInTimeRecoveryOverride != null && {
|
|
1203
1190
|
pointInTimeRecoveryOverride: serializeAws_json1_0PointInTimeRecovery(input.pointInTimeRecoveryOverride, context),
|
|
1204
|
-
})), (input.restoreTimestamp
|
|
1205
|
-
input.restoreTimestamp !== null && { restoreTimestamp: Math.round(input.restoreTimestamp.getTime() / 1000) })), (input.sourceKeyspaceName !== undefined &&
|
|
1206
|
-
input.sourceKeyspaceName !== null && { sourceKeyspaceName: input.sourceKeyspaceName })), (input.sourceTableName !== undefined &&
|
|
1207
|
-
input.sourceTableName !== null && { sourceTableName: input.sourceTableName })), (input.tagsOverride !== undefined &&
|
|
1208
|
-
input.tagsOverride !== null && { tagsOverride: serializeAws_json1_0TagList(input.tagsOverride, context) })), (input.targetKeyspaceName !== undefined &&
|
|
1209
|
-
input.targetKeyspaceName !== null && { targetKeyspaceName: input.targetKeyspaceName })), (input.targetTableName !== undefined &&
|
|
1210
|
-
input.targetTableName !== null && { targetTableName: input.targetTableName }));
|
|
1191
|
+
})), (input.restoreTimestamp != null && { restoreTimestamp: Math.round(input.restoreTimestamp.getTime() / 1000) })), (input.sourceKeyspaceName != null && { sourceKeyspaceName: input.sourceKeyspaceName })), (input.sourceTableName != null && { sourceTableName: input.sourceTableName })), (input.tagsOverride != null && { tagsOverride: serializeAws_json1_0TagList(input.tagsOverride, context) })), (input.targetKeyspaceName != null && { targetKeyspaceName: input.targetKeyspaceName })), (input.targetTableName != null && { targetTableName: input.targetTableName }));
|
|
1211
1192
|
};
|
|
1212
1193
|
var serializeAws_json1_0SchemaDefinition = function (input, context) {
|
|
1213
|
-
return __assign(__assign(__assign(__assign({}, (input.allColumns
|
|
1214
|
-
|
|
1215
|
-
|
|
1194
|
+
return __assign(__assign(__assign(__assign({}, (input.allColumns != null && {
|
|
1195
|
+
allColumns: serializeAws_json1_0ColumnDefinitionList(input.allColumns, context),
|
|
1196
|
+
})), (input.clusteringKeys != null && {
|
|
1216
1197
|
clusteringKeys: serializeAws_json1_0ClusteringKeyList(input.clusteringKeys, context),
|
|
1217
|
-
})), (input.partitionKeys
|
|
1218
|
-
input.partitionKeys !== null && {
|
|
1198
|
+
})), (input.partitionKeys != null && {
|
|
1219
1199
|
partitionKeys: serializeAws_json1_0PartitionKeyList(input.partitionKeys, context),
|
|
1220
|
-
})), (input.staticColumns
|
|
1221
|
-
input.staticColumns !== null && {
|
|
1200
|
+
})), (input.staticColumns != null && {
|
|
1222
1201
|
staticColumns: serializeAws_json1_0StaticColumnList(input.staticColumns, context),
|
|
1223
1202
|
}));
|
|
1224
1203
|
};
|
|
1225
1204
|
var serializeAws_json1_0StaticColumn = function (input, context) {
|
|
1226
|
-
return __assign({}, (input.name
|
|
1205
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
1227
1206
|
};
|
|
1228
1207
|
var serializeAws_json1_0StaticColumnList = function (input, context) {
|
|
1229
1208
|
return input
|
|
@@ -1236,7 +1215,7 @@ var serializeAws_json1_0StaticColumnList = function (input, context) {
|
|
|
1236
1215
|
});
|
|
1237
1216
|
};
|
|
1238
1217
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
1239
|
-
return __assign(__assign({}, (input.key
|
|
1218
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
1240
1219
|
};
|
|
1241
1220
|
var serializeAws_json1_0TagList = function (input, context) {
|
|
1242
1221
|
return input
|
|
@@ -1249,27 +1228,24 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
1249
1228
|
});
|
|
1250
1229
|
};
|
|
1251
1230
|
var serializeAws_json1_0TagResourceRequest = function (input, context) {
|
|
1252
|
-
return __assign(__assign({}, (input.resourceArn
|
|
1231
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
1253
1232
|
};
|
|
1254
1233
|
var serializeAws_json1_0TimeToLive = function (input, context) {
|
|
1255
|
-
return __assign({}, (input.status
|
|
1234
|
+
return __assign({}, (input.status != null && { status: input.status }));
|
|
1256
1235
|
};
|
|
1257
1236
|
var serializeAws_json1_0UntagResourceRequest = function (input, context) {
|
|
1258
|
-
return __assign(__assign({}, (input.resourceArn
|
|
1237
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
1259
1238
|
};
|
|
1260
1239
|
var serializeAws_json1_0UpdateTableRequest = function (input, context) {
|
|
1261
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addColumns
|
|
1262
|
-
|
|
1263
|
-
|
|
1240
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.addColumns != null && {
|
|
1241
|
+
addColumns: serializeAws_json1_0ColumnDefinitionList(input.addColumns, context),
|
|
1242
|
+
})), (input.capacitySpecification != null && {
|
|
1264
1243
|
capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
|
|
1265
|
-
})), (input.defaultTimeToLive
|
|
1266
|
-
input.defaultTimeToLive !== null && { defaultTimeToLive: input.defaultTimeToLive })), (input.encryptionSpecification !== undefined &&
|
|
1267
|
-
input.encryptionSpecification !== null && {
|
|
1244
|
+
})), (input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive })), (input.encryptionSpecification != null && {
|
|
1268
1245
|
encryptionSpecification: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecification, context),
|
|
1269
|
-
})), (input.keyspaceName
|
|
1270
|
-
input.pointInTimeRecovery !== null && {
|
|
1246
|
+
})), (input.keyspaceName != null && { keyspaceName: input.keyspaceName })), (input.pointInTimeRecovery != null && {
|
|
1271
1247
|
pointInTimeRecovery: serializeAws_json1_0PointInTimeRecovery(input.pointInTimeRecovery, context),
|
|
1272
|
-
})), (input.tableName
|
|
1248
|
+
})), (input.tableName != null && { tableName: input.tableName })), (input.ttl != null && { ttl: serializeAws_json1_0TimeToLive(input.ttl, context) }));
|
|
1273
1249
|
};
|
|
1274
1250
|
var deserializeAws_json1_0AccessDeniedException = function (output, context) {
|
|
1275
1251
|
return {
|
|
@@ -1278,7 +1254,7 @@ var deserializeAws_json1_0AccessDeniedException = function (output, context) {
|
|
|
1278
1254
|
};
|
|
1279
1255
|
var deserializeAws_json1_0CapacitySpecificationSummary = function (output, context) {
|
|
1280
1256
|
return {
|
|
1281
|
-
lastUpdateToPayPerRequestTimestamp: output.lastUpdateToPayPerRequestTimestamp
|
|
1257
|
+
lastUpdateToPayPerRequestTimestamp: output.lastUpdateToPayPerRequestTimestamp != null
|
|
1282
1258
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateToPayPerRequestTimestamp)))
|
|
1283
1259
|
: undefined,
|
|
1284
1260
|
readCapacityUnits: __expectLong(output.readCapacityUnits),
|
|
@@ -1360,32 +1336,28 @@ var deserializeAws_json1_0GetKeyspaceResponse = function (output, context) {
|
|
|
1360
1336
|
};
|
|
1361
1337
|
var deserializeAws_json1_0GetTableResponse = function (output, context) {
|
|
1362
1338
|
return {
|
|
1363
|
-
capacitySpecification: output.capacitySpecification
|
|
1339
|
+
capacitySpecification: output.capacitySpecification != null
|
|
1364
1340
|
? deserializeAws_json1_0CapacitySpecificationSummary(output.capacitySpecification, context)
|
|
1365
1341
|
: undefined,
|
|
1366
|
-
comment: output.comment
|
|
1367
|
-
|
|
1368
|
-
: undefined,
|
|
1369
|
-
creationTimestamp: output.creationTimestamp !== undefined && output.creationTimestamp !== null
|
|
1342
|
+
comment: output.comment != null ? deserializeAws_json1_0Comment(output.comment, context) : undefined,
|
|
1343
|
+
creationTimestamp: output.creationTimestamp != null
|
|
1370
1344
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTimestamp)))
|
|
1371
1345
|
: undefined,
|
|
1372
1346
|
defaultTimeToLive: __expectInt32(output.defaultTimeToLive),
|
|
1373
|
-
encryptionSpecification: output.encryptionSpecification
|
|
1347
|
+
encryptionSpecification: output.encryptionSpecification != null
|
|
1374
1348
|
? deserializeAws_json1_0EncryptionSpecification(output.encryptionSpecification, context)
|
|
1375
1349
|
: undefined,
|
|
1376
1350
|
keyspaceName: __expectString(output.keyspaceName),
|
|
1377
|
-
pointInTimeRecovery: output.pointInTimeRecovery
|
|
1351
|
+
pointInTimeRecovery: output.pointInTimeRecovery != null
|
|
1378
1352
|
? deserializeAws_json1_0PointInTimeRecoverySummary(output.pointInTimeRecovery, context)
|
|
1379
1353
|
: undefined,
|
|
1380
1354
|
resourceArn: __expectString(output.resourceArn),
|
|
1381
|
-
schemaDefinition: output.schemaDefinition
|
|
1355
|
+
schemaDefinition: output.schemaDefinition != null
|
|
1382
1356
|
? deserializeAws_json1_0SchemaDefinition(output.schemaDefinition, context)
|
|
1383
1357
|
: undefined,
|
|
1384
1358
|
status: __expectString(output.status),
|
|
1385
1359
|
tableName: __expectString(output.tableName),
|
|
1386
|
-
ttl: output.ttl
|
|
1387
|
-
? deserializeAws_json1_0TimeToLive(output.ttl, context)
|
|
1388
|
-
: undefined,
|
|
1360
|
+
ttl: output.ttl != null ? deserializeAws_json1_0TimeToLive(output.ttl, context) : undefined,
|
|
1389
1361
|
};
|
|
1390
1362
|
};
|
|
1391
1363
|
var deserializeAws_json1_0InternalServerException = function (output, context) {
|
|
@@ -1412,26 +1384,20 @@ var deserializeAws_json1_0KeyspaceSummaryList = function (output, context) {
|
|
|
1412
1384
|
};
|
|
1413
1385
|
var deserializeAws_json1_0ListKeyspacesResponse = function (output, context) {
|
|
1414
1386
|
return {
|
|
1415
|
-
keyspaces: output.keyspaces
|
|
1416
|
-
? deserializeAws_json1_0KeyspaceSummaryList(output.keyspaces, context)
|
|
1417
|
-
: undefined,
|
|
1387
|
+
keyspaces: output.keyspaces != null ? deserializeAws_json1_0KeyspaceSummaryList(output.keyspaces, context) : undefined,
|
|
1418
1388
|
nextToken: __expectString(output.nextToken),
|
|
1419
1389
|
};
|
|
1420
1390
|
};
|
|
1421
1391
|
var deserializeAws_json1_0ListTablesResponse = function (output, context) {
|
|
1422
1392
|
return {
|
|
1423
1393
|
nextToken: __expectString(output.nextToken),
|
|
1424
|
-
tables: output.tables
|
|
1425
|
-
? deserializeAws_json1_0TableSummaryList(output.tables, context)
|
|
1426
|
-
: undefined,
|
|
1394
|
+
tables: output.tables != null ? deserializeAws_json1_0TableSummaryList(output.tables, context) : undefined,
|
|
1427
1395
|
};
|
|
1428
1396
|
};
|
|
1429
1397
|
var deserializeAws_json1_0ListTagsForResourceResponse = function (output, context) {
|
|
1430
1398
|
return {
|
|
1431
1399
|
nextToken: __expectString(output.nextToken),
|
|
1432
|
-
tags: output.tags
|
|
1433
|
-
? deserializeAws_json1_0TagList(output.tags, context)
|
|
1434
|
-
: undefined,
|
|
1400
|
+
tags: output.tags != null ? deserializeAws_json1_0TagList(output.tags, context) : undefined,
|
|
1435
1401
|
};
|
|
1436
1402
|
};
|
|
1437
1403
|
var deserializeAws_json1_0PartitionKey = function (output, context) {
|
|
@@ -1452,7 +1418,7 @@ var deserializeAws_json1_0PartitionKeyList = function (output, context) {
|
|
|
1452
1418
|
};
|
|
1453
1419
|
var deserializeAws_json1_0PointInTimeRecoverySummary = function (output, context) {
|
|
1454
1420
|
return {
|
|
1455
|
-
earliestRestorableTimestamp: output.earliestRestorableTimestamp
|
|
1421
|
+
earliestRestorableTimestamp: output.earliestRestorableTimestamp != null
|
|
1456
1422
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.earliestRestorableTimestamp)))
|
|
1457
1423
|
: undefined,
|
|
1458
1424
|
status: __expectString(output.status),
|
|
@@ -1471,18 +1437,12 @@ var deserializeAws_json1_0RestoreTableResponse = function (output, context) {
|
|
|
1471
1437
|
};
|
|
1472
1438
|
var deserializeAws_json1_0SchemaDefinition = function (output, context) {
|
|
1473
1439
|
return {
|
|
1474
|
-
allColumns: output.allColumns
|
|
1475
|
-
|
|
1476
|
-
: undefined,
|
|
1477
|
-
clusteringKeys: output.clusteringKeys !== undefined && output.clusteringKeys !== null
|
|
1440
|
+
allColumns: output.allColumns != null ? deserializeAws_json1_0ColumnDefinitionList(output.allColumns, context) : undefined,
|
|
1441
|
+
clusteringKeys: output.clusteringKeys != null
|
|
1478
1442
|
? deserializeAws_json1_0ClusteringKeyList(output.clusteringKeys, context)
|
|
1479
1443
|
: undefined,
|
|
1480
|
-
partitionKeys: output.partitionKeys
|
|
1481
|
-
|
|
1482
|
-
: undefined,
|
|
1483
|
-
staticColumns: output.staticColumns !== undefined && output.staticColumns !== null
|
|
1484
|
-
? deserializeAws_json1_0StaticColumnList(output.staticColumns, context)
|
|
1485
|
-
: undefined,
|
|
1444
|
+
partitionKeys: output.partitionKeys != null ? deserializeAws_json1_0PartitionKeyList(output.partitionKeys, context) : undefined,
|
|
1445
|
+
staticColumns: output.staticColumns != null ? deserializeAws_json1_0StaticColumnList(output.staticColumns, context) : undefined,
|
|
1486
1446
|
};
|
|
1487
1447
|
};
|
|
1488
1448
|
var deserializeAws_json1_0ServiceQuotaExceededException = function (output, context) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-keyspaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Keyspaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|