@aws-sdk/client-personalize 3.121.0 → 3.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4302,44 +4302,36 @@ var serializeAws_json1_1ArnList = function (input, context) {
4302
4302
  });
4303
4303
  };
4304
4304
  var serializeAws_json1_1AutoMLConfig = function (input, context) {
4305
- return __assign(__assign({}, (input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName })), (input.recipeList !== undefined &&
4306
- input.recipeList !== null && { recipeList: serializeAws_json1_1ArnList(input.recipeList, context) }));
4305
+ return __assign(__assign({}, (input.metricName != null && { metricName: input.metricName })), (input.recipeList != null && { recipeList: serializeAws_json1_1ArnList(input.recipeList, context) }));
4307
4306
  };
4308
4307
  var serializeAws_json1_1BatchInferenceJobConfig = function (input, context) {
4309
- return __assign({}, (input.itemExplorationConfig !== undefined &&
4310
- input.itemExplorationConfig !== null && {
4308
+ return __assign({}, (input.itemExplorationConfig != null && {
4311
4309
  itemExplorationConfig: serializeAws_json1_1HyperParameters(input.itemExplorationConfig, context),
4312
4310
  }));
4313
4311
  };
4314
4312
  var serializeAws_json1_1BatchInferenceJobInput = function (input, context) {
4315
- return __assign({}, (input.s3DataSource !== undefined &&
4316
- input.s3DataSource !== null && { s3DataSource: serializeAws_json1_1S3DataConfig(input.s3DataSource, context) }));
4313
+ return __assign({}, (input.s3DataSource != null && { s3DataSource: serializeAws_json1_1S3DataConfig(input.s3DataSource, context) }));
4317
4314
  };
4318
4315
  var serializeAws_json1_1BatchInferenceJobOutput = function (input, context) {
4319
- return __assign({}, (input.s3DataDestination !== undefined &&
4320
- input.s3DataDestination !== null && {
4316
+ return __assign({}, (input.s3DataDestination != null && {
4321
4317
  s3DataDestination: serializeAws_json1_1S3DataConfig(input.s3DataDestination, context),
4322
4318
  }));
4323
4319
  };
4324
4320
  var serializeAws_json1_1BatchSegmentJobInput = function (input, context) {
4325
- return __assign({}, (input.s3DataSource !== undefined &&
4326
- input.s3DataSource !== null && { s3DataSource: serializeAws_json1_1S3DataConfig(input.s3DataSource, context) }));
4321
+ return __assign({}, (input.s3DataSource != null && { s3DataSource: serializeAws_json1_1S3DataConfig(input.s3DataSource, context) }));
4327
4322
  };
4328
4323
  var serializeAws_json1_1BatchSegmentJobOutput = function (input, context) {
4329
- return __assign({}, (input.s3DataDestination !== undefined &&
4330
- input.s3DataDestination !== null && {
4324
+ return __assign({}, (input.s3DataDestination != null && {
4331
4325
  s3DataDestination: serializeAws_json1_1S3DataConfig(input.s3DataDestination, context),
4332
4326
  }));
4333
4327
  };
4334
4328
  var serializeAws_json1_1CampaignConfig = function (input, context) {
4335
- return __assign({}, (input.itemExplorationConfig !== undefined &&
4336
- input.itemExplorationConfig !== null && {
4329
+ return __assign({}, (input.itemExplorationConfig != null && {
4337
4330
  itemExplorationConfig: serializeAws_json1_1HyperParameters(input.itemExplorationConfig, context),
4338
4331
  }));
4339
4332
  };
4340
4333
  var serializeAws_json1_1CategoricalHyperParameterRange = function (input, context) {
4341
- return __assign(__assign({}, (input.name !== undefined && input.name !== null && { name: input.name })), (input.values !== undefined &&
4342
- input.values !== null && { values: serializeAws_json1_1CategoricalValues(input.values, context) }));
4334
+ return __assign(__assign({}, (input.name != null && { name: input.name })), (input.values != null && { values: serializeAws_json1_1CategoricalValues(input.values, context) }));
4343
4335
  };
4344
4336
  var serializeAws_json1_1CategoricalHyperParameterRanges = function (input, context) {
4345
4337
  return input
@@ -4362,7 +4354,7 @@ var serializeAws_json1_1CategoricalValues = function (input, context) {
4362
4354
  });
4363
4355
  };
4364
4356
  var serializeAws_json1_1ContinuousHyperParameterRange = function (input, context) {
4365
- return __assign(__assign(__assign({}, (input.maxValue !== undefined && input.maxValue !== null && { maxValue: __serializeFloat(input.maxValue) })), (input.minValue !== undefined && input.minValue !== null && { minValue: __serializeFloat(input.minValue) })), (input.name !== undefined && input.name !== null && { name: input.name }));
4357
+ return __assign(__assign(__assign({}, (input.maxValue != null && { maxValue: __serializeFloat(input.maxValue) })), (input.minValue != null && { minValue: __serializeFloat(input.minValue) })), (input.name != null && { name: input.name }));
4366
4358
  };
4367
4359
  var serializeAws_json1_1ContinuousHyperParameterRanges = function (input, context) {
4368
4360
  return input
@@ -4375,164 +4367,133 @@ var serializeAws_json1_1ContinuousHyperParameterRanges = function (input, contex
4375
4367
  });
4376
4368
  };
4377
4369
  var serializeAws_json1_1CreateBatchInferenceJobRequest = function (input, context) {
4378
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.batchInferenceJobConfig !== undefined &&
4379
- input.batchInferenceJobConfig !== null && {
4370
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.batchInferenceJobConfig != null && {
4380
4371
  batchInferenceJobConfig: serializeAws_json1_1BatchInferenceJobConfig(input.batchInferenceJobConfig, context),
4381
- })), (input.filterArn !== undefined && input.filterArn !== null && { filterArn: input.filterArn })), (input.jobInput !== undefined &&
4382
- input.jobInput !== null && { jobInput: serializeAws_json1_1BatchInferenceJobInput(input.jobInput, context) })), (input.jobName !== undefined && input.jobName !== null && { jobName: input.jobName })), (input.jobOutput !== undefined &&
4383
- input.jobOutput !== null && { jobOutput: serializeAws_json1_1BatchInferenceJobOutput(input.jobOutput, context) })), (input.numResults !== undefined && input.numResults !== null && { numResults: input.numResults })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.solutionVersionArn !== undefined &&
4384
- input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4372
+ })), (input.filterArn != null && { filterArn: input.filterArn })), (input.jobInput != null && { jobInput: serializeAws_json1_1BatchInferenceJobInput(input.jobInput, context) })), (input.jobName != null && { jobName: input.jobName })), (input.jobOutput != null && {
4373
+ jobOutput: serializeAws_json1_1BatchInferenceJobOutput(input.jobOutput, context),
4374
+ })), (input.numResults != null && { numResults: input.numResults })), (input.roleArn != null && { roleArn: input.roleArn })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4385
4375
  };
4386
4376
  var serializeAws_json1_1CreateBatchSegmentJobRequest = function (input, context) {
4387
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.filterArn !== undefined && input.filterArn !== null && { filterArn: input.filterArn })), (input.jobInput !== undefined &&
4388
- input.jobInput !== null && { jobInput: serializeAws_json1_1BatchSegmentJobInput(input.jobInput, context) })), (input.jobName !== undefined && input.jobName !== null && { jobName: input.jobName })), (input.jobOutput !== undefined &&
4389
- input.jobOutput !== null && { jobOutput: serializeAws_json1_1BatchSegmentJobOutput(input.jobOutput, context) })), (input.numResults !== undefined && input.numResults !== null && { numResults: input.numResults })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.solutionVersionArn !== undefined &&
4390
- input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4377
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.filterArn != null && { filterArn: input.filterArn })), (input.jobInput != null && { jobInput: serializeAws_json1_1BatchSegmentJobInput(input.jobInput, context) })), (input.jobName != null && { jobName: input.jobName })), (input.jobOutput != null && { jobOutput: serializeAws_json1_1BatchSegmentJobOutput(input.jobOutput, context) })), (input.numResults != null && { numResults: input.numResults })), (input.roleArn != null && { roleArn: input.roleArn })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4391
4378
  };
4392
4379
  var serializeAws_json1_1CreateCampaignRequest = function (input, context) {
4393
- return __assign(__assign(__assign(__assign(__assign({}, (input.campaignConfig !== undefined &&
4394
- input.campaignConfig !== null && {
4380
+ return __assign(__assign(__assign(__assign(__assign({}, (input.campaignConfig != null && {
4395
4381
  campaignConfig: serializeAws_json1_1CampaignConfig(input.campaignConfig, context),
4396
- })), (input.minProvisionedTPS !== undefined &&
4397
- input.minProvisionedTPS !== null && { minProvisionedTPS: input.minProvisionedTPS })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.solutionVersionArn !== undefined &&
4398
- input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4382
+ })), (input.minProvisionedTPS != null && { minProvisionedTPS: input.minProvisionedTPS })), (input.name != null && { name: input.name })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4399
4383
  };
4400
4384
  var serializeAws_json1_1CreateDatasetExportJobRequest = function (input, context) {
4401
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.datasetArn !== undefined && input.datasetArn !== null && { datasetArn: input.datasetArn })), (input.ingestionMode !== undefined && input.ingestionMode !== null && { ingestionMode: input.ingestionMode })), (input.jobName !== undefined && input.jobName !== null && { jobName: input.jobName })), (input.jobOutput !== undefined &&
4402
- input.jobOutput !== null && { jobOutput: serializeAws_json1_1DatasetExportJobOutput(input.jobOutput, context) })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4385
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn })), (input.ingestionMode != null && { ingestionMode: input.ingestionMode })), (input.jobName != null && { jobName: input.jobName })), (input.jobOutput != null && { jobOutput: serializeAws_json1_1DatasetExportJobOutput(input.jobOutput, context) })), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4403
4386
  };
4404
4387
  var serializeAws_json1_1CreateDatasetGroupRequest = function (input, context) {
4405
- return __assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && input.domain !== null && { domain: input.domain })), (input.kmsKeyArn !== undefined && input.kmsKeyArn !== null && { kmsKeyArn: input.kmsKeyArn })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4388
+ return __assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn })), (input.name != null && { name: input.name })), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4406
4389
  };
4407
4390
  var serializeAws_json1_1CreateDatasetImportJobRequest = function (input, context) {
4408
- return __assign(__assign(__assign(__assign(__assign({}, (input.dataSource !== undefined &&
4409
- input.dataSource !== null && { dataSource: serializeAws_json1_1DataSource(input.dataSource, context) })), (input.datasetArn !== undefined && input.datasetArn !== null && { datasetArn: input.datasetArn })), (input.jobName !== undefined && input.jobName !== null && { jobName: input.jobName })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4391
+ return __assign(__assign(__assign(__assign(__assign({}, (input.dataSource != null && { dataSource: serializeAws_json1_1DataSource(input.dataSource, context) })), (input.datasetArn != null && { datasetArn: input.datasetArn })), (input.jobName != null && { jobName: input.jobName })), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4410
4392
  };
4411
4393
  var serializeAws_json1_1CreateDatasetRequest = function (input, context) {
4412
- return __assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4413
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.datasetType !== undefined && input.datasetType !== null && { datasetType: input.datasetType })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.schemaArn !== undefined && input.schemaArn !== null && { schemaArn: input.schemaArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4394
+ return __assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.datasetType != null && { datasetType: input.datasetType })), (input.name != null && { name: input.name })), (input.schemaArn != null && { schemaArn: input.schemaArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4414
4395
  };
4415
4396
  var serializeAws_json1_1CreateEventTrackerRequest = function (input, context) {
4416
- return __assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4417
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4397
+ return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4418
4398
  };
4419
4399
  var serializeAws_json1_1CreateFilterRequest = function (input, context) {
4420
- return __assign(__assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4421
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.filterExpression !== undefined &&
4422
- input.filterExpression !== null && { filterExpression: input.filterExpression })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4400
+ return __assign(__assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.filterExpression != null && { filterExpression: input.filterExpression })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4423
4401
  };
4424
4402
  var serializeAws_json1_1CreateRecommenderRequest = function (input, context) {
4425
- return __assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4426
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.recipeArn !== undefined && input.recipeArn !== null && { recipeArn: input.recipeArn })), (input.recommenderConfig !== undefined &&
4427
- input.recommenderConfig !== null && {
4403
+ return __assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.name != null && { name: input.name })), (input.recipeArn != null && { recipeArn: input.recipeArn })), (input.recommenderConfig != null && {
4428
4404
  recommenderConfig: serializeAws_json1_1RecommenderConfig(input.recommenderConfig, context),
4429
- })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4405
+ })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4430
4406
  };
4431
4407
  var serializeAws_json1_1CreateSchemaRequest = function (input, context) {
4432
- return __assign(__assign(__assign({}, (input.domain !== undefined && input.domain !== null && { domain: input.domain })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.schema !== undefined && input.schema !== null && { schema: input.schema }));
4408
+ return __assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.name != null && { name: input.name })), (input.schema != null && { schema: input.schema }));
4433
4409
  };
4434
4410
  var serializeAws_json1_1CreateSolutionRequest = function (input, context) {
4435
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4436
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.eventType !== undefined && input.eventType !== null && { eventType: input.eventType })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.performAutoML !== undefined && input.performAutoML !== null && { performAutoML: input.performAutoML })), (input.performHPO !== undefined && input.performHPO !== null && { performHPO: input.performHPO })), (input.recipeArn !== undefined && input.recipeArn !== null && { recipeArn: input.recipeArn })), (input.solutionConfig !== undefined &&
4437
- input.solutionConfig !== null && {
4411
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.eventType != null && { eventType: input.eventType })), (input.name != null && { name: input.name })), (input.performAutoML != null && { performAutoML: input.performAutoML })), (input.performHPO != null && { performHPO: input.performHPO })), (input.recipeArn != null && { recipeArn: input.recipeArn })), (input.solutionConfig != null && {
4438
4412
  solutionConfig: serializeAws_json1_1SolutionConfig(input.solutionConfig, context),
4439
- })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4413
+ })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4440
4414
  };
4441
4415
  var serializeAws_json1_1CreateSolutionVersionRequest = function (input, context) {
4442
- return __assign(__assign(__assign({}, (input.solutionArn !== undefined && input.solutionArn !== null && { solutionArn: input.solutionArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.trainingMode !== undefined && input.trainingMode !== null && { trainingMode: input.trainingMode }));
4416
+ return __assign(__assign(__assign({}, (input.solutionArn != null && { solutionArn: input.solutionArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) })), (input.trainingMode != null && { trainingMode: input.trainingMode }));
4443
4417
  };
4444
4418
  var serializeAws_json1_1DatasetExportJobOutput = function (input, context) {
4445
- return __assign({}, (input.s3DataDestination !== undefined &&
4446
- input.s3DataDestination !== null && {
4419
+ return __assign({}, (input.s3DataDestination != null && {
4447
4420
  s3DataDestination: serializeAws_json1_1S3DataConfig(input.s3DataDestination, context),
4448
4421
  }));
4449
4422
  };
4450
4423
  var serializeAws_json1_1DataSource = function (input, context) {
4451
- return __assign({}, (input.dataLocation !== undefined && input.dataLocation !== null && { dataLocation: input.dataLocation }));
4424
+ return __assign({}, (input.dataLocation != null && { dataLocation: input.dataLocation }));
4452
4425
  };
4453
4426
  var serializeAws_json1_1DeleteCampaignRequest = function (input, context) {
4454
- return __assign({}, (input.campaignArn !== undefined && input.campaignArn !== null && { campaignArn: input.campaignArn }));
4427
+ return __assign({}, (input.campaignArn != null && { campaignArn: input.campaignArn }));
4455
4428
  };
4456
4429
  var serializeAws_json1_1DeleteDatasetGroupRequest = function (input, context) {
4457
- return __assign({}, (input.datasetGroupArn !== undefined &&
4458
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn }));
4430
+ return __assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }));
4459
4431
  };
4460
4432
  var serializeAws_json1_1DeleteDatasetRequest = function (input, context) {
4461
- return __assign({}, (input.datasetArn !== undefined && input.datasetArn !== null && { datasetArn: input.datasetArn }));
4433
+ return __assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn }));
4462
4434
  };
4463
4435
  var serializeAws_json1_1DeleteEventTrackerRequest = function (input, context) {
4464
- return __assign({}, (input.eventTrackerArn !== undefined &&
4465
- input.eventTrackerArn !== null && { eventTrackerArn: input.eventTrackerArn }));
4436
+ return __assign({}, (input.eventTrackerArn != null && { eventTrackerArn: input.eventTrackerArn }));
4466
4437
  };
4467
4438
  var serializeAws_json1_1DeleteFilterRequest = function (input, context) {
4468
- return __assign({}, (input.filterArn !== undefined && input.filterArn !== null && { filterArn: input.filterArn }));
4439
+ return __assign({}, (input.filterArn != null && { filterArn: input.filterArn }));
4469
4440
  };
4470
4441
  var serializeAws_json1_1DeleteRecommenderRequest = function (input, context) {
4471
- return __assign({}, (input.recommenderArn !== undefined &&
4472
- input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
4442
+ return __assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn }));
4473
4443
  };
4474
4444
  var serializeAws_json1_1DeleteSchemaRequest = function (input, context) {
4475
- return __assign({}, (input.schemaArn !== undefined && input.schemaArn !== null && { schemaArn: input.schemaArn }));
4445
+ return __assign({}, (input.schemaArn != null && { schemaArn: input.schemaArn }));
4476
4446
  };
4477
4447
  var serializeAws_json1_1DeleteSolutionRequest = function (input, context) {
4478
- return __assign({}, (input.solutionArn !== undefined && input.solutionArn !== null && { solutionArn: input.solutionArn }));
4448
+ return __assign({}, (input.solutionArn != null && { solutionArn: input.solutionArn }));
4479
4449
  };
4480
4450
  var serializeAws_json1_1DescribeAlgorithmRequest = function (input, context) {
4481
- return __assign({}, (input.algorithmArn !== undefined && input.algorithmArn !== null && { algorithmArn: input.algorithmArn }));
4451
+ return __assign({}, (input.algorithmArn != null && { algorithmArn: input.algorithmArn }));
4482
4452
  };
4483
4453
  var serializeAws_json1_1DescribeBatchInferenceJobRequest = function (input, context) {
4484
- return __assign({}, (input.batchInferenceJobArn !== undefined &&
4485
- input.batchInferenceJobArn !== null && { batchInferenceJobArn: input.batchInferenceJobArn }));
4454
+ return __assign({}, (input.batchInferenceJobArn != null && { batchInferenceJobArn: input.batchInferenceJobArn }));
4486
4455
  };
4487
4456
  var serializeAws_json1_1DescribeBatchSegmentJobRequest = function (input, context) {
4488
- return __assign({}, (input.batchSegmentJobArn !== undefined &&
4489
- input.batchSegmentJobArn !== null && { batchSegmentJobArn: input.batchSegmentJobArn }));
4457
+ return __assign({}, (input.batchSegmentJobArn != null && { batchSegmentJobArn: input.batchSegmentJobArn }));
4490
4458
  };
4491
4459
  var serializeAws_json1_1DescribeCampaignRequest = function (input, context) {
4492
- return __assign({}, (input.campaignArn !== undefined && input.campaignArn !== null && { campaignArn: input.campaignArn }));
4460
+ return __assign({}, (input.campaignArn != null && { campaignArn: input.campaignArn }));
4493
4461
  };
4494
4462
  var serializeAws_json1_1DescribeDatasetExportJobRequest = function (input, context) {
4495
- return __assign({}, (input.datasetExportJobArn !== undefined &&
4496
- input.datasetExportJobArn !== null && { datasetExportJobArn: input.datasetExportJobArn }));
4463
+ return __assign({}, (input.datasetExportJobArn != null && { datasetExportJobArn: input.datasetExportJobArn }));
4497
4464
  };
4498
4465
  var serializeAws_json1_1DescribeDatasetGroupRequest = function (input, context) {
4499
- return __assign({}, (input.datasetGroupArn !== undefined &&
4500
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn }));
4466
+ return __assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn }));
4501
4467
  };
4502
4468
  var serializeAws_json1_1DescribeDatasetImportJobRequest = function (input, context) {
4503
- return __assign({}, (input.datasetImportJobArn !== undefined &&
4504
- input.datasetImportJobArn !== null && { datasetImportJobArn: input.datasetImportJobArn }));
4469
+ return __assign({}, (input.datasetImportJobArn != null && { datasetImportJobArn: input.datasetImportJobArn }));
4505
4470
  };
4506
4471
  var serializeAws_json1_1DescribeDatasetRequest = function (input, context) {
4507
- return __assign({}, (input.datasetArn !== undefined && input.datasetArn !== null && { datasetArn: input.datasetArn }));
4472
+ return __assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn }));
4508
4473
  };
4509
4474
  var serializeAws_json1_1DescribeEventTrackerRequest = function (input, context) {
4510
- return __assign({}, (input.eventTrackerArn !== undefined &&
4511
- input.eventTrackerArn !== null && { eventTrackerArn: input.eventTrackerArn }));
4475
+ return __assign({}, (input.eventTrackerArn != null && { eventTrackerArn: input.eventTrackerArn }));
4512
4476
  };
4513
4477
  var serializeAws_json1_1DescribeFeatureTransformationRequest = function (input, context) {
4514
- return __assign({}, (input.featureTransformationArn !== undefined &&
4515
- input.featureTransformationArn !== null && { featureTransformationArn: input.featureTransformationArn }));
4478
+ return __assign({}, (input.featureTransformationArn != null && { featureTransformationArn: input.featureTransformationArn }));
4516
4479
  };
4517
4480
  var serializeAws_json1_1DescribeFilterRequest = function (input, context) {
4518
- return __assign({}, (input.filterArn !== undefined && input.filterArn !== null && { filterArn: input.filterArn }));
4481
+ return __assign({}, (input.filterArn != null && { filterArn: input.filterArn }));
4519
4482
  };
4520
4483
  var serializeAws_json1_1DescribeRecipeRequest = function (input, context) {
4521
- return __assign({}, (input.recipeArn !== undefined && input.recipeArn !== null && { recipeArn: input.recipeArn }));
4484
+ return __assign({}, (input.recipeArn != null && { recipeArn: input.recipeArn }));
4522
4485
  };
4523
4486
  var serializeAws_json1_1DescribeRecommenderRequest = function (input, context) {
4524
- return __assign({}, (input.recommenderArn !== undefined &&
4525
- input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
4487
+ return __assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn }));
4526
4488
  };
4527
4489
  var serializeAws_json1_1DescribeSchemaRequest = function (input, context) {
4528
- return __assign({}, (input.schemaArn !== undefined && input.schemaArn !== null && { schemaArn: input.schemaArn }));
4490
+ return __assign({}, (input.schemaArn != null && { schemaArn: input.schemaArn }));
4529
4491
  };
4530
4492
  var serializeAws_json1_1DescribeSolutionRequest = function (input, context) {
4531
- return __assign({}, (input.solutionArn !== undefined && input.solutionArn !== null && { solutionArn: input.solutionArn }));
4493
+ return __assign({}, (input.solutionArn != null && { solutionArn: input.solutionArn }));
4532
4494
  };
4533
4495
  var serializeAws_json1_1DescribeSolutionVersionRequest = function (input, context) {
4534
- return __assign({}, (input.solutionVersionArn !== undefined &&
4535
- input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
4496
+ return __assign({}, (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
4536
4497
  };
4537
4498
  var serializeAws_json1_1FeatureTransformationParameters = function (input, context) {
4538
4499
  return Object.entries(input).reduce(function (acc, _a) {
@@ -4545,36 +4506,27 @@ var serializeAws_json1_1FeatureTransformationParameters = function (input, conte
4545
4506
  }, {});
4546
4507
  };
4547
4508
  var serializeAws_json1_1GetSolutionMetricsRequest = function (input, context) {
4548
- return __assign({}, (input.solutionVersionArn !== undefined &&
4549
- input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
4509
+ return __assign({}, (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
4550
4510
  };
4551
4511
  var serializeAws_json1_1HPOConfig = function (input, context) {
4552
- return __assign(__assign(__assign({}, (input.algorithmHyperParameterRanges !== undefined &&
4553
- input.algorithmHyperParameterRanges !== null && {
4512
+ return __assign(__assign(__assign({}, (input.algorithmHyperParameterRanges != null && {
4554
4513
  algorithmHyperParameterRanges: serializeAws_json1_1HyperParameterRanges(input.algorithmHyperParameterRanges, context),
4555
- })), (input.hpoObjective !== undefined &&
4556
- input.hpoObjective !== null && { hpoObjective: serializeAws_json1_1HPOObjective(input.hpoObjective, context) })), (input.hpoResourceConfig !== undefined &&
4557
- input.hpoResourceConfig !== null && {
4514
+ })), (input.hpoObjective != null && { hpoObjective: serializeAws_json1_1HPOObjective(input.hpoObjective, context) })), (input.hpoResourceConfig != null && {
4558
4515
  hpoResourceConfig: serializeAws_json1_1HPOResourceConfig(input.hpoResourceConfig, context),
4559
4516
  }));
4560
4517
  };
4561
4518
  var serializeAws_json1_1HPOObjective = function (input, context) {
4562
- return __assign(__assign(__assign({}, (input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName })), (input.metricRegex !== undefined && input.metricRegex !== null && { metricRegex: input.metricRegex })), (input.type !== undefined && input.type !== null && { type: input.type }));
4519
+ return __assign(__assign(__assign({}, (input.metricName != null && { metricName: input.metricName })), (input.metricRegex != null && { metricRegex: input.metricRegex })), (input.type != null && { type: input.type }));
4563
4520
  };
4564
4521
  var serializeAws_json1_1HPOResourceConfig = function (input, context) {
4565
- return __assign(__assign({}, (input.maxNumberOfTrainingJobs !== undefined &&
4566
- input.maxNumberOfTrainingJobs !== null && { maxNumberOfTrainingJobs: input.maxNumberOfTrainingJobs })), (input.maxParallelTrainingJobs !== undefined &&
4567
- input.maxParallelTrainingJobs !== null && { maxParallelTrainingJobs: input.maxParallelTrainingJobs }));
4522
+ return __assign(__assign({}, (input.maxNumberOfTrainingJobs != null && { maxNumberOfTrainingJobs: input.maxNumberOfTrainingJobs })), (input.maxParallelTrainingJobs != null && { maxParallelTrainingJobs: input.maxParallelTrainingJobs }));
4568
4523
  };
4569
4524
  var serializeAws_json1_1HyperParameterRanges = function (input, context) {
4570
- return __assign(__assign(__assign({}, (input.categoricalHyperParameterRanges !== undefined &&
4571
- input.categoricalHyperParameterRanges !== null && {
4525
+ return __assign(__assign(__assign({}, (input.categoricalHyperParameterRanges != null && {
4572
4526
  categoricalHyperParameterRanges: serializeAws_json1_1CategoricalHyperParameterRanges(input.categoricalHyperParameterRanges, context),
4573
- })), (input.continuousHyperParameterRanges !== undefined &&
4574
- input.continuousHyperParameterRanges !== null && {
4527
+ })), (input.continuousHyperParameterRanges != null && {
4575
4528
  continuousHyperParameterRanges: serializeAws_json1_1ContinuousHyperParameterRanges(input.continuousHyperParameterRanges, context),
4576
- })), (input.integerHyperParameterRanges !== undefined &&
4577
- input.integerHyperParameterRanges !== null && {
4529
+ })), (input.integerHyperParameterRanges != null && {
4578
4530
  integerHyperParameterRanges: serializeAws_json1_1IntegerHyperParameterRanges(input.integerHyperParameterRanges, context),
4579
4531
  }));
4580
4532
  };
@@ -4589,7 +4541,7 @@ var serializeAws_json1_1HyperParameters = function (input, context) {
4589
4541
  }, {});
4590
4542
  };
4591
4543
  var serializeAws_json1_1IntegerHyperParameterRange = function (input, context) {
4592
- return __assign(__assign(__assign({}, (input.maxValue !== undefined && input.maxValue !== null && { maxValue: input.maxValue })), (input.minValue !== undefined && input.minValue !== null && { minValue: input.minValue })), (input.name !== undefined && input.name !== null && { name: input.name }));
4544
+ return __assign(__assign(__assign({}, (input.maxValue != null && { maxValue: input.maxValue })), (input.minValue != null && { minValue: input.minValue })), (input.name != null && { name: input.name }));
4593
4545
  };
4594
4546
  var serializeAws_json1_1IntegerHyperParameterRanges = function (input, context) {
4595
4547
  return input
@@ -4602,103 +4554,83 @@ var serializeAws_json1_1IntegerHyperParameterRanges = function (input, context)
4602
4554
  });
4603
4555
  };
4604
4556
  var serializeAws_json1_1ListBatchInferenceJobsRequest = function (input, context) {
4605
- return __assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.solutionVersionArn !== undefined &&
4606
- input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
4557
+ return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
4607
4558
  };
4608
4559
  var serializeAws_json1_1ListBatchSegmentJobsRequest = function (input, context) {
4609
- return __assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.solutionVersionArn !== undefined &&
4610
- input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
4560
+ return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
4611
4561
  };
4612
4562
  var serializeAws_json1_1ListCampaignsRequest = function (input, context) {
4613
- return __assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.solutionArn !== undefined && input.solutionArn !== null && { solutionArn: input.solutionArn }));
4563
+ return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.solutionArn != null && { solutionArn: input.solutionArn }));
4614
4564
  };
4615
4565
  var serializeAws_json1_1ListDatasetExportJobsRequest = function (input, context) {
4616
- return __assign(__assign(__assign({}, (input.datasetArn !== undefined && input.datasetArn !== null && { datasetArn: input.datasetArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
4566
+ return __assign(__assign(__assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
4617
4567
  };
4618
4568
  var serializeAws_json1_1ListDatasetGroupsRequest = function (input, context) {
4619
- return __assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
4569
+ return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
4620
4570
  };
4621
4571
  var serializeAws_json1_1ListDatasetImportJobsRequest = function (input, context) {
4622
- return __assign(__assign(__assign({}, (input.datasetArn !== undefined && input.datasetArn !== null && { datasetArn: input.datasetArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
4572
+ return __assign(__assign(__assign({}, (input.datasetArn != null && { datasetArn: input.datasetArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
4623
4573
  };
4624
4574
  var serializeAws_json1_1ListDatasetsRequest = function (input, context) {
4625
- return __assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4626
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
4575
+ return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
4627
4576
  };
4628
4577
  var serializeAws_json1_1ListEventTrackersRequest = function (input, context) {
4629
- return __assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4630
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
4578
+ return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
4631
4579
  };
4632
4580
  var serializeAws_json1_1ListFiltersRequest = function (input, context) {
4633
- return __assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4634
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
4581
+ return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
4635
4582
  };
4636
4583
  var serializeAws_json1_1ListRecipesRequest = function (input, context) {
4637
- return __assign(__assign(__assign(__assign({}, (input.domain !== undefined && input.domain !== null && { domain: input.domain })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.recipeProvider !== undefined &&
4638
- input.recipeProvider !== null && { recipeProvider: input.recipeProvider }));
4584
+ return __assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.recipeProvider != null && { recipeProvider: input.recipeProvider }));
4639
4585
  };
4640
4586
  var serializeAws_json1_1ListRecommendersRequest = function (input, context) {
4641
- return __assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4642
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
4587
+ return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
4643
4588
  };
4644
4589
  var serializeAws_json1_1ListSchemasRequest = function (input, context) {
4645
- return __assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
4590
+ return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
4646
4591
  };
4647
4592
  var serializeAws_json1_1ListSolutionsRequest = function (input, context) {
4648
- return __assign(__assign(__assign({}, (input.datasetGroupArn !== undefined &&
4649
- input.datasetGroupArn !== null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
4593
+ return __assign(__assign(__assign({}, (input.datasetGroupArn != null && { datasetGroupArn: input.datasetGroupArn })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
4650
4594
  };
4651
4595
  var serializeAws_json1_1ListSolutionVersionsRequest = function (input, context) {
4652
- return __assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.solutionArn !== undefined && input.solutionArn !== null && { solutionArn: input.solutionArn }));
4596
+ return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.solutionArn != null && { solutionArn: input.solutionArn }));
4653
4597
  };
4654
4598
  var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
4655
- return __assign({}, (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn }));
4599
+ return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
4656
4600
  };
4657
4601
  var serializeAws_json1_1OptimizationObjective = function (input, context) {
4658
- return __assign(__assign({}, (input.itemAttribute !== undefined && input.itemAttribute !== null && { itemAttribute: input.itemAttribute })), (input.objectiveSensitivity !== undefined &&
4659
- input.objectiveSensitivity !== null && { objectiveSensitivity: input.objectiveSensitivity }));
4602
+ return __assign(__assign({}, (input.itemAttribute != null && { itemAttribute: input.itemAttribute })), (input.objectiveSensitivity != null && { objectiveSensitivity: input.objectiveSensitivity }));
4660
4603
  };
4661
4604
  var serializeAws_json1_1RecommenderConfig = function (input, context) {
4662
- return __assign(__assign({}, (input.itemExplorationConfig !== undefined &&
4663
- input.itemExplorationConfig !== null && {
4605
+ return __assign(__assign({}, (input.itemExplorationConfig != null && {
4664
4606
  itemExplorationConfig: serializeAws_json1_1HyperParameters(input.itemExplorationConfig, context),
4665
- })), (input.minRecommendationRequestsPerSecond !== undefined &&
4666
- input.minRecommendationRequestsPerSecond !== null && {
4607
+ })), (input.minRecommendationRequestsPerSecond != null && {
4667
4608
  minRecommendationRequestsPerSecond: input.minRecommendationRequestsPerSecond,
4668
4609
  }));
4669
4610
  };
4670
4611
  var serializeAws_json1_1S3DataConfig = function (input, context) {
4671
- return __assign(__assign({}, (input.kmsKeyArn !== undefined && input.kmsKeyArn !== null && { kmsKeyArn: input.kmsKeyArn })), (input.path !== undefined && input.path !== null && { path: input.path }));
4612
+ return __assign(__assign({}, (input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn })), (input.path != null && { path: input.path }));
4672
4613
  };
4673
4614
  var serializeAws_json1_1SolutionConfig = function (input, context) {
4674
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.algorithmHyperParameters !== undefined &&
4675
- input.algorithmHyperParameters !== null && {
4615
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.algorithmHyperParameters != null && {
4676
4616
  algorithmHyperParameters: serializeAws_json1_1HyperParameters(input.algorithmHyperParameters, context),
4677
- })), (input.autoMLConfig !== undefined &&
4678
- input.autoMLConfig !== null && { autoMLConfig: serializeAws_json1_1AutoMLConfig(input.autoMLConfig, context) })), (input.eventValueThreshold !== undefined &&
4679
- input.eventValueThreshold !== null && { eventValueThreshold: input.eventValueThreshold })), (input.featureTransformationParameters !== undefined &&
4680
- input.featureTransformationParameters !== null && {
4617
+ })), (input.autoMLConfig != null && { autoMLConfig: serializeAws_json1_1AutoMLConfig(input.autoMLConfig, context) })), (input.eventValueThreshold != null && { eventValueThreshold: input.eventValueThreshold })), (input.featureTransformationParameters != null && {
4681
4618
  featureTransformationParameters: serializeAws_json1_1FeatureTransformationParameters(input.featureTransformationParameters, context),
4682
- })), (input.hpoConfig !== undefined &&
4683
- input.hpoConfig !== null && { hpoConfig: serializeAws_json1_1HPOConfig(input.hpoConfig, context) })), (input.optimizationObjective !== undefined &&
4684
- input.optimizationObjective !== null && {
4619
+ })), (input.hpoConfig != null && { hpoConfig: serializeAws_json1_1HPOConfig(input.hpoConfig, context) })), (input.optimizationObjective != null && {
4685
4620
  optimizationObjective: serializeAws_json1_1OptimizationObjective(input.optimizationObjective, context),
4686
4621
  }));
4687
4622
  };
4688
4623
  var serializeAws_json1_1StartRecommenderRequest = function (input, context) {
4689
- return __assign({}, (input.recommenderArn !== undefined &&
4690
- input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
4624
+ return __assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn }));
4691
4625
  };
4692
4626
  var serializeAws_json1_1StopRecommenderRequest = function (input, context) {
4693
- return __assign({}, (input.recommenderArn !== undefined &&
4694
- input.recommenderArn !== null && { recommenderArn: input.recommenderArn }));
4627
+ return __assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn }));
4695
4628
  };
4696
4629
  var serializeAws_json1_1StopSolutionVersionCreationRequest = function (input, context) {
4697
- return __assign({}, (input.solutionVersionArn !== undefined &&
4698
- input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
4630
+ return __assign({}, (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
4699
4631
  };
4700
4632
  var serializeAws_json1_1Tag = function (input, context) {
4701
- return __assign(__assign({}, (input.tagKey !== undefined && input.tagKey !== null && { tagKey: input.tagKey })), (input.tagValue !== undefined && input.tagValue !== null && { tagValue: input.tagValue }));
4633
+ return __assign(__assign({}, (input.tagKey != null && { tagKey: input.tagKey })), (input.tagValue != null && { tagValue: input.tagValue }));
4702
4634
  };
4703
4635
  var serializeAws_json1_1TagKeys = function (input, context) {
4704
4636
  return input
@@ -4711,7 +4643,7 @@ var serializeAws_json1_1TagKeys = function (input, context) {
4711
4643
  });
4712
4644
  };
4713
4645
  var serializeAws_json1_1TagResourceRequest = function (input, context) {
4714
- return __assign(__assign({}, (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4646
+ return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_1Tags(input.tags, context) }));
4715
4647
  };
4716
4648
  var serializeAws_json1_1Tags = function (input, context) {
4717
4649
  return input
@@ -4724,43 +4656,35 @@ var serializeAws_json1_1Tags = function (input, context) {
4724
4656
  });
4725
4657
  };
4726
4658
  var serializeAws_json1_1UntagResourceRequest = function (input, context) {
4727
- return __assign(__assign({}, (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })), (input.tagKeys !== undefined &&
4728
- input.tagKeys !== null && { tagKeys: serializeAws_json1_1TagKeys(input.tagKeys, context) }));
4659
+ return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeys(input.tagKeys, context) }));
4729
4660
  };
4730
4661
  var serializeAws_json1_1UpdateCampaignRequest = function (input, context) {
4731
- return __assign(__assign(__assign(__assign({}, (input.campaignArn !== undefined && input.campaignArn !== null && { campaignArn: input.campaignArn })), (input.campaignConfig !== undefined &&
4732
- input.campaignConfig !== null && {
4662
+ return __assign(__assign(__assign(__assign({}, (input.campaignArn != null && { campaignArn: input.campaignArn })), (input.campaignConfig != null && {
4733
4663
  campaignConfig: serializeAws_json1_1CampaignConfig(input.campaignConfig, context),
4734
- })), (input.minProvisionedTPS !== undefined &&
4735
- input.minProvisionedTPS !== null && { minProvisionedTPS: input.minProvisionedTPS })), (input.solutionVersionArn !== undefined &&
4736
- input.solutionVersionArn !== null && { solutionVersionArn: input.solutionVersionArn }));
4664
+ })), (input.minProvisionedTPS != null && { minProvisionedTPS: input.minProvisionedTPS })), (input.solutionVersionArn != null && { solutionVersionArn: input.solutionVersionArn }));
4737
4665
  };
4738
4666
  var serializeAws_json1_1UpdateRecommenderRequest = function (input, context) {
4739
- return __assign(__assign({}, (input.recommenderArn !== undefined &&
4740
- input.recommenderArn !== null && { recommenderArn: input.recommenderArn })), (input.recommenderConfig !== undefined &&
4741
- input.recommenderConfig !== null && {
4667
+ return __assign(__assign({}, (input.recommenderArn != null && { recommenderArn: input.recommenderArn })), (input.recommenderConfig != null && {
4742
4668
  recommenderConfig: serializeAws_json1_1RecommenderConfig(input.recommenderConfig, context),
4743
4669
  }));
4744
4670
  };
4745
4671
  var deserializeAws_json1_1Algorithm = function (output, context) {
4746
4672
  return {
4747
4673
  algorithmArn: __expectString(output.algorithmArn),
4748
- algorithmImage: output.algorithmImage !== undefined && output.algorithmImage !== null
4749
- ? deserializeAws_json1_1AlgorithmImage(output.algorithmImage, context)
4750
- : undefined,
4751
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4674
+ algorithmImage: output.algorithmImage != null ? deserializeAws_json1_1AlgorithmImage(output.algorithmImage, context) : undefined,
4675
+ creationDateTime: output.creationDateTime != null
4752
4676
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4753
4677
  : undefined,
4754
- defaultHyperParameterRanges: output.defaultHyperParameterRanges !== undefined && output.defaultHyperParameterRanges !== null
4678
+ defaultHyperParameterRanges: output.defaultHyperParameterRanges != null
4755
4679
  ? deserializeAws_json1_1DefaultHyperParameterRanges(output.defaultHyperParameterRanges, context)
4756
4680
  : undefined,
4757
- defaultHyperParameters: output.defaultHyperParameters !== undefined && output.defaultHyperParameters !== null
4681
+ defaultHyperParameters: output.defaultHyperParameters != null
4758
4682
  ? deserializeAws_json1_1HyperParameters(output.defaultHyperParameters, context)
4759
4683
  : undefined,
4760
- defaultResourceConfig: output.defaultResourceConfig !== undefined && output.defaultResourceConfig !== null
4684
+ defaultResourceConfig: output.defaultResourceConfig != null
4761
4685
  ? deserializeAws_json1_1ResourceConfig(output.defaultResourceConfig, context)
4762
4686
  : undefined,
4763
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4687
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
4764
4688
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4765
4689
  : undefined,
4766
4690
  name: __expectString(output.name),
@@ -4788,9 +4712,7 @@ var deserializeAws_json1_1ArnList = function (output, context) {
4788
4712
  var deserializeAws_json1_1AutoMLConfig = function (output, context) {
4789
4713
  return {
4790
4714
  metricName: __expectString(output.metricName),
4791
- recipeList: output.recipeList !== undefined && output.recipeList !== null
4792
- ? deserializeAws_json1_1ArnList(output.recipeList, context)
4793
- : undefined,
4715
+ recipeList: output.recipeList != null ? deserializeAws_json1_1ArnList(output.recipeList, context) : undefined,
4794
4716
  };
4795
4717
  };
4796
4718
  var deserializeAws_json1_1AutoMLResult = function (output, context) {
@@ -4801,22 +4723,18 @@ var deserializeAws_json1_1AutoMLResult = function (output, context) {
4801
4723
  var deserializeAws_json1_1BatchInferenceJob = function (output, context) {
4802
4724
  return {
4803
4725
  batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
4804
- batchInferenceJobConfig: output.batchInferenceJobConfig !== undefined && output.batchInferenceJobConfig !== null
4726
+ batchInferenceJobConfig: output.batchInferenceJobConfig != null
4805
4727
  ? deserializeAws_json1_1BatchInferenceJobConfig(output.batchInferenceJobConfig, context)
4806
4728
  : undefined,
4807
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4729
+ creationDateTime: output.creationDateTime != null
4808
4730
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4809
4731
  : undefined,
4810
4732
  failureReason: __expectString(output.failureReason),
4811
4733
  filterArn: __expectString(output.filterArn),
4812
- jobInput: output.jobInput !== undefined && output.jobInput !== null
4813
- ? deserializeAws_json1_1BatchInferenceJobInput(output.jobInput, context)
4814
- : undefined,
4734
+ jobInput: output.jobInput != null ? deserializeAws_json1_1BatchInferenceJobInput(output.jobInput, context) : undefined,
4815
4735
  jobName: __expectString(output.jobName),
4816
- jobOutput: output.jobOutput !== undefined && output.jobOutput !== null
4817
- ? deserializeAws_json1_1BatchInferenceJobOutput(output.jobOutput, context)
4818
- : undefined,
4819
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4736
+ jobOutput: output.jobOutput != null ? deserializeAws_json1_1BatchInferenceJobOutput(output.jobOutput, context) : undefined,
4737
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
4820
4738
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4821
4739
  : undefined,
4822
4740
  numResults: __expectInt32(output.numResults),
@@ -4827,21 +4745,19 @@ var deserializeAws_json1_1BatchInferenceJob = function (output, context) {
4827
4745
  };
4828
4746
  var deserializeAws_json1_1BatchInferenceJobConfig = function (output, context) {
4829
4747
  return {
4830
- itemExplorationConfig: output.itemExplorationConfig !== undefined && output.itemExplorationConfig !== null
4748
+ itemExplorationConfig: output.itemExplorationConfig != null
4831
4749
  ? deserializeAws_json1_1HyperParameters(output.itemExplorationConfig, context)
4832
4750
  : undefined,
4833
4751
  };
4834
4752
  };
4835
4753
  var deserializeAws_json1_1BatchInferenceJobInput = function (output, context) {
4836
4754
  return {
4837
- s3DataSource: output.s3DataSource !== undefined && output.s3DataSource !== null
4838
- ? deserializeAws_json1_1S3DataConfig(output.s3DataSource, context)
4839
- : undefined,
4755
+ s3DataSource: output.s3DataSource != null ? deserializeAws_json1_1S3DataConfig(output.s3DataSource, context) : undefined,
4840
4756
  };
4841
4757
  };
4842
4758
  var deserializeAws_json1_1BatchInferenceJobOutput = function (output, context) {
4843
4759
  return {
4844
- s3DataDestination: output.s3DataDestination !== undefined && output.s3DataDestination !== null
4760
+ s3DataDestination: output.s3DataDestination != null
4845
4761
  ? deserializeAws_json1_1S3DataConfig(output.s3DataDestination, context)
4846
4762
  : undefined,
4847
4763
  };
@@ -4860,12 +4776,12 @@ var deserializeAws_json1_1BatchInferenceJobs = function (output, context) {
4860
4776
  var deserializeAws_json1_1BatchInferenceJobSummary = function (output, context) {
4861
4777
  return {
4862
4778
  batchInferenceJobArn: __expectString(output.batchInferenceJobArn),
4863
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4779
+ creationDateTime: output.creationDateTime != null
4864
4780
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4865
4781
  : undefined,
4866
4782
  failureReason: __expectString(output.failureReason),
4867
4783
  jobName: __expectString(output.jobName),
4868
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4784
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
4869
4785
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4870
4786
  : undefined,
4871
4787
  solutionVersionArn: __expectString(output.solutionVersionArn),
@@ -4875,19 +4791,15 @@ var deserializeAws_json1_1BatchInferenceJobSummary = function (output, context)
4875
4791
  var deserializeAws_json1_1BatchSegmentJob = function (output, context) {
4876
4792
  return {
4877
4793
  batchSegmentJobArn: __expectString(output.batchSegmentJobArn),
4878
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4794
+ creationDateTime: output.creationDateTime != null
4879
4795
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4880
4796
  : undefined,
4881
4797
  failureReason: __expectString(output.failureReason),
4882
4798
  filterArn: __expectString(output.filterArn),
4883
- jobInput: output.jobInput !== undefined && output.jobInput !== null
4884
- ? deserializeAws_json1_1BatchSegmentJobInput(output.jobInput, context)
4885
- : undefined,
4799
+ jobInput: output.jobInput != null ? deserializeAws_json1_1BatchSegmentJobInput(output.jobInput, context) : undefined,
4886
4800
  jobName: __expectString(output.jobName),
4887
- jobOutput: output.jobOutput !== undefined && output.jobOutput !== null
4888
- ? deserializeAws_json1_1BatchSegmentJobOutput(output.jobOutput, context)
4889
- : undefined,
4890
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4801
+ jobOutput: output.jobOutput != null ? deserializeAws_json1_1BatchSegmentJobOutput(output.jobOutput, context) : undefined,
4802
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
4891
4803
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4892
4804
  : undefined,
4893
4805
  numResults: __expectInt32(output.numResults),
@@ -4898,14 +4810,12 @@ var deserializeAws_json1_1BatchSegmentJob = function (output, context) {
4898
4810
  };
4899
4811
  var deserializeAws_json1_1BatchSegmentJobInput = function (output, context) {
4900
4812
  return {
4901
- s3DataSource: output.s3DataSource !== undefined && output.s3DataSource !== null
4902
- ? deserializeAws_json1_1S3DataConfig(output.s3DataSource, context)
4903
- : undefined,
4813
+ s3DataSource: output.s3DataSource != null ? deserializeAws_json1_1S3DataConfig(output.s3DataSource, context) : undefined,
4904
4814
  };
4905
4815
  };
4906
4816
  var deserializeAws_json1_1BatchSegmentJobOutput = function (output, context) {
4907
4817
  return {
4908
- s3DataDestination: output.s3DataDestination !== undefined && output.s3DataDestination !== null
4818
+ s3DataDestination: output.s3DataDestination != null
4909
4819
  ? deserializeAws_json1_1S3DataConfig(output.s3DataDestination, context)
4910
4820
  : undefined,
4911
4821
  };
@@ -4924,12 +4834,12 @@ var deserializeAws_json1_1BatchSegmentJobs = function (output, context) {
4924
4834
  var deserializeAws_json1_1BatchSegmentJobSummary = function (output, context) {
4925
4835
  return {
4926
4836
  batchSegmentJobArn: __expectString(output.batchSegmentJobArn),
4927
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4837
+ creationDateTime: output.creationDateTime != null
4928
4838
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4929
4839
  : undefined,
4930
4840
  failureReason: __expectString(output.failureReason),
4931
4841
  jobName: __expectString(output.jobName),
4932
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4842
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
4933
4843
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4934
4844
  : undefined,
4935
4845
  solutionVersionArn: __expectString(output.solutionVersionArn),
@@ -4939,17 +4849,15 @@ var deserializeAws_json1_1BatchSegmentJobSummary = function (output, context) {
4939
4849
  var deserializeAws_json1_1Campaign = function (output, context) {
4940
4850
  return {
4941
4851
  campaignArn: __expectString(output.campaignArn),
4942
- campaignConfig: output.campaignConfig !== undefined && output.campaignConfig !== null
4943
- ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context)
4944
- : undefined,
4945
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4852
+ campaignConfig: output.campaignConfig != null ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context) : undefined,
4853
+ creationDateTime: output.creationDateTime != null
4946
4854
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4947
4855
  : undefined,
4948
4856
  failureReason: __expectString(output.failureReason),
4949
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4857
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
4950
4858
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4951
4859
  : undefined,
4952
- latestCampaignUpdate: output.latestCampaignUpdate !== undefined && output.latestCampaignUpdate !== null
4860
+ latestCampaignUpdate: output.latestCampaignUpdate != null
4953
4861
  ? deserializeAws_json1_1CampaignUpdateSummary(output.latestCampaignUpdate, context)
4954
4862
  : undefined,
4955
4863
  minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
@@ -4960,7 +4868,7 @@ var deserializeAws_json1_1Campaign = function (output, context) {
4960
4868
  };
4961
4869
  var deserializeAws_json1_1CampaignConfig = function (output, context) {
4962
4870
  return {
4963
- itemExplorationConfig: output.itemExplorationConfig !== undefined && output.itemExplorationConfig !== null
4871
+ itemExplorationConfig: output.itemExplorationConfig != null
4964
4872
  ? deserializeAws_json1_1HyperParameters(output.itemExplorationConfig, context)
4965
4873
  : undefined,
4966
4874
  };
@@ -4979,11 +4887,11 @@ var deserializeAws_json1_1Campaigns = function (output, context) {
4979
4887
  var deserializeAws_json1_1CampaignSummary = function (output, context) {
4980
4888
  return {
4981
4889
  campaignArn: __expectString(output.campaignArn),
4982
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4890
+ creationDateTime: output.creationDateTime != null
4983
4891
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
4984
4892
  : undefined,
4985
4893
  failureReason: __expectString(output.failureReason),
4986
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4894
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
4987
4895
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
4988
4896
  : undefined,
4989
4897
  name: __expectString(output.name),
@@ -4992,14 +4900,12 @@ var deserializeAws_json1_1CampaignSummary = function (output, context) {
4992
4900
  };
4993
4901
  var deserializeAws_json1_1CampaignUpdateSummary = function (output, context) {
4994
4902
  return {
4995
- campaignConfig: output.campaignConfig !== undefined && output.campaignConfig !== null
4996
- ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context)
4997
- : undefined,
4998
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
4903
+ campaignConfig: output.campaignConfig != null ? deserializeAws_json1_1CampaignConfig(output.campaignConfig, context) : undefined,
4904
+ creationDateTime: output.creationDateTime != null
4999
4905
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5000
4906
  : undefined,
5001
4907
  failureReason: __expectString(output.failureReason),
5002
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
4908
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5003
4909
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5004
4910
  : undefined,
5005
4911
  minProvisionedTPS: __expectInt32(output.minProvisionedTPS),
@@ -5010,9 +4916,7 @@ var deserializeAws_json1_1CampaignUpdateSummary = function (output, context) {
5010
4916
  var deserializeAws_json1_1CategoricalHyperParameterRange = function (output, context) {
5011
4917
  return {
5012
4918
  name: __expectString(output.name),
5013
- values: output.values !== undefined && output.values !== null
5014
- ? deserializeAws_json1_1CategoricalValues(output.values, context)
5015
- : undefined,
4919
+ values: output.values != null ? deserializeAws_json1_1CategoricalValues(output.values, context) : undefined,
5016
4920
  };
5017
4921
  };
5018
4922
  var deserializeAws_json1_1CategoricalHyperParameterRanges = function (output, context) {
@@ -5124,13 +5028,13 @@ var deserializeAws_json1_1CreateSolutionVersionResponse = function (output, cont
5124
5028
  };
5125
5029
  var deserializeAws_json1_1Dataset = function (output, context) {
5126
5030
  return {
5127
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5031
+ creationDateTime: output.creationDateTime != null
5128
5032
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5129
5033
  : undefined,
5130
5034
  datasetArn: __expectString(output.datasetArn),
5131
5035
  datasetGroupArn: __expectString(output.datasetGroupArn),
5132
5036
  datasetType: __expectString(output.datasetType),
5133
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5037
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5134
5038
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5135
5039
  : undefined,
5136
5040
  name: __expectString(output.name),
@@ -5140,7 +5044,7 @@ var deserializeAws_json1_1Dataset = function (output, context) {
5140
5044
  };
5141
5045
  var deserializeAws_json1_1DatasetExportJob = function (output, context) {
5142
5046
  return {
5143
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5047
+ creationDateTime: output.creationDateTime != null
5144
5048
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5145
5049
  : undefined,
5146
5050
  datasetArn: __expectString(output.datasetArn),
@@ -5148,10 +5052,8 @@ var deserializeAws_json1_1DatasetExportJob = function (output, context) {
5148
5052
  failureReason: __expectString(output.failureReason),
5149
5053
  ingestionMode: __expectString(output.ingestionMode),
5150
5054
  jobName: __expectString(output.jobName),
5151
- jobOutput: output.jobOutput !== undefined && output.jobOutput !== null
5152
- ? deserializeAws_json1_1DatasetExportJobOutput(output.jobOutput, context)
5153
- : undefined,
5154
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5055
+ jobOutput: output.jobOutput != null ? deserializeAws_json1_1DatasetExportJobOutput(output.jobOutput, context) : undefined,
5056
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5155
5057
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5156
5058
  : undefined,
5157
5059
  roleArn: __expectString(output.roleArn),
@@ -5160,7 +5062,7 @@ var deserializeAws_json1_1DatasetExportJob = function (output, context) {
5160
5062
  };
5161
5063
  var deserializeAws_json1_1DatasetExportJobOutput = function (output, context) {
5162
5064
  return {
5163
- s3DataDestination: output.s3DataDestination !== undefined && output.s3DataDestination !== null
5065
+ s3DataDestination: output.s3DataDestination != null
5164
5066
  ? deserializeAws_json1_1S3DataConfig(output.s3DataDestination, context)
5165
5067
  : undefined,
5166
5068
  };
@@ -5178,13 +5080,13 @@ var deserializeAws_json1_1DatasetExportJobs = function (output, context) {
5178
5080
  };
5179
5081
  var deserializeAws_json1_1DatasetExportJobSummary = function (output, context) {
5180
5082
  return {
5181
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5083
+ creationDateTime: output.creationDateTime != null
5182
5084
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5183
5085
  : undefined,
5184
5086
  datasetExportJobArn: __expectString(output.datasetExportJobArn),
5185
5087
  failureReason: __expectString(output.failureReason),
5186
5088
  jobName: __expectString(output.jobName),
5187
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5089
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5188
5090
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5189
5091
  : undefined,
5190
5092
  status: __expectString(output.status),
@@ -5192,14 +5094,14 @@ var deserializeAws_json1_1DatasetExportJobSummary = function (output, context) {
5192
5094
  };
5193
5095
  var deserializeAws_json1_1DatasetGroup = function (output, context) {
5194
5096
  return {
5195
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5097
+ creationDateTime: output.creationDateTime != null
5196
5098
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5197
5099
  : undefined,
5198
5100
  datasetGroupArn: __expectString(output.datasetGroupArn),
5199
5101
  domain: __expectString(output.domain),
5200
5102
  failureReason: __expectString(output.failureReason),
5201
5103
  kmsKeyArn: __expectString(output.kmsKeyArn),
5202
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5104
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5203
5105
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5204
5106
  : undefined,
5205
5107
  name: __expectString(output.name),
@@ -5220,13 +5122,13 @@ var deserializeAws_json1_1DatasetGroups = function (output, context) {
5220
5122
  };
5221
5123
  var deserializeAws_json1_1DatasetGroupSummary = function (output, context) {
5222
5124
  return {
5223
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5125
+ creationDateTime: output.creationDateTime != null
5224
5126
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5225
5127
  : undefined,
5226
5128
  datasetGroupArn: __expectString(output.datasetGroupArn),
5227
5129
  domain: __expectString(output.domain),
5228
5130
  failureReason: __expectString(output.failureReason),
5229
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5131
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5230
5132
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5231
5133
  : undefined,
5232
5134
  name: __expectString(output.name),
@@ -5235,17 +5137,15 @@ var deserializeAws_json1_1DatasetGroupSummary = function (output, context) {
5235
5137
  };
5236
5138
  var deserializeAws_json1_1DatasetImportJob = function (output, context) {
5237
5139
  return {
5238
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5140
+ creationDateTime: output.creationDateTime != null
5239
5141
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5240
5142
  : undefined,
5241
- dataSource: output.dataSource !== undefined && output.dataSource !== null
5242
- ? deserializeAws_json1_1DataSource(output.dataSource, context)
5243
- : undefined,
5143
+ dataSource: output.dataSource != null ? deserializeAws_json1_1DataSource(output.dataSource, context) : undefined,
5244
5144
  datasetArn: __expectString(output.datasetArn),
5245
5145
  datasetImportJobArn: __expectString(output.datasetImportJobArn),
5246
5146
  failureReason: __expectString(output.failureReason),
5247
5147
  jobName: __expectString(output.jobName),
5248
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5148
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5249
5149
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5250
5150
  : undefined,
5251
5151
  roleArn: __expectString(output.roleArn),
@@ -5265,13 +5165,13 @@ var deserializeAws_json1_1DatasetImportJobs = function (output, context) {
5265
5165
  };
5266
5166
  var deserializeAws_json1_1DatasetImportJobSummary = function (output, context) {
5267
5167
  return {
5268
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5168
+ creationDateTime: output.creationDateTime != null
5269
5169
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5270
5170
  : undefined,
5271
5171
  datasetImportJobArn: __expectString(output.datasetImportJobArn),
5272
5172
  failureReason: __expectString(output.failureReason),
5273
5173
  jobName: __expectString(output.jobName),
5274
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5174
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5275
5175
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5276
5176
  : undefined,
5277
5177
  status: __expectString(output.status),
@@ -5290,11 +5190,11 @@ var deserializeAws_json1_1Datasets = function (output, context) {
5290
5190
  };
5291
5191
  var deserializeAws_json1_1DatasetSchema = function (output, context) {
5292
5192
  return {
5293
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5193
+ creationDateTime: output.creationDateTime != null
5294
5194
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5295
5195
  : undefined,
5296
5196
  domain: __expectString(output.domain),
5297
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5197
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5298
5198
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5299
5199
  : undefined,
5300
5200
  name: __expectString(output.name),
@@ -5304,11 +5204,11 @@ var deserializeAws_json1_1DatasetSchema = function (output, context) {
5304
5204
  };
5305
5205
  var deserializeAws_json1_1DatasetSchemaSummary = function (output, context) {
5306
5206
  return {
5307
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5207
+ creationDateTime: output.creationDateTime != null
5308
5208
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5309
5209
  : undefined,
5310
5210
  domain: __expectString(output.domain),
5311
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5211
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5312
5212
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5313
5213
  : undefined,
5314
5214
  name: __expectString(output.name),
@@ -5317,12 +5217,12 @@ var deserializeAws_json1_1DatasetSchemaSummary = function (output, context) {
5317
5217
  };
5318
5218
  var deserializeAws_json1_1DatasetSummary = function (output, context) {
5319
5219
  return {
5320
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5220
+ creationDateTime: output.creationDateTime != null
5321
5221
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5322
5222
  : undefined,
5323
5223
  datasetArn: __expectString(output.datasetArn),
5324
5224
  datasetType: __expectString(output.datasetType),
5325
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5225
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5326
5226
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5327
5227
  : undefined,
5328
5228
  name: __expectString(output.name),
@@ -5338,9 +5238,7 @@ var deserializeAws_json1_1DefaultCategoricalHyperParameterRange = function (outp
5338
5238
  return {
5339
5239
  isTunable: __expectBoolean(output.isTunable),
5340
5240
  name: __expectString(output.name),
5341
- values: output.values !== undefined && output.values !== null
5342
- ? deserializeAws_json1_1CategoricalValues(output.values, context)
5343
- : undefined,
5241
+ values: output.values != null ? deserializeAws_json1_1CategoricalValues(output.values, context) : undefined,
5344
5242
  };
5345
5243
  };
5346
5244
  var deserializeAws_json1_1DefaultCategoricalHyperParameterRanges = function (output, context) {
@@ -5375,13 +5273,13 @@ var deserializeAws_json1_1DefaultContinuousHyperParameterRanges = function (outp
5375
5273
  };
5376
5274
  var deserializeAws_json1_1DefaultHyperParameterRanges = function (output, context) {
5377
5275
  return {
5378
- categoricalHyperParameterRanges: output.categoricalHyperParameterRanges !== undefined && output.categoricalHyperParameterRanges !== null
5276
+ categoricalHyperParameterRanges: output.categoricalHyperParameterRanges != null
5379
5277
  ? deserializeAws_json1_1DefaultCategoricalHyperParameterRanges(output.categoricalHyperParameterRanges, context)
5380
5278
  : undefined,
5381
- continuousHyperParameterRanges: output.continuousHyperParameterRanges !== undefined && output.continuousHyperParameterRanges !== null
5279
+ continuousHyperParameterRanges: output.continuousHyperParameterRanges != null
5382
5280
  ? deserializeAws_json1_1DefaultContinuousHyperParameterRanges(output.continuousHyperParameterRanges, context)
5383
5281
  : undefined,
5384
- integerHyperParameterRanges: output.integerHyperParameterRanges !== undefined && output.integerHyperParameterRanges !== null
5282
+ integerHyperParameterRanges: output.integerHyperParameterRanges != null
5385
5283
  ? deserializeAws_json1_1DefaultIntegerHyperParameterRanges(output.integerHyperParameterRanges, context)
5386
5284
  : undefined,
5387
5285
  };
@@ -5407,112 +5305,92 @@ var deserializeAws_json1_1DefaultIntegerHyperParameterRanges = function (output,
5407
5305
  };
5408
5306
  var deserializeAws_json1_1DescribeAlgorithmResponse = function (output, context) {
5409
5307
  return {
5410
- algorithm: output.algorithm !== undefined && output.algorithm !== null
5411
- ? deserializeAws_json1_1Algorithm(output.algorithm, context)
5412
- : undefined,
5308
+ algorithm: output.algorithm != null ? deserializeAws_json1_1Algorithm(output.algorithm, context) : undefined,
5413
5309
  };
5414
5310
  };
5415
5311
  var deserializeAws_json1_1DescribeBatchInferenceJobResponse = function (output, context) {
5416
5312
  return {
5417
- batchInferenceJob: output.batchInferenceJob !== undefined && output.batchInferenceJob !== null
5313
+ batchInferenceJob: output.batchInferenceJob != null
5418
5314
  ? deserializeAws_json1_1BatchInferenceJob(output.batchInferenceJob, context)
5419
5315
  : undefined,
5420
5316
  };
5421
5317
  };
5422
5318
  var deserializeAws_json1_1DescribeBatchSegmentJobResponse = function (output, context) {
5423
5319
  return {
5424
- batchSegmentJob: output.batchSegmentJob !== undefined && output.batchSegmentJob !== null
5320
+ batchSegmentJob: output.batchSegmentJob != null
5425
5321
  ? deserializeAws_json1_1BatchSegmentJob(output.batchSegmentJob, context)
5426
5322
  : undefined,
5427
5323
  };
5428
5324
  };
5429
5325
  var deserializeAws_json1_1DescribeCampaignResponse = function (output, context) {
5430
5326
  return {
5431
- campaign: output.campaign !== undefined && output.campaign !== null
5432
- ? deserializeAws_json1_1Campaign(output.campaign, context)
5433
- : undefined,
5327
+ campaign: output.campaign != null ? deserializeAws_json1_1Campaign(output.campaign, context) : undefined,
5434
5328
  };
5435
5329
  };
5436
5330
  var deserializeAws_json1_1DescribeDatasetExportJobResponse = function (output, context) {
5437
5331
  return {
5438
- datasetExportJob: output.datasetExportJob !== undefined && output.datasetExportJob !== null
5332
+ datasetExportJob: output.datasetExportJob != null
5439
5333
  ? deserializeAws_json1_1DatasetExportJob(output.datasetExportJob, context)
5440
5334
  : undefined,
5441
5335
  };
5442
5336
  };
5443
5337
  var deserializeAws_json1_1DescribeDatasetGroupResponse = function (output, context) {
5444
5338
  return {
5445
- datasetGroup: output.datasetGroup !== undefined && output.datasetGroup !== null
5446
- ? deserializeAws_json1_1DatasetGroup(output.datasetGroup, context)
5447
- : undefined,
5339
+ datasetGroup: output.datasetGroup != null ? deserializeAws_json1_1DatasetGroup(output.datasetGroup, context) : undefined,
5448
5340
  };
5449
5341
  };
5450
5342
  var deserializeAws_json1_1DescribeDatasetImportJobResponse = function (output, context) {
5451
5343
  return {
5452
- datasetImportJob: output.datasetImportJob !== undefined && output.datasetImportJob !== null
5344
+ datasetImportJob: output.datasetImportJob != null
5453
5345
  ? deserializeAws_json1_1DatasetImportJob(output.datasetImportJob, context)
5454
5346
  : undefined,
5455
5347
  };
5456
5348
  };
5457
5349
  var deserializeAws_json1_1DescribeDatasetResponse = function (output, context) {
5458
5350
  return {
5459
- dataset: output.dataset !== undefined && output.dataset !== null
5460
- ? deserializeAws_json1_1Dataset(output.dataset, context)
5461
- : undefined,
5351
+ dataset: output.dataset != null ? deserializeAws_json1_1Dataset(output.dataset, context) : undefined,
5462
5352
  };
5463
5353
  };
5464
5354
  var deserializeAws_json1_1DescribeEventTrackerResponse = function (output, context) {
5465
5355
  return {
5466
- eventTracker: output.eventTracker !== undefined && output.eventTracker !== null
5467
- ? deserializeAws_json1_1EventTracker(output.eventTracker, context)
5468
- : undefined,
5356
+ eventTracker: output.eventTracker != null ? deserializeAws_json1_1EventTracker(output.eventTracker, context) : undefined,
5469
5357
  };
5470
5358
  };
5471
5359
  var deserializeAws_json1_1DescribeFeatureTransformationResponse = function (output, context) {
5472
5360
  return {
5473
- featureTransformation: output.featureTransformation !== undefined && output.featureTransformation !== null
5361
+ featureTransformation: output.featureTransformation != null
5474
5362
  ? deserializeAws_json1_1FeatureTransformation(output.featureTransformation, context)
5475
5363
  : undefined,
5476
5364
  };
5477
5365
  };
5478
5366
  var deserializeAws_json1_1DescribeFilterResponse = function (output, context) {
5479
5367
  return {
5480
- filter: output.filter !== undefined && output.filter !== null
5481
- ? deserializeAws_json1_1Filter(output.filter, context)
5482
- : undefined,
5368
+ filter: output.filter != null ? deserializeAws_json1_1Filter(output.filter, context) : undefined,
5483
5369
  };
5484
5370
  };
5485
5371
  var deserializeAws_json1_1DescribeRecipeResponse = function (output, context) {
5486
5372
  return {
5487
- recipe: output.recipe !== undefined && output.recipe !== null
5488
- ? deserializeAws_json1_1Recipe(output.recipe, context)
5489
- : undefined,
5373
+ recipe: output.recipe != null ? deserializeAws_json1_1Recipe(output.recipe, context) : undefined,
5490
5374
  };
5491
5375
  };
5492
5376
  var deserializeAws_json1_1DescribeRecommenderResponse = function (output, context) {
5493
5377
  return {
5494
- recommender: output.recommender !== undefined && output.recommender !== null
5495
- ? deserializeAws_json1_1Recommender(output.recommender, context)
5496
- : undefined,
5378
+ recommender: output.recommender != null ? deserializeAws_json1_1Recommender(output.recommender, context) : undefined,
5497
5379
  };
5498
5380
  };
5499
5381
  var deserializeAws_json1_1DescribeSchemaResponse = function (output, context) {
5500
5382
  return {
5501
- schema: output.schema !== undefined && output.schema !== null
5502
- ? deserializeAws_json1_1DatasetSchema(output.schema, context)
5503
- : undefined,
5383
+ schema: output.schema != null ? deserializeAws_json1_1DatasetSchema(output.schema, context) : undefined,
5504
5384
  };
5505
5385
  };
5506
5386
  var deserializeAws_json1_1DescribeSolutionResponse = function (output, context) {
5507
5387
  return {
5508
- solution: output.solution !== undefined && output.solution !== null
5509
- ? deserializeAws_json1_1Solution(output.solution, context)
5510
- : undefined,
5388
+ solution: output.solution != null ? deserializeAws_json1_1Solution(output.solution, context) : undefined,
5511
5389
  };
5512
5390
  };
5513
5391
  var deserializeAws_json1_1DescribeSolutionVersionResponse = function (output, context) {
5514
5392
  return {
5515
- solutionVersion: output.solutionVersion !== undefined && output.solutionVersion !== null
5393
+ solutionVersion: output.solutionVersion != null
5516
5394
  ? deserializeAws_json1_1SolutionVersion(output.solutionVersion, context)
5517
5395
  : undefined,
5518
5396
  };
@@ -5520,12 +5398,12 @@ var deserializeAws_json1_1DescribeSolutionVersionResponse = function (output, co
5520
5398
  var deserializeAws_json1_1EventTracker = function (output, context) {
5521
5399
  return {
5522
5400
  accountId: __expectString(output.accountId),
5523
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5401
+ creationDateTime: output.creationDateTime != null
5524
5402
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5525
5403
  : undefined,
5526
5404
  datasetGroupArn: __expectString(output.datasetGroupArn),
5527
5405
  eventTrackerArn: __expectString(output.eventTrackerArn),
5528
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5406
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5529
5407
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5530
5408
  : undefined,
5531
5409
  name: __expectString(output.name),
@@ -5546,11 +5424,11 @@ var deserializeAws_json1_1EventTrackers = function (output, context) {
5546
5424
  };
5547
5425
  var deserializeAws_json1_1EventTrackerSummary = function (output, context) {
5548
5426
  return {
5549
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5427
+ creationDateTime: output.creationDateTime != null
5550
5428
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5551
5429
  : undefined,
5552
5430
  eventTrackerArn: __expectString(output.eventTrackerArn),
5553
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5431
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5554
5432
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5555
5433
  : undefined,
5556
5434
  name: __expectString(output.name),
@@ -5559,14 +5437,14 @@ var deserializeAws_json1_1EventTrackerSummary = function (output, context) {
5559
5437
  };
5560
5438
  var deserializeAws_json1_1FeatureTransformation = function (output, context) {
5561
5439
  return {
5562
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5440
+ creationDateTime: output.creationDateTime != null
5563
5441
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5564
5442
  : undefined,
5565
- defaultParameters: output.defaultParameters !== undefined && output.defaultParameters !== null
5443
+ defaultParameters: output.defaultParameters != null
5566
5444
  ? deserializeAws_json1_1FeaturizationParameters(output.defaultParameters, context)
5567
5445
  : undefined,
5568
5446
  featureTransformationArn: __expectString(output.featureTransformationArn),
5569
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5447
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5570
5448
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5571
5449
  : undefined,
5572
5450
  name: __expectString(output.name),
@@ -5595,14 +5473,14 @@ var deserializeAws_json1_1FeaturizationParameters = function (output, context) {
5595
5473
  };
5596
5474
  var deserializeAws_json1_1Filter = function (output, context) {
5597
5475
  return {
5598
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5476
+ creationDateTime: output.creationDateTime != null
5599
5477
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5600
5478
  : undefined,
5601
5479
  datasetGroupArn: __expectString(output.datasetGroupArn),
5602
5480
  failureReason: __expectString(output.failureReason),
5603
5481
  filterArn: __expectString(output.filterArn),
5604
5482
  filterExpression: __expectString(output.filterExpression),
5605
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5483
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5606
5484
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5607
5485
  : undefined,
5608
5486
  name: __expectString(output.name),
@@ -5622,13 +5500,13 @@ var deserializeAws_json1_1Filters = function (output, context) {
5622
5500
  };
5623
5501
  var deserializeAws_json1_1FilterSummary = function (output, context) {
5624
5502
  return {
5625
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5503
+ creationDateTime: output.creationDateTime != null
5626
5504
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5627
5505
  : undefined,
5628
5506
  datasetGroupArn: __expectString(output.datasetGroupArn),
5629
5507
  failureReason: __expectString(output.failureReason),
5630
5508
  filterArn: __expectString(output.filterArn),
5631
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5509
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5632
5510
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5633
5511
  : undefined,
5634
5512
  name: __expectString(output.name),
@@ -5637,21 +5515,17 @@ var deserializeAws_json1_1FilterSummary = function (output, context) {
5637
5515
  };
5638
5516
  var deserializeAws_json1_1GetSolutionMetricsResponse = function (output, context) {
5639
5517
  return {
5640
- metrics: output.metrics !== undefined && output.metrics !== null
5641
- ? deserializeAws_json1_1Metrics(output.metrics, context)
5642
- : undefined,
5518
+ metrics: output.metrics != null ? deserializeAws_json1_1Metrics(output.metrics, context) : undefined,
5643
5519
  solutionVersionArn: __expectString(output.solutionVersionArn),
5644
5520
  };
5645
5521
  };
5646
5522
  var deserializeAws_json1_1HPOConfig = function (output, context) {
5647
5523
  return {
5648
- algorithmHyperParameterRanges: output.algorithmHyperParameterRanges !== undefined && output.algorithmHyperParameterRanges !== null
5524
+ algorithmHyperParameterRanges: output.algorithmHyperParameterRanges != null
5649
5525
  ? deserializeAws_json1_1HyperParameterRanges(output.algorithmHyperParameterRanges, context)
5650
5526
  : undefined,
5651
- hpoObjective: output.hpoObjective !== undefined && output.hpoObjective !== null
5652
- ? deserializeAws_json1_1HPOObjective(output.hpoObjective, context)
5653
- : undefined,
5654
- hpoResourceConfig: output.hpoResourceConfig !== undefined && output.hpoResourceConfig !== null
5527
+ hpoObjective: output.hpoObjective != null ? deserializeAws_json1_1HPOObjective(output.hpoObjective, context) : undefined,
5528
+ hpoResourceConfig: output.hpoResourceConfig != null
5655
5529
  ? deserializeAws_json1_1HPOResourceConfig(output.hpoResourceConfig, context)
5656
5530
  : undefined,
5657
5531
  };
@@ -5671,13 +5545,13 @@ var deserializeAws_json1_1HPOResourceConfig = function (output, context) {
5671
5545
  };
5672
5546
  var deserializeAws_json1_1HyperParameterRanges = function (output, context) {
5673
5547
  return {
5674
- categoricalHyperParameterRanges: output.categoricalHyperParameterRanges !== undefined && output.categoricalHyperParameterRanges !== null
5548
+ categoricalHyperParameterRanges: output.categoricalHyperParameterRanges != null
5675
5549
  ? deserializeAws_json1_1CategoricalHyperParameterRanges(output.categoricalHyperParameterRanges, context)
5676
5550
  : undefined,
5677
- continuousHyperParameterRanges: output.continuousHyperParameterRanges !== undefined && output.continuousHyperParameterRanges !== null
5551
+ continuousHyperParameterRanges: output.continuousHyperParameterRanges != null
5678
5552
  ? deserializeAws_json1_1ContinuousHyperParameterRanges(output.continuousHyperParameterRanges, context)
5679
5553
  : undefined,
5680
- integerHyperParameterRanges: output.integerHyperParameterRanges !== undefined && output.integerHyperParameterRanges !== null
5554
+ integerHyperParameterRanges: output.integerHyperParameterRanges != null
5681
5555
  ? deserializeAws_json1_1IntegerHyperParameterRanges(output.integerHyperParameterRanges, context)
5682
5556
  : undefined,
5683
5557
  };
@@ -5727,7 +5601,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
5727
5601
  };
5728
5602
  var deserializeAws_json1_1ListBatchInferenceJobsResponse = function (output, context) {
5729
5603
  return {
5730
- batchInferenceJobs: output.batchInferenceJobs !== undefined && output.batchInferenceJobs !== null
5604
+ batchInferenceJobs: output.batchInferenceJobs != null
5731
5605
  ? deserializeAws_json1_1BatchInferenceJobs(output.batchInferenceJobs, context)
5732
5606
  : undefined,
5733
5607
  nextToken: __expectString(output.nextToken),
@@ -5735,7 +5609,7 @@ var deserializeAws_json1_1ListBatchInferenceJobsResponse = function (output, con
5735
5609
  };
5736
5610
  var deserializeAws_json1_1ListBatchSegmentJobsResponse = function (output, context) {
5737
5611
  return {
5738
- batchSegmentJobs: output.batchSegmentJobs !== undefined && output.batchSegmentJobs !== null
5612
+ batchSegmentJobs: output.batchSegmentJobs != null
5739
5613
  ? deserializeAws_json1_1BatchSegmentJobs(output.batchSegmentJobs, context)
5740
5614
  : undefined,
5741
5615
  nextToken: __expectString(output.nextToken),
@@ -5743,15 +5617,13 @@ var deserializeAws_json1_1ListBatchSegmentJobsResponse = function (output, conte
5743
5617
  };
5744
5618
  var deserializeAws_json1_1ListCampaignsResponse = function (output, context) {
5745
5619
  return {
5746
- campaigns: output.campaigns !== undefined && output.campaigns !== null
5747
- ? deserializeAws_json1_1Campaigns(output.campaigns, context)
5748
- : undefined,
5620
+ campaigns: output.campaigns != null ? deserializeAws_json1_1Campaigns(output.campaigns, context) : undefined,
5749
5621
  nextToken: __expectString(output.nextToken),
5750
5622
  };
5751
5623
  };
5752
5624
  var deserializeAws_json1_1ListDatasetExportJobsResponse = function (output, context) {
5753
5625
  return {
5754
- datasetExportJobs: output.datasetExportJobs !== undefined && output.datasetExportJobs !== null
5626
+ datasetExportJobs: output.datasetExportJobs != null
5755
5627
  ? deserializeAws_json1_1DatasetExportJobs(output.datasetExportJobs, context)
5756
5628
  : undefined,
5757
5629
  nextToken: __expectString(output.nextToken),
@@ -5759,15 +5631,13 @@ var deserializeAws_json1_1ListDatasetExportJobsResponse = function (output, cont
5759
5631
  };
5760
5632
  var deserializeAws_json1_1ListDatasetGroupsResponse = function (output, context) {
5761
5633
  return {
5762
- datasetGroups: output.datasetGroups !== undefined && output.datasetGroups !== null
5763
- ? deserializeAws_json1_1DatasetGroups(output.datasetGroups, context)
5764
- : undefined,
5634
+ datasetGroups: output.datasetGroups != null ? deserializeAws_json1_1DatasetGroups(output.datasetGroups, context) : undefined,
5765
5635
  nextToken: __expectString(output.nextToken),
5766
5636
  };
5767
5637
  };
5768
5638
  var deserializeAws_json1_1ListDatasetImportJobsResponse = function (output, context) {
5769
5639
  return {
5770
- datasetImportJobs: output.datasetImportJobs !== undefined && output.datasetImportJobs !== null
5640
+ datasetImportJobs: output.datasetImportJobs != null
5771
5641
  ? deserializeAws_json1_1DatasetImportJobs(output.datasetImportJobs, context)
5772
5642
  : undefined,
5773
5643
  nextToken: __expectString(output.nextToken),
@@ -5775,71 +5645,57 @@ var deserializeAws_json1_1ListDatasetImportJobsResponse = function (output, cont
5775
5645
  };
5776
5646
  var deserializeAws_json1_1ListDatasetsResponse = function (output, context) {
5777
5647
  return {
5778
- datasets: output.datasets !== undefined && output.datasets !== null
5779
- ? deserializeAws_json1_1Datasets(output.datasets, context)
5780
- : undefined,
5648
+ datasets: output.datasets != null ? deserializeAws_json1_1Datasets(output.datasets, context) : undefined,
5781
5649
  nextToken: __expectString(output.nextToken),
5782
5650
  };
5783
5651
  };
5784
5652
  var deserializeAws_json1_1ListEventTrackersResponse = function (output, context) {
5785
5653
  return {
5786
- eventTrackers: output.eventTrackers !== undefined && output.eventTrackers !== null
5787
- ? deserializeAws_json1_1EventTrackers(output.eventTrackers, context)
5788
- : undefined,
5654
+ eventTrackers: output.eventTrackers != null ? deserializeAws_json1_1EventTrackers(output.eventTrackers, context) : undefined,
5789
5655
  nextToken: __expectString(output.nextToken),
5790
5656
  };
5791
5657
  };
5792
5658
  var deserializeAws_json1_1ListFiltersResponse = function (output, context) {
5793
5659
  return {
5794
- Filters: output.Filters !== undefined && output.Filters !== null
5795
- ? deserializeAws_json1_1Filters(output.Filters, context)
5796
- : undefined,
5660
+ Filters: output.Filters != null ? deserializeAws_json1_1Filters(output.Filters, context) : undefined,
5797
5661
  nextToken: __expectString(output.nextToken),
5798
5662
  };
5799
5663
  };
5800
5664
  var deserializeAws_json1_1ListRecipesResponse = function (output, context) {
5801
5665
  return {
5802
5666
  nextToken: __expectString(output.nextToken),
5803
- recipes: output.recipes !== undefined && output.recipes !== null
5804
- ? deserializeAws_json1_1Recipes(output.recipes, context)
5805
- : undefined,
5667
+ recipes: output.recipes != null ? deserializeAws_json1_1Recipes(output.recipes, context) : undefined,
5806
5668
  };
5807
5669
  };
5808
5670
  var deserializeAws_json1_1ListRecommendersResponse = function (output, context) {
5809
5671
  return {
5810
5672
  nextToken: __expectString(output.nextToken),
5811
- recommenders: output.recommenders !== undefined && output.recommenders !== null
5812
- ? deserializeAws_json1_1Recommenders(output.recommenders, context)
5813
- : undefined,
5673
+ recommenders: output.recommenders != null ? deserializeAws_json1_1Recommenders(output.recommenders, context) : undefined,
5814
5674
  };
5815
5675
  };
5816
5676
  var deserializeAws_json1_1ListSchemasResponse = function (output, context) {
5817
5677
  return {
5818
5678
  nextToken: __expectString(output.nextToken),
5819
- schemas: output.schemas !== undefined && output.schemas !== null
5820
- ? deserializeAws_json1_1Schemas(output.schemas, context)
5821
- : undefined,
5679
+ schemas: output.schemas != null ? deserializeAws_json1_1Schemas(output.schemas, context) : undefined,
5822
5680
  };
5823
5681
  };
5824
5682
  var deserializeAws_json1_1ListSolutionsResponse = function (output, context) {
5825
5683
  return {
5826
5684
  nextToken: __expectString(output.nextToken),
5827
- solutions: output.solutions !== undefined && output.solutions !== null
5828
- ? deserializeAws_json1_1Solutions(output.solutions, context)
5829
- : undefined,
5685
+ solutions: output.solutions != null ? deserializeAws_json1_1Solutions(output.solutions, context) : undefined,
5830
5686
  };
5831
5687
  };
5832
5688
  var deserializeAws_json1_1ListSolutionVersionsResponse = function (output, context) {
5833
5689
  return {
5834
5690
  nextToken: __expectString(output.nextToken),
5835
- solutionVersions: output.solutionVersions !== undefined && output.solutionVersions !== null
5691
+ solutionVersions: output.solutionVersions != null
5836
5692
  ? deserializeAws_json1_1SolutionVersions(output.solutionVersions, context)
5837
5693
  : undefined,
5838
5694
  };
5839
5695
  };
5840
5696
  var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
5841
5697
  return {
5842
- tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
5698
+ tags: output.tags != null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
5843
5699
  };
5844
5700
  };
5845
5701
  var deserializeAws_json1_1Metrics = function (output, context) {
@@ -5861,12 +5717,12 @@ var deserializeAws_json1_1OptimizationObjective = function (output, context) {
5861
5717
  var deserializeAws_json1_1Recipe = function (output, context) {
5862
5718
  return {
5863
5719
  algorithmArn: __expectString(output.algorithmArn),
5864
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5720
+ creationDateTime: output.creationDateTime != null
5865
5721
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5866
5722
  : undefined,
5867
5723
  description: __expectString(output.description),
5868
5724
  featureTransformationArn: __expectString(output.featureTransformationArn),
5869
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5725
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5870
5726
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5871
5727
  : undefined,
5872
5728
  name: __expectString(output.name),
@@ -5888,11 +5744,11 @@ var deserializeAws_json1_1Recipes = function (output, context) {
5888
5744
  };
5889
5745
  var deserializeAws_json1_1RecipeSummary = function (output, context) {
5890
5746
  return {
5891
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5747
+ creationDateTime: output.creationDateTime != null
5892
5748
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5893
5749
  : undefined,
5894
5750
  domain: __expectString(output.domain),
5895
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5751
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5896
5752
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5897
5753
  : undefined,
5898
5754
  name: __expectString(output.name),
@@ -5902,24 +5758,22 @@ var deserializeAws_json1_1RecipeSummary = function (output, context) {
5902
5758
  };
5903
5759
  var deserializeAws_json1_1Recommender = function (output, context) {
5904
5760
  return {
5905
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5761
+ creationDateTime: output.creationDateTime != null
5906
5762
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5907
5763
  : undefined,
5908
5764
  datasetGroupArn: __expectString(output.datasetGroupArn),
5909
5765
  failureReason: __expectString(output.failureReason),
5910
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5766
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5911
5767
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5912
5768
  : undefined,
5913
- latestRecommenderUpdate: output.latestRecommenderUpdate !== undefined && output.latestRecommenderUpdate !== null
5769
+ latestRecommenderUpdate: output.latestRecommenderUpdate != null
5914
5770
  ? deserializeAws_json1_1RecommenderUpdateSummary(output.latestRecommenderUpdate, context)
5915
5771
  : undefined,
5916
- modelMetrics: output.modelMetrics !== undefined && output.modelMetrics !== null
5917
- ? deserializeAws_json1_1Metrics(output.modelMetrics, context)
5918
- : undefined,
5772
+ modelMetrics: output.modelMetrics != null ? deserializeAws_json1_1Metrics(output.modelMetrics, context) : undefined,
5919
5773
  name: __expectString(output.name),
5920
5774
  recipeArn: __expectString(output.recipeArn),
5921
5775
  recommenderArn: __expectString(output.recommenderArn),
5922
- recommenderConfig: output.recommenderConfig !== undefined && output.recommenderConfig !== null
5776
+ recommenderConfig: output.recommenderConfig != null
5923
5777
  ? deserializeAws_json1_1RecommenderConfig(output.recommenderConfig, context)
5924
5778
  : undefined,
5925
5779
  status: __expectString(output.status),
@@ -5927,7 +5781,7 @@ var deserializeAws_json1_1Recommender = function (output, context) {
5927
5781
  };
5928
5782
  var deserializeAws_json1_1RecommenderConfig = function (output, context) {
5929
5783
  return {
5930
- itemExplorationConfig: output.itemExplorationConfig !== undefined && output.itemExplorationConfig !== null
5784
+ itemExplorationConfig: output.itemExplorationConfig != null
5931
5785
  ? deserializeAws_json1_1HyperParameters(output.itemExplorationConfig, context)
5932
5786
  : undefined,
5933
5787
  minRecommendationRequestsPerSecond: __expectInt32(output.minRecommendationRequestsPerSecond),
@@ -5946,17 +5800,17 @@ var deserializeAws_json1_1Recommenders = function (output, context) {
5946
5800
  };
5947
5801
  var deserializeAws_json1_1RecommenderSummary = function (output, context) {
5948
5802
  return {
5949
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5803
+ creationDateTime: output.creationDateTime != null
5950
5804
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5951
5805
  : undefined,
5952
5806
  datasetGroupArn: __expectString(output.datasetGroupArn),
5953
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5807
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5954
5808
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5955
5809
  : undefined,
5956
5810
  name: __expectString(output.name),
5957
5811
  recipeArn: __expectString(output.recipeArn),
5958
5812
  recommenderArn: __expectString(output.recommenderArn),
5959
- recommenderConfig: output.recommenderConfig !== undefined && output.recommenderConfig !== null
5813
+ recommenderConfig: output.recommenderConfig != null
5960
5814
  ? deserializeAws_json1_1RecommenderConfig(output.recommenderConfig, context)
5961
5815
  : undefined,
5962
5816
  status: __expectString(output.status),
@@ -5964,14 +5818,14 @@ var deserializeAws_json1_1RecommenderSummary = function (output, context) {
5964
5818
  };
5965
5819
  var deserializeAws_json1_1RecommenderUpdateSummary = function (output, context) {
5966
5820
  return {
5967
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5821
+ creationDateTime: output.creationDateTime != null
5968
5822
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
5969
5823
  : undefined,
5970
5824
  failureReason: __expectString(output.failureReason),
5971
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5825
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
5972
5826
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
5973
5827
  : undefined,
5974
- recommenderConfig: output.recommenderConfig !== undefined && output.recommenderConfig !== null
5828
+ recommenderConfig: output.recommenderConfig != null
5975
5829
  ? deserializeAws_json1_1RecommenderConfig(output.recommenderConfig, context)
5976
5830
  : undefined,
5977
5831
  status: __expectString(output.status),
@@ -6021,18 +5875,16 @@ var deserializeAws_json1_1Schemas = function (output, context) {
6021
5875
  };
6022
5876
  var deserializeAws_json1_1Solution = function (output, context) {
6023
5877
  return {
6024
- autoMLResult: output.autoMLResult !== undefined && output.autoMLResult !== null
6025
- ? deserializeAws_json1_1AutoMLResult(output.autoMLResult, context)
6026
- : undefined,
6027
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5878
+ autoMLResult: output.autoMLResult != null ? deserializeAws_json1_1AutoMLResult(output.autoMLResult, context) : undefined,
5879
+ creationDateTime: output.creationDateTime != null
6028
5880
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6029
5881
  : undefined,
6030
5882
  datasetGroupArn: __expectString(output.datasetGroupArn),
6031
5883
  eventType: __expectString(output.eventType),
6032
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5884
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
6033
5885
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6034
5886
  : undefined,
6035
- latestSolutionVersion: output.latestSolutionVersion !== undefined && output.latestSolutionVersion !== null
5887
+ latestSolutionVersion: output.latestSolutionVersion != null
6036
5888
  ? deserializeAws_json1_1SolutionVersionSummary(output.latestSolutionVersion, context)
6037
5889
  : undefined,
6038
5890
  name: __expectString(output.name),
@@ -6040,28 +5892,22 @@ var deserializeAws_json1_1Solution = function (output, context) {
6040
5892
  performHPO: __expectBoolean(output.performHPO),
6041
5893
  recipeArn: __expectString(output.recipeArn),
6042
5894
  solutionArn: __expectString(output.solutionArn),
6043
- solutionConfig: output.solutionConfig !== undefined && output.solutionConfig !== null
6044
- ? deserializeAws_json1_1SolutionConfig(output.solutionConfig, context)
6045
- : undefined,
5895
+ solutionConfig: output.solutionConfig != null ? deserializeAws_json1_1SolutionConfig(output.solutionConfig, context) : undefined,
6046
5896
  status: __expectString(output.status),
6047
5897
  };
6048
5898
  };
6049
5899
  var deserializeAws_json1_1SolutionConfig = function (output, context) {
6050
5900
  return {
6051
- algorithmHyperParameters: output.algorithmHyperParameters !== undefined && output.algorithmHyperParameters !== null
5901
+ algorithmHyperParameters: output.algorithmHyperParameters != null
6052
5902
  ? deserializeAws_json1_1HyperParameters(output.algorithmHyperParameters, context)
6053
5903
  : undefined,
6054
- autoMLConfig: output.autoMLConfig !== undefined && output.autoMLConfig !== null
6055
- ? deserializeAws_json1_1AutoMLConfig(output.autoMLConfig, context)
6056
- : undefined,
5904
+ autoMLConfig: output.autoMLConfig != null ? deserializeAws_json1_1AutoMLConfig(output.autoMLConfig, context) : undefined,
6057
5905
  eventValueThreshold: __expectString(output.eventValueThreshold),
6058
- featureTransformationParameters: output.featureTransformationParameters !== undefined && output.featureTransformationParameters !== null
5906
+ featureTransformationParameters: output.featureTransformationParameters != null
6059
5907
  ? deserializeAws_json1_1FeatureTransformationParameters(output.featureTransformationParameters, context)
6060
5908
  : undefined,
6061
- hpoConfig: output.hpoConfig !== undefined && output.hpoConfig !== null
6062
- ? deserializeAws_json1_1HPOConfig(output.hpoConfig, context)
6063
- : undefined,
6064
- optimizationObjective: output.optimizationObjective !== undefined && output.optimizationObjective !== null
5909
+ hpoConfig: output.hpoConfig != null ? deserializeAws_json1_1HPOConfig(output.hpoConfig, context) : undefined,
5910
+ optimizationObjective: output.optimizationObjective != null
6065
5911
  ? deserializeAws_json1_1OptimizationObjective(output.optimizationObjective, context)
6066
5912
  : undefined,
6067
5913
  };
@@ -6079,10 +5925,10 @@ var deserializeAws_json1_1Solutions = function (output, context) {
6079
5925
  };
6080
5926
  var deserializeAws_json1_1SolutionSummary = function (output, context) {
6081
5927
  return {
6082
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5928
+ creationDateTime: output.creationDateTime != null
6083
5929
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6084
5930
  : undefined,
6085
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5931
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
6086
5932
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6087
5933
  : undefined,
6088
5934
  name: __expectString(output.name),
@@ -6092,29 +5938,25 @@ var deserializeAws_json1_1SolutionSummary = function (output, context) {
6092
5938
  };
6093
5939
  var deserializeAws_json1_1SolutionVersion = function (output, context) {
6094
5940
  return {
6095
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5941
+ creationDateTime: output.creationDateTime != null
6096
5942
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6097
5943
  : undefined,
6098
5944
  datasetGroupArn: __expectString(output.datasetGroupArn),
6099
5945
  eventType: __expectString(output.eventType),
6100
5946
  failureReason: __expectString(output.failureReason),
6101
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5947
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
6102
5948
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6103
5949
  : undefined,
6104
5950
  performAutoML: __expectBoolean(output.performAutoML),
6105
5951
  performHPO: __expectBoolean(output.performHPO),
6106
5952
  recipeArn: __expectString(output.recipeArn),
6107
5953
  solutionArn: __expectString(output.solutionArn),
6108
- solutionConfig: output.solutionConfig !== undefined && output.solutionConfig !== null
6109
- ? deserializeAws_json1_1SolutionConfig(output.solutionConfig, context)
6110
- : undefined,
5954
+ solutionConfig: output.solutionConfig != null ? deserializeAws_json1_1SolutionConfig(output.solutionConfig, context) : undefined,
6111
5955
  solutionVersionArn: __expectString(output.solutionVersionArn),
6112
5956
  status: __expectString(output.status),
6113
5957
  trainingHours: __limitedParseDouble(output.trainingHours),
6114
5958
  trainingMode: __expectString(output.trainingMode),
6115
- tunedHPOParams: output.tunedHPOParams !== undefined && output.tunedHPOParams !== null
6116
- ? deserializeAws_json1_1TunedHPOParams(output.tunedHPOParams, context)
6117
- : undefined,
5959
+ tunedHPOParams: output.tunedHPOParams != null ? deserializeAws_json1_1TunedHPOParams(output.tunedHPOParams, context) : undefined,
6118
5960
  };
6119
5961
  };
6120
5962
  var deserializeAws_json1_1SolutionVersions = function (output, context) {
@@ -6130,11 +5972,11 @@ var deserializeAws_json1_1SolutionVersions = function (output, context) {
6130
5972
  };
6131
5973
  var deserializeAws_json1_1SolutionVersionSummary = function (output, context) {
6132
5974
  return {
6133
- creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
5975
+ creationDateTime: output.creationDateTime != null
6134
5976
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDateTime)))
6135
5977
  : undefined,
6136
5978
  failureReason: __expectString(output.failureReason),
6137
- lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
5979
+ lastUpdatedDateTime: output.lastUpdatedDateTime != null
6138
5980
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
6139
5981
  : undefined,
6140
5982
  solutionVersionArn: __expectString(output.solutionVersionArn),
@@ -6183,7 +6025,7 @@ var deserializeAws_json1_1TooManyTagsException = function (output, context) {
6183
6025
  };
6184
6026
  var deserializeAws_json1_1TunedHPOParams = function (output, context) {
6185
6027
  return {
6186
- algorithmHyperParameters: output.algorithmHyperParameters !== undefined && output.algorithmHyperParameters !== null
6028
+ algorithmHyperParameters: output.algorithmHyperParameters != null
6187
6029
  ? deserializeAws_json1_1HyperParameters(output.algorithmHyperParameters, context)
6188
6030
  : undefined,
6189
6031
  };