@aws-sdk/client-frauddetector 3.31.0 → 3.32.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/FraudDetectorClient.js +13 -13
- package/dist/cjs/FraudDetectorClient.js.map +1 -1
- package/dist/cjs/commands/BatchCreateVariableCommand.js +3 -3
- package/dist/cjs/commands/BatchCreateVariableCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetVariableCommand.js +3 -3
- package/dist/cjs/commands/BatchGetVariableCommand.js.map +1 -1
- package/dist/cjs/commands/CancelBatchPredictionJobCommand.js +3 -3
- package/dist/cjs/commands/CancelBatchPredictionJobCommand.js.map +1 -1
- package/dist/cjs/commands/CreateBatchPredictionJobCommand.js +3 -3
- package/dist/cjs/commands/CreateBatchPredictionJobCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDetectorVersionCommand.js +3 -3
- package/dist/cjs/commands/CreateDetectorVersionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateModelCommand.js +3 -3
- package/dist/cjs/commands/CreateModelCommand.js.map +1 -1
- package/dist/cjs/commands/CreateModelVersionCommand.js +3 -3
- package/dist/cjs/commands/CreateModelVersionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateRuleCommand.js +3 -3
- package/dist/cjs/commands/CreateRuleCommand.js.map +1 -1
- package/dist/cjs/commands/CreateVariableCommand.js +3 -3
- package/dist/cjs/commands/CreateVariableCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBatchPredictionJobCommand.js +3 -3
- package/dist/cjs/commands/DeleteBatchPredictionJobCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDetectorCommand.js +3 -3
- package/dist/cjs/commands/DeleteDetectorCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDetectorVersionCommand.js +3 -3
- package/dist/cjs/commands/DeleteDetectorVersionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteEntityTypeCommand.js +3 -3
- package/dist/cjs/commands/DeleteEntityTypeCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteEventCommand.js +3 -3
- package/dist/cjs/commands/DeleteEventCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteEventTypeCommand.js +3 -3
- package/dist/cjs/commands/DeleteEventTypeCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteExternalModelCommand.js +3 -3
- package/dist/cjs/commands/DeleteExternalModelCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLabelCommand.js +3 -3
- package/dist/cjs/commands/DeleteLabelCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteModelCommand.js +3 -3
- package/dist/cjs/commands/DeleteModelCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteModelVersionCommand.js +3 -3
- package/dist/cjs/commands/DeleteModelVersionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteOutcomeCommand.js +3 -3
- package/dist/cjs/commands/DeleteOutcomeCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRuleCommand.js +3 -3
- package/dist/cjs/commands/DeleteRuleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteVariableCommand.js +3 -3
- package/dist/cjs/commands/DeleteVariableCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDetectorCommand.js +3 -3
- package/dist/cjs/commands/DescribeDetectorCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeModelVersionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeModelVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/GetBatchPredictionJobsCommand.js +3 -3
- package/dist/cjs/commands/GetBatchPredictionJobsCommand.js.map +1 -1
- package/dist/cjs/commands/GetDetectorVersionCommand.js +3 -3
- package/dist/cjs/commands/GetDetectorVersionCommand.js.map +1 -1
- package/dist/cjs/commands/GetDetectorsCommand.js +3 -3
- package/dist/cjs/commands/GetDetectorsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEntityTypesCommand.js +3 -3
- package/dist/cjs/commands/GetEntityTypesCommand.js.map +1 -1
- package/dist/cjs/commands/GetEventPredictionCommand.js +3 -3
- package/dist/cjs/commands/GetEventPredictionCommand.js.map +1 -1
- package/dist/cjs/commands/GetEventTypesCommand.js +3 -3
- package/dist/cjs/commands/GetEventTypesCommand.js.map +1 -1
- package/dist/cjs/commands/GetExternalModelsCommand.js +3 -3
- package/dist/cjs/commands/GetExternalModelsCommand.js.map +1 -1
- package/dist/cjs/commands/GetKMSEncryptionKeyCommand.js +3 -3
- package/dist/cjs/commands/GetKMSEncryptionKeyCommand.js.map +1 -1
- package/dist/cjs/commands/GetLabelsCommand.js +3 -3
- package/dist/cjs/commands/GetLabelsCommand.js.map +1 -1
- package/dist/cjs/commands/GetModelVersionCommand.js +3 -3
- package/dist/cjs/commands/GetModelVersionCommand.js.map +1 -1
- package/dist/cjs/commands/GetModelsCommand.js +3 -3
- package/dist/cjs/commands/GetModelsCommand.js.map +1 -1
- package/dist/cjs/commands/GetOutcomesCommand.js +3 -3
- package/dist/cjs/commands/GetOutcomesCommand.js.map +1 -1
- package/dist/cjs/commands/GetRulesCommand.js +3 -3
- package/dist/cjs/commands/GetRulesCommand.js.map +1 -1
- package/dist/cjs/commands/GetVariablesCommand.js +3 -3
- package/dist/cjs/commands/GetVariablesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/PutDetectorCommand.js +3 -3
- package/dist/cjs/commands/PutDetectorCommand.js.map +1 -1
- package/dist/cjs/commands/PutEntityTypeCommand.js +3 -3
- package/dist/cjs/commands/PutEntityTypeCommand.js.map +1 -1
- package/dist/cjs/commands/PutEventTypeCommand.js +3 -3
- package/dist/cjs/commands/PutEventTypeCommand.js.map +1 -1
- package/dist/cjs/commands/PutExternalModelCommand.js +3 -3
- package/dist/cjs/commands/PutExternalModelCommand.js.map +1 -1
- package/dist/cjs/commands/PutKMSEncryptionKeyCommand.js +3 -3
- package/dist/cjs/commands/PutKMSEncryptionKeyCommand.js.map +1 -1
- package/dist/cjs/commands/PutLabelCommand.js +3 -3
- package/dist/cjs/commands/PutLabelCommand.js.map +1 -1
- package/dist/cjs/commands/PutOutcomeCommand.js +3 -3
- package/dist/cjs/commands/PutOutcomeCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDetectorVersionCommand.js +3 -3
- package/dist/cjs/commands/UpdateDetectorVersionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDetectorVersionMetadataCommand.js +3 -3
- package/dist/cjs/commands/UpdateDetectorVersionMetadataCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDetectorVersionStatusCommand.js +3 -3
- package/dist/cjs/commands/UpdateDetectorVersionStatusCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateModelCommand.js +3 -3
- package/dist/cjs/commands/UpdateModelCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateModelVersionCommand.js +3 -3
- package/dist/cjs/commands/UpdateModelVersionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateModelVersionStatusCommand.js +3 -3
- package/dist/cjs/commands/UpdateModelVersionStatusCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRuleMetadataCommand.js +3 -3
- package/dist/cjs/commands/UpdateRuleMetadataCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRuleVersionCommand.js +3 -3
- package/dist/cjs/commands/UpdateRuleVersionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateVariableCommand.js +3 -3
- package/dist/cjs/commands/UpdateVariableCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +73 -73
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +181 -181
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/DescribeModelVersionsPaginator.js +4 -4
- package/dist/es/pagination/DescribeModelVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/GetBatchPredictionJobsPaginator.js +4 -4
- package/dist/es/pagination/GetBatchPredictionJobsPaginator.js.map +1 -1
- package/dist/es/pagination/GetDetectorsPaginator.js +4 -4
- package/dist/es/pagination/GetDetectorsPaginator.js.map +1 -1
- package/dist/es/pagination/GetEntityTypesPaginator.js +4 -4
- package/dist/es/pagination/GetEntityTypesPaginator.js.map +1 -1
- package/dist/es/pagination/GetEventTypesPaginator.js +4 -4
- package/dist/es/pagination/GetEventTypesPaginator.js.map +1 -1
- package/dist/es/pagination/GetExternalModelsPaginator.js +4 -4
- package/dist/es/pagination/GetExternalModelsPaginator.js.map +1 -1
- package/dist/es/pagination/GetLabelsPaginator.js +4 -4
- package/dist/es/pagination/GetLabelsPaginator.js.map +1 -1
- package/dist/es/pagination/GetModelsPaginator.js +4 -4
- package/dist/es/pagination/GetModelsPaginator.js.map +1 -1
- package/dist/es/pagination/GetOutcomesPaginator.js +4 -4
- package/dist/es/pagination/GetOutcomesPaginator.js.map +1 -1
- package/dist/es/pagination/GetRulesPaginator.js +4 -4
- package/dist/es/pagination/GetRulesPaginator.js.map +1 -1
- package/dist/es/pagination/GetVariablesPaginator.js +4 -4
- package/dist/es/pagination/GetVariablesPaginator.js.map +1 -1
- package/dist/es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist/es/pagination/ListTagsForResourcePaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -5882,14 +5882,14 @@ const serializeAws_json1_1VariableEntryList = (input, context) => {
|
|
|
5882
5882
|
};
|
|
5883
5883
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
5884
5884
|
return {
|
|
5885
|
-
message:
|
|
5885
|
+
message: smithy_client_1.expectString(output.message),
|
|
5886
5886
|
};
|
|
5887
5887
|
};
|
|
5888
5888
|
const deserializeAws_json1_1BatchCreateVariableError = (output, context) => {
|
|
5889
5889
|
return {
|
|
5890
|
-
code:
|
|
5891
|
-
message:
|
|
5892
|
-
name:
|
|
5890
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
5891
|
+
message: smithy_client_1.expectString(output.message),
|
|
5892
|
+
name: smithy_client_1.expectString(output.name),
|
|
5893
5893
|
};
|
|
5894
5894
|
};
|
|
5895
5895
|
const deserializeAws_json1_1BatchCreateVariableErrorList = (output, context) => {
|
|
@@ -5911,9 +5911,9 @@ const deserializeAws_json1_1BatchCreateVariableResult = (output, context) => {
|
|
|
5911
5911
|
};
|
|
5912
5912
|
const deserializeAws_json1_1BatchGetVariableError = (output, context) => {
|
|
5913
5913
|
return {
|
|
5914
|
-
code:
|
|
5915
|
-
message:
|
|
5916
|
-
name:
|
|
5914
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
5915
|
+
message: smithy_client_1.expectString(output.message),
|
|
5916
|
+
name: smithy_client_1.expectString(output.name),
|
|
5917
5917
|
};
|
|
5918
5918
|
};
|
|
5919
5919
|
const deserializeAws_json1_1BatchGetVariableErrorList = (output, context) => {
|
|
@@ -5938,21 +5938,21 @@ const deserializeAws_json1_1BatchGetVariableResult = (output, context) => {
|
|
|
5938
5938
|
};
|
|
5939
5939
|
const deserializeAws_json1_1BatchPrediction = (output, context) => {
|
|
5940
5940
|
return {
|
|
5941
|
-
arn:
|
|
5942
|
-
completionTime:
|
|
5943
|
-
detectorName:
|
|
5944
|
-
detectorVersion:
|
|
5945
|
-
eventTypeName:
|
|
5946
|
-
failureReason:
|
|
5947
|
-
iamRoleArn:
|
|
5948
|
-
inputPath:
|
|
5949
|
-
jobId:
|
|
5950
|
-
lastHeartbeatTime:
|
|
5951
|
-
outputPath:
|
|
5952
|
-
processedRecordsCount:
|
|
5953
|
-
startTime:
|
|
5954
|
-
status:
|
|
5955
|
-
totalRecordsCount:
|
|
5941
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
5942
|
+
completionTime: smithy_client_1.expectString(output.completionTime),
|
|
5943
|
+
detectorName: smithy_client_1.expectString(output.detectorName),
|
|
5944
|
+
detectorVersion: smithy_client_1.expectString(output.detectorVersion),
|
|
5945
|
+
eventTypeName: smithy_client_1.expectString(output.eventTypeName),
|
|
5946
|
+
failureReason: smithy_client_1.expectString(output.failureReason),
|
|
5947
|
+
iamRoleArn: smithy_client_1.expectString(output.iamRoleArn),
|
|
5948
|
+
inputPath: smithy_client_1.expectString(output.inputPath),
|
|
5949
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
5950
|
+
lastHeartbeatTime: smithy_client_1.expectString(output.lastHeartbeatTime),
|
|
5951
|
+
outputPath: smithy_client_1.expectString(output.outputPath),
|
|
5952
|
+
processedRecordsCount: smithy_client_1.expectInt32(output.processedRecordsCount),
|
|
5953
|
+
startTime: smithy_client_1.expectString(output.startTime),
|
|
5954
|
+
status: smithy_client_1.expectString(output.status),
|
|
5955
|
+
totalRecordsCount: smithy_client_1.expectInt32(output.totalRecordsCount),
|
|
5956
5956
|
};
|
|
5957
5957
|
};
|
|
5958
5958
|
const deserializeAws_json1_1BatchPredictionList = (output, context) => {
|
|
@@ -5970,7 +5970,7 @@ const deserializeAws_json1_1CancelBatchPredictionJobResult = (output, context) =
|
|
|
5970
5970
|
};
|
|
5971
5971
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
5972
5972
|
return {
|
|
5973
|
-
message:
|
|
5973
|
+
message: smithy_client_1.expectString(output.message),
|
|
5974
5974
|
};
|
|
5975
5975
|
};
|
|
5976
5976
|
const deserializeAws_json1_1CreateBatchPredictionJobResult = (output, context) => {
|
|
@@ -5978,9 +5978,9 @@ const deserializeAws_json1_1CreateBatchPredictionJobResult = (output, context) =
|
|
|
5978
5978
|
};
|
|
5979
5979
|
const deserializeAws_json1_1CreateDetectorVersionResult = (output, context) => {
|
|
5980
5980
|
return {
|
|
5981
|
-
detectorId:
|
|
5982
|
-
detectorVersionId:
|
|
5983
|
-
status:
|
|
5981
|
+
detectorId: smithy_client_1.expectString(output.detectorId),
|
|
5982
|
+
detectorVersionId: smithy_client_1.expectString(output.detectorVersionId),
|
|
5983
|
+
status: smithy_client_1.expectString(output.status),
|
|
5984
5984
|
};
|
|
5985
5985
|
};
|
|
5986
5986
|
const deserializeAws_json1_1CreateModelResult = (output, context) => {
|
|
@@ -5988,10 +5988,10 @@ const deserializeAws_json1_1CreateModelResult = (output, context) => {
|
|
|
5988
5988
|
};
|
|
5989
5989
|
const deserializeAws_json1_1CreateModelVersionResult = (output, context) => {
|
|
5990
5990
|
return {
|
|
5991
|
-
modelId:
|
|
5992
|
-
modelType:
|
|
5993
|
-
modelVersionNumber:
|
|
5994
|
-
status:
|
|
5991
|
+
modelId: smithy_client_1.expectString(output.modelId),
|
|
5992
|
+
modelType: smithy_client_1.expectString(output.modelType),
|
|
5993
|
+
modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
|
|
5994
|
+
status: smithy_client_1.expectString(output.status),
|
|
5995
5995
|
};
|
|
5996
5996
|
};
|
|
5997
5997
|
const deserializeAws_json1_1CreateRuleResult = (output, context) => {
|
|
@@ -6009,7 +6009,7 @@ const deserializeAws_json1_1CsvIndexToVariableMap = (output, context) => {
|
|
|
6009
6009
|
}
|
|
6010
6010
|
return {
|
|
6011
6011
|
...acc,
|
|
6012
|
-
[key]:
|
|
6012
|
+
[key]: smithy_client_1.expectString(value),
|
|
6013
6013
|
};
|
|
6014
6014
|
}, {});
|
|
6015
6015
|
};
|
|
@@ -6064,12 +6064,12 @@ const deserializeAws_json1_1DeleteVariableResult = (output, context) => {
|
|
|
6064
6064
|
};
|
|
6065
6065
|
const deserializeAws_json1_1DescribeDetectorResult = (output, context) => {
|
|
6066
6066
|
return {
|
|
6067
|
-
arn:
|
|
6068
|
-
detectorId:
|
|
6067
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6068
|
+
detectorId: smithy_client_1.expectString(output.detectorId),
|
|
6069
6069
|
detectorVersionSummaries: output.detectorVersionSummaries !== undefined && output.detectorVersionSummaries !== null
|
|
6070
6070
|
? deserializeAws_json1_1DetectorVersionSummaryList(output.detectorVersionSummaries, context)
|
|
6071
6071
|
: undefined,
|
|
6072
|
-
nextToken:
|
|
6072
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6073
6073
|
};
|
|
6074
6074
|
};
|
|
6075
6075
|
const deserializeAws_json1_1DescribeModelVersionsResult = (output, context) => {
|
|
@@ -6077,17 +6077,17 @@ const deserializeAws_json1_1DescribeModelVersionsResult = (output, context) => {
|
|
|
6077
6077
|
modelVersionDetails: output.modelVersionDetails !== undefined && output.modelVersionDetails !== null
|
|
6078
6078
|
? deserializeAws_json1_1modelVersionDetailList(output.modelVersionDetails, context)
|
|
6079
6079
|
: undefined,
|
|
6080
|
-
nextToken:
|
|
6080
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6081
6081
|
};
|
|
6082
6082
|
};
|
|
6083
6083
|
const deserializeAws_json1_1Detector = (output, context) => {
|
|
6084
6084
|
return {
|
|
6085
|
-
arn:
|
|
6086
|
-
createdTime:
|
|
6087
|
-
description:
|
|
6088
|
-
detectorId:
|
|
6089
|
-
eventTypeName:
|
|
6090
|
-
lastUpdatedTime:
|
|
6085
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6086
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6087
|
+
description: smithy_client_1.expectString(output.description),
|
|
6088
|
+
detectorId: smithy_client_1.expectString(output.detectorId),
|
|
6089
|
+
eventTypeName: smithy_client_1.expectString(output.eventTypeName),
|
|
6090
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6091
6091
|
};
|
|
6092
6092
|
};
|
|
6093
6093
|
const deserializeAws_json1_1DetectorList = (output, context) => {
|
|
@@ -6102,10 +6102,10 @@ const deserializeAws_json1_1DetectorList = (output, context) => {
|
|
|
6102
6102
|
};
|
|
6103
6103
|
const deserializeAws_json1_1DetectorVersionSummary = (output, context) => {
|
|
6104
6104
|
return {
|
|
6105
|
-
description:
|
|
6106
|
-
detectorVersionId:
|
|
6107
|
-
lastUpdatedTime:
|
|
6108
|
-
status:
|
|
6105
|
+
description: smithy_client_1.expectString(output.description),
|
|
6106
|
+
detectorVersionId: smithy_client_1.expectString(output.detectorVersionId),
|
|
6107
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6108
|
+
status: smithy_client_1.expectString(output.status),
|
|
6109
6109
|
};
|
|
6110
6110
|
};
|
|
6111
6111
|
const deserializeAws_json1_1DetectorVersionSummaryList = (output, context) => {
|
|
@@ -6120,11 +6120,11 @@ const deserializeAws_json1_1DetectorVersionSummaryList = (output, context) => {
|
|
|
6120
6120
|
};
|
|
6121
6121
|
const deserializeAws_json1_1EntityType = (output, context) => {
|
|
6122
6122
|
return {
|
|
6123
|
-
arn:
|
|
6124
|
-
createdTime:
|
|
6125
|
-
description:
|
|
6126
|
-
lastUpdatedTime:
|
|
6127
|
-
name:
|
|
6123
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6124
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6125
|
+
description: smithy_client_1.expectString(output.description),
|
|
6126
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6127
|
+
name: smithy_client_1.expectString(output.name),
|
|
6128
6128
|
};
|
|
6129
6129
|
};
|
|
6130
6130
|
const deserializeAws_json1_1entityTypeList = (output, context) => {
|
|
@@ -6139,9 +6139,9 @@ const deserializeAws_json1_1entityTypeList = (output, context) => {
|
|
|
6139
6139
|
};
|
|
6140
6140
|
const deserializeAws_json1_1EventType = (output, context) => {
|
|
6141
6141
|
return {
|
|
6142
|
-
arn:
|
|
6143
|
-
createdTime:
|
|
6144
|
-
description:
|
|
6142
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6143
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6144
|
+
description: smithy_client_1.expectString(output.description),
|
|
6145
6145
|
entityTypes: output.entityTypes !== undefined && output.entityTypes !== null
|
|
6146
6146
|
? deserializeAws_json1_1NonEmptyListOfStrings(output.entityTypes, context)
|
|
6147
6147
|
: undefined,
|
|
@@ -6151,8 +6151,8 @@ const deserializeAws_json1_1EventType = (output, context) => {
|
|
|
6151
6151
|
labels: output.labels !== undefined && output.labels !== null
|
|
6152
6152
|
? deserializeAws_json1_1ListOfStrings(output.labels, context)
|
|
6153
6153
|
: undefined,
|
|
6154
|
-
lastUpdatedTime:
|
|
6155
|
-
name:
|
|
6154
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6155
|
+
name: smithy_client_1.expectString(output.name),
|
|
6156
6156
|
};
|
|
6157
6157
|
};
|
|
6158
6158
|
const deserializeAws_json1_1eventTypeList = (output, context) => {
|
|
@@ -6167,22 +6167,22 @@ const deserializeAws_json1_1eventTypeList = (output, context) => {
|
|
|
6167
6167
|
};
|
|
6168
6168
|
const deserializeAws_json1_1ExternalEventsDetail = (output, context) => {
|
|
6169
6169
|
return {
|
|
6170
|
-
dataAccessRoleArn:
|
|
6171
|
-
dataLocation:
|
|
6170
|
+
dataAccessRoleArn: smithy_client_1.expectString(output.dataAccessRoleArn),
|
|
6171
|
+
dataLocation: smithy_client_1.expectString(output.dataLocation),
|
|
6172
6172
|
};
|
|
6173
6173
|
};
|
|
6174
6174
|
const deserializeAws_json1_1ExternalModel = (output, context) => {
|
|
6175
6175
|
return {
|
|
6176
|
-
arn:
|
|
6177
|
-
createdTime:
|
|
6176
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6177
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6178
6178
|
inputConfiguration: output.inputConfiguration !== undefined && output.inputConfiguration !== null
|
|
6179
6179
|
? deserializeAws_json1_1ModelInputConfiguration(output.inputConfiguration, context)
|
|
6180
6180
|
: undefined,
|
|
6181
|
-
invokeModelEndpointRoleArn:
|
|
6182
|
-
lastUpdatedTime:
|
|
6183
|
-
modelEndpoint:
|
|
6184
|
-
modelEndpointStatus:
|
|
6185
|
-
modelSource:
|
|
6181
|
+
invokeModelEndpointRoleArn: smithy_client_1.expectString(output.invokeModelEndpointRoleArn),
|
|
6182
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6183
|
+
modelEndpoint: smithy_client_1.expectString(output.modelEndpoint),
|
|
6184
|
+
modelEndpointStatus: smithy_client_1.expectString(output.modelEndpointStatus),
|
|
6185
|
+
modelSource: smithy_client_1.expectString(output.modelSource),
|
|
6186
6186
|
outputConfiguration: output.outputConfiguration !== undefined && output.outputConfiguration !== null
|
|
6187
6187
|
? deserializeAws_json1_1ModelOutputConfiguration(output.outputConfiguration, context)
|
|
6188
6188
|
: undefined,
|
|
@@ -6215,23 +6215,23 @@ const deserializeAws_json1_1ExternalModelPredictionMap = (output, context) => {
|
|
|
6215
6215
|
}
|
|
6216
6216
|
return {
|
|
6217
6217
|
...acc,
|
|
6218
|
-
[key]:
|
|
6218
|
+
[key]: smithy_client_1.expectString(value),
|
|
6219
6219
|
};
|
|
6220
6220
|
}, {});
|
|
6221
6221
|
};
|
|
6222
6222
|
const deserializeAws_json1_1ExternalModelSummary = (output, context) => {
|
|
6223
6223
|
return {
|
|
6224
|
-
modelEndpoint:
|
|
6225
|
-
modelSource:
|
|
6224
|
+
modelEndpoint: smithy_client_1.expectString(output.modelEndpoint),
|
|
6225
|
+
modelSource: smithy_client_1.expectString(output.modelSource),
|
|
6226
6226
|
};
|
|
6227
6227
|
};
|
|
6228
6228
|
const deserializeAws_json1_1FieldValidationMessage = (output, context) => {
|
|
6229
6229
|
return {
|
|
6230
|
-
content:
|
|
6231
|
-
fieldName:
|
|
6232
|
-
identifier:
|
|
6233
|
-
title:
|
|
6234
|
-
type:
|
|
6230
|
+
content: smithy_client_1.expectString(output.content),
|
|
6231
|
+
fieldName: smithy_client_1.expectString(output.fieldName),
|
|
6232
|
+
identifier: smithy_client_1.expectString(output.identifier),
|
|
6233
|
+
title: smithy_client_1.expectString(output.title),
|
|
6234
|
+
type: smithy_client_1.expectString(output.type),
|
|
6235
6235
|
};
|
|
6236
6236
|
};
|
|
6237
6237
|
const deserializeAws_json1_1fieldValidationMessageList = (output, context) => {
|
|
@@ -6246,9 +6246,9 @@ const deserializeAws_json1_1fieldValidationMessageList = (output, context) => {
|
|
|
6246
6246
|
};
|
|
6247
6247
|
const deserializeAws_json1_1FileValidationMessage = (output, context) => {
|
|
6248
6248
|
return {
|
|
6249
|
-
content:
|
|
6250
|
-
title:
|
|
6251
|
-
type:
|
|
6249
|
+
content: smithy_client_1.expectString(output.content),
|
|
6250
|
+
title: smithy_client_1.expectString(output.title),
|
|
6251
|
+
type: smithy_client_1.expectString(output.type),
|
|
6252
6252
|
};
|
|
6253
6253
|
};
|
|
6254
6254
|
const deserializeAws_json1_1fileValidationMessageList = (output, context) => {
|
|
@@ -6266,7 +6266,7 @@ const deserializeAws_json1_1GetBatchPredictionJobsResult = (output, context) =>
|
|
|
6266
6266
|
batchPredictions: output.batchPredictions !== undefined && output.batchPredictions !== null
|
|
6267
6267
|
? deserializeAws_json1_1BatchPredictionList(output.batchPredictions, context)
|
|
6268
6268
|
: undefined,
|
|
6269
|
-
nextToken:
|
|
6269
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6270
6270
|
};
|
|
6271
6271
|
};
|
|
6272
6272
|
const deserializeAws_json1_1GetDetectorsResult = (output, context) => {
|
|
@@ -6274,28 +6274,28 @@ const deserializeAws_json1_1GetDetectorsResult = (output, context) => {
|
|
|
6274
6274
|
detectors: output.detectors !== undefined && output.detectors !== null
|
|
6275
6275
|
? deserializeAws_json1_1DetectorList(output.detectors, context)
|
|
6276
6276
|
: undefined,
|
|
6277
|
-
nextToken:
|
|
6277
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6278
6278
|
};
|
|
6279
6279
|
};
|
|
6280
6280
|
const deserializeAws_json1_1GetDetectorVersionResult = (output, context) => {
|
|
6281
6281
|
return {
|
|
6282
|
-
arn:
|
|
6283
|
-
createdTime:
|
|
6284
|
-
description:
|
|
6285
|
-
detectorId:
|
|
6286
|
-
detectorVersionId:
|
|
6282
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6283
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6284
|
+
description: smithy_client_1.expectString(output.description),
|
|
6285
|
+
detectorId: smithy_client_1.expectString(output.detectorId),
|
|
6286
|
+
detectorVersionId: smithy_client_1.expectString(output.detectorVersionId),
|
|
6287
6287
|
externalModelEndpoints: output.externalModelEndpoints !== undefined && output.externalModelEndpoints !== null
|
|
6288
6288
|
? deserializeAws_json1_1ListOfStrings(output.externalModelEndpoints, context)
|
|
6289
6289
|
: undefined,
|
|
6290
|
-
lastUpdatedTime:
|
|
6290
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6291
6291
|
modelVersions: output.modelVersions !== undefined && output.modelVersions !== null
|
|
6292
6292
|
? deserializeAws_json1_1ListOfModelVersions(output.modelVersions, context)
|
|
6293
6293
|
: undefined,
|
|
6294
|
-
ruleExecutionMode:
|
|
6294
|
+
ruleExecutionMode: smithy_client_1.expectString(output.ruleExecutionMode),
|
|
6295
6295
|
rules: output.rules !== undefined && output.rules !== null
|
|
6296
6296
|
? deserializeAws_json1_1RuleList(output.rules, context)
|
|
6297
6297
|
: undefined,
|
|
6298
|
-
status:
|
|
6298
|
+
status: smithy_client_1.expectString(output.status),
|
|
6299
6299
|
};
|
|
6300
6300
|
};
|
|
6301
6301
|
const deserializeAws_json1_1GetEntityTypesResult = (output, context) => {
|
|
@@ -6303,7 +6303,7 @@ const deserializeAws_json1_1GetEntityTypesResult = (output, context) => {
|
|
|
6303
6303
|
entityTypes: output.entityTypes !== undefined && output.entityTypes !== null
|
|
6304
6304
|
? deserializeAws_json1_1entityTypeList(output.entityTypes, context)
|
|
6305
6305
|
: undefined,
|
|
6306
|
-
nextToken:
|
|
6306
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6307
6307
|
};
|
|
6308
6308
|
};
|
|
6309
6309
|
const deserializeAws_json1_1GetEventPredictionResult = (output, context) => {
|
|
@@ -6324,7 +6324,7 @@ const deserializeAws_json1_1GetEventTypesResult = (output, context) => {
|
|
|
6324
6324
|
eventTypes: output.eventTypes !== undefined && output.eventTypes !== null
|
|
6325
6325
|
? deserializeAws_json1_1eventTypeList(output.eventTypes, context)
|
|
6326
6326
|
: undefined,
|
|
6327
|
-
nextToken:
|
|
6327
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6328
6328
|
};
|
|
6329
6329
|
};
|
|
6330
6330
|
const deserializeAws_json1_1GetExternalModelsResult = (output, context) => {
|
|
@@ -6332,7 +6332,7 @@ const deserializeAws_json1_1GetExternalModelsResult = (output, context) => {
|
|
|
6332
6332
|
externalModels: output.externalModels !== undefined && output.externalModels !== null
|
|
6333
6333
|
? deserializeAws_json1_1ExternalModelList(output.externalModels, context)
|
|
6334
6334
|
: undefined,
|
|
6335
|
-
nextToken:
|
|
6335
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6336
6336
|
};
|
|
6337
6337
|
};
|
|
6338
6338
|
const deserializeAws_json1_1GetKMSEncryptionKeyResult = (output, context) => {
|
|
@@ -6347,7 +6347,7 @@ const deserializeAws_json1_1GetLabelsResult = (output, context) => {
|
|
|
6347
6347
|
labels: output.labels !== undefined && output.labels !== null
|
|
6348
6348
|
? deserializeAws_json1_1labelList(output.labels, context)
|
|
6349
6349
|
: undefined,
|
|
6350
|
-
nextToken:
|
|
6350
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6351
6351
|
};
|
|
6352
6352
|
};
|
|
6353
6353
|
const deserializeAws_json1_1GetModelsResult = (output, context) => {
|
|
@@ -6355,28 +6355,28 @@ const deserializeAws_json1_1GetModelsResult = (output, context) => {
|
|
|
6355
6355
|
models: output.models !== undefined && output.models !== null
|
|
6356
6356
|
? deserializeAws_json1_1modelList(output.models, context)
|
|
6357
6357
|
: undefined,
|
|
6358
|
-
nextToken:
|
|
6358
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6359
6359
|
};
|
|
6360
6360
|
};
|
|
6361
6361
|
const deserializeAws_json1_1GetModelVersionResult = (output, context) => {
|
|
6362
6362
|
return {
|
|
6363
|
-
arn:
|
|
6363
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6364
6364
|
externalEventsDetail: output.externalEventsDetail !== undefined && output.externalEventsDetail !== null
|
|
6365
6365
|
? deserializeAws_json1_1ExternalEventsDetail(output.externalEventsDetail, context)
|
|
6366
6366
|
: undefined,
|
|
6367
|
-
modelId:
|
|
6368
|
-
modelType:
|
|
6369
|
-
modelVersionNumber:
|
|
6370
|
-
status:
|
|
6367
|
+
modelId: smithy_client_1.expectString(output.modelId),
|
|
6368
|
+
modelType: smithy_client_1.expectString(output.modelType),
|
|
6369
|
+
modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
|
|
6370
|
+
status: smithy_client_1.expectString(output.status),
|
|
6371
6371
|
trainingDataSchema: output.trainingDataSchema !== undefined && output.trainingDataSchema !== null
|
|
6372
6372
|
? deserializeAws_json1_1TrainingDataSchema(output.trainingDataSchema, context)
|
|
6373
6373
|
: undefined,
|
|
6374
|
-
trainingDataSource:
|
|
6374
|
+
trainingDataSource: smithy_client_1.expectString(output.trainingDataSource),
|
|
6375
6375
|
};
|
|
6376
6376
|
};
|
|
6377
6377
|
const deserializeAws_json1_1GetOutcomesResult = (output, context) => {
|
|
6378
6378
|
return {
|
|
6379
|
-
nextToken:
|
|
6379
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6380
6380
|
outcomes: output.outcomes !== undefined && output.outcomes !== null
|
|
6381
6381
|
? deserializeAws_json1_1OutcomeList(output.outcomes, context)
|
|
6382
6382
|
: undefined,
|
|
@@ -6384,7 +6384,7 @@ const deserializeAws_json1_1GetOutcomesResult = (output, context) => {
|
|
|
6384
6384
|
};
|
|
6385
6385
|
const deserializeAws_json1_1GetRulesResult = (output, context) => {
|
|
6386
6386
|
return {
|
|
6387
|
-
nextToken:
|
|
6387
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6388
6388
|
ruleDetails: output.ruleDetails !== undefined && output.ruleDetails !== null
|
|
6389
6389
|
? deserializeAws_json1_1RuleDetailList(output.ruleDetails, context)
|
|
6390
6390
|
: undefined,
|
|
@@ -6392,7 +6392,7 @@ const deserializeAws_json1_1GetRulesResult = (output, context) => {
|
|
|
6392
6392
|
};
|
|
6393
6393
|
const deserializeAws_json1_1GetVariablesResult = (output, context) => {
|
|
6394
6394
|
return {
|
|
6395
|
-
nextToken:
|
|
6395
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6396
6396
|
variables: output.variables !== undefined && output.variables !== null
|
|
6397
6397
|
? deserializeAws_json1_1VariableList(output.variables, context)
|
|
6398
6398
|
: undefined,
|
|
@@ -6400,7 +6400,7 @@ const deserializeAws_json1_1GetVariablesResult = (output, context) => {
|
|
|
6400
6400
|
};
|
|
6401
6401
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
6402
6402
|
return {
|
|
6403
|
-
message:
|
|
6403
|
+
message: smithy_client_1.expectString(output.message),
|
|
6404
6404
|
};
|
|
6405
6405
|
};
|
|
6406
6406
|
const deserializeAws_json1_1JsonKeyToVariableMap = (output, context) => {
|
|
@@ -6410,22 +6410,22 @@ const deserializeAws_json1_1JsonKeyToVariableMap = (output, context) => {
|
|
|
6410
6410
|
}
|
|
6411
6411
|
return {
|
|
6412
6412
|
...acc,
|
|
6413
|
-
[key]:
|
|
6413
|
+
[key]: smithy_client_1.expectString(value),
|
|
6414
6414
|
};
|
|
6415
6415
|
}, {});
|
|
6416
6416
|
};
|
|
6417
6417
|
const deserializeAws_json1_1KMSKey = (output, context) => {
|
|
6418
6418
|
return {
|
|
6419
|
-
kmsEncryptionKeyArn:
|
|
6419
|
+
kmsEncryptionKeyArn: smithy_client_1.expectString(output.kmsEncryptionKeyArn),
|
|
6420
6420
|
};
|
|
6421
6421
|
};
|
|
6422
6422
|
const deserializeAws_json1_1Label = (output, context) => {
|
|
6423
6423
|
return {
|
|
6424
|
-
arn:
|
|
6425
|
-
createdTime:
|
|
6426
|
-
description:
|
|
6427
|
-
lastUpdatedTime:
|
|
6428
|
-
name:
|
|
6424
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6425
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6426
|
+
description: smithy_client_1.expectString(output.description),
|
|
6427
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6428
|
+
name: smithy_client_1.expectString(output.name),
|
|
6429
6429
|
};
|
|
6430
6430
|
};
|
|
6431
6431
|
const deserializeAws_json1_1labelList = (output, context) => {
|
|
@@ -6513,12 +6513,12 @@ const deserializeAws_json1_1ListOfStrings = (output, context) => {
|
|
|
6513
6513
|
if (entry === null) {
|
|
6514
6514
|
return null;
|
|
6515
6515
|
}
|
|
6516
|
-
return
|
|
6516
|
+
return smithy_client_1.expectString(entry);
|
|
6517
6517
|
});
|
|
6518
6518
|
};
|
|
6519
6519
|
const deserializeAws_json1_1ListTagsForResourceResult = (output, context) => {
|
|
6520
6520
|
return {
|
|
6521
|
-
nextToken:
|
|
6521
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6522
6522
|
tags: output.tags !== undefined && output.tags !== null
|
|
6523
6523
|
? deserializeAws_json1_1tagList(output.tags, context)
|
|
6524
6524
|
: undefined,
|
|
@@ -6526,17 +6526,17 @@ const deserializeAws_json1_1ListTagsForResourceResult = (output, context) => {
|
|
|
6526
6526
|
};
|
|
6527
6527
|
const deserializeAws_json1_1LogOddsMetric = (output, context) => {
|
|
6528
6528
|
return {
|
|
6529
|
-
variableImportance:
|
|
6530
|
-
variableName:
|
|
6531
|
-
variableType:
|
|
6529
|
+
variableImportance: smithy_client_1.limitedParseFloat32(output.variableImportance),
|
|
6530
|
+
variableName: smithy_client_1.expectString(output.variableName),
|
|
6531
|
+
variableType: smithy_client_1.expectString(output.variableType),
|
|
6532
6532
|
};
|
|
6533
6533
|
};
|
|
6534
6534
|
const deserializeAws_json1_1MetricDataPoint = (output, context) => {
|
|
6535
6535
|
return {
|
|
6536
|
-
fpr:
|
|
6537
|
-
precision:
|
|
6538
|
-
threshold:
|
|
6539
|
-
tpr:
|
|
6536
|
+
fpr: smithy_client_1.limitedParseFloat32(output.fpr),
|
|
6537
|
+
precision: smithy_client_1.limitedParseFloat32(output.precision),
|
|
6538
|
+
threshold: smithy_client_1.limitedParseFloat32(output.threshold),
|
|
6539
|
+
tpr: smithy_client_1.limitedParseFloat32(output.tpr),
|
|
6540
6540
|
};
|
|
6541
6541
|
};
|
|
6542
6542
|
const deserializeAws_json1_1metricDataPointsList = (output, context) => {
|
|
@@ -6551,22 +6551,22 @@ const deserializeAws_json1_1metricDataPointsList = (output, context) => {
|
|
|
6551
6551
|
};
|
|
6552
6552
|
const deserializeAws_json1_1Model = (output, context) => {
|
|
6553
6553
|
return {
|
|
6554
|
-
arn:
|
|
6555
|
-
createdTime:
|
|
6556
|
-
description:
|
|
6557
|
-
eventTypeName:
|
|
6558
|
-
lastUpdatedTime:
|
|
6559
|
-
modelId:
|
|
6560
|
-
modelType:
|
|
6554
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6555
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6556
|
+
description: smithy_client_1.expectString(output.description),
|
|
6557
|
+
eventTypeName: smithy_client_1.expectString(output.eventTypeName),
|
|
6558
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6559
|
+
modelId: smithy_client_1.expectString(output.modelId),
|
|
6560
|
+
modelType: smithy_client_1.expectString(output.modelType),
|
|
6561
6561
|
};
|
|
6562
6562
|
};
|
|
6563
6563
|
const deserializeAws_json1_1ModelInputConfiguration = (output, context) => {
|
|
6564
6564
|
return {
|
|
6565
|
-
csvInputTemplate:
|
|
6566
|
-
eventTypeName:
|
|
6567
|
-
format:
|
|
6568
|
-
jsonInputTemplate:
|
|
6569
|
-
useEventVariables:
|
|
6565
|
+
csvInputTemplate: smithy_client_1.expectString(output.csvInputTemplate),
|
|
6566
|
+
eventTypeName: smithy_client_1.expectString(output.eventTypeName),
|
|
6567
|
+
format: smithy_client_1.expectString(output.format),
|
|
6568
|
+
jsonInputTemplate: smithy_client_1.expectString(output.jsonInputTemplate),
|
|
6569
|
+
useEventVariables: smithy_client_1.expectBoolean(output.useEventVariables),
|
|
6570
6570
|
};
|
|
6571
6571
|
};
|
|
6572
6572
|
const deserializeAws_json1_1modelList = (output, context) => {
|
|
@@ -6584,7 +6584,7 @@ const deserializeAws_json1_1ModelOutputConfiguration = (output, context) => {
|
|
|
6584
6584
|
csvIndexToVariableMap: output.csvIndexToVariableMap !== undefined && output.csvIndexToVariableMap !== null
|
|
6585
6585
|
? deserializeAws_json1_1CsvIndexToVariableMap(output.csvIndexToVariableMap, context)
|
|
6586
6586
|
: undefined,
|
|
6587
|
-
format:
|
|
6587
|
+
format: smithy_client_1.expectString(output.format),
|
|
6588
6588
|
jsonKeyToVariableMap: output.jsonKeyToVariableMap !== undefined && output.jsonKeyToVariableMap !== null
|
|
6589
6589
|
? deserializeAws_json1_1JsonKeyToVariableMap(output.jsonKeyToVariableMap, context)
|
|
6590
6590
|
: undefined,
|
|
@@ -6597,7 +6597,7 @@ const deserializeAws_json1_1ModelPredictionMap = (output, context) => {
|
|
|
6597
6597
|
}
|
|
6598
6598
|
return {
|
|
6599
6599
|
...acc,
|
|
6600
|
-
[key]:
|
|
6600
|
+
[key]: smithy_client_1.limitedParseFloat32(value),
|
|
6601
6601
|
};
|
|
6602
6602
|
}, {});
|
|
6603
6603
|
};
|
|
@@ -6613,28 +6613,28 @@ const deserializeAws_json1_1ModelScores = (output, context) => {
|
|
|
6613
6613
|
};
|
|
6614
6614
|
const deserializeAws_json1_1ModelVersion = (output, context) => {
|
|
6615
6615
|
return {
|
|
6616
|
-
arn:
|
|
6617
|
-
modelId:
|
|
6618
|
-
modelType:
|
|
6619
|
-
modelVersionNumber:
|
|
6616
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6617
|
+
modelId: smithy_client_1.expectString(output.modelId),
|
|
6618
|
+
modelType: smithy_client_1.expectString(output.modelType),
|
|
6619
|
+
modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
|
|
6620
6620
|
};
|
|
6621
6621
|
};
|
|
6622
6622
|
const deserializeAws_json1_1ModelVersionDetail = (output, context) => {
|
|
6623
6623
|
return {
|
|
6624
|
-
arn:
|
|
6625
|
-
createdTime:
|
|
6624
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6625
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6626
6626
|
externalEventsDetail: output.externalEventsDetail !== undefined && output.externalEventsDetail !== null
|
|
6627
6627
|
? deserializeAws_json1_1ExternalEventsDetail(output.externalEventsDetail, context)
|
|
6628
6628
|
: undefined,
|
|
6629
|
-
lastUpdatedTime:
|
|
6630
|
-
modelId:
|
|
6631
|
-
modelType:
|
|
6632
|
-
modelVersionNumber:
|
|
6633
|
-
status:
|
|
6629
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6630
|
+
modelId: smithy_client_1.expectString(output.modelId),
|
|
6631
|
+
modelType: smithy_client_1.expectString(output.modelType),
|
|
6632
|
+
modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
|
|
6633
|
+
status: smithy_client_1.expectString(output.status),
|
|
6634
6634
|
trainingDataSchema: output.trainingDataSchema !== undefined && output.trainingDataSchema !== null
|
|
6635
6635
|
? deserializeAws_json1_1TrainingDataSchema(output.trainingDataSchema, context)
|
|
6636
6636
|
: undefined,
|
|
6637
|
-
trainingDataSource:
|
|
6637
|
+
trainingDataSource: smithy_client_1.expectString(output.trainingDataSource),
|
|
6638
6638
|
trainingResult: output.trainingResult !== undefined && output.trainingResult !== null
|
|
6639
6639
|
? deserializeAws_json1_1TrainingResult(output.trainingResult, context)
|
|
6640
6640
|
: undefined,
|
|
@@ -6657,16 +6657,16 @@ const deserializeAws_json1_1NonEmptyListOfStrings = (output, context) => {
|
|
|
6657
6657
|
if (entry === null) {
|
|
6658
6658
|
return null;
|
|
6659
6659
|
}
|
|
6660
|
-
return
|
|
6660
|
+
return smithy_client_1.expectString(entry);
|
|
6661
6661
|
});
|
|
6662
6662
|
};
|
|
6663
6663
|
const deserializeAws_json1_1Outcome = (output, context) => {
|
|
6664
6664
|
return {
|
|
6665
|
-
arn:
|
|
6666
|
-
createdTime:
|
|
6667
|
-
description:
|
|
6668
|
-
lastUpdatedTime:
|
|
6669
|
-
name:
|
|
6665
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6666
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6667
|
+
description: smithy_client_1.expectString(output.description),
|
|
6668
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6669
|
+
name: smithy_client_1.expectString(output.name),
|
|
6670
6670
|
};
|
|
6671
6671
|
};
|
|
6672
6672
|
const deserializeAws_json1_1OutcomeList = (output, context) => {
|
|
@@ -6702,35 +6702,35 @@ const deserializeAws_json1_1PutOutcomeResult = (output, context) => {
|
|
|
6702
6702
|
};
|
|
6703
6703
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
6704
6704
|
return {
|
|
6705
|
-
message:
|
|
6705
|
+
message: smithy_client_1.expectString(output.message),
|
|
6706
6706
|
};
|
|
6707
6707
|
};
|
|
6708
6708
|
const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
|
|
6709
6709
|
return {
|
|
6710
|
-
message:
|
|
6710
|
+
message: smithy_client_1.expectString(output.message),
|
|
6711
6711
|
};
|
|
6712
6712
|
};
|
|
6713
6713
|
const deserializeAws_json1_1Rule = (output, context) => {
|
|
6714
6714
|
return {
|
|
6715
|
-
detectorId:
|
|
6716
|
-
ruleId:
|
|
6717
|
-
ruleVersion:
|
|
6715
|
+
detectorId: smithy_client_1.expectString(output.detectorId),
|
|
6716
|
+
ruleId: smithy_client_1.expectString(output.ruleId),
|
|
6717
|
+
ruleVersion: smithy_client_1.expectString(output.ruleVersion),
|
|
6718
6718
|
};
|
|
6719
6719
|
};
|
|
6720
6720
|
const deserializeAws_json1_1RuleDetail = (output, context) => {
|
|
6721
6721
|
return {
|
|
6722
|
-
arn:
|
|
6723
|
-
createdTime:
|
|
6724
|
-
description:
|
|
6725
|
-
detectorId:
|
|
6726
|
-
expression:
|
|
6727
|
-
language:
|
|
6728
|
-
lastUpdatedTime:
|
|
6722
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6723
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6724
|
+
description: smithy_client_1.expectString(output.description),
|
|
6725
|
+
detectorId: smithy_client_1.expectString(output.detectorId),
|
|
6726
|
+
expression: smithy_client_1.expectString(output.expression),
|
|
6727
|
+
language: smithy_client_1.expectString(output.language),
|
|
6728
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6729
6729
|
outcomes: output.outcomes !== undefined && output.outcomes !== null
|
|
6730
6730
|
? deserializeAws_json1_1NonEmptyListOfStrings(output.outcomes, context)
|
|
6731
6731
|
: undefined,
|
|
6732
|
-
ruleId:
|
|
6733
|
-
ruleVersion:
|
|
6732
|
+
ruleId: smithy_client_1.expectString(output.ruleId),
|
|
6733
|
+
ruleVersion: smithy_client_1.expectString(output.ruleVersion),
|
|
6734
6734
|
};
|
|
6735
6735
|
};
|
|
6736
6736
|
const deserializeAws_json1_1RuleDetailList = (output, context) => {
|
|
@@ -6758,13 +6758,13 @@ const deserializeAws_json1_1RuleResult = (output, context) => {
|
|
|
6758
6758
|
outcomes: output.outcomes !== undefined && output.outcomes !== null
|
|
6759
6759
|
? deserializeAws_json1_1ListOfStrings(output.outcomes, context)
|
|
6760
6760
|
: undefined,
|
|
6761
|
-
ruleId:
|
|
6761
|
+
ruleId: smithy_client_1.expectString(output.ruleId),
|
|
6762
6762
|
};
|
|
6763
6763
|
};
|
|
6764
6764
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
6765
6765
|
return {
|
|
6766
|
-
key:
|
|
6767
|
-
value:
|
|
6766
|
+
key: smithy_client_1.expectString(output.key),
|
|
6767
|
+
value: smithy_client_1.expectString(output.value),
|
|
6768
6768
|
};
|
|
6769
6769
|
};
|
|
6770
6770
|
const deserializeAws_json1_1tagList = (output, context) => {
|
|
@@ -6782,7 +6782,7 @@ const deserializeAws_json1_1TagResourceResult = (output, context) => {
|
|
|
6782
6782
|
};
|
|
6783
6783
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
6784
6784
|
return {
|
|
6785
|
-
message:
|
|
6785
|
+
message: smithy_client_1.expectString(output.message),
|
|
6786
6786
|
};
|
|
6787
6787
|
};
|
|
6788
6788
|
const deserializeAws_json1_1TrainingDataSchema = (output, context) => {
|
|
@@ -6797,7 +6797,7 @@ const deserializeAws_json1_1TrainingDataSchema = (output, context) => {
|
|
|
6797
6797
|
};
|
|
6798
6798
|
const deserializeAws_json1_1TrainingMetrics = (output, context) => {
|
|
6799
6799
|
return {
|
|
6800
|
-
auc:
|
|
6800
|
+
auc: smithy_client_1.limitedParseFloat32(output.auc),
|
|
6801
6801
|
metricDataPoints: output.metricDataPoints !== undefined && output.metricDataPoints !== null
|
|
6802
6802
|
? deserializeAws_json1_1metricDataPointsList(output.metricDataPoints, context)
|
|
6803
6803
|
: undefined,
|
|
@@ -6833,10 +6833,10 @@ const deserializeAws_json1_1UpdateModelResult = (output, context) => {
|
|
|
6833
6833
|
};
|
|
6834
6834
|
const deserializeAws_json1_1UpdateModelVersionResult = (output, context) => {
|
|
6835
6835
|
return {
|
|
6836
|
-
modelId:
|
|
6837
|
-
modelType:
|
|
6838
|
-
modelVersionNumber:
|
|
6839
|
-
status:
|
|
6836
|
+
modelId: smithy_client_1.expectString(output.modelId),
|
|
6837
|
+
modelType: smithy_client_1.expectString(output.modelType),
|
|
6838
|
+
modelVersionNumber: smithy_client_1.expectString(output.modelVersionNumber),
|
|
6839
|
+
status: smithy_client_1.expectString(output.status),
|
|
6840
6840
|
};
|
|
6841
6841
|
};
|
|
6842
6842
|
const deserializeAws_json1_1UpdateModelVersionStatusResult = (output, context) => {
|
|
@@ -6855,20 +6855,20 @@ const deserializeAws_json1_1UpdateVariableResult = (output, context) => {
|
|
|
6855
6855
|
};
|
|
6856
6856
|
const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
6857
6857
|
return {
|
|
6858
|
-
message:
|
|
6858
|
+
message: smithy_client_1.expectString(output.message),
|
|
6859
6859
|
};
|
|
6860
6860
|
};
|
|
6861
6861
|
const deserializeAws_json1_1Variable = (output, context) => {
|
|
6862
6862
|
return {
|
|
6863
|
-
arn:
|
|
6864
|
-
createdTime:
|
|
6865
|
-
dataSource:
|
|
6866
|
-
dataType:
|
|
6867
|
-
defaultValue:
|
|
6868
|
-
description:
|
|
6869
|
-
lastUpdatedTime:
|
|
6870
|
-
name:
|
|
6871
|
-
variableType:
|
|
6863
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6864
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6865
|
+
dataSource: smithy_client_1.expectString(output.dataSource),
|
|
6866
|
+
dataType: smithy_client_1.expectString(output.dataType),
|
|
6867
|
+
defaultValue: smithy_client_1.expectString(output.defaultValue),
|
|
6868
|
+
description: smithy_client_1.expectString(output.description),
|
|
6869
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6870
|
+
name: smithy_client_1.expectString(output.name),
|
|
6871
|
+
variableType: smithy_client_1.expectString(output.variableType),
|
|
6872
6872
|
};
|
|
6873
6873
|
};
|
|
6874
6874
|
const deserializeAws_json1_1VariableImportanceMetrics = (output, context) => {
|