@aws-sdk/client-frauddetector 3.29.0 → 3.33.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 +35 -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/models/models_0.js +25 -7
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +218 -178
- 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/models/models_0.js +18 -4
- package/dist/es/models/models_0.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/dist/es/protocols/Aws_json1_1.js +39 -0
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/types/models/models_0.d.ts +47 -3
- package/dist/types/ts3.4/models/models_0.d.ts +47 -3
- package/models/models_0.ts +57 -4
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +55 -0
- 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,
|
|
@@ -6198,13 +6198,40 @@ const deserializeAws_json1_1ExternalModelList = (output, context) => {
|
|
|
6198
6198
|
return deserializeAws_json1_1ExternalModel(entry, context);
|
|
6199
6199
|
});
|
|
6200
6200
|
};
|
|
6201
|
+
const deserializeAws_json1_1ExternalModelOutputs = (output, context) => {
|
|
6202
|
+
return {
|
|
6203
|
+
externalModel: output.externalModel !== undefined && output.externalModel !== null
|
|
6204
|
+
? deserializeAws_json1_1ExternalModelSummary(output.externalModel, context)
|
|
6205
|
+
: undefined,
|
|
6206
|
+
outputs: output.outputs !== undefined && output.outputs !== null
|
|
6207
|
+
? deserializeAws_json1_1ExternalModelPredictionMap(output.outputs, context)
|
|
6208
|
+
: undefined,
|
|
6209
|
+
};
|
|
6210
|
+
};
|
|
6211
|
+
const deserializeAws_json1_1ExternalModelPredictionMap = (output, context) => {
|
|
6212
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6213
|
+
if (value === null) {
|
|
6214
|
+
return acc;
|
|
6215
|
+
}
|
|
6216
|
+
return {
|
|
6217
|
+
...acc,
|
|
6218
|
+
[key]: smithy_client_1.expectString(value),
|
|
6219
|
+
};
|
|
6220
|
+
}, {});
|
|
6221
|
+
};
|
|
6222
|
+
const deserializeAws_json1_1ExternalModelSummary = (output, context) => {
|
|
6223
|
+
return {
|
|
6224
|
+
modelEndpoint: smithy_client_1.expectString(output.modelEndpoint),
|
|
6225
|
+
modelSource: smithy_client_1.expectString(output.modelSource),
|
|
6226
|
+
};
|
|
6227
|
+
};
|
|
6201
6228
|
const deserializeAws_json1_1FieldValidationMessage = (output, context) => {
|
|
6202
6229
|
return {
|
|
6203
|
-
content:
|
|
6204
|
-
fieldName:
|
|
6205
|
-
identifier:
|
|
6206
|
-
title:
|
|
6207
|
-
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),
|
|
6208
6235
|
};
|
|
6209
6236
|
};
|
|
6210
6237
|
const deserializeAws_json1_1fieldValidationMessageList = (output, context) => {
|
|
@@ -6219,9 +6246,9 @@ const deserializeAws_json1_1fieldValidationMessageList = (output, context) => {
|
|
|
6219
6246
|
};
|
|
6220
6247
|
const deserializeAws_json1_1FileValidationMessage = (output, context) => {
|
|
6221
6248
|
return {
|
|
6222
|
-
content:
|
|
6223
|
-
title:
|
|
6224
|
-
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),
|
|
6225
6252
|
};
|
|
6226
6253
|
};
|
|
6227
6254
|
const deserializeAws_json1_1fileValidationMessageList = (output, context) => {
|
|
@@ -6239,7 +6266,7 @@ const deserializeAws_json1_1GetBatchPredictionJobsResult = (output, context) =>
|
|
|
6239
6266
|
batchPredictions: output.batchPredictions !== undefined && output.batchPredictions !== null
|
|
6240
6267
|
? deserializeAws_json1_1BatchPredictionList(output.batchPredictions, context)
|
|
6241
6268
|
: undefined,
|
|
6242
|
-
nextToken:
|
|
6269
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6243
6270
|
};
|
|
6244
6271
|
};
|
|
6245
6272
|
const deserializeAws_json1_1GetDetectorsResult = (output, context) => {
|
|
@@ -6247,28 +6274,28 @@ const deserializeAws_json1_1GetDetectorsResult = (output, context) => {
|
|
|
6247
6274
|
detectors: output.detectors !== undefined && output.detectors !== null
|
|
6248
6275
|
? deserializeAws_json1_1DetectorList(output.detectors, context)
|
|
6249
6276
|
: undefined,
|
|
6250
|
-
nextToken:
|
|
6277
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6251
6278
|
};
|
|
6252
6279
|
};
|
|
6253
6280
|
const deserializeAws_json1_1GetDetectorVersionResult = (output, context) => {
|
|
6254
6281
|
return {
|
|
6255
|
-
arn:
|
|
6256
|
-
createdTime:
|
|
6257
|
-
description:
|
|
6258
|
-
detectorId:
|
|
6259
|
-
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),
|
|
6260
6287
|
externalModelEndpoints: output.externalModelEndpoints !== undefined && output.externalModelEndpoints !== null
|
|
6261
6288
|
? deserializeAws_json1_1ListOfStrings(output.externalModelEndpoints, context)
|
|
6262
6289
|
: undefined,
|
|
6263
|
-
lastUpdatedTime:
|
|
6290
|
+
lastUpdatedTime: smithy_client_1.expectString(output.lastUpdatedTime),
|
|
6264
6291
|
modelVersions: output.modelVersions !== undefined && output.modelVersions !== null
|
|
6265
6292
|
? deserializeAws_json1_1ListOfModelVersions(output.modelVersions, context)
|
|
6266
6293
|
: undefined,
|
|
6267
|
-
ruleExecutionMode:
|
|
6294
|
+
ruleExecutionMode: smithy_client_1.expectString(output.ruleExecutionMode),
|
|
6268
6295
|
rules: output.rules !== undefined && output.rules !== null
|
|
6269
6296
|
? deserializeAws_json1_1RuleList(output.rules, context)
|
|
6270
6297
|
: undefined,
|
|
6271
|
-
status:
|
|
6298
|
+
status: smithy_client_1.expectString(output.status),
|
|
6272
6299
|
};
|
|
6273
6300
|
};
|
|
6274
6301
|
const deserializeAws_json1_1GetEntityTypesResult = (output, context) => {
|
|
@@ -6276,11 +6303,14 @@ const deserializeAws_json1_1GetEntityTypesResult = (output, context) => {
|
|
|
6276
6303
|
entityTypes: output.entityTypes !== undefined && output.entityTypes !== null
|
|
6277
6304
|
? deserializeAws_json1_1entityTypeList(output.entityTypes, context)
|
|
6278
6305
|
: undefined,
|
|
6279
|
-
nextToken:
|
|
6306
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6280
6307
|
};
|
|
6281
6308
|
};
|
|
6282
6309
|
const deserializeAws_json1_1GetEventPredictionResult = (output, context) => {
|
|
6283
6310
|
return {
|
|
6311
|
+
externalModelOutputs: output.externalModelOutputs !== undefined && output.externalModelOutputs !== null
|
|
6312
|
+
? deserializeAws_json1_1ListOfExternalModelOutputs(output.externalModelOutputs, context)
|
|
6313
|
+
: undefined,
|
|
6284
6314
|
modelScores: output.modelScores !== undefined && output.modelScores !== null
|
|
6285
6315
|
? deserializeAws_json1_1ListOfModelScores(output.modelScores, context)
|
|
6286
6316
|
: undefined,
|
|
@@ -6294,7 +6324,7 @@ const deserializeAws_json1_1GetEventTypesResult = (output, context) => {
|
|
|
6294
6324
|
eventTypes: output.eventTypes !== undefined && output.eventTypes !== null
|
|
6295
6325
|
? deserializeAws_json1_1eventTypeList(output.eventTypes, context)
|
|
6296
6326
|
: undefined,
|
|
6297
|
-
nextToken:
|
|
6327
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6298
6328
|
};
|
|
6299
6329
|
};
|
|
6300
6330
|
const deserializeAws_json1_1GetExternalModelsResult = (output, context) => {
|
|
@@ -6302,7 +6332,7 @@ const deserializeAws_json1_1GetExternalModelsResult = (output, context) => {
|
|
|
6302
6332
|
externalModels: output.externalModels !== undefined && output.externalModels !== null
|
|
6303
6333
|
? deserializeAws_json1_1ExternalModelList(output.externalModels, context)
|
|
6304
6334
|
: undefined,
|
|
6305
|
-
nextToken:
|
|
6335
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6306
6336
|
};
|
|
6307
6337
|
};
|
|
6308
6338
|
const deserializeAws_json1_1GetKMSEncryptionKeyResult = (output, context) => {
|
|
@@ -6317,7 +6347,7 @@ const deserializeAws_json1_1GetLabelsResult = (output, context) => {
|
|
|
6317
6347
|
labels: output.labels !== undefined && output.labels !== null
|
|
6318
6348
|
? deserializeAws_json1_1labelList(output.labels, context)
|
|
6319
6349
|
: undefined,
|
|
6320
|
-
nextToken:
|
|
6350
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6321
6351
|
};
|
|
6322
6352
|
};
|
|
6323
6353
|
const deserializeAws_json1_1GetModelsResult = (output, context) => {
|
|
@@ -6325,28 +6355,28 @@ const deserializeAws_json1_1GetModelsResult = (output, context) => {
|
|
|
6325
6355
|
models: output.models !== undefined && output.models !== null
|
|
6326
6356
|
? deserializeAws_json1_1modelList(output.models, context)
|
|
6327
6357
|
: undefined,
|
|
6328
|
-
nextToken:
|
|
6358
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6329
6359
|
};
|
|
6330
6360
|
};
|
|
6331
6361
|
const deserializeAws_json1_1GetModelVersionResult = (output, context) => {
|
|
6332
6362
|
return {
|
|
6333
|
-
arn:
|
|
6363
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6334
6364
|
externalEventsDetail: output.externalEventsDetail !== undefined && output.externalEventsDetail !== null
|
|
6335
6365
|
? deserializeAws_json1_1ExternalEventsDetail(output.externalEventsDetail, context)
|
|
6336
6366
|
: undefined,
|
|
6337
|
-
modelId:
|
|
6338
|
-
modelType:
|
|
6339
|
-
modelVersionNumber:
|
|
6340
|
-
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),
|
|
6341
6371
|
trainingDataSchema: output.trainingDataSchema !== undefined && output.trainingDataSchema !== null
|
|
6342
6372
|
? deserializeAws_json1_1TrainingDataSchema(output.trainingDataSchema, context)
|
|
6343
6373
|
: undefined,
|
|
6344
|
-
trainingDataSource:
|
|
6374
|
+
trainingDataSource: smithy_client_1.expectString(output.trainingDataSource),
|
|
6345
6375
|
};
|
|
6346
6376
|
};
|
|
6347
6377
|
const deserializeAws_json1_1GetOutcomesResult = (output, context) => {
|
|
6348
6378
|
return {
|
|
6349
|
-
nextToken:
|
|
6379
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6350
6380
|
outcomes: output.outcomes !== undefined && output.outcomes !== null
|
|
6351
6381
|
? deserializeAws_json1_1OutcomeList(output.outcomes, context)
|
|
6352
6382
|
: undefined,
|
|
@@ -6354,7 +6384,7 @@ const deserializeAws_json1_1GetOutcomesResult = (output, context) => {
|
|
|
6354
6384
|
};
|
|
6355
6385
|
const deserializeAws_json1_1GetRulesResult = (output, context) => {
|
|
6356
6386
|
return {
|
|
6357
|
-
nextToken:
|
|
6387
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6358
6388
|
ruleDetails: output.ruleDetails !== undefined && output.ruleDetails !== null
|
|
6359
6389
|
? deserializeAws_json1_1RuleDetailList(output.ruleDetails, context)
|
|
6360
6390
|
: undefined,
|
|
@@ -6362,7 +6392,7 @@ const deserializeAws_json1_1GetRulesResult = (output, context) => {
|
|
|
6362
6392
|
};
|
|
6363
6393
|
const deserializeAws_json1_1GetVariablesResult = (output, context) => {
|
|
6364
6394
|
return {
|
|
6365
|
-
nextToken:
|
|
6395
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6366
6396
|
variables: output.variables !== undefined && output.variables !== null
|
|
6367
6397
|
? deserializeAws_json1_1VariableList(output.variables, context)
|
|
6368
6398
|
: undefined,
|
|
@@ -6370,7 +6400,7 @@ const deserializeAws_json1_1GetVariablesResult = (output, context) => {
|
|
|
6370
6400
|
};
|
|
6371
6401
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
6372
6402
|
return {
|
|
6373
|
-
message:
|
|
6403
|
+
message: smithy_client_1.expectString(output.message),
|
|
6374
6404
|
};
|
|
6375
6405
|
};
|
|
6376
6406
|
const deserializeAws_json1_1JsonKeyToVariableMap = (output, context) => {
|
|
@@ -6380,22 +6410,22 @@ const deserializeAws_json1_1JsonKeyToVariableMap = (output, context) => {
|
|
|
6380
6410
|
}
|
|
6381
6411
|
return {
|
|
6382
6412
|
...acc,
|
|
6383
|
-
[key]:
|
|
6413
|
+
[key]: smithy_client_1.expectString(value),
|
|
6384
6414
|
};
|
|
6385
6415
|
}, {});
|
|
6386
6416
|
};
|
|
6387
6417
|
const deserializeAws_json1_1KMSKey = (output, context) => {
|
|
6388
6418
|
return {
|
|
6389
|
-
kmsEncryptionKeyArn:
|
|
6419
|
+
kmsEncryptionKeyArn: smithy_client_1.expectString(output.kmsEncryptionKeyArn),
|
|
6390
6420
|
};
|
|
6391
6421
|
};
|
|
6392
6422
|
const deserializeAws_json1_1Label = (output, context) => {
|
|
6393
6423
|
return {
|
|
6394
|
-
arn:
|
|
6395
|
-
createdTime:
|
|
6396
|
-
description:
|
|
6397
|
-
lastUpdatedTime:
|
|
6398
|
-
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),
|
|
6399
6429
|
};
|
|
6400
6430
|
};
|
|
6401
6431
|
const deserializeAws_json1_1labelList = (output, context) => {
|
|
@@ -6426,6 +6456,16 @@ const deserializeAws_json1_1LabelSchema = (output, context) => {
|
|
|
6426
6456
|
: undefined,
|
|
6427
6457
|
};
|
|
6428
6458
|
};
|
|
6459
|
+
const deserializeAws_json1_1ListOfExternalModelOutputs = (output, context) => {
|
|
6460
|
+
return (output || [])
|
|
6461
|
+
.filter((e) => e != null)
|
|
6462
|
+
.map((entry) => {
|
|
6463
|
+
if (entry === null) {
|
|
6464
|
+
return null;
|
|
6465
|
+
}
|
|
6466
|
+
return deserializeAws_json1_1ExternalModelOutputs(entry, context);
|
|
6467
|
+
});
|
|
6468
|
+
};
|
|
6429
6469
|
const deserializeAws_json1_1ListOfLogOddsMetrics = (output, context) => {
|
|
6430
6470
|
return (output || [])
|
|
6431
6471
|
.filter((e) => e != null)
|
|
@@ -6473,12 +6513,12 @@ const deserializeAws_json1_1ListOfStrings = (output, context) => {
|
|
|
6473
6513
|
if (entry === null) {
|
|
6474
6514
|
return null;
|
|
6475
6515
|
}
|
|
6476
|
-
return
|
|
6516
|
+
return smithy_client_1.expectString(entry);
|
|
6477
6517
|
});
|
|
6478
6518
|
};
|
|
6479
6519
|
const deserializeAws_json1_1ListTagsForResourceResult = (output, context) => {
|
|
6480
6520
|
return {
|
|
6481
|
-
nextToken:
|
|
6521
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
6482
6522
|
tags: output.tags !== undefined && output.tags !== null
|
|
6483
6523
|
? deserializeAws_json1_1tagList(output.tags, context)
|
|
6484
6524
|
: undefined,
|
|
@@ -6486,17 +6526,17 @@ const deserializeAws_json1_1ListTagsForResourceResult = (output, context) => {
|
|
|
6486
6526
|
};
|
|
6487
6527
|
const deserializeAws_json1_1LogOddsMetric = (output, context) => {
|
|
6488
6528
|
return {
|
|
6489
|
-
variableImportance:
|
|
6490
|
-
variableName:
|
|
6491
|
-
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),
|
|
6492
6532
|
};
|
|
6493
6533
|
};
|
|
6494
6534
|
const deserializeAws_json1_1MetricDataPoint = (output, context) => {
|
|
6495
6535
|
return {
|
|
6496
|
-
fpr:
|
|
6497
|
-
precision:
|
|
6498
|
-
threshold:
|
|
6499
|
-
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),
|
|
6500
6540
|
};
|
|
6501
6541
|
};
|
|
6502
6542
|
const deserializeAws_json1_1metricDataPointsList = (output, context) => {
|
|
@@ -6511,22 +6551,22 @@ const deserializeAws_json1_1metricDataPointsList = (output, context) => {
|
|
|
6511
6551
|
};
|
|
6512
6552
|
const deserializeAws_json1_1Model = (output, context) => {
|
|
6513
6553
|
return {
|
|
6514
|
-
arn:
|
|
6515
|
-
createdTime:
|
|
6516
|
-
description:
|
|
6517
|
-
eventTypeName:
|
|
6518
|
-
lastUpdatedTime:
|
|
6519
|
-
modelId:
|
|
6520
|
-
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),
|
|
6521
6561
|
};
|
|
6522
6562
|
};
|
|
6523
6563
|
const deserializeAws_json1_1ModelInputConfiguration = (output, context) => {
|
|
6524
6564
|
return {
|
|
6525
|
-
csvInputTemplate:
|
|
6526
|
-
eventTypeName:
|
|
6527
|
-
format:
|
|
6528
|
-
jsonInputTemplate:
|
|
6529
|
-
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),
|
|
6530
6570
|
};
|
|
6531
6571
|
};
|
|
6532
6572
|
const deserializeAws_json1_1modelList = (output, context) => {
|
|
@@ -6544,7 +6584,7 @@ const deserializeAws_json1_1ModelOutputConfiguration = (output, context) => {
|
|
|
6544
6584
|
csvIndexToVariableMap: output.csvIndexToVariableMap !== undefined && output.csvIndexToVariableMap !== null
|
|
6545
6585
|
? deserializeAws_json1_1CsvIndexToVariableMap(output.csvIndexToVariableMap, context)
|
|
6546
6586
|
: undefined,
|
|
6547
|
-
format:
|
|
6587
|
+
format: smithy_client_1.expectString(output.format),
|
|
6548
6588
|
jsonKeyToVariableMap: output.jsonKeyToVariableMap !== undefined && output.jsonKeyToVariableMap !== null
|
|
6549
6589
|
? deserializeAws_json1_1JsonKeyToVariableMap(output.jsonKeyToVariableMap, context)
|
|
6550
6590
|
: undefined,
|
|
@@ -6557,7 +6597,7 @@ const deserializeAws_json1_1ModelPredictionMap = (output, context) => {
|
|
|
6557
6597
|
}
|
|
6558
6598
|
return {
|
|
6559
6599
|
...acc,
|
|
6560
|
-
[key]:
|
|
6600
|
+
[key]: smithy_client_1.limitedParseFloat32(value),
|
|
6561
6601
|
};
|
|
6562
6602
|
}, {});
|
|
6563
6603
|
};
|
|
@@ -6573,28 +6613,28 @@ const deserializeAws_json1_1ModelScores = (output, context) => {
|
|
|
6573
6613
|
};
|
|
6574
6614
|
const deserializeAws_json1_1ModelVersion = (output, context) => {
|
|
6575
6615
|
return {
|
|
6576
|
-
arn:
|
|
6577
|
-
modelId:
|
|
6578
|
-
modelType:
|
|
6579
|
-
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),
|
|
6580
6620
|
};
|
|
6581
6621
|
};
|
|
6582
6622
|
const deserializeAws_json1_1ModelVersionDetail = (output, context) => {
|
|
6583
6623
|
return {
|
|
6584
|
-
arn:
|
|
6585
|
-
createdTime:
|
|
6624
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6625
|
+
createdTime: smithy_client_1.expectString(output.createdTime),
|
|
6586
6626
|
externalEventsDetail: output.externalEventsDetail !== undefined && output.externalEventsDetail !== null
|
|
6587
6627
|
? deserializeAws_json1_1ExternalEventsDetail(output.externalEventsDetail, context)
|
|
6588
6628
|
: undefined,
|
|
6589
|
-
lastUpdatedTime:
|
|
6590
|
-
modelId:
|
|
6591
|
-
modelType:
|
|
6592
|
-
modelVersionNumber:
|
|
6593
|
-
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),
|
|
6594
6634
|
trainingDataSchema: output.trainingDataSchema !== undefined && output.trainingDataSchema !== null
|
|
6595
6635
|
? deserializeAws_json1_1TrainingDataSchema(output.trainingDataSchema, context)
|
|
6596
6636
|
: undefined,
|
|
6597
|
-
trainingDataSource:
|
|
6637
|
+
trainingDataSource: smithy_client_1.expectString(output.trainingDataSource),
|
|
6598
6638
|
trainingResult: output.trainingResult !== undefined && output.trainingResult !== null
|
|
6599
6639
|
? deserializeAws_json1_1TrainingResult(output.trainingResult, context)
|
|
6600
6640
|
: undefined,
|
|
@@ -6617,16 +6657,16 @@ const deserializeAws_json1_1NonEmptyListOfStrings = (output, context) => {
|
|
|
6617
6657
|
if (entry === null) {
|
|
6618
6658
|
return null;
|
|
6619
6659
|
}
|
|
6620
|
-
return
|
|
6660
|
+
return smithy_client_1.expectString(entry);
|
|
6621
6661
|
});
|
|
6622
6662
|
};
|
|
6623
6663
|
const deserializeAws_json1_1Outcome = (output, context) => {
|
|
6624
6664
|
return {
|
|
6625
|
-
arn:
|
|
6626
|
-
createdTime:
|
|
6627
|
-
description:
|
|
6628
|
-
lastUpdatedTime:
|
|
6629
|
-
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),
|
|
6630
6670
|
};
|
|
6631
6671
|
};
|
|
6632
6672
|
const deserializeAws_json1_1OutcomeList = (output, context) => {
|
|
@@ -6662,35 +6702,35 @@ const deserializeAws_json1_1PutOutcomeResult = (output, context) => {
|
|
|
6662
6702
|
};
|
|
6663
6703
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
6664
6704
|
return {
|
|
6665
|
-
message:
|
|
6705
|
+
message: smithy_client_1.expectString(output.message),
|
|
6666
6706
|
};
|
|
6667
6707
|
};
|
|
6668
6708
|
const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
|
|
6669
6709
|
return {
|
|
6670
|
-
message:
|
|
6710
|
+
message: smithy_client_1.expectString(output.message),
|
|
6671
6711
|
};
|
|
6672
6712
|
};
|
|
6673
6713
|
const deserializeAws_json1_1Rule = (output, context) => {
|
|
6674
6714
|
return {
|
|
6675
|
-
detectorId:
|
|
6676
|
-
ruleId:
|
|
6677
|
-
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),
|
|
6678
6718
|
};
|
|
6679
6719
|
};
|
|
6680
6720
|
const deserializeAws_json1_1RuleDetail = (output, context) => {
|
|
6681
6721
|
return {
|
|
6682
|
-
arn:
|
|
6683
|
-
createdTime:
|
|
6684
|
-
description:
|
|
6685
|
-
detectorId:
|
|
6686
|
-
expression:
|
|
6687
|
-
language:
|
|
6688
|
-
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),
|
|
6689
6729
|
outcomes: output.outcomes !== undefined && output.outcomes !== null
|
|
6690
6730
|
? deserializeAws_json1_1NonEmptyListOfStrings(output.outcomes, context)
|
|
6691
6731
|
: undefined,
|
|
6692
|
-
ruleId:
|
|
6693
|
-
ruleVersion:
|
|
6732
|
+
ruleId: smithy_client_1.expectString(output.ruleId),
|
|
6733
|
+
ruleVersion: smithy_client_1.expectString(output.ruleVersion),
|
|
6694
6734
|
};
|
|
6695
6735
|
};
|
|
6696
6736
|
const deserializeAws_json1_1RuleDetailList = (output, context) => {
|
|
@@ -6718,13 +6758,13 @@ const deserializeAws_json1_1RuleResult = (output, context) => {
|
|
|
6718
6758
|
outcomes: output.outcomes !== undefined && output.outcomes !== null
|
|
6719
6759
|
? deserializeAws_json1_1ListOfStrings(output.outcomes, context)
|
|
6720
6760
|
: undefined,
|
|
6721
|
-
ruleId:
|
|
6761
|
+
ruleId: smithy_client_1.expectString(output.ruleId),
|
|
6722
6762
|
};
|
|
6723
6763
|
};
|
|
6724
6764
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
6725
6765
|
return {
|
|
6726
|
-
key:
|
|
6727
|
-
value:
|
|
6766
|
+
key: smithy_client_1.expectString(output.key),
|
|
6767
|
+
value: smithy_client_1.expectString(output.value),
|
|
6728
6768
|
};
|
|
6729
6769
|
};
|
|
6730
6770
|
const deserializeAws_json1_1tagList = (output, context) => {
|
|
@@ -6742,7 +6782,7 @@ const deserializeAws_json1_1TagResourceResult = (output, context) => {
|
|
|
6742
6782
|
};
|
|
6743
6783
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
6744
6784
|
return {
|
|
6745
|
-
message:
|
|
6785
|
+
message: smithy_client_1.expectString(output.message),
|
|
6746
6786
|
};
|
|
6747
6787
|
};
|
|
6748
6788
|
const deserializeAws_json1_1TrainingDataSchema = (output, context) => {
|
|
@@ -6757,7 +6797,7 @@ const deserializeAws_json1_1TrainingDataSchema = (output, context) => {
|
|
|
6757
6797
|
};
|
|
6758
6798
|
const deserializeAws_json1_1TrainingMetrics = (output, context) => {
|
|
6759
6799
|
return {
|
|
6760
|
-
auc:
|
|
6800
|
+
auc: smithy_client_1.limitedParseFloat32(output.auc),
|
|
6761
6801
|
metricDataPoints: output.metricDataPoints !== undefined && output.metricDataPoints !== null
|
|
6762
6802
|
? deserializeAws_json1_1metricDataPointsList(output.metricDataPoints, context)
|
|
6763
6803
|
: undefined,
|
|
@@ -6793,10 +6833,10 @@ const deserializeAws_json1_1UpdateModelResult = (output, context) => {
|
|
|
6793
6833
|
};
|
|
6794
6834
|
const deserializeAws_json1_1UpdateModelVersionResult = (output, context) => {
|
|
6795
6835
|
return {
|
|
6796
|
-
modelId:
|
|
6797
|
-
modelType:
|
|
6798
|
-
modelVersionNumber:
|
|
6799
|
-
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),
|
|
6800
6840
|
};
|
|
6801
6841
|
};
|
|
6802
6842
|
const deserializeAws_json1_1UpdateModelVersionStatusResult = (output, context) => {
|
|
@@ -6815,20 +6855,20 @@ const deserializeAws_json1_1UpdateVariableResult = (output, context) => {
|
|
|
6815
6855
|
};
|
|
6816
6856
|
const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
6817
6857
|
return {
|
|
6818
|
-
message:
|
|
6858
|
+
message: smithy_client_1.expectString(output.message),
|
|
6819
6859
|
};
|
|
6820
6860
|
};
|
|
6821
6861
|
const deserializeAws_json1_1Variable = (output, context) => {
|
|
6822
6862
|
return {
|
|
6823
|
-
arn:
|
|
6824
|
-
createdTime:
|
|
6825
|
-
dataSource:
|
|
6826
|
-
dataType:
|
|
6827
|
-
defaultValue:
|
|
6828
|
-
description:
|
|
6829
|
-
lastUpdatedTime:
|
|
6830
|
-
name:
|
|
6831
|
-
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),
|
|
6832
6872
|
};
|
|
6833
6873
|
};
|
|
6834
6874
|
const deserializeAws_json1_1VariableImportanceMetrics = (output, context) => {
|