@aws-sdk/client-sagemaker 3.315.0 → 3.317.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.
Files changed (55) hide show
  1. package/dist-cjs/SageMaker.js +306 -4228
  2. package/dist-cjs/protocols/Aws_json1_1.js +9 -9
  3. package/dist-es/SageMaker.js +306 -4228
  4. package/dist-es/protocols/Aws_json1_1.js +9 -9
  5. package/dist-types/SageMaker.d.ts +324 -1612
  6. package/dist-types/commands/AddTagsCommand.d.ts +2 -2
  7. package/dist-types/commands/AssociateTrialComponentCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateCompilationJobCommand.d.ts +3 -3
  9. package/dist-types/commands/CreateDomainCommand.d.ts +4 -0
  10. package/dist-types/commands/CreateEdgePackagingJobCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateEndpointCommand.d.ts +5 -5
  12. package/dist-types/commands/CreateEndpointConfigCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateExperimentCommand.d.ts +5 -6
  14. package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateTrialCommand.d.ts +4 -4
  16. package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateUserProfileCommand.d.ts +4 -0
  18. package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteExperimentCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteHumanTaskUiCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteTagsCommand.d.ts +1 -2
  22. package/dist-types/commands/DeleteTrialCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteTrialComponentCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteWorkforceCommand.d.ts +2 -2
  25. package/dist-types/commands/DescribeCompilationJobCommand.d.ts +2 -2
  26. package/dist-types/commands/DisassociateTrialComponentCommand.d.ts +2 -2
  27. package/dist-types/commands/ListCompilationJobsCommand.d.ts +2 -2
  28. package/dist-types/commands/ListHyperParameterTuningJobsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListNotebookInstanceLifecycleConfigsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
  31. package/dist-types/commands/StopCompilationJobCommand.d.ts +2 -2
  32. package/dist-types/commands/UpdateActionCommand.d.ts +2 -1
  33. package/dist-types/commands/UpdateDomainCommand.d.ts +4 -0
  34. package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateInferenceExperimentCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateUserProfileCommand.d.ts +4 -0
  40. package/dist-types/commands/UpdateWorkforceCommand.d.ts +2 -2
  41. package/dist-types/models/models_0.d.ts +52 -65
  42. package/dist-types/models/models_1.d.ts +88 -58
  43. package/dist-types/models/models_2.d.ts +76 -100
  44. package/dist-types/models/models_3.d.ts +63 -40
  45. package/dist-types/models/models_4.d.ts +20 -9
  46. package/dist-types/ts3.4/SageMaker.d.ts +2 -1
  47. package/dist-types/ts3.4/commands/CreateEdgePackagingJobCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +1 -2
  49. package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +2 -1
  50. package/dist-types/ts3.4/models/models_0.d.ts +5 -10
  51. package/dist-types/ts3.4/models/models_1.d.ts +11 -4
  52. package/dist-types/ts3.4/models/models_2.d.ts +4 -8
  53. package/dist-types/ts3.4/models/models_3.d.ts +9 -4
  54. package/dist-types/ts3.4/models/models_4.d.ts +3 -0
  55. package/package.json +6 -6
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { AddAssociationCommand, } from "./commands/AddAssociationCommand";
2
3
  import { AddTagsCommand } from "./commands/AddTagsCommand";
3
4
  import { AssociateTrialComponentCommand, } from "./commands/AssociateTrialComponentCommand";
@@ -301,4233 +302,310 @@ import { UpdateUserProfileCommand, } from "./commands/UpdateUserProfileCommand";
301
302
  import { UpdateWorkforceCommand, } from "./commands/UpdateWorkforceCommand";
302
303
  import { UpdateWorkteamCommand, } from "./commands/UpdateWorkteamCommand";
303
304
  import { SageMakerClient } from "./SageMakerClient";
305
+ const commands = {
306
+ AddAssociationCommand,
307
+ AddTagsCommand,
308
+ AssociateTrialComponentCommand,
309
+ BatchDescribeModelPackageCommand,
310
+ CreateActionCommand,
311
+ CreateAlgorithmCommand,
312
+ CreateAppCommand,
313
+ CreateAppImageConfigCommand,
314
+ CreateArtifactCommand,
315
+ CreateAutoMLJobCommand,
316
+ CreateAutoMLJobV2Command,
317
+ CreateCodeRepositoryCommand,
318
+ CreateCompilationJobCommand,
319
+ CreateContextCommand,
320
+ CreateDataQualityJobDefinitionCommand,
321
+ CreateDeviceFleetCommand,
322
+ CreateDomainCommand,
323
+ CreateEdgeDeploymentPlanCommand,
324
+ CreateEdgeDeploymentStageCommand,
325
+ CreateEdgePackagingJobCommand,
326
+ CreateEndpointCommand,
327
+ CreateEndpointConfigCommand,
328
+ CreateExperimentCommand,
329
+ CreateFeatureGroupCommand,
330
+ CreateFlowDefinitionCommand,
331
+ CreateHubCommand,
332
+ CreateHumanTaskUiCommand,
333
+ CreateHyperParameterTuningJobCommand,
334
+ CreateImageCommand,
335
+ CreateImageVersionCommand,
336
+ CreateInferenceExperimentCommand,
337
+ CreateInferenceRecommendationsJobCommand,
338
+ CreateLabelingJobCommand,
339
+ CreateModelCommand,
340
+ CreateModelBiasJobDefinitionCommand,
341
+ CreateModelCardCommand,
342
+ CreateModelCardExportJobCommand,
343
+ CreateModelExplainabilityJobDefinitionCommand,
344
+ CreateModelPackageCommand,
345
+ CreateModelPackageGroupCommand,
346
+ CreateModelQualityJobDefinitionCommand,
347
+ CreateMonitoringScheduleCommand,
348
+ CreateNotebookInstanceCommand,
349
+ CreateNotebookInstanceLifecycleConfigCommand,
350
+ CreatePipelineCommand,
351
+ CreatePresignedDomainUrlCommand,
352
+ CreatePresignedNotebookInstanceUrlCommand,
353
+ CreateProcessingJobCommand,
354
+ CreateProjectCommand,
355
+ CreateSpaceCommand,
356
+ CreateStudioLifecycleConfigCommand,
357
+ CreateTrainingJobCommand,
358
+ CreateTransformJobCommand,
359
+ CreateTrialCommand,
360
+ CreateTrialComponentCommand,
361
+ CreateUserProfileCommand,
362
+ CreateWorkforceCommand,
363
+ CreateWorkteamCommand,
364
+ DeleteActionCommand,
365
+ DeleteAlgorithmCommand,
366
+ DeleteAppCommand,
367
+ DeleteAppImageConfigCommand,
368
+ DeleteArtifactCommand,
369
+ DeleteAssociationCommand,
370
+ DeleteCodeRepositoryCommand,
371
+ DeleteContextCommand,
372
+ DeleteDataQualityJobDefinitionCommand,
373
+ DeleteDeviceFleetCommand,
374
+ DeleteDomainCommand,
375
+ DeleteEdgeDeploymentPlanCommand,
376
+ DeleteEdgeDeploymentStageCommand,
377
+ DeleteEndpointCommand,
378
+ DeleteEndpointConfigCommand,
379
+ DeleteExperimentCommand,
380
+ DeleteFeatureGroupCommand,
381
+ DeleteFlowDefinitionCommand,
382
+ DeleteHubCommand,
383
+ DeleteHubContentCommand,
384
+ DeleteHumanTaskUiCommand,
385
+ DeleteImageCommand,
386
+ DeleteImageVersionCommand,
387
+ DeleteInferenceExperimentCommand,
388
+ DeleteModelCommand,
389
+ DeleteModelBiasJobDefinitionCommand,
390
+ DeleteModelCardCommand,
391
+ DeleteModelExplainabilityJobDefinitionCommand,
392
+ DeleteModelPackageCommand,
393
+ DeleteModelPackageGroupCommand,
394
+ DeleteModelPackageGroupPolicyCommand,
395
+ DeleteModelQualityJobDefinitionCommand,
396
+ DeleteMonitoringScheduleCommand,
397
+ DeleteNotebookInstanceCommand,
398
+ DeleteNotebookInstanceLifecycleConfigCommand,
399
+ DeletePipelineCommand,
400
+ DeleteProjectCommand,
401
+ DeleteSpaceCommand,
402
+ DeleteStudioLifecycleConfigCommand,
403
+ DeleteTagsCommand,
404
+ DeleteTrialCommand,
405
+ DeleteTrialComponentCommand,
406
+ DeleteUserProfileCommand,
407
+ DeleteWorkforceCommand,
408
+ DeleteWorkteamCommand,
409
+ DeregisterDevicesCommand,
410
+ DescribeActionCommand,
411
+ DescribeAlgorithmCommand,
412
+ DescribeAppCommand,
413
+ DescribeAppImageConfigCommand,
414
+ DescribeArtifactCommand,
415
+ DescribeAutoMLJobCommand,
416
+ DescribeAutoMLJobV2Command,
417
+ DescribeCodeRepositoryCommand,
418
+ DescribeCompilationJobCommand,
419
+ DescribeContextCommand,
420
+ DescribeDataQualityJobDefinitionCommand,
421
+ DescribeDeviceCommand,
422
+ DescribeDeviceFleetCommand,
423
+ DescribeDomainCommand,
424
+ DescribeEdgeDeploymentPlanCommand,
425
+ DescribeEdgePackagingJobCommand,
426
+ DescribeEndpointCommand,
427
+ DescribeEndpointConfigCommand,
428
+ DescribeExperimentCommand,
429
+ DescribeFeatureGroupCommand,
430
+ DescribeFeatureMetadataCommand,
431
+ DescribeFlowDefinitionCommand,
432
+ DescribeHubCommand,
433
+ DescribeHubContentCommand,
434
+ DescribeHumanTaskUiCommand,
435
+ DescribeHyperParameterTuningJobCommand,
436
+ DescribeImageCommand,
437
+ DescribeImageVersionCommand,
438
+ DescribeInferenceExperimentCommand,
439
+ DescribeInferenceRecommendationsJobCommand,
440
+ DescribeLabelingJobCommand,
441
+ DescribeLineageGroupCommand,
442
+ DescribeModelCommand,
443
+ DescribeModelBiasJobDefinitionCommand,
444
+ DescribeModelCardCommand,
445
+ DescribeModelCardExportJobCommand,
446
+ DescribeModelExplainabilityJobDefinitionCommand,
447
+ DescribeModelPackageCommand,
448
+ DescribeModelPackageGroupCommand,
449
+ DescribeModelQualityJobDefinitionCommand,
450
+ DescribeMonitoringScheduleCommand,
451
+ DescribeNotebookInstanceCommand,
452
+ DescribeNotebookInstanceLifecycleConfigCommand,
453
+ DescribePipelineCommand,
454
+ DescribePipelineDefinitionForExecutionCommand,
455
+ DescribePipelineExecutionCommand,
456
+ DescribeProcessingJobCommand,
457
+ DescribeProjectCommand,
458
+ DescribeSpaceCommand,
459
+ DescribeStudioLifecycleConfigCommand,
460
+ DescribeSubscribedWorkteamCommand,
461
+ DescribeTrainingJobCommand,
462
+ DescribeTransformJobCommand,
463
+ DescribeTrialCommand,
464
+ DescribeTrialComponentCommand,
465
+ DescribeUserProfileCommand,
466
+ DescribeWorkforceCommand,
467
+ DescribeWorkteamCommand,
468
+ DisableSagemakerServicecatalogPortfolioCommand,
469
+ DisassociateTrialComponentCommand,
470
+ EnableSagemakerServicecatalogPortfolioCommand,
471
+ GetDeviceFleetReportCommand,
472
+ GetLineageGroupPolicyCommand,
473
+ GetModelPackageGroupPolicyCommand,
474
+ GetSagemakerServicecatalogPortfolioStatusCommand,
475
+ GetSearchSuggestionsCommand,
476
+ ImportHubContentCommand,
477
+ ListActionsCommand,
478
+ ListAlgorithmsCommand,
479
+ ListAliasesCommand,
480
+ ListAppImageConfigsCommand,
481
+ ListAppsCommand,
482
+ ListArtifactsCommand,
483
+ ListAssociationsCommand,
484
+ ListAutoMLJobsCommand,
485
+ ListCandidatesForAutoMLJobCommand,
486
+ ListCodeRepositoriesCommand,
487
+ ListCompilationJobsCommand,
488
+ ListContextsCommand,
489
+ ListDataQualityJobDefinitionsCommand,
490
+ ListDeviceFleetsCommand,
491
+ ListDevicesCommand,
492
+ ListDomainsCommand,
493
+ ListEdgeDeploymentPlansCommand,
494
+ ListEdgePackagingJobsCommand,
495
+ ListEndpointConfigsCommand,
496
+ ListEndpointsCommand,
497
+ ListExperimentsCommand,
498
+ ListFeatureGroupsCommand,
499
+ ListFlowDefinitionsCommand,
500
+ ListHubContentsCommand,
501
+ ListHubContentVersionsCommand,
502
+ ListHubsCommand,
503
+ ListHumanTaskUisCommand,
504
+ ListHyperParameterTuningJobsCommand,
505
+ ListImagesCommand,
506
+ ListImageVersionsCommand,
507
+ ListInferenceExperimentsCommand,
508
+ ListInferenceRecommendationsJobsCommand,
509
+ ListInferenceRecommendationsJobStepsCommand,
510
+ ListLabelingJobsCommand,
511
+ ListLabelingJobsForWorkteamCommand,
512
+ ListLineageGroupsCommand,
513
+ ListModelBiasJobDefinitionsCommand,
514
+ ListModelCardExportJobsCommand,
515
+ ListModelCardsCommand,
516
+ ListModelCardVersionsCommand,
517
+ ListModelExplainabilityJobDefinitionsCommand,
518
+ ListModelMetadataCommand,
519
+ ListModelPackageGroupsCommand,
520
+ ListModelPackagesCommand,
521
+ ListModelQualityJobDefinitionsCommand,
522
+ ListModelsCommand,
523
+ ListMonitoringAlertHistoryCommand,
524
+ ListMonitoringAlertsCommand,
525
+ ListMonitoringExecutionsCommand,
526
+ ListMonitoringSchedulesCommand,
527
+ ListNotebookInstanceLifecycleConfigsCommand,
528
+ ListNotebookInstancesCommand,
529
+ ListPipelineExecutionsCommand,
530
+ ListPipelineExecutionStepsCommand,
531
+ ListPipelineParametersForExecutionCommand,
532
+ ListPipelinesCommand,
533
+ ListProcessingJobsCommand,
534
+ ListProjectsCommand,
535
+ ListSpacesCommand,
536
+ ListStageDevicesCommand,
537
+ ListStudioLifecycleConfigsCommand,
538
+ ListSubscribedWorkteamsCommand,
539
+ ListTagsCommand,
540
+ ListTrainingJobsCommand,
541
+ ListTrainingJobsForHyperParameterTuningJobCommand,
542
+ ListTransformJobsCommand,
543
+ ListTrialComponentsCommand,
544
+ ListTrialsCommand,
545
+ ListUserProfilesCommand,
546
+ ListWorkforcesCommand,
547
+ ListWorkteamsCommand,
548
+ PutModelPackageGroupPolicyCommand,
549
+ QueryLineageCommand,
550
+ RegisterDevicesCommand,
551
+ RenderUiTemplateCommand,
552
+ RetryPipelineExecutionCommand,
553
+ SearchCommand,
554
+ SendPipelineExecutionStepFailureCommand,
555
+ SendPipelineExecutionStepSuccessCommand,
556
+ StartEdgeDeploymentStageCommand,
557
+ StartInferenceExperimentCommand,
558
+ StartMonitoringScheduleCommand,
559
+ StartNotebookInstanceCommand,
560
+ StartPipelineExecutionCommand,
561
+ StopAutoMLJobCommand,
562
+ StopCompilationJobCommand,
563
+ StopEdgeDeploymentStageCommand,
564
+ StopEdgePackagingJobCommand,
565
+ StopHyperParameterTuningJobCommand,
566
+ StopInferenceExperimentCommand,
567
+ StopInferenceRecommendationsJobCommand,
568
+ StopLabelingJobCommand,
569
+ StopMonitoringScheduleCommand,
570
+ StopNotebookInstanceCommand,
571
+ StopPipelineExecutionCommand,
572
+ StopProcessingJobCommand,
573
+ StopTrainingJobCommand,
574
+ StopTransformJobCommand,
575
+ UpdateActionCommand,
576
+ UpdateAppImageConfigCommand,
577
+ UpdateArtifactCommand,
578
+ UpdateCodeRepositoryCommand,
579
+ UpdateContextCommand,
580
+ UpdateDeviceFleetCommand,
581
+ UpdateDevicesCommand,
582
+ UpdateDomainCommand,
583
+ UpdateEndpointCommand,
584
+ UpdateEndpointWeightsAndCapacitiesCommand,
585
+ UpdateExperimentCommand,
586
+ UpdateFeatureGroupCommand,
587
+ UpdateFeatureMetadataCommand,
588
+ UpdateHubCommand,
589
+ UpdateImageCommand,
590
+ UpdateImageVersionCommand,
591
+ UpdateInferenceExperimentCommand,
592
+ UpdateModelCardCommand,
593
+ UpdateModelPackageCommand,
594
+ UpdateMonitoringAlertCommand,
595
+ UpdateMonitoringScheduleCommand,
596
+ UpdateNotebookInstanceCommand,
597
+ UpdateNotebookInstanceLifecycleConfigCommand,
598
+ UpdatePipelineCommand,
599
+ UpdatePipelineExecutionCommand,
600
+ UpdateProjectCommand,
601
+ UpdateSpaceCommand,
602
+ UpdateTrainingJobCommand,
603
+ UpdateTrialCommand,
604
+ UpdateTrialComponentCommand,
605
+ UpdateUserProfileCommand,
606
+ UpdateWorkforceCommand,
607
+ UpdateWorkteamCommand,
608
+ };
304
609
  export class SageMaker extends SageMakerClient {
305
- addAssociation(args, optionsOrCb, cb) {
306
- const command = new AddAssociationCommand(args);
307
- if (typeof optionsOrCb === "function") {
308
- this.send(command, optionsOrCb);
309
- }
310
- else if (typeof cb === "function") {
311
- if (typeof optionsOrCb !== "object")
312
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
313
- this.send(command, optionsOrCb || {}, cb);
314
- }
315
- else {
316
- return this.send(command, optionsOrCb);
317
- }
318
- }
319
- addTags(args, optionsOrCb, cb) {
320
- const command = new AddTagsCommand(args);
321
- if (typeof optionsOrCb === "function") {
322
- this.send(command, optionsOrCb);
323
- }
324
- else if (typeof cb === "function") {
325
- if (typeof optionsOrCb !== "object")
326
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
327
- this.send(command, optionsOrCb || {}, cb);
328
- }
329
- else {
330
- return this.send(command, optionsOrCb);
331
- }
332
- }
333
- associateTrialComponent(args, optionsOrCb, cb) {
334
- const command = new AssociateTrialComponentCommand(args);
335
- if (typeof optionsOrCb === "function") {
336
- this.send(command, optionsOrCb);
337
- }
338
- else if (typeof cb === "function") {
339
- if (typeof optionsOrCb !== "object")
340
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
341
- this.send(command, optionsOrCb || {}, cb);
342
- }
343
- else {
344
- return this.send(command, optionsOrCb);
345
- }
346
- }
347
- batchDescribeModelPackage(args, optionsOrCb, cb) {
348
- const command = new BatchDescribeModelPackageCommand(args);
349
- if (typeof optionsOrCb === "function") {
350
- this.send(command, optionsOrCb);
351
- }
352
- else if (typeof cb === "function") {
353
- if (typeof optionsOrCb !== "object")
354
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
355
- this.send(command, optionsOrCb || {}, cb);
356
- }
357
- else {
358
- return this.send(command, optionsOrCb);
359
- }
360
- }
361
- createAction(args, optionsOrCb, cb) {
362
- const command = new CreateActionCommand(args);
363
- if (typeof optionsOrCb === "function") {
364
- this.send(command, optionsOrCb);
365
- }
366
- else if (typeof cb === "function") {
367
- if (typeof optionsOrCb !== "object")
368
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
369
- this.send(command, optionsOrCb || {}, cb);
370
- }
371
- else {
372
- return this.send(command, optionsOrCb);
373
- }
374
- }
375
- createAlgorithm(args, optionsOrCb, cb) {
376
- const command = new CreateAlgorithmCommand(args);
377
- if (typeof optionsOrCb === "function") {
378
- this.send(command, optionsOrCb);
379
- }
380
- else if (typeof cb === "function") {
381
- if (typeof optionsOrCb !== "object")
382
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
383
- this.send(command, optionsOrCb || {}, cb);
384
- }
385
- else {
386
- return this.send(command, optionsOrCb);
387
- }
388
- }
389
- createApp(args, optionsOrCb, cb) {
390
- const command = new CreateAppCommand(args);
391
- if (typeof optionsOrCb === "function") {
392
- this.send(command, optionsOrCb);
393
- }
394
- else if (typeof cb === "function") {
395
- if (typeof optionsOrCb !== "object")
396
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
397
- this.send(command, optionsOrCb || {}, cb);
398
- }
399
- else {
400
- return this.send(command, optionsOrCb);
401
- }
402
- }
403
- createAppImageConfig(args, optionsOrCb, cb) {
404
- const command = new CreateAppImageConfigCommand(args);
405
- if (typeof optionsOrCb === "function") {
406
- this.send(command, optionsOrCb);
407
- }
408
- else if (typeof cb === "function") {
409
- if (typeof optionsOrCb !== "object")
410
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
411
- this.send(command, optionsOrCb || {}, cb);
412
- }
413
- else {
414
- return this.send(command, optionsOrCb);
415
- }
416
- }
417
- createArtifact(args, optionsOrCb, cb) {
418
- const command = new CreateArtifactCommand(args);
419
- if (typeof optionsOrCb === "function") {
420
- this.send(command, optionsOrCb);
421
- }
422
- else if (typeof cb === "function") {
423
- if (typeof optionsOrCb !== "object")
424
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
425
- this.send(command, optionsOrCb || {}, cb);
426
- }
427
- else {
428
- return this.send(command, optionsOrCb);
429
- }
430
- }
431
- createAutoMLJob(args, optionsOrCb, cb) {
432
- const command = new CreateAutoMLJobCommand(args);
433
- if (typeof optionsOrCb === "function") {
434
- this.send(command, optionsOrCb);
435
- }
436
- else if (typeof cb === "function") {
437
- if (typeof optionsOrCb !== "object")
438
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
439
- this.send(command, optionsOrCb || {}, cb);
440
- }
441
- else {
442
- return this.send(command, optionsOrCb);
443
- }
444
- }
445
- createAutoMLJobV2(args, optionsOrCb, cb) {
446
- const command = new CreateAutoMLJobV2Command(args);
447
- if (typeof optionsOrCb === "function") {
448
- this.send(command, optionsOrCb);
449
- }
450
- else if (typeof cb === "function") {
451
- if (typeof optionsOrCb !== "object")
452
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
453
- this.send(command, optionsOrCb || {}, cb);
454
- }
455
- else {
456
- return this.send(command, optionsOrCb);
457
- }
458
- }
459
- createCodeRepository(args, optionsOrCb, cb) {
460
- const command = new CreateCodeRepositoryCommand(args);
461
- if (typeof optionsOrCb === "function") {
462
- this.send(command, optionsOrCb);
463
- }
464
- else if (typeof cb === "function") {
465
- if (typeof optionsOrCb !== "object")
466
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
467
- this.send(command, optionsOrCb || {}, cb);
468
- }
469
- else {
470
- return this.send(command, optionsOrCb);
471
- }
472
- }
473
- createCompilationJob(args, optionsOrCb, cb) {
474
- const command = new CreateCompilationJobCommand(args);
475
- if (typeof optionsOrCb === "function") {
476
- this.send(command, optionsOrCb);
477
- }
478
- else if (typeof cb === "function") {
479
- if (typeof optionsOrCb !== "object")
480
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
481
- this.send(command, optionsOrCb || {}, cb);
482
- }
483
- else {
484
- return this.send(command, optionsOrCb);
485
- }
486
- }
487
- createContext(args, optionsOrCb, cb) {
488
- const command = new CreateContextCommand(args);
489
- if (typeof optionsOrCb === "function") {
490
- this.send(command, optionsOrCb);
491
- }
492
- else if (typeof cb === "function") {
493
- if (typeof optionsOrCb !== "object")
494
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
495
- this.send(command, optionsOrCb || {}, cb);
496
- }
497
- else {
498
- return this.send(command, optionsOrCb);
499
- }
500
- }
501
- createDataQualityJobDefinition(args, optionsOrCb, cb) {
502
- const command = new CreateDataQualityJobDefinitionCommand(args);
503
- if (typeof optionsOrCb === "function") {
504
- this.send(command, optionsOrCb);
505
- }
506
- else if (typeof cb === "function") {
507
- if (typeof optionsOrCb !== "object")
508
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
509
- this.send(command, optionsOrCb || {}, cb);
510
- }
511
- else {
512
- return this.send(command, optionsOrCb);
513
- }
514
- }
515
- createDeviceFleet(args, optionsOrCb, cb) {
516
- const command = new CreateDeviceFleetCommand(args);
517
- if (typeof optionsOrCb === "function") {
518
- this.send(command, optionsOrCb);
519
- }
520
- else if (typeof cb === "function") {
521
- if (typeof optionsOrCb !== "object")
522
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
523
- this.send(command, optionsOrCb || {}, cb);
524
- }
525
- else {
526
- return this.send(command, optionsOrCb);
527
- }
528
- }
529
- createDomain(args, optionsOrCb, cb) {
530
- const command = new CreateDomainCommand(args);
531
- if (typeof optionsOrCb === "function") {
532
- this.send(command, optionsOrCb);
533
- }
534
- else if (typeof cb === "function") {
535
- if (typeof optionsOrCb !== "object")
536
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
537
- this.send(command, optionsOrCb || {}, cb);
538
- }
539
- else {
540
- return this.send(command, optionsOrCb);
541
- }
542
- }
543
- createEdgeDeploymentPlan(args, optionsOrCb, cb) {
544
- const command = new CreateEdgeDeploymentPlanCommand(args);
545
- if (typeof optionsOrCb === "function") {
546
- this.send(command, optionsOrCb);
547
- }
548
- else if (typeof cb === "function") {
549
- if (typeof optionsOrCb !== "object")
550
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
551
- this.send(command, optionsOrCb || {}, cb);
552
- }
553
- else {
554
- return this.send(command, optionsOrCb);
555
- }
556
- }
557
- createEdgeDeploymentStage(args, optionsOrCb, cb) {
558
- const command = new CreateEdgeDeploymentStageCommand(args);
559
- if (typeof optionsOrCb === "function") {
560
- this.send(command, optionsOrCb);
561
- }
562
- else if (typeof cb === "function") {
563
- if (typeof optionsOrCb !== "object")
564
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
565
- this.send(command, optionsOrCb || {}, cb);
566
- }
567
- else {
568
- return this.send(command, optionsOrCb);
569
- }
570
- }
571
- createEdgePackagingJob(args, optionsOrCb, cb) {
572
- const command = new CreateEdgePackagingJobCommand(args);
573
- if (typeof optionsOrCb === "function") {
574
- this.send(command, optionsOrCb);
575
- }
576
- else if (typeof cb === "function") {
577
- if (typeof optionsOrCb !== "object")
578
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
579
- this.send(command, optionsOrCb || {}, cb);
580
- }
581
- else {
582
- return this.send(command, optionsOrCb);
583
- }
584
- }
585
- createEndpoint(args, optionsOrCb, cb) {
586
- const command = new CreateEndpointCommand(args);
587
- if (typeof optionsOrCb === "function") {
588
- this.send(command, optionsOrCb);
589
- }
590
- else if (typeof cb === "function") {
591
- if (typeof optionsOrCb !== "object")
592
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
593
- this.send(command, optionsOrCb || {}, cb);
594
- }
595
- else {
596
- return this.send(command, optionsOrCb);
597
- }
598
- }
599
- createEndpointConfig(args, optionsOrCb, cb) {
600
- const command = new CreateEndpointConfigCommand(args);
601
- if (typeof optionsOrCb === "function") {
602
- this.send(command, optionsOrCb);
603
- }
604
- else if (typeof cb === "function") {
605
- if (typeof optionsOrCb !== "object")
606
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
607
- this.send(command, optionsOrCb || {}, cb);
608
- }
609
- else {
610
- return this.send(command, optionsOrCb);
611
- }
612
- }
613
- createExperiment(args, optionsOrCb, cb) {
614
- const command = new CreateExperimentCommand(args);
615
- if (typeof optionsOrCb === "function") {
616
- this.send(command, optionsOrCb);
617
- }
618
- else if (typeof cb === "function") {
619
- if (typeof optionsOrCb !== "object")
620
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
621
- this.send(command, optionsOrCb || {}, cb);
622
- }
623
- else {
624
- return this.send(command, optionsOrCb);
625
- }
626
- }
627
- createFeatureGroup(args, optionsOrCb, cb) {
628
- const command = new CreateFeatureGroupCommand(args);
629
- if (typeof optionsOrCb === "function") {
630
- this.send(command, optionsOrCb);
631
- }
632
- else if (typeof cb === "function") {
633
- if (typeof optionsOrCb !== "object")
634
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
635
- this.send(command, optionsOrCb || {}, cb);
636
- }
637
- else {
638
- return this.send(command, optionsOrCb);
639
- }
640
- }
641
- createFlowDefinition(args, optionsOrCb, cb) {
642
- const command = new CreateFlowDefinitionCommand(args);
643
- if (typeof optionsOrCb === "function") {
644
- this.send(command, optionsOrCb);
645
- }
646
- else if (typeof cb === "function") {
647
- if (typeof optionsOrCb !== "object")
648
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
649
- this.send(command, optionsOrCb || {}, cb);
650
- }
651
- else {
652
- return this.send(command, optionsOrCb);
653
- }
654
- }
655
- createHub(args, optionsOrCb, cb) {
656
- const command = new CreateHubCommand(args);
657
- if (typeof optionsOrCb === "function") {
658
- this.send(command, optionsOrCb);
659
- }
660
- else if (typeof cb === "function") {
661
- if (typeof optionsOrCb !== "object")
662
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
663
- this.send(command, optionsOrCb || {}, cb);
664
- }
665
- else {
666
- return this.send(command, optionsOrCb);
667
- }
668
- }
669
- createHumanTaskUi(args, optionsOrCb, cb) {
670
- const command = new CreateHumanTaskUiCommand(args);
671
- if (typeof optionsOrCb === "function") {
672
- this.send(command, optionsOrCb);
673
- }
674
- else if (typeof cb === "function") {
675
- if (typeof optionsOrCb !== "object")
676
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
677
- this.send(command, optionsOrCb || {}, cb);
678
- }
679
- else {
680
- return this.send(command, optionsOrCb);
681
- }
682
- }
683
- createHyperParameterTuningJob(args, optionsOrCb, cb) {
684
- const command = new CreateHyperParameterTuningJobCommand(args);
685
- if (typeof optionsOrCb === "function") {
686
- this.send(command, optionsOrCb);
687
- }
688
- else if (typeof cb === "function") {
689
- if (typeof optionsOrCb !== "object")
690
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
691
- this.send(command, optionsOrCb || {}, cb);
692
- }
693
- else {
694
- return this.send(command, optionsOrCb);
695
- }
696
- }
697
- createImage(args, optionsOrCb, cb) {
698
- const command = new CreateImageCommand(args);
699
- if (typeof optionsOrCb === "function") {
700
- this.send(command, optionsOrCb);
701
- }
702
- else if (typeof cb === "function") {
703
- if (typeof optionsOrCb !== "object")
704
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
705
- this.send(command, optionsOrCb || {}, cb);
706
- }
707
- else {
708
- return this.send(command, optionsOrCb);
709
- }
710
- }
711
- createImageVersion(args, optionsOrCb, cb) {
712
- const command = new CreateImageVersionCommand(args);
713
- if (typeof optionsOrCb === "function") {
714
- this.send(command, optionsOrCb);
715
- }
716
- else if (typeof cb === "function") {
717
- if (typeof optionsOrCb !== "object")
718
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
719
- this.send(command, optionsOrCb || {}, cb);
720
- }
721
- else {
722
- return this.send(command, optionsOrCb);
723
- }
724
- }
725
- createInferenceExperiment(args, optionsOrCb, cb) {
726
- const command = new CreateInferenceExperimentCommand(args);
727
- if (typeof optionsOrCb === "function") {
728
- this.send(command, optionsOrCb);
729
- }
730
- else if (typeof cb === "function") {
731
- if (typeof optionsOrCb !== "object")
732
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
733
- this.send(command, optionsOrCb || {}, cb);
734
- }
735
- else {
736
- return this.send(command, optionsOrCb);
737
- }
738
- }
739
- createInferenceRecommendationsJob(args, optionsOrCb, cb) {
740
- const command = new CreateInferenceRecommendationsJobCommand(args);
741
- if (typeof optionsOrCb === "function") {
742
- this.send(command, optionsOrCb);
743
- }
744
- else if (typeof cb === "function") {
745
- if (typeof optionsOrCb !== "object")
746
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
747
- this.send(command, optionsOrCb || {}, cb);
748
- }
749
- else {
750
- return this.send(command, optionsOrCb);
751
- }
752
- }
753
- createLabelingJob(args, optionsOrCb, cb) {
754
- const command = new CreateLabelingJobCommand(args);
755
- if (typeof optionsOrCb === "function") {
756
- this.send(command, optionsOrCb);
757
- }
758
- else if (typeof cb === "function") {
759
- if (typeof optionsOrCb !== "object")
760
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
761
- this.send(command, optionsOrCb || {}, cb);
762
- }
763
- else {
764
- return this.send(command, optionsOrCb);
765
- }
766
- }
767
- createModel(args, optionsOrCb, cb) {
768
- const command = new CreateModelCommand(args);
769
- if (typeof optionsOrCb === "function") {
770
- this.send(command, optionsOrCb);
771
- }
772
- else if (typeof cb === "function") {
773
- if (typeof optionsOrCb !== "object")
774
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
775
- this.send(command, optionsOrCb || {}, cb);
776
- }
777
- else {
778
- return this.send(command, optionsOrCb);
779
- }
780
- }
781
- createModelBiasJobDefinition(args, optionsOrCb, cb) {
782
- const command = new CreateModelBiasJobDefinitionCommand(args);
783
- if (typeof optionsOrCb === "function") {
784
- this.send(command, optionsOrCb);
785
- }
786
- else if (typeof cb === "function") {
787
- if (typeof optionsOrCb !== "object")
788
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
789
- this.send(command, optionsOrCb || {}, cb);
790
- }
791
- else {
792
- return this.send(command, optionsOrCb);
793
- }
794
- }
795
- createModelCard(args, optionsOrCb, cb) {
796
- const command = new CreateModelCardCommand(args);
797
- if (typeof optionsOrCb === "function") {
798
- this.send(command, optionsOrCb);
799
- }
800
- else if (typeof cb === "function") {
801
- if (typeof optionsOrCb !== "object")
802
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
803
- this.send(command, optionsOrCb || {}, cb);
804
- }
805
- else {
806
- return this.send(command, optionsOrCb);
807
- }
808
- }
809
- createModelCardExportJob(args, optionsOrCb, cb) {
810
- const command = new CreateModelCardExportJobCommand(args);
811
- if (typeof optionsOrCb === "function") {
812
- this.send(command, optionsOrCb);
813
- }
814
- else if (typeof cb === "function") {
815
- if (typeof optionsOrCb !== "object")
816
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
817
- this.send(command, optionsOrCb || {}, cb);
818
- }
819
- else {
820
- return this.send(command, optionsOrCb);
821
- }
822
- }
823
- createModelExplainabilityJobDefinition(args, optionsOrCb, cb) {
824
- const command = new CreateModelExplainabilityJobDefinitionCommand(args);
825
- if (typeof optionsOrCb === "function") {
826
- this.send(command, optionsOrCb);
827
- }
828
- else if (typeof cb === "function") {
829
- if (typeof optionsOrCb !== "object")
830
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
831
- this.send(command, optionsOrCb || {}, cb);
832
- }
833
- else {
834
- return this.send(command, optionsOrCb);
835
- }
836
- }
837
- createModelPackage(args, optionsOrCb, cb) {
838
- const command = new CreateModelPackageCommand(args);
839
- if (typeof optionsOrCb === "function") {
840
- this.send(command, optionsOrCb);
841
- }
842
- else if (typeof cb === "function") {
843
- if (typeof optionsOrCb !== "object")
844
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
845
- this.send(command, optionsOrCb || {}, cb);
846
- }
847
- else {
848
- return this.send(command, optionsOrCb);
849
- }
850
- }
851
- createModelPackageGroup(args, optionsOrCb, cb) {
852
- const command = new CreateModelPackageGroupCommand(args);
853
- if (typeof optionsOrCb === "function") {
854
- this.send(command, optionsOrCb);
855
- }
856
- else if (typeof cb === "function") {
857
- if (typeof optionsOrCb !== "object")
858
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
859
- this.send(command, optionsOrCb || {}, cb);
860
- }
861
- else {
862
- return this.send(command, optionsOrCb);
863
- }
864
- }
865
- createModelQualityJobDefinition(args, optionsOrCb, cb) {
866
- const command = new CreateModelQualityJobDefinitionCommand(args);
867
- if (typeof optionsOrCb === "function") {
868
- this.send(command, optionsOrCb);
869
- }
870
- else if (typeof cb === "function") {
871
- if (typeof optionsOrCb !== "object")
872
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
873
- this.send(command, optionsOrCb || {}, cb);
874
- }
875
- else {
876
- return this.send(command, optionsOrCb);
877
- }
878
- }
879
- createMonitoringSchedule(args, optionsOrCb, cb) {
880
- const command = new CreateMonitoringScheduleCommand(args);
881
- if (typeof optionsOrCb === "function") {
882
- this.send(command, optionsOrCb);
883
- }
884
- else if (typeof cb === "function") {
885
- if (typeof optionsOrCb !== "object")
886
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
887
- this.send(command, optionsOrCb || {}, cb);
888
- }
889
- else {
890
- return this.send(command, optionsOrCb);
891
- }
892
- }
893
- createNotebookInstance(args, optionsOrCb, cb) {
894
- const command = new CreateNotebookInstanceCommand(args);
895
- if (typeof optionsOrCb === "function") {
896
- this.send(command, optionsOrCb);
897
- }
898
- else if (typeof cb === "function") {
899
- if (typeof optionsOrCb !== "object")
900
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
901
- this.send(command, optionsOrCb || {}, cb);
902
- }
903
- else {
904
- return this.send(command, optionsOrCb);
905
- }
906
- }
907
- createNotebookInstanceLifecycleConfig(args, optionsOrCb, cb) {
908
- const command = new CreateNotebookInstanceLifecycleConfigCommand(args);
909
- if (typeof optionsOrCb === "function") {
910
- this.send(command, optionsOrCb);
911
- }
912
- else if (typeof cb === "function") {
913
- if (typeof optionsOrCb !== "object")
914
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
915
- this.send(command, optionsOrCb || {}, cb);
916
- }
917
- else {
918
- return this.send(command, optionsOrCb);
919
- }
920
- }
921
- createPipeline(args, optionsOrCb, cb) {
922
- const command = new CreatePipelineCommand(args);
923
- if (typeof optionsOrCb === "function") {
924
- this.send(command, optionsOrCb);
925
- }
926
- else if (typeof cb === "function") {
927
- if (typeof optionsOrCb !== "object")
928
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
929
- this.send(command, optionsOrCb || {}, cb);
930
- }
931
- else {
932
- return this.send(command, optionsOrCb);
933
- }
934
- }
935
- createPresignedDomainUrl(args, optionsOrCb, cb) {
936
- const command = new CreatePresignedDomainUrlCommand(args);
937
- if (typeof optionsOrCb === "function") {
938
- this.send(command, optionsOrCb);
939
- }
940
- else if (typeof cb === "function") {
941
- if (typeof optionsOrCb !== "object")
942
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
943
- this.send(command, optionsOrCb || {}, cb);
944
- }
945
- else {
946
- return this.send(command, optionsOrCb);
947
- }
948
- }
949
- createPresignedNotebookInstanceUrl(args, optionsOrCb, cb) {
950
- const command = new CreatePresignedNotebookInstanceUrlCommand(args);
951
- if (typeof optionsOrCb === "function") {
952
- this.send(command, optionsOrCb);
953
- }
954
- else if (typeof cb === "function") {
955
- if (typeof optionsOrCb !== "object")
956
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
957
- this.send(command, optionsOrCb || {}, cb);
958
- }
959
- else {
960
- return this.send(command, optionsOrCb);
961
- }
962
- }
963
- createProcessingJob(args, optionsOrCb, cb) {
964
- const command = new CreateProcessingJobCommand(args);
965
- if (typeof optionsOrCb === "function") {
966
- this.send(command, optionsOrCb);
967
- }
968
- else if (typeof cb === "function") {
969
- if (typeof optionsOrCb !== "object")
970
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
971
- this.send(command, optionsOrCb || {}, cb);
972
- }
973
- else {
974
- return this.send(command, optionsOrCb);
975
- }
976
- }
977
- createProject(args, optionsOrCb, cb) {
978
- const command = new CreateProjectCommand(args);
979
- if (typeof optionsOrCb === "function") {
980
- this.send(command, optionsOrCb);
981
- }
982
- else if (typeof cb === "function") {
983
- if (typeof optionsOrCb !== "object")
984
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
985
- this.send(command, optionsOrCb || {}, cb);
986
- }
987
- else {
988
- return this.send(command, optionsOrCb);
989
- }
990
- }
991
- createSpace(args, optionsOrCb, cb) {
992
- const command = new CreateSpaceCommand(args);
993
- if (typeof optionsOrCb === "function") {
994
- this.send(command, optionsOrCb);
995
- }
996
- else if (typeof cb === "function") {
997
- if (typeof optionsOrCb !== "object")
998
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
999
- this.send(command, optionsOrCb || {}, cb);
1000
- }
1001
- else {
1002
- return this.send(command, optionsOrCb);
1003
- }
1004
- }
1005
- createStudioLifecycleConfig(args, optionsOrCb, cb) {
1006
- const command = new CreateStudioLifecycleConfigCommand(args);
1007
- if (typeof optionsOrCb === "function") {
1008
- this.send(command, optionsOrCb);
1009
- }
1010
- else if (typeof cb === "function") {
1011
- if (typeof optionsOrCb !== "object")
1012
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1013
- this.send(command, optionsOrCb || {}, cb);
1014
- }
1015
- else {
1016
- return this.send(command, optionsOrCb);
1017
- }
1018
- }
1019
- createTrainingJob(args, optionsOrCb, cb) {
1020
- const command = new CreateTrainingJobCommand(args);
1021
- if (typeof optionsOrCb === "function") {
1022
- this.send(command, optionsOrCb);
1023
- }
1024
- else if (typeof cb === "function") {
1025
- if (typeof optionsOrCb !== "object")
1026
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1027
- this.send(command, optionsOrCb || {}, cb);
1028
- }
1029
- else {
1030
- return this.send(command, optionsOrCb);
1031
- }
1032
- }
1033
- createTransformJob(args, optionsOrCb, cb) {
1034
- const command = new CreateTransformJobCommand(args);
1035
- if (typeof optionsOrCb === "function") {
1036
- this.send(command, optionsOrCb);
1037
- }
1038
- else if (typeof cb === "function") {
1039
- if (typeof optionsOrCb !== "object")
1040
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1041
- this.send(command, optionsOrCb || {}, cb);
1042
- }
1043
- else {
1044
- return this.send(command, optionsOrCb);
1045
- }
1046
- }
1047
- createTrial(args, optionsOrCb, cb) {
1048
- const command = new CreateTrialCommand(args);
1049
- if (typeof optionsOrCb === "function") {
1050
- this.send(command, optionsOrCb);
1051
- }
1052
- else if (typeof cb === "function") {
1053
- if (typeof optionsOrCb !== "object")
1054
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1055
- this.send(command, optionsOrCb || {}, cb);
1056
- }
1057
- else {
1058
- return this.send(command, optionsOrCb);
1059
- }
1060
- }
1061
- createTrialComponent(args, optionsOrCb, cb) {
1062
- const command = new CreateTrialComponentCommand(args);
1063
- if (typeof optionsOrCb === "function") {
1064
- this.send(command, optionsOrCb);
1065
- }
1066
- else if (typeof cb === "function") {
1067
- if (typeof optionsOrCb !== "object")
1068
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1069
- this.send(command, optionsOrCb || {}, cb);
1070
- }
1071
- else {
1072
- return this.send(command, optionsOrCb);
1073
- }
1074
- }
1075
- createUserProfile(args, optionsOrCb, cb) {
1076
- const command = new CreateUserProfileCommand(args);
1077
- if (typeof optionsOrCb === "function") {
1078
- this.send(command, optionsOrCb);
1079
- }
1080
- else if (typeof cb === "function") {
1081
- if (typeof optionsOrCb !== "object")
1082
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1083
- this.send(command, optionsOrCb || {}, cb);
1084
- }
1085
- else {
1086
- return this.send(command, optionsOrCb);
1087
- }
1088
- }
1089
- createWorkforce(args, optionsOrCb, cb) {
1090
- const command = new CreateWorkforceCommand(args);
1091
- if (typeof optionsOrCb === "function") {
1092
- this.send(command, optionsOrCb);
1093
- }
1094
- else if (typeof cb === "function") {
1095
- if (typeof optionsOrCb !== "object")
1096
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1097
- this.send(command, optionsOrCb || {}, cb);
1098
- }
1099
- else {
1100
- return this.send(command, optionsOrCb);
1101
- }
1102
- }
1103
- createWorkteam(args, optionsOrCb, cb) {
1104
- const command = new CreateWorkteamCommand(args);
1105
- if (typeof optionsOrCb === "function") {
1106
- this.send(command, optionsOrCb);
1107
- }
1108
- else if (typeof cb === "function") {
1109
- if (typeof optionsOrCb !== "object")
1110
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1111
- this.send(command, optionsOrCb || {}, cb);
1112
- }
1113
- else {
1114
- return this.send(command, optionsOrCb);
1115
- }
1116
- }
1117
- deleteAction(args, optionsOrCb, cb) {
1118
- const command = new DeleteActionCommand(args);
1119
- if (typeof optionsOrCb === "function") {
1120
- this.send(command, optionsOrCb);
1121
- }
1122
- else if (typeof cb === "function") {
1123
- if (typeof optionsOrCb !== "object")
1124
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1125
- this.send(command, optionsOrCb || {}, cb);
1126
- }
1127
- else {
1128
- return this.send(command, optionsOrCb);
1129
- }
1130
- }
1131
- deleteAlgorithm(args, optionsOrCb, cb) {
1132
- const command = new DeleteAlgorithmCommand(args);
1133
- if (typeof optionsOrCb === "function") {
1134
- this.send(command, optionsOrCb);
1135
- }
1136
- else if (typeof cb === "function") {
1137
- if (typeof optionsOrCb !== "object")
1138
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1139
- this.send(command, optionsOrCb || {}, cb);
1140
- }
1141
- else {
1142
- return this.send(command, optionsOrCb);
1143
- }
1144
- }
1145
- deleteApp(args, optionsOrCb, cb) {
1146
- const command = new DeleteAppCommand(args);
1147
- if (typeof optionsOrCb === "function") {
1148
- this.send(command, optionsOrCb);
1149
- }
1150
- else if (typeof cb === "function") {
1151
- if (typeof optionsOrCb !== "object")
1152
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1153
- this.send(command, optionsOrCb || {}, cb);
1154
- }
1155
- else {
1156
- return this.send(command, optionsOrCb);
1157
- }
1158
- }
1159
- deleteAppImageConfig(args, optionsOrCb, cb) {
1160
- const command = new DeleteAppImageConfigCommand(args);
1161
- if (typeof optionsOrCb === "function") {
1162
- this.send(command, optionsOrCb);
1163
- }
1164
- else if (typeof cb === "function") {
1165
- if (typeof optionsOrCb !== "object")
1166
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1167
- this.send(command, optionsOrCb || {}, cb);
1168
- }
1169
- else {
1170
- return this.send(command, optionsOrCb);
1171
- }
1172
- }
1173
- deleteArtifact(args, optionsOrCb, cb) {
1174
- const command = new DeleteArtifactCommand(args);
1175
- if (typeof optionsOrCb === "function") {
1176
- this.send(command, optionsOrCb);
1177
- }
1178
- else if (typeof cb === "function") {
1179
- if (typeof optionsOrCb !== "object")
1180
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1181
- this.send(command, optionsOrCb || {}, cb);
1182
- }
1183
- else {
1184
- return this.send(command, optionsOrCb);
1185
- }
1186
- }
1187
- deleteAssociation(args, optionsOrCb, cb) {
1188
- const command = new DeleteAssociationCommand(args);
1189
- if (typeof optionsOrCb === "function") {
1190
- this.send(command, optionsOrCb);
1191
- }
1192
- else if (typeof cb === "function") {
1193
- if (typeof optionsOrCb !== "object")
1194
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1195
- this.send(command, optionsOrCb || {}, cb);
1196
- }
1197
- else {
1198
- return this.send(command, optionsOrCb);
1199
- }
1200
- }
1201
- deleteCodeRepository(args, optionsOrCb, cb) {
1202
- const command = new DeleteCodeRepositoryCommand(args);
1203
- if (typeof optionsOrCb === "function") {
1204
- this.send(command, optionsOrCb);
1205
- }
1206
- else if (typeof cb === "function") {
1207
- if (typeof optionsOrCb !== "object")
1208
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1209
- this.send(command, optionsOrCb || {}, cb);
1210
- }
1211
- else {
1212
- return this.send(command, optionsOrCb);
1213
- }
1214
- }
1215
- deleteContext(args, optionsOrCb, cb) {
1216
- const command = new DeleteContextCommand(args);
1217
- if (typeof optionsOrCb === "function") {
1218
- this.send(command, optionsOrCb);
1219
- }
1220
- else if (typeof cb === "function") {
1221
- if (typeof optionsOrCb !== "object")
1222
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1223
- this.send(command, optionsOrCb || {}, cb);
1224
- }
1225
- else {
1226
- return this.send(command, optionsOrCb);
1227
- }
1228
- }
1229
- deleteDataQualityJobDefinition(args, optionsOrCb, cb) {
1230
- const command = new DeleteDataQualityJobDefinitionCommand(args);
1231
- if (typeof optionsOrCb === "function") {
1232
- this.send(command, optionsOrCb);
1233
- }
1234
- else if (typeof cb === "function") {
1235
- if (typeof optionsOrCb !== "object")
1236
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1237
- this.send(command, optionsOrCb || {}, cb);
1238
- }
1239
- else {
1240
- return this.send(command, optionsOrCb);
1241
- }
1242
- }
1243
- deleteDeviceFleet(args, optionsOrCb, cb) {
1244
- const command = new DeleteDeviceFleetCommand(args);
1245
- if (typeof optionsOrCb === "function") {
1246
- this.send(command, optionsOrCb);
1247
- }
1248
- else if (typeof cb === "function") {
1249
- if (typeof optionsOrCb !== "object")
1250
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1251
- this.send(command, optionsOrCb || {}, cb);
1252
- }
1253
- else {
1254
- return this.send(command, optionsOrCb);
1255
- }
1256
- }
1257
- deleteDomain(args, optionsOrCb, cb) {
1258
- const command = new DeleteDomainCommand(args);
1259
- if (typeof optionsOrCb === "function") {
1260
- this.send(command, optionsOrCb);
1261
- }
1262
- else if (typeof cb === "function") {
1263
- if (typeof optionsOrCb !== "object")
1264
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1265
- this.send(command, optionsOrCb || {}, cb);
1266
- }
1267
- else {
1268
- return this.send(command, optionsOrCb);
1269
- }
1270
- }
1271
- deleteEdgeDeploymentPlan(args, optionsOrCb, cb) {
1272
- const command = new DeleteEdgeDeploymentPlanCommand(args);
1273
- if (typeof optionsOrCb === "function") {
1274
- this.send(command, optionsOrCb);
1275
- }
1276
- else if (typeof cb === "function") {
1277
- if (typeof optionsOrCb !== "object")
1278
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1279
- this.send(command, optionsOrCb || {}, cb);
1280
- }
1281
- else {
1282
- return this.send(command, optionsOrCb);
1283
- }
1284
- }
1285
- deleteEdgeDeploymentStage(args, optionsOrCb, cb) {
1286
- const command = new DeleteEdgeDeploymentStageCommand(args);
1287
- if (typeof optionsOrCb === "function") {
1288
- this.send(command, optionsOrCb);
1289
- }
1290
- else if (typeof cb === "function") {
1291
- if (typeof optionsOrCb !== "object")
1292
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1293
- this.send(command, optionsOrCb || {}, cb);
1294
- }
1295
- else {
1296
- return this.send(command, optionsOrCb);
1297
- }
1298
- }
1299
- deleteEndpoint(args, optionsOrCb, cb) {
1300
- const command = new DeleteEndpointCommand(args);
1301
- if (typeof optionsOrCb === "function") {
1302
- this.send(command, optionsOrCb);
1303
- }
1304
- else if (typeof cb === "function") {
1305
- if (typeof optionsOrCb !== "object")
1306
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1307
- this.send(command, optionsOrCb || {}, cb);
1308
- }
1309
- else {
1310
- return this.send(command, optionsOrCb);
1311
- }
1312
- }
1313
- deleteEndpointConfig(args, optionsOrCb, cb) {
1314
- const command = new DeleteEndpointConfigCommand(args);
1315
- if (typeof optionsOrCb === "function") {
1316
- this.send(command, optionsOrCb);
1317
- }
1318
- else if (typeof cb === "function") {
1319
- if (typeof optionsOrCb !== "object")
1320
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1321
- this.send(command, optionsOrCb || {}, cb);
1322
- }
1323
- else {
1324
- return this.send(command, optionsOrCb);
1325
- }
1326
- }
1327
- deleteExperiment(args, optionsOrCb, cb) {
1328
- const command = new DeleteExperimentCommand(args);
1329
- if (typeof optionsOrCb === "function") {
1330
- this.send(command, optionsOrCb);
1331
- }
1332
- else if (typeof cb === "function") {
1333
- if (typeof optionsOrCb !== "object")
1334
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1335
- this.send(command, optionsOrCb || {}, cb);
1336
- }
1337
- else {
1338
- return this.send(command, optionsOrCb);
1339
- }
1340
- }
1341
- deleteFeatureGroup(args, optionsOrCb, cb) {
1342
- const command = new DeleteFeatureGroupCommand(args);
1343
- if (typeof optionsOrCb === "function") {
1344
- this.send(command, optionsOrCb);
1345
- }
1346
- else if (typeof cb === "function") {
1347
- if (typeof optionsOrCb !== "object")
1348
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1349
- this.send(command, optionsOrCb || {}, cb);
1350
- }
1351
- else {
1352
- return this.send(command, optionsOrCb);
1353
- }
1354
- }
1355
- deleteFlowDefinition(args, optionsOrCb, cb) {
1356
- const command = new DeleteFlowDefinitionCommand(args);
1357
- if (typeof optionsOrCb === "function") {
1358
- this.send(command, optionsOrCb);
1359
- }
1360
- else if (typeof cb === "function") {
1361
- if (typeof optionsOrCb !== "object")
1362
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1363
- this.send(command, optionsOrCb || {}, cb);
1364
- }
1365
- else {
1366
- return this.send(command, optionsOrCb);
1367
- }
1368
- }
1369
- deleteHub(args, optionsOrCb, cb) {
1370
- const command = new DeleteHubCommand(args);
1371
- if (typeof optionsOrCb === "function") {
1372
- this.send(command, optionsOrCb);
1373
- }
1374
- else if (typeof cb === "function") {
1375
- if (typeof optionsOrCb !== "object")
1376
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1377
- this.send(command, optionsOrCb || {}, cb);
1378
- }
1379
- else {
1380
- return this.send(command, optionsOrCb);
1381
- }
1382
- }
1383
- deleteHubContent(args, optionsOrCb, cb) {
1384
- const command = new DeleteHubContentCommand(args);
1385
- if (typeof optionsOrCb === "function") {
1386
- this.send(command, optionsOrCb);
1387
- }
1388
- else if (typeof cb === "function") {
1389
- if (typeof optionsOrCb !== "object")
1390
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1391
- this.send(command, optionsOrCb || {}, cb);
1392
- }
1393
- else {
1394
- return this.send(command, optionsOrCb);
1395
- }
1396
- }
1397
- deleteHumanTaskUi(args, optionsOrCb, cb) {
1398
- const command = new DeleteHumanTaskUiCommand(args);
1399
- if (typeof optionsOrCb === "function") {
1400
- this.send(command, optionsOrCb);
1401
- }
1402
- else if (typeof cb === "function") {
1403
- if (typeof optionsOrCb !== "object")
1404
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1405
- this.send(command, optionsOrCb || {}, cb);
1406
- }
1407
- else {
1408
- return this.send(command, optionsOrCb);
1409
- }
1410
- }
1411
- deleteImage(args, optionsOrCb, cb) {
1412
- const command = new DeleteImageCommand(args);
1413
- if (typeof optionsOrCb === "function") {
1414
- this.send(command, optionsOrCb);
1415
- }
1416
- else if (typeof cb === "function") {
1417
- if (typeof optionsOrCb !== "object")
1418
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1419
- this.send(command, optionsOrCb || {}, cb);
1420
- }
1421
- else {
1422
- return this.send(command, optionsOrCb);
1423
- }
1424
- }
1425
- deleteImageVersion(args, optionsOrCb, cb) {
1426
- const command = new DeleteImageVersionCommand(args);
1427
- if (typeof optionsOrCb === "function") {
1428
- this.send(command, optionsOrCb);
1429
- }
1430
- else if (typeof cb === "function") {
1431
- if (typeof optionsOrCb !== "object")
1432
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1433
- this.send(command, optionsOrCb || {}, cb);
1434
- }
1435
- else {
1436
- return this.send(command, optionsOrCb);
1437
- }
1438
- }
1439
- deleteInferenceExperiment(args, optionsOrCb, cb) {
1440
- const command = new DeleteInferenceExperimentCommand(args);
1441
- if (typeof optionsOrCb === "function") {
1442
- this.send(command, optionsOrCb);
1443
- }
1444
- else if (typeof cb === "function") {
1445
- if (typeof optionsOrCb !== "object")
1446
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1447
- this.send(command, optionsOrCb || {}, cb);
1448
- }
1449
- else {
1450
- return this.send(command, optionsOrCb);
1451
- }
1452
- }
1453
- deleteModel(args, optionsOrCb, cb) {
1454
- const command = new DeleteModelCommand(args);
1455
- if (typeof optionsOrCb === "function") {
1456
- this.send(command, optionsOrCb);
1457
- }
1458
- else if (typeof cb === "function") {
1459
- if (typeof optionsOrCb !== "object")
1460
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1461
- this.send(command, optionsOrCb || {}, cb);
1462
- }
1463
- else {
1464
- return this.send(command, optionsOrCb);
1465
- }
1466
- }
1467
- deleteModelBiasJobDefinition(args, optionsOrCb, cb) {
1468
- const command = new DeleteModelBiasJobDefinitionCommand(args);
1469
- if (typeof optionsOrCb === "function") {
1470
- this.send(command, optionsOrCb);
1471
- }
1472
- else if (typeof cb === "function") {
1473
- if (typeof optionsOrCb !== "object")
1474
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1475
- this.send(command, optionsOrCb || {}, cb);
1476
- }
1477
- else {
1478
- return this.send(command, optionsOrCb);
1479
- }
1480
- }
1481
- deleteModelCard(args, optionsOrCb, cb) {
1482
- const command = new DeleteModelCardCommand(args);
1483
- if (typeof optionsOrCb === "function") {
1484
- this.send(command, optionsOrCb);
1485
- }
1486
- else if (typeof cb === "function") {
1487
- if (typeof optionsOrCb !== "object")
1488
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1489
- this.send(command, optionsOrCb || {}, cb);
1490
- }
1491
- else {
1492
- return this.send(command, optionsOrCb);
1493
- }
1494
- }
1495
- deleteModelExplainabilityJobDefinition(args, optionsOrCb, cb) {
1496
- const command = new DeleteModelExplainabilityJobDefinitionCommand(args);
1497
- if (typeof optionsOrCb === "function") {
1498
- this.send(command, optionsOrCb);
1499
- }
1500
- else if (typeof cb === "function") {
1501
- if (typeof optionsOrCb !== "object")
1502
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1503
- this.send(command, optionsOrCb || {}, cb);
1504
- }
1505
- else {
1506
- return this.send(command, optionsOrCb);
1507
- }
1508
- }
1509
- deleteModelPackage(args, optionsOrCb, cb) {
1510
- const command = new DeleteModelPackageCommand(args);
1511
- if (typeof optionsOrCb === "function") {
1512
- this.send(command, optionsOrCb);
1513
- }
1514
- else if (typeof cb === "function") {
1515
- if (typeof optionsOrCb !== "object")
1516
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1517
- this.send(command, optionsOrCb || {}, cb);
1518
- }
1519
- else {
1520
- return this.send(command, optionsOrCb);
1521
- }
1522
- }
1523
- deleteModelPackageGroup(args, optionsOrCb, cb) {
1524
- const command = new DeleteModelPackageGroupCommand(args);
1525
- if (typeof optionsOrCb === "function") {
1526
- this.send(command, optionsOrCb);
1527
- }
1528
- else if (typeof cb === "function") {
1529
- if (typeof optionsOrCb !== "object")
1530
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1531
- this.send(command, optionsOrCb || {}, cb);
1532
- }
1533
- else {
1534
- return this.send(command, optionsOrCb);
1535
- }
1536
- }
1537
- deleteModelPackageGroupPolicy(args, optionsOrCb, cb) {
1538
- const command = new DeleteModelPackageGroupPolicyCommand(args);
1539
- if (typeof optionsOrCb === "function") {
1540
- this.send(command, optionsOrCb);
1541
- }
1542
- else if (typeof cb === "function") {
1543
- if (typeof optionsOrCb !== "object")
1544
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1545
- this.send(command, optionsOrCb || {}, cb);
1546
- }
1547
- else {
1548
- return this.send(command, optionsOrCb);
1549
- }
1550
- }
1551
- deleteModelQualityJobDefinition(args, optionsOrCb, cb) {
1552
- const command = new DeleteModelQualityJobDefinitionCommand(args);
1553
- if (typeof optionsOrCb === "function") {
1554
- this.send(command, optionsOrCb);
1555
- }
1556
- else if (typeof cb === "function") {
1557
- if (typeof optionsOrCb !== "object")
1558
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1559
- this.send(command, optionsOrCb || {}, cb);
1560
- }
1561
- else {
1562
- return this.send(command, optionsOrCb);
1563
- }
1564
- }
1565
- deleteMonitoringSchedule(args, optionsOrCb, cb) {
1566
- const command = new DeleteMonitoringScheduleCommand(args);
1567
- if (typeof optionsOrCb === "function") {
1568
- this.send(command, optionsOrCb);
1569
- }
1570
- else if (typeof cb === "function") {
1571
- if (typeof optionsOrCb !== "object")
1572
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1573
- this.send(command, optionsOrCb || {}, cb);
1574
- }
1575
- else {
1576
- return this.send(command, optionsOrCb);
1577
- }
1578
- }
1579
- deleteNotebookInstance(args, optionsOrCb, cb) {
1580
- const command = new DeleteNotebookInstanceCommand(args);
1581
- if (typeof optionsOrCb === "function") {
1582
- this.send(command, optionsOrCb);
1583
- }
1584
- else if (typeof cb === "function") {
1585
- if (typeof optionsOrCb !== "object")
1586
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1587
- this.send(command, optionsOrCb || {}, cb);
1588
- }
1589
- else {
1590
- return this.send(command, optionsOrCb);
1591
- }
1592
- }
1593
- deleteNotebookInstanceLifecycleConfig(args, optionsOrCb, cb) {
1594
- const command = new DeleteNotebookInstanceLifecycleConfigCommand(args);
1595
- if (typeof optionsOrCb === "function") {
1596
- this.send(command, optionsOrCb);
1597
- }
1598
- else if (typeof cb === "function") {
1599
- if (typeof optionsOrCb !== "object")
1600
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1601
- this.send(command, optionsOrCb || {}, cb);
1602
- }
1603
- else {
1604
- return this.send(command, optionsOrCb);
1605
- }
1606
- }
1607
- deletePipeline(args, optionsOrCb, cb) {
1608
- const command = new DeletePipelineCommand(args);
1609
- if (typeof optionsOrCb === "function") {
1610
- this.send(command, optionsOrCb);
1611
- }
1612
- else if (typeof cb === "function") {
1613
- if (typeof optionsOrCb !== "object")
1614
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1615
- this.send(command, optionsOrCb || {}, cb);
1616
- }
1617
- else {
1618
- return this.send(command, optionsOrCb);
1619
- }
1620
- }
1621
- deleteProject(args, optionsOrCb, cb) {
1622
- const command = new DeleteProjectCommand(args);
1623
- if (typeof optionsOrCb === "function") {
1624
- this.send(command, optionsOrCb);
1625
- }
1626
- else if (typeof cb === "function") {
1627
- if (typeof optionsOrCb !== "object")
1628
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1629
- this.send(command, optionsOrCb || {}, cb);
1630
- }
1631
- else {
1632
- return this.send(command, optionsOrCb);
1633
- }
1634
- }
1635
- deleteSpace(args, optionsOrCb, cb) {
1636
- const command = new DeleteSpaceCommand(args);
1637
- if (typeof optionsOrCb === "function") {
1638
- this.send(command, optionsOrCb);
1639
- }
1640
- else if (typeof cb === "function") {
1641
- if (typeof optionsOrCb !== "object")
1642
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1643
- this.send(command, optionsOrCb || {}, cb);
1644
- }
1645
- else {
1646
- return this.send(command, optionsOrCb);
1647
- }
1648
- }
1649
- deleteStudioLifecycleConfig(args, optionsOrCb, cb) {
1650
- const command = new DeleteStudioLifecycleConfigCommand(args);
1651
- if (typeof optionsOrCb === "function") {
1652
- this.send(command, optionsOrCb);
1653
- }
1654
- else if (typeof cb === "function") {
1655
- if (typeof optionsOrCb !== "object")
1656
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1657
- this.send(command, optionsOrCb || {}, cb);
1658
- }
1659
- else {
1660
- return this.send(command, optionsOrCb);
1661
- }
1662
- }
1663
- deleteTags(args, optionsOrCb, cb) {
1664
- const command = new DeleteTagsCommand(args);
1665
- if (typeof optionsOrCb === "function") {
1666
- this.send(command, optionsOrCb);
1667
- }
1668
- else if (typeof cb === "function") {
1669
- if (typeof optionsOrCb !== "object")
1670
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1671
- this.send(command, optionsOrCb || {}, cb);
1672
- }
1673
- else {
1674
- return this.send(command, optionsOrCb);
1675
- }
1676
- }
1677
- deleteTrial(args, optionsOrCb, cb) {
1678
- const command = new DeleteTrialCommand(args);
1679
- if (typeof optionsOrCb === "function") {
1680
- this.send(command, optionsOrCb);
1681
- }
1682
- else if (typeof cb === "function") {
1683
- if (typeof optionsOrCb !== "object")
1684
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1685
- this.send(command, optionsOrCb || {}, cb);
1686
- }
1687
- else {
1688
- return this.send(command, optionsOrCb);
1689
- }
1690
- }
1691
- deleteTrialComponent(args, optionsOrCb, cb) {
1692
- const command = new DeleteTrialComponentCommand(args);
1693
- if (typeof optionsOrCb === "function") {
1694
- this.send(command, optionsOrCb);
1695
- }
1696
- else if (typeof cb === "function") {
1697
- if (typeof optionsOrCb !== "object")
1698
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1699
- this.send(command, optionsOrCb || {}, cb);
1700
- }
1701
- else {
1702
- return this.send(command, optionsOrCb);
1703
- }
1704
- }
1705
- deleteUserProfile(args, optionsOrCb, cb) {
1706
- const command = new DeleteUserProfileCommand(args);
1707
- if (typeof optionsOrCb === "function") {
1708
- this.send(command, optionsOrCb);
1709
- }
1710
- else if (typeof cb === "function") {
1711
- if (typeof optionsOrCb !== "object")
1712
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1713
- this.send(command, optionsOrCb || {}, cb);
1714
- }
1715
- else {
1716
- return this.send(command, optionsOrCb);
1717
- }
1718
- }
1719
- deleteWorkforce(args, optionsOrCb, cb) {
1720
- const command = new DeleteWorkforceCommand(args);
1721
- if (typeof optionsOrCb === "function") {
1722
- this.send(command, optionsOrCb);
1723
- }
1724
- else if (typeof cb === "function") {
1725
- if (typeof optionsOrCb !== "object")
1726
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1727
- this.send(command, optionsOrCb || {}, cb);
1728
- }
1729
- else {
1730
- return this.send(command, optionsOrCb);
1731
- }
1732
- }
1733
- deleteWorkteam(args, optionsOrCb, cb) {
1734
- const command = new DeleteWorkteamCommand(args);
1735
- if (typeof optionsOrCb === "function") {
1736
- this.send(command, optionsOrCb);
1737
- }
1738
- else if (typeof cb === "function") {
1739
- if (typeof optionsOrCb !== "object")
1740
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1741
- this.send(command, optionsOrCb || {}, cb);
1742
- }
1743
- else {
1744
- return this.send(command, optionsOrCb);
1745
- }
1746
- }
1747
- deregisterDevices(args, optionsOrCb, cb) {
1748
- const command = new DeregisterDevicesCommand(args);
1749
- if (typeof optionsOrCb === "function") {
1750
- this.send(command, optionsOrCb);
1751
- }
1752
- else if (typeof cb === "function") {
1753
- if (typeof optionsOrCb !== "object")
1754
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1755
- this.send(command, optionsOrCb || {}, cb);
1756
- }
1757
- else {
1758
- return this.send(command, optionsOrCb);
1759
- }
1760
- }
1761
- describeAction(args, optionsOrCb, cb) {
1762
- const command = new DescribeActionCommand(args);
1763
- if (typeof optionsOrCb === "function") {
1764
- this.send(command, optionsOrCb);
1765
- }
1766
- else if (typeof cb === "function") {
1767
- if (typeof optionsOrCb !== "object")
1768
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1769
- this.send(command, optionsOrCb || {}, cb);
1770
- }
1771
- else {
1772
- return this.send(command, optionsOrCb);
1773
- }
1774
- }
1775
- describeAlgorithm(args, optionsOrCb, cb) {
1776
- const command = new DescribeAlgorithmCommand(args);
1777
- if (typeof optionsOrCb === "function") {
1778
- this.send(command, optionsOrCb);
1779
- }
1780
- else if (typeof cb === "function") {
1781
- if (typeof optionsOrCb !== "object")
1782
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1783
- this.send(command, optionsOrCb || {}, cb);
1784
- }
1785
- else {
1786
- return this.send(command, optionsOrCb);
1787
- }
1788
- }
1789
- describeApp(args, optionsOrCb, cb) {
1790
- const command = new DescribeAppCommand(args);
1791
- if (typeof optionsOrCb === "function") {
1792
- this.send(command, optionsOrCb);
1793
- }
1794
- else if (typeof cb === "function") {
1795
- if (typeof optionsOrCb !== "object")
1796
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1797
- this.send(command, optionsOrCb || {}, cb);
1798
- }
1799
- else {
1800
- return this.send(command, optionsOrCb);
1801
- }
1802
- }
1803
- describeAppImageConfig(args, optionsOrCb, cb) {
1804
- const command = new DescribeAppImageConfigCommand(args);
1805
- if (typeof optionsOrCb === "function") {
1806
- this.send(command, optionsOrCb);
1807
- }
1808
- else if (typeof cb === "function") {
1809
- if (typeof optionsOrCb !== "object")
1810
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1811
- this.send(command, optionsOrCb || {}, cb);
1812
- }
1813
- else {
1814
- return this.send(command, optionsOrCb);
1815
- }
1816
- }
1817
- describeArtifact(args, optionsOrCb, cb) {
1818
- const command = new DescribeArtifactCommand(args);
1819
- if (typeof optionsOrCb === "function") {
1820
- this.send(command, optionsOrCb);
1821
- }
1822
- else if (typeof cb === "function") {
1823
- if (typeof optionsOrCb !== "object")
1824
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1825
- this.send(command, optionsOrCb || {}, cb);
1826
- }
1827
- else {
1828
- return this.send(command, optionsOrCb);
1829
- }
1830
- }
1831
- describeAutoMLJob(args, optionsOrCb, cb) {
1832
- const command = new DescribeAutoMLJobCommand(args);
1833
- if (typeof optionsOrCb === "function") {
1834
- this.send(command, optionsOrCb);
1835
- }
1836
- else if (typeof cb === "function") {
1837
- if (typeof optionsOrCb !== "object")
1838
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1839
- this.send(command, optionsOrCb || {}, cb);
1840
- }
1841
- else {
1842
- return this.send(command, optionsOrCb);
1843
- }
1844
- }
1845
- describeAutoMLJobV2(args, optionsOrCb, cb) {
1846
- const command = new DescribeAutoMLJobV2Command(args);
1847
- if (typeof optionsOrCb === "function") {
1848
- this.send(command, optionsOrCb);
1849
- }
1850
- else if (typeof cb === "function") {
1851
- if (typeof optionsOrCb !== "object")
1852
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1853
- this.send(command, optionsOrCb || {}, cb);
1854
- }
1855
- else {
1856
- return this.send(command, optionsOrCb);
1857
- }
1858
- }
1859
- describeCodeRepository(args, optionsOrCb, cb) {
1860
- const command = new DescribeCodeRepositoryCommand(args);
1861
- if (typeof optionsOrCb === "function") {
1862
- this.send(command, optionsOrCb);
1863
- }
1864
- else if (typeof cb === "function") {
1865
- if (typeof optionsOrCb !== "object")
1866
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1867
- this.send(command, optionsOrCb || {}, cb);
1868
- }
1869
- else {
1870
- return this.send(command, optionsOrCb);
1871
- }
1872
- }
1873
- describeCompilationJob(args, optionsOrCb, cb) {
1874
- const command = new DescribeCompilationJobCommand(args);
1875
- if (typeof optionsOrCb === "function") {
1876
- this.send(command, optionsOrCb);
1877
- }
1878
- else if (typeof cb === "function") {
1879
- if (typeof optionsOrCb !== "object")
1880
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1881
- this.send(command, optionsOrCb || {}, cb);
1882
- }
1883
- else {
1884
- return this.send(command, optionsOrCb);
1885
- }
1886
- }
1887
- describeContext(args, optionsOrCb, cb) {
1888
- const command = new DescribeContextCommand(args);
1889
- if (typeof optionsOrCb === "function") {
1890
- this.send(command, optionsOrCb);
1891
- }
1892
- else if (typeof cb === "function") {
1893
- if (typeof optionsOrCb !== "object")
1894
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1895
- this.send(command, optionsOrCb || {}, cb);
1896
- }
1897
- else {
1898
- return this.send(command, optionsOrCb);
1899
- }
1900
- }
1901
- describeDataQualityJobDefinition(args, optionsOrCb, cb) {
1902
- const command = new DescribeDataQualityJobDefinitionCommand(args);
1903
- if (typeof optionsOrCb === "function") {
1904
- this.send(command, optionsOrCb);
1905
- }
1906
- else if (typeof cb === "function") {
1907
- if (typeof optionsOrCb !== "object")
1908
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1909
- this.send(command, optionsOrCb || {}, cb);
1910
- }
1911
- else {
1912
- return this.send(command, optionsOrCb);
1913
- }
1914
- }
1915
- describeDevice(args, optionsOrCb, cb) {
1916
- const command = new DescribeDeviceCommand(args);
1917
- if (typeof optionsOrCb === "function") {
1918
- this.send(command, optionsOrCb);
1919
- }
1920
- else if (typeof cb === "function") {
1921
- if (typeof optionsOrCb !== "object")
1922
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1923
- this.send(command, optionsOrCb || {}, cb);
1924
- }
1925
- else {
1926
- return this.send(command, optionsOrCb);
1927
- }
1928
- }
1929
- describeDeviceFleet(args, optionsOrCb, cb) {
1930
- const command = new DescribeDeviceFleetCommand(args);
1931
- if (typeof optionsOrCb === "function") {
1932
- this.send(command, optionsOrCb);
1933
- }
1934
- else if (typeof cb === "function") {
1935
- if (typeof optionsOrCb !== "object")
1936
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1937
- this.send(command, optionsOrCb || {}, cb);
1938
- }
1939
- else {
1940
- return this.send(command, optionsOrCb);
1941
- }
1942
- }
1943
- describeDomain(args, optionsOrCb, cb) {
1944
- const command = new DescribeDomainCommand(args);
1945
- if (typeof optionsOrCb === "function") {
1946
- this.send(command, optionsOrCb);
1947
- }
1948
- else if (typeof cb === "function") {
1949
- if (typeof optionsOrCb !== "object")
1950
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1951
- this.send(command, optionsOrCb || {}, cb);
1952
- }
1953
- else {
1954
- return this.send(command, optionsOrCb);
1955
- }
1956
- }
1957
- describeEdgeDeploymentPlan(args, optionsOrCb, cb) {
1958
- const command = new DescribeEdgeDeploymentPlanCommand(args);
1959
- if (typeof optionsOrCb === "function") {
1960
- this.send(command, optionsOrCb);
1961
- }
1962
- else if (typeof cb === "function") {
1963
- if (typeof optionsOrCb !== "object")
1964
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1965
- this.send(command, optionsOrCb || {}, cb);
1966
- }
1967
- else {
1968
- return this.send(command, optionsOrCb);
1969
- }
1970
- }
1971
- describeEdgePackagingJob(args, optionsOrCb, cb) {
1972
- const command = new DescribeEdgePackagingJobCommand(args);
1973
- if (typeof optionsOrCb === "function") {
1974
- this.send(command, optionsOrCb);
1975
- }
1976
- else if (typeof cb === "function") {
1977
- if (typeof optionsOrCb !== "object")
1978
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1979
- this.send(command, optionsOrCb || {}, cb);
1980
- }
1981
- else {
1982
- return this.send(command, optionsOrCb);
1983
- }
1984
- }
1985
- describeEndpoint(args, optionsOrCb, cb) {
1986
- const command = new DescribeEndpointCommand(args);
1987
- if (typeof optionsOrCb === "function") {
1988
- this.send(command, optionsOrCb);
1989
- }
1990
- else if (typeof cb === "function") {
1991
- if (typeof optionsOrCb !== "object")
1992
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1993
- this.send(command, optionsOrCb || {}, cb);
1994
- }
1995
- else {
1996
- return this.send(command, optionsOrCb);
1997
- }
1998
- }
1999
- describeEndpointConfig(args, optionsOrCb, cb) {
2000
- const command = new DescribeEndpointConfigCommand(args);
2001
- if (typeof optionsOrCb === "function") {
2002
- this.send(command, optionsOrCb);
2003
- }
2004
- else if (typeof cb === "function") {
2005
- if (typeof optionsOrCb !== "object")
2006
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2007
- this.send(command, optionsOrCb || {}, cb);
2008
- }
2009
- else {
2010
- return this.send(command, optionsOrCb);
2011
- }
2012
- }
2013
- describeExperiment(args, optionsOrCb, cb) {
2014
- const command = new DescribeExperimentCommand(args);
2015
- if (typeof optionsOrCb === "function") {
2016
- this.send(command, optionsOrCb);
2017
- }
2018
- else if (typeof cb === "function") {
2019
- if (typeof optionsOrCb !== "object")
2020
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2021
- this.send(command, optionsOrCb || {}, cb);
2022
- }
2023
- else {
2024
- return this.send(command, optionsOrCb);
2025
- }
2026
- }
2027
- describeFeatureGroup(args, optionsOrCb, cb) {
2028
- const command = new DescribeFeatureGroupCommand(args);
2029
- if (typeof optionsOrCb === "function") {
2030
- this.send(command, optionsOrCb);
2031
- }
2032
- else if (typeof cb === "function") {
2033
- if (typeof optionsOrCb !== "object")
2034
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2035
- this.send(command, optionsOrCb || {}, cb);
2036
- }
2037
- else {
2038
- return this.send(command, optionsOrCb);
2039
- }
2040
- }
2041
- describeFeatureMetadata(args, optionsOrCb, cb) {
2042
- const command = new DescribeFeatureMetadataCommand(args);
2043
- if (typeof optionsOrCb === "function") {
2044
- this.send(command, optionsOrCb);
2045
- }
2046
- else if (typeof cb === "function") {
2047
- if (typeof optionsOrCb !== "object")
2048
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2049
- this.send(command, optionsOrCb || {}, cb);
2050
- }
2051
- else {
2052
- return this.send(command, optionsOrCb);
2053
- }
2054
- }
2055
- describeFlowDefinition(args, optionsOrCb, cb) {
2056
- const command = new DescribeFlowDefinitionCommand(args);
2057
- if (typeof optionsOrCb === "function") {
2058
- this.send(command, optionsOrCb);
2059
- }
2060
- else if (typeof cb === "function") {
2061
- if (typeof optionsOrCb !== "object")
2062
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2063
- this.send(command, optionsOrCb || {}, cb);
2064
- }
2065
- else {
2066
- return this.send(command, optionsOrCb);
2067
- }
2068
- }
2069
- describeHub(args, optionsOrCb, cb) {
2070
- const command = new DescribeHubCommand(args);
2071
- if (typeof optionsOrCb === "function") {
2072
- this.send(command, optionsOrCb);
2073
- }
2074
- else if (typeof cb === "function") {
2075
- if (typeof optionsOrCb !== "object")
2076
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2077
- this.send(command, optionsOrCb || {}, cb);
2078
- }
2079
- else {
2080
- return this.send(command, optionsOrCb);
2081
- }
2082
- }
2083
- describeHubContent(args, optionsOrCb, cb) {
2084
- const command = new DescribeHubContentCommand(args);
2085
- if (typeof optionsOrCb === "function") {
2086
- this.send(command, optionsOrCb);
2087
- }
2088
- else if (typeof cb === "function") {
2089
- if (typeof optionsOrCb !== "object")
2090
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2091
- this.send(command, optionsOrCb || {}, cb);
2092
- }
2093
- else {
2094
- return this.send(command, optionsOrCb);
2095
- }
2096
- }
2097
- describeHumanTaskUi(args, optionsOrCb, cb) {
2098
- const command = new DescribeHumanTaskUiCommand(args);
2099
- if (typeof optionsOrCb === "function") {
2100
- this.send(command, optionsOrCb);
2101
- }
2102
- else if (typeof cb === "function") {
2103
- if (typeof optionsOrCb !== "object")
2104
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2105
- this.send(command, optionsOrCb || {}, cb);
2106
- }
2107
- else {
2108
- return this.send(command, optionsOrCb);
2109
- }
2110
- }
2111
- describeHyperParameterTuningJob(args, optionsOrCb, cb) {
2112
- const command = new DescribeHyperParameterTuningJobCommand(args);
2113
- if (typeof optionsOrCb === "function") {
2114
- this.send(command, optionsOrCb);
2115
- }
2116
- else if (typeof cb === "function") {
2117
- if (typeof optionsOrCb !== "object")
2118
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2119
- this.send(command, optionsOrCb || {}, cb);
2120
- }
2121
- else {
2122
- return this.send(command, optionsOrCb);
2123
- }
2124
- }
2125
- describeImage(args, optionsOrCb, cb) {
2126
- const command = new DescribeImageCommand(args);
2127
- if (typeof optionsOrCb === "function") {
2128
- this.send(command, optionsOrCb);
2129
- }
2130
- else if (typeof cb === "function") {
2131
- if (typeof optionsOrCb !== "object")
2132
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2133
- this.send(command, optionsOrCb || {}, cb);
2134
- }
2135
- else {
2136
- return this.send(command, optionsOrCb);
2137
- }
2138
- }
2139
- describeImageVersion(args, optionsOrCb, cb) {
2140
- const command = new DescribeImageVersionCommand(args);
2141
- if (typeof optionsOrCb === "function") {
2142
- this.send(command, optionsOrCb);
2143
- }
2144
- else if (typeof cb === "function") {
2145
- if (typeof optionsOrCb !== "object")
2146
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2147
- this.send(command, optionsOrCb || {}, cb);
2148
- }
2149
- else {
2150
- return this.send(command, optionsOrCb);
2151
- }
2152
- }
2153
- describeInferenceExperiment(args, optionsOrCb, cb) {
2154
- const command = new DescribeInferenceExperimentCommand(args);
2155
- if (typeof optionsOrCb === "function") {
2156
- this.send(command, optionsOrCb);
2157
- }
2158
- else if (typeof cb === "function") {
2159
- if (typeof optionsOrCb !== "object")
2160
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2161
- this.send(command, optionsOrCb || {}, cb);
2162
- }
2163
- else {
2164
- return this.send(command, optionsOrCb);
2165
- }
2166
- }
2167
- describeInferenceRecommendationsJob(args, optionsOrCb, cb) {
2168
- const command = new DescribeInferenceRecommendationsJobCommand(args);
2169
- if (typeof optionsOrCb === "function") {
2170
- this.send(command, optionsOrCb);
2171
- }
2172
- else if (typeof cb === "function") {
2173
- if (typeof optionsOrCb !== "object")
2174
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2175
- this.send(command, optionsOrCb || {}, cb);
2176
- }
2177
- else {
2178
- return this.send(command, optionsOrCb);
2179
- }
2180
- }
2181
- describeLabelingJob(args, optionsOrCb, cb) {
2182
- const command = new DescribeLabelingJobCommand(args);
2183
- if (typeof optionsOrCb === "function") {
2184
- this.send(command, optionsOrCb);
2185
- }
2186
- else if (typeof cb === "function") {
2187
- if (typeof optionsOrCb !== "object")
2188
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2189
- this.send(command, optionsOrCb || {}, cb);
2190
- }
2191
- else {
2192
- return this.send(command, optionsOrCb);
2193
- }
2194
- }
2195
- describeLineageGroup(args, optionsOrCb, cb) {
2196
- const command = new DescribeLineageGroupCommand(args);
2197
- if (typeof optionsOrCb === "function") {
2198
- this.send(command, optionsOrCb);
2199
- }
2200
- else if (typeof cb === "function") {
2201
- if (typeof optionsOrCb !== "object")
2202
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2203
- this.send(command, optionsOrCb || {}, cb);
2204
- }
2205
- else {
2206
- return this.send(command, optionsOrCb);
2207
- }
2208
- }
2209
- describeModel(args, optionsOrCb, cb) {
2210
- const command = new DescribeModelCommand(args);
2211
- if (typeof optionsOrCb === "function") {
2212
- this.send(command, optionsOrCb);
2213
- }
2214
- else if (typeof cb === "function") {
2215
- if (typeof optionsOrCb !== "object")
2216
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2217
- this.send(command, optionsOrCb || {}, cb);
2218
- }
2219
- else {
2220
- return this.send(command, optionsOrCb);
2221
- }
2222
- }
2223
- describeModelBiasJobDefinition(args, optionsOrCb, cb) {
2224
- const command = new DescribeModelBiasJobDefinitionCommand(args);
2225
- if (typeof optionsOrCb === "function") {
2226
- this.send(command, optionsOrCb);
2227
- }
2228
- else if (typeof cb === "function") {
2229
- if (typeof optionsOrCb !== "object")
2230
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2231
- this.send(command, optionsOrCb || {}, cb);
2232
- }
2233
- else {
2234
- return this.send(command, optionsOrCb);
2235
- }
2236
- }
2237
- describeModelCard(args, optionsOrCb, cb) {
2238
- const command = new DescribeModelCardCommand(args);
2239
- if (typeof optionsOrCb === "function") {
2240
- this.send(command, optionsOrCb);
2241
- }
2242
- else if (typeof cb === "function") {
2243
- if (typeof optionsOrCb !== "object")
2244
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2245
- this.send(command, optionsOrCb || {}, cb);
2246
- }
2247
- else {
2248
- return this.send(command, optionsOrCb);
2249
- }
2250
- }
2251
- describeModelCardExportJob(args, optionsOrCb, cb) {
2252
- const command = new DescribeModelCardExportJobCommand(args);
2253
- if (typeof optionsOrCb === "function") {
2254
- this.send(command, optionsOrCb);
2255
- }
2256
- else if (typeof cb === "function") {
2257
- if (typeof optionsOrCb !== "object")
2258
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2259
- this.send(command, optionsOrCb || {}, cb);
2260
- }
2261
- else {
2262
- return this.send(command, optionsOrCb);
2263
- }
2264
- }
2265
- describeModelExplainabilityJobDefinition(args, optionsOrCb, cb) {
2266
- const command = new DescribeModelExplainabilityJobDefinitionCommand(args);
2267
- if (typeof optionsOrCb === "function") {
2268
- this.send(command, optionsOrCb);
2269
- }
2270
- else if (typeof cb === "function") {
2271
- if (typeof optionsOrCb !== "object")
2272
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2273
- this.send(command, optionsOrCb || {}, cb);
2274
- }
2275
- else {
2276
- return this.send(command, optionsOrCb);
2277
- }
2278
- }
2279
- describeModelPackage(args, optionsOrCb, cb) {
2280
- const command = new DescribeModelPackageCommand(args);
2281
- if (typeof optionsOrCb === "function") {
2282
- this.send(command, optionsOrCb);
2283
- }
2284
- else if (typeof cb === "function") {
2285
- if (typeof optionsOrCb !== "object")
2286
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2287
- this.send(command, optionsOrCb || {}, cb);
2288
- }
2289
- else {
2290
- return this.send(command, optionsOrCb);
2291
- }
2292
- }
2293
- describeModelPackageGroup(args, optionsOrCb, cb) {
2294
- const command = new DescribeModelPackageGroupCommand(args);
2295
- if (typeof optionsOrCb === "function") {
2296
- this.send(command, optionsOrCb);
2297
- }
2298
- else if (typeof cb === "function") {
2299
- if (typeof optionsOrCb !== "object")
2300
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2301
- this.send(command, optionsOrCb || {}, cb);
2302
- }
2303
- else {
2304
- return this.send(command, optionsOrCb);
2305
- }
2306
- }
2307
- describeModelQualityJobDefinition(args, optionsOrCb, cb) {
2308
- const command = new DescribeModelQualityJobDefinitionCommand(args);
2309
- if (typeof optionsOrCb === "function") {
2310
- this.send(command, optionsOrCb);
2311
- }
2312
- else if (typeof cb === "function") {
2313
- if (typeof optionsOrCb !== "object")
2314
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2315
- this.send(command, optionsOrCb || {}, cb);
2316
- }
2317
- else {
2318
- return this.send(command, optionsOrCb);
2319
- }
2320
- }
2321
- describeMonitoringSchedule(args, optionsOrCb, cb) {
2322
- const command = new DescribeMonitoringScheduleCommand(args);
2323
- if (typeof optionsOrCb === "function") {
2324
- this.send(command, optionsOrCb);
2325
- }
2326
- else if (typeof cb === "function") {
2327
- if (typeof optionsOrCb !== "object")
2328
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2329
- this.send(command, optionsOrCb || {}, cb);
2330
- }
2331
- else {
2332
- return this.send(command, optionsOrCb);
2333
- }
2334
- }
2335
- describeNotebookInstance(args, optionsOrCb, cb) {
2336
- const command = new DescribeNotebookInstanceCommand(args);
2337
- if (typeof optionsOrCb === "function") {
2338
- this.send(command, optionsOrCb);
2339
- }
2340
- else if (typeof cb === "function") {
2341
- if (typeof optionsOrCb !== "object")
2342
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2343
- this.send(command, optionsOrCb || {}, cb);
2344
- }
2345
- else {
2346
- return this.send(command, optionsOrCb);
2347
- }
2348
- }
2349
- describeNotebookInstanceLifecycleConfig(args, optionsOrCb, cb) {
2350
- const command = new DescribeNotebookInstanceLifecycleConfigCommand(args);
2351
- if (typeof optionsOrCb === "function") {
2352
- this.send(command, optionsOrCb);
2353
- }
2354
- else if (typeof cb === "function") {
2355
- if (typeof optionsOrCb !== "object")
2356
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2357
- this.send(command, optionsOrCb || {}, cb);
2358
- }
2359
- else {
2360
- return this.send(command, optionsOrCb);
2361
- }
2362
- }
2363
- describePipeline(args, optionsOrCb, cb) {
2364
- const command = new DescribePipelineCommand(args);
2365
- if (typeof optionsOrCb === "function") {
2366
- this.send(command, optionsOrCb);
2367
- }
2368
- else if (typeof cb === "function") {
2369
- if (typeof optionsOrCb !== "object")
2370
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2371
- this.send(command, optionsOrCb || {}, cb);
2372
- }
2373
- else {
2374
- return this.send(command, optionsOrCb);
2375
- }
2376
- }
2377
- describePipelineDefinitionForExecution(args, optionsOrCb, cb) {
2378
- const command = new DescribePipelineDefinitionForExecutionCommand(args);
2379
- if (typeof optionsOrCb === "function") {
2380
- this.send(command, optionsOrCb);
2381
- }
2382
- else if (typeof cb === "function") {
2383
- if (typeof optionsOrCb !== "object")
2384
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2385
- this.send(command, optionsOrCb || {}, cb);
2386
- }
2387
- else {
2388
- return this.send(command, optionsOrCb);
2389
- }
2390
- }
2391
- describePipelineExecution(args, optionsOrCb, cb) {
2392
- const command = new DescribePipelineExecutionCommand(args);
2393
- if (typeof optionsOrCb === "function") {
2394
- this.send(command, optionsOrCb);
2395
- }
2396
- else if (typeof cb === "function") {
2397
- if (typeof optionsOrCb !== "object")
2398
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2399
- this.send(command, optionsOrCb || {}, cb);
2400
- }
2401
- else {
2402
- return this.send(command, optionsOrCb);
2403
- }
2404
- }
2405
- describeProcessingJob(args, optionsOrCb, cb) {
2406
- const command = new DescribeProcessingJobCommand(args);
2407
- if (typeof optionsOrCb === "function") {
2408
- this.send(command, optionsOrCb);
2409
- }
2410
- else if (typeof cb === "function") {
2411
- if (typeof optionsOrCb !== "object")
2412
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2413
- this.send(command, optionsOrCb || {}, cb);
2414
- }
2415
- else {
2416
- return this.send(command, optionsOrCb);
2417
- }
2418
- }
2419
- describeProject(args, optionsOrCb, cb) {
2420
- const command = new DescribeProjectCommand(args);
2421
- if (typeof optionsOrCb === "function") {
2422
- this.send(command, optionsOrCb);
2423
- }
2424
- else if (typeof cb === "function") {
2425
- if (typeof optionsOrCb !== "object")
2426
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2427
- this.send(command, optionsOrCb || {}, cb);
2428
- }
2429
- else {
2430
- return this.send(command, optionsOrCb);
2431
- }
2432
- }
2433
- describeSpace(args, optionsOrCb, cb) {
2434
- const command = new DescribeSpaceCommand(args);
2435
- if (typeof optionsOrCb === "function") {
2436
- this.send(command, optionsOrCb);
2437
- }
2438
- else if (typeof cb === "function") {
2439
- if (typeof optionsOrCb !== "object")
2440
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2441
- this.send(command, optionsOrCb || {}, cb);
2442
- }
2443
- else {
2444
- return this.send(command, optionsOrCb);
2445
- }
2446
- }
2447
- describeStudioLifecycleConfig(args, optionsOrCb, cb) {
2448
- const command = new DescribeStudioLifecycleConfigCommand(args);
2449
- if (typeof optionsOrCb === "function") {
2450
- this.send(command, optionsOrCb);
2451
- }
2452
- else if (typeof cb === "function") {
2453
- if (typeof optionsOrCb !== "object")
2454
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2455
- this.send(command, optionsOrCb || {}, cb);
2456
- }
2457
- else {
2458
- return this.send(command, optionsOrCb);
2459
- }
2460
- }
2461
- describeSubscribedWorkteam(args, optionsOrCb, cb) {
2462
- const command = new DescribeSubscribedWorkteamCommand(args);
2463
- if (typeof optionsOrCb === "function") {
2464
- this.send(command, optionsOrCb);
2465
- }
2466
- else if (typeof cb === "function") {
2467
- if (typeof optionsOrCb !== "object")
2468
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2469
- this.send(command, optionsOrCb || {}, cb);
2470
- }
2471
- else {
2472
- return this.send(command, optionsOrCb);
2473
- }
2474
- }
2475
- describeTrainingJob(args, optionsOrCb, cb) {
2476
- const command = new DescribeTrainingJobCommand(args);
2477
- if (typeof optionsOrCb === "function") {
2478
- this.send(command, optionsOrCb);
2479
- }
2480
- else if (typeof cb === "function") {
2481
- if (typeof optionsOrCb !== "object")
2482
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2483
- this.send(command, optionsOrCb || {}, cb);
2484
- }
2485
- else {
2486
- return this.send(command, optionsOrCb);
2487
- }
2488
- }
2489
- describeTransformJob(args, optionsOrCb, cb) {
2490
- const command = new DescribeTransformJobCommand(args);
2491
- if (typeof optionsOrCb === "function") {
2492
- this.send(command, optionsOrCb);
2493
- }
2494
- else if (typeof cb === "function") {
2495
- if (typeof optionsOrCb !== "object")
2496
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2497
- this.send(command, optionsOrCb || {}, cb);
2498
- }
2499
- else {
2500
- return this.send(command, optionsOrCb);
2501
- }
2502
- }
2503
- describeTrial(args, optionsOrCb, cb) {
2504
- const command = new DescribeTrialCommand(args);
2505
- if (typeof optionsOrCb === "function") {
2506
- this.send(command, optionsOrCb);
2507
- }
2508
- else if (typeof cb === "function") {
2509
- if (typeof optionsOrCb !== "object")
2510
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2511
- this.send(command, optionsOrCb || {}, cb);
2512
- }
2513
- else {
2514
- return this.send(command, optionsOrCb);
2515
- }
2516
- }
2517
- describeTrialComponent(args, optionsOrCb, cb) {
2518
- const command = new DescribeTrialComponentCommand(args);
2519
- if (typeof optionsOrCb === "function") {
2520
- this.send(command, optionsOrCb);
2521
- }
2522
- else if (typeof cb === "function") {
2523
- if (typeof optionsOrCb !== "object")
2524
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2525
- this.send(command, optionsOrCb || {}, cb);
2526
- }
2527
- else {
2528
- return this.send(command, optionsOrCb);
2529
- }
2530
- }
2531
- describeUserProfile(args, optionsOrCb, cb) {
2532
- const command = new DescribeUserProfileCommand(args);
2533
- if (typeof optionsOrCb === "function") {
2534
- this.send(command, optionsOrCb);
2535
- }
2536
- else if (typeof cb === "function") {
2537
- if (typeof optionsOrCb !== "object")
2538
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2539
- this.send(command, optionsOrCb || {}, cb);
2540
- }
2541
- else {
2542
- return this.send(command, optionsOrCb);
2543
- }
2544
- }
2545
- describeWorkforce(args, optionsOrCb, cb) {
2546
- const command = new DescribeWorkforceCommand(args);
2547
- if (typeof optionsOrCb === "function") {
2548
- this.send(command, optionsOrCb);
2549
- }
2550
- else if (typeof cb === "function") {
2551
- if (typeof optionsOrCb !== "object")
2552
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2553
- this.send(command, optionsOrCb || {}, cb);
2554
- }
2555
- else {
2556
- return this.send(command, optionsOrCb);
2557
- }
2558
- }
2559
- describeWorkteam(args, optionsOrCb, cb) {
2560
- const command = new DescribeWorkteamCommand(args);
2561
- if (typeof optionsOrCb === "function") {
2562
- this.send(command, optionsOrCb);
2563
- }
2564
- else if (typeof cb === "function") {
2565
- if (typeof optionsOrCb !== "object")
2566
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2567
- this.send(command, optionsOrCb || {}, cb);
2568
- }
2569
- else {
2570
- return this.send(command, optionsOrCb);
2571
- }
2572
- }
2573
- disableSagemakerServicecatalogPortfolio(args, optionsOrCb, cb) {
2574
- const command = new DisableSagemakerServicecatalogPortfolioCommand(args);
2575
- if (typeof optionsOrCb === "function") {
2576
- this.send(command, optionsOrCb);
2577
- }
2578
- else if (typeof cb === "function") {
2579
- if (typeof optionsOrCb !== "object")
2580
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2581
- this.send(command, optionsOrCb || {}, cb);
2582
- }
2583
- else {
2584
- return this.send(command, optionsOrCb);
2585
- }
2586
- }
2587
- disassociateTrialComponent(args, optionsOrCb, cb) {
2588
- const command = new DisassociateTrialComponentCommand(args);
2589
- if (typeof optionsOrCb === "function") {
2590
- this.send(command, optionsOrCb);
2591
- }
2592
- else if (typeof cb === "function") {
2593
- if (typeof optionsOrCb !== "object")
2594
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2595
- this.send(command, optionsOrCb || {}, cb);
2596
- }
2597
- else {
2598
- return this.send(command, optionsOrCb);
2599
- }
2600
- }
2601
- enableSagemakerServicecatalogPortfolio(args, optionsOrCb, cb) {
2602
- const command = new EnableSagemakerServicecatalogPortfolioCommand(args);
2603
- if (typeof optionsOrCb === "function") {
2604
- this.send(command, optionsOrCb);
2605
- }
2606
- else if (typeof cb === "function") {
2607
- if (typeof optionsOrCb !== "object")
2608
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2609
- this.send(command, optionsOrCb || {}, cb);
2610
- }
2611
- else {
2612
- return this.send(command, optionsOrCb);
2613
- }
2614
- }
2615
- getDeviceFleetReport(args, optionsOrCb, cb) {
2616
- const command = new GetDeviceFleetReportCommand(args);
2617
- if (typeof optionsOrCb === "function") {
2618
- this.send(command, optionsOrCb);
2619
- }
2620
- else if (typeof cb === "function") {
2621
- if (typeof optionsOrCb !== "object")
2622
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2623
- this.send(command, optionsOrCb || {}, cb);
2624
- }
2625
- else {
2626
- return this.send(command, optionsOrCb);
2627
- }
2628
- }
2629
- getLineageGroupPolicy(args, optionsOrCb, cb) {
2630
- const command = new GetLineageGroupPolicyCommand(args);
2631
- if (typeof optionsOrCb === "function") {
2632
- this.send(command, optionsOrCb);
2633
- }
2634
- else if (typeof cb === "function") {
2635
- if (typeof optionsOrCb !== "object")
2636
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2637
- this.send(command, optionsOrCb || {}, cb);
2638
- }
2639
- else {
2640
- return this.send(command, optionsOrCb);
2641
- }
2642
- }
2643
- getModelPackageGroupPolicy(args, optionsOrCb, cb) {
2644
- const command = new GetModelPackageGroupPolicyCommand(args);
2645
- if (typeof optionsOrCb === "function") {
2646
- this.send(command, optionsOrCb);
2647
- }
2648
- else if (typeof cb === "function") {
2649
- if (typeof optionsOrCb !== "object")
2650
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2651
- this.send(command, optionsOrCb || {}, cb);
2652
- }
2653
- else {
2654
- return this.send(command, optionsOrCb);
2655
- }
2656
- }
2657
- getSagemakerServicecatalogPortfolioStatus(args, optionsOrCb, cb) {
2658
- const command = new GetSagemakerServicecatalogPortfolioStatusCommand(args);
2659
- if (typeof optionsOrCb === "function") {
2660
- this.send(command, optionsOrCb);
2661
- }
2662
- else if (typeof cb === "function") {
2663
- if (typeof optionsOrCb !== "object")
2664
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2665
- this.send(command, optionsOrCb || {}, cb);
2666
- }
2667
- else {
2668
- return this.send(command, optionsOrCb);
2669
- }
2670
- }
2671
- getSearchSuggestions(args, optionsOrCb, cb) {
2672
- const command = new GetSearchSuggestionsCommand(args);
2673
- if (typeof optionsOrCb === "function") {
2674
- this.send(command, optionsOrCb);
2675
- }
2676
- else if (typeof cb === "function") {
2677
- if (typeof optionsOrCb !== "object")
2678
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2679
- this.send(command, optionsOrCb || {}, cb);
2680
- }
2681
- else {
2682
- return this.send(command, optionsOrCb);
2683
- }
2684
- }
2685
- importHubContent(args, optionsOrCb, cb) {
2686
- const command = new ImportHubContentCommand(args);
2687
- if (typeof optionsOrCb === "function") {
2688
- this.send(command, optionsOrCb);
2689
- }
2690
- else if (typeof cb === "function") {
2691
- if (typeof optionsOrCb !== "object")
2692
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2693
- this.send(command, optionsOrCb || {}, cb);
2694
- }
2695
- else {
2696
- return this.send(command, optionsOrCb);
2697
- }
2698
- }
2699
- listActions(args, optionsOrCb, cb) {
2700
- const command = new ListActionsCommand(args);
2701
- if (typeof optionsOrCb === "function") {
2702
- this.send(command, optionsOrCb);
2703
- }
2704
- else if (typeof cb === "function") {
2705
- if (typeof optionsOrCb !== "object")
2706
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2707
- this.send(command, optionsOrCb || {}, cb);
2708
- }
2709
- else {
2710
- return this.send(command, optionsOrCb);
2711
- }
2712
- }
2713
- listAlgorithms(args, optionsOrCb, cb) {
2714
- const command = new ListAlgorithmsCommand(args);
2715
- if (typeof optionsOrCb === "function") {
2716
- this.send(command, optionsOrCb);
2717
- }
2718
- else if (typeof cb === "function") {
2719
- if (typeof optionsOrCb !== "object")
2720
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2721
- this.send(command, optionsOrCb || {}, cb);
2722
- }
2723
- else {
2724
- return this.send(command, optionsOrCb);
2725
- }
2726
- }
2727
- listAliases(args, optionsOrCb, cb) {
2728
- const command = new ListAliasesCommand(args);
2729
- if (typeof optionsOrCb === "function") {
2730
- this.send(command, optionsOrCb);
2731
- }
2732
- else if (typeof cb === "function") {
2733
- if (typeof optionsOrCb !== "object")
2734
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2735
- this.send(command, optionsOrCb || {}, cb);
2736
- }
2737
- else {
2738
- return this.send(command, optionsOrCb);
2739
- }
2740
- }
2741
- listAppImageConfigs(args, optionsOrCb, cb) {
2742
- const command = new ListAppImageConfigsCommand(args);
2743
- if (typeof optionsOrCb === "function") {
2744
- this.send(command, optionsOrCb);
2745
- }
2746
- else if (typeof cb === "function") {
2747
- if (typeof optionsOrCb !== "object")
2748
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2749
- this.send(command, optionsOrCb || {}, cb);
2750
- }
2751
- else {
2752
- return this.send(command, optionsOrCb);
2753
- }
2754
- }
2755
- listApps(args, optionsOrCb, cb) {
2756
- const command = new ListAppsCommand(args);
2757
- if (typeof optionsOrCb === "function") {
2758
- this.send(command, optionsOrCb);
2759
- }
2760
- else if (typeof cb === "function") {
2761
- if (typeof optionsOrCb !== "object")
2762
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2763
- this.send(command, optionsOrCb || {}, cb);
2764
- }
2765
- else {
2766
- return this.send(command, optionsOrCb);
2767
- }
2768
- }
2769
- listArtifacts(args, optionsOrCb, cb) {
2770
- const command = new ListArtifactsCommand(args);
2771
- if (typeof optionsOrCb === "function") {
2772
- this.send(command, optionsOrCb);
2773
- }
2774
- else if (typeof cb === "function") {
2775
- if (typeof optionsOrCb !== "object")
2776
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2777
- this.send(command, optionsOrCb || {}, cb);
2778
- }
2779
- else {
2780
- return this.send(command, optionsOrCb);
2781
- }
2782
- }
2783
- listAssociations(args, optionsOrCb, cb) {
2784
- const command = new ListAssociationsCommand(args);
2785
- if (typeof optionsOrCb === "function") {
2786
- this.send(command, optionsOrCb);
2787
- }
2788
- else if (typeof cb === "function") {
2789
- if (typeof optionsOrCb !== "object")
2790
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2791
- this.send(command, optionsOrCb || {}, cb);
2792
- }
2793
- else {
2794
- return this.send(command, optionsOrCb);
2795
- }
2796
- }
2797
- listAutoMLJobs(args, optionsOrCb, cb) {
2798
- const command = new ListAutoMLJobsCommand(args);
2799
- if (typeof optionsOrCb === "function") {
2800
- this.send(command, optionsOrCb);
2801
- }
2802
- else if (typeof cb === "function") {
2803
- if (typeof optionsOrCb !== "object")
2804
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2805
- this.send(command, optionsOrCb || {}, cb);
2806
- }
2807
- else {
2808
- return this.send(command, optionsOrCb);
2809
- }
2810
- }
2811
- listCandidatesForAutoMLJob(args, optionsOrCb, cb) {
2812
- const command = new ListCandidatesForAutoMLJobCommand(args);
2813
- if (typeof optionsOrCb === "function") {
2814
- this.send(command, optionsOrCb);
2815
- }
2816
- else if (typeof cb === "function") {
2817
- if (typeof optionsOrCb !== "object")
2818
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2819
- this.send(command, optionsOrCb || {}, cb);
2820
- }
2821
- else {
2822
- return this.send(command, optionsOrCb);
2823
- }
2824
- }
2825
- listCodeRepositories(args, optionsOrCb, cb) {
2826
- const command = new ListCodeRepositoriesCommand(args);
2827
- if (typeof optionsOrCb === "function") {
2828
- this.send(command, optionsOrCb);
2829
- }
2830
- else if (typeof cb === "function") {
2831
- if (typeof optionsOrCb !== "object")
2832
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2833
- this.send(command, optionsOrCb || {}, cb);
2834
- }
2835
- else {
2836
- return this.send(command, optionsOrCb);
2837
- }
2838
- }
2839
- listCompilationJobs(args, optionsOrCb, cb) {
2840
- const command = new ListCompilationJobsCommand(args);
2841
- if (typeof optionsOrCb === "function") {
2842
- this.send(command, optionsOrCb);
2843
- }
2844
- else if (typeof cb === "function") {
2845
- if (typeof optionsOrCb !== "object")
2846
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2847
- this.send(command, optionsOrCb || {}, cb);
2848
- }
2849
- else {
2850
- return this.send(command, optionsOrCb);
2851
- }
2852
- }
2853
- listContexts(args, optionsOrCb, cb) {
2854
- const command = new ListContextsCommand(args);
2855
- if (typeof optionsOrCb === "function") {
2856
- this.send(command, optionsOrCb);
2857
- }
2858
- else if (typeof cb === "function") {
2859
- if (typeof optionsOrCb !== "object")
2860
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2861
- this.send(command, optionsOrCb || {}, cb);
2862
- }
2863
- else {
2864
- return this.send(command, optionsOrCb);
2865
- }
2866
- }
2867
- listDataQualityJobDefinitions(args, optionsOrCb, cb) {
2868
- const command = new ListDataQualityJobDefinitionsCommand(args);
2869
- if (typeof optionsOrCb === "function") {
2870
- this.send(command, optionsOrCb);
2871
- }
2872
- else if (typeof cb === "function") {
2873
- if (typeof optionsOrCb !== "object")
2874
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2875
- this.send(command, optionsOrCb || {}, cb);
2876
- }
2877
- else {
2878
- return this.send(command, optionsOrCb);
2879
- }
2880
- }
2881
- listDeviceFleets(args, optionsOrCb, cb) {
2882
- const command = new ListDeviceFleetsCommand(args);
2883
- if (typeof optionsOrCb === "function") {
2884
- this.send(command, optionsOrCb);
2885
- }
2886
- else if (typeof cb === "function") {
2887
- if (typeof optionsOrCb !== "object")
2888
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2889
- this.send(command, optionsOrCb || {}, cb);
2890
- }
2891
- else {
2892
- return this.send(command, optionsOrCb);
2893
- }
2894
- }
2895
- listDevices(args, optionsOrCb, cb) {
2896
- const command = new ListDevicesCommand(args);
2897
- if (typeof optionsOrCb === "function") {
2898
- this.send(command, optionsOrCb);
2899
- }
2900
- else if (typeof cb === "function") {
2901
- if (typeof optionsOrCb !== "object")
2902
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2903
- this.send(command, optionsOrCb || {}, cb);
2904
- }
2905
- else {
2906
- return this.send(command, optionsOrCb);
2907
- }
2908
- }
2909
- listDomains(args, optionsOrCb, cb) {
2910
- const command = new ListDomainsCommand(args);
2911
- if (typeof optionsOrCb === "function") {
2912
- this.send(command, optionsOrCb);
2913
- }
2914
- else if (typeof cb === "function") {
2915
- if (typeof optionsOrCb !== "object")
2916
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2917
- this.send(command, optionsOrCb || {}, cb);
2918
- }
2919
- else {
2920
- return this.send(command, optionsOrCb);
2921
- }
2922
- }
2923
- listEdgeDeploymentPlans(args, optionsOrCb, cb) {
2924
- const command = new ListEdgeDeploymentPlansCommand(args);
2925
- if (typeof optionsOrCb === "function") {
2926
- this.send(command, optionsOrCb);
2927
- }
2928
- else if (typeof cb === "function") {
2929
- if (typeof optionsOrCb !== "object")
2930
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2931
- this.send(command, optionsOrCb || {}, cb);
2932
- }
2933
- else {
2934
- return this.send(command, optionsOrCb);
2935
- }
2936
- }
2937
- listEdgePackagingJobs(args, optionsOrCb, cb) {
2938
- const command = new ListEdgePackagingJobsCommand(args);
2939
- if (typeof optionsOrCb === "function") {
2940
- this.send(command, optionsOrCb);
2941
- }
2942
- else if (typeof cb === "function") {
2943
- if (typeof optionsOrCb !== "object")
2944
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2945
- this.send(command, optionsOrCb || {}, cb);
2946
- }
2947
- else {
2948
- return this.send(command, optionsOrCb);
2949
- }
2950
- }
2951
- listEndpointConfigs(args, optionsOrCb, cb) {
2952
- const command = new ListEndpointConfigsCommand(args);
2953
- if (typeof optionsOrCb === "function") {
2954
- this.send(command, optionsOrCb);
2955
- }
2956
- else if (typeof cb === "function") {
2957
- if (typeof optionsOrCb !== "object")
2958
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2959
- this.send(command, optionsOrCb || {}, cb);
2960
- }
2961
- else {
2962
- return this.send(command, optionsOrCb);
2963
- }
2964
- }
2965
- listEndpoints(args, optionsOrCb, cb) {
2966
- const command = new ListEndpointsCommand(args);
2967
- if (typeof optionsOrCb === "function") {
2968
- this.send(command, optionsOrCb);
2969
- }
2970
- else if (typeof cb === "function") {
2971
- if (typeof optionsOrCb !== "object")
2972
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2973
- this.send(command, optionsOrCb || {}, cb);
2974
- }
2975
- else {
2976
- return this.send(command, optionsOrCb);
2977
- }
2978
- }
2979
- listExperiments(args, optionsOrCb, cb) {
2980
- const command = new ListExperimentsCommand(args);
2981
- if (typeof optionsOrCb === "function") {
2982
- this.send(command, optionsOrCb);
2983
- }
2984
- else if (typeof cb === "function") {
2985
- if (typeof optionsOrCb !== "object")
2986
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2987
- this.send(command, optionsOrCb || {}, cb);
2988
- }
2989
- else {
2990
- return this.send(command, optionsOrCb);
2991
- }
2992
- }
2993
- listFeatureGroups(args, optionsOrCb, cb) {
2994
- const command = new ListFeatureGroupsCommand(args);
2995
- if (typeof optionsOrCb === "function") {
2996
- this.send(command, optionsOrCb);
2997
- }
2998
- else if (typeof cb === "function") {
2999
- if (typeof optionsOrCb !== "object")
3000
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3001
- this.send(command, optionsOrCb || {}, cb);
3002
- }
3003
- else {
3004
- return this.send(command, optionsOrCb);
3005
- }
3006
- }
3007
- listFlowDefinitions(args, optionsOrCb, cb) {
3008
- const command = new ListFlowDefinitionsCommand(args);
3009
- if (typeof optionsOrCb === "function") {
3010
- this.send(command, optionsOrCb);
3011
- }
3012
- else if (typeof cb === "function") {
3013
- if (typeof optionsOrCb !== "object")
3014
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3015
- this.send(command, optionsOrCb || {}, cb);
3016
- }
3017
- else {
3018
- return this.send(command, optionsOrCb);
3019
- }
3020
- }
3021
- listHubContents(args, optionsOrCb, cb) {
3022
- const command = new ListHubContentsCommand(args);
3023
- if (typeof optionsOrCb === "function") {
3024
- this.send(command, optionsOrCb);
3025
- }
3026
- else if (typeof cb === "function") {
3027
- if (typeof optionsOrCb !== "object")
3028
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3029
- this.send(command, optionsOrCb || {}, cb);
3030
- }
3031
- else {
3032
- return this.send(command, optionsOrCb);
3033
- }
3034
- }
3035
- listHubContentVersions(args, optionsOrCb, cb) {
3036
- const command = new ListHubContentVersionsCommand(args);
3037
- if (typeof optionsOrCb === "function") {
3038
- this.send(command, optionsOrCb);
3039
- }
3040
- else if (typeof cb === "function") {
3041
- if (typeof optionsOrCb !== "object")
3042
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3043
- this.send(command, optionsOrCb || {}, cb);
3044
- }
3045
- else {
3046
- return this.send(command, optionsOrCb);
3047
- }
3048
- }
3049
- listHubs(args, optionsOrCb, cb) {
3050
- const command = new ListHubsCommand(args);
3051
- if (typeof optionsOrCb === "function") {
3052
- this.send(command, optionsOrCb);
3053
- }
3054
- else if (typeof cb === "function") {
3055
- if (typeof optionsOrCb !== "object")
3056
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3057
- this.send(command, optionsOrCb || {}, cb);
3058
- }
3059
- else {
3060
- return this.send(command, optionsOrCb);
3061
- }
3062
- }
3063
- listHumanTaskUis(args, optionsOrCb, cb) {
3064
- const command = new ListHumanTaskUisCommand(args);
3065
- if (typeof optionsOrCb === "function") {
3066
- this.send(command, optionsOrCb);
3067
- }
3068
- else if (typeof cb === "function") {
3069
- if (typeof optionsOrCb !== "object")
3070
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3071
- this.send(command, optionsOrCb || {}, cb);
3072
- }
3073
- else {
3074
- return this.send(command, optionsOrCb);
3075
- }
3076
- }
3077
- listHyperParameterTuningJobs(args, optionsOrCb, cb) {
3078
- const command = new ListHyperParameterTuningJobsCommand(args);
3079
- if (typeof optionsOrCb === "function") {
3080
- this.send(command, optionsOrCb);
3081
- }
3082
- else if (typeof cb === "function") {
3083
- if (typeof optionsOrCb !== "object")
3084
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3085
- this.send(command, optionsOrCb || {}, cb);
3086
- }
3087
- else {
3088
- return this.send(command, optionsOrCb);
3089
- }
3090
- }
3091
- listImages(args, optionsOrCb, cb) {
3092
- const command = new ListImagesCommand(args);
3093
- if (typeof optionsOrCb === "function") {
3094
- this.send(command, optionsOrCb);
3095
- }
3096
- else if (typeof cb === "function") {
3097
- if (typeof optionsOrCb !== "object")
3098
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3099
- this.send(command, optionsOrCb || {}, cb);
3100
- }
3101
- else {
3102
- return this.send(command, optionsOrCb);
3103
- }
3104
- }
3105
- listImageVersions(args, optionsOrCb, cb) {
3106
- const command = new ListImageVersionsCommand(args);
3107
- if (typeof optionsOrCb === "function") {
3108
- this.send(command, optionsOrCb);
3109
- }
3110
- else if (typeof cb === "function") {
3111
- if (typeof optionsOrCb !== "object")
3112
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3113
- this.send(command, optionsOrCb || {}, cb);
3114
- }
3115
- else {
3116
- return this.send(command, optionsOrCb);
3117
- }
3118
- }
3119
- listInferenceExperiments(args, optionsOrCb, cb) {
3120
- const command = new ListInferenceExperimentsCommand(args);
3121
- if (typeof optionsOrCb === "function") {
3122
- this.send(command, optionsOrCb);
3123
- }
3124
- else if (typeof cb === "function") {
3125
- if (typeof optionsOrCb !== "object")
3126
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3127
- this.send(command, optionsOrCb || {}, cb);
3128
- }
3129
- else {
3130
- return this.send(command, optionsOrCb);
3131
- }
3132
- }
3133
- listInferenceRecommendationsJobs(args, optionsOrCb, cb) {
3134
- const command = new ListInferenceRecommendationsJobsCommand(args);
3135
- if (typeof optionsOrCb === "function") {
3136
- this.send(command, optionsOrCb);
3137
- }
3138
- else if (typeof cb === "function") {
3139
- if (typeof optionsOrCb !== "object")
3140
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3141
- this.send(command, optionsOrCb || {}, cb);
3142
- }
3143
- else {
3144
- return this.send(command, optionsOrCb);
3145
- }
3146
- }
3147
- listInferenceRecommendationsJobSteps(args, optionsOrCb, cb) {
3148
- const command = new ListInferenceRecommendationsJobStepsCommand(args);
3149
- if (typeof optionsOrCb === "function") {
3150
- this.send(command, optionsOrCb);
3151
- }
3152
- else if (typeof cb === "function") {
3153
- if (typeof optionsOrCb !== "object")
3154
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3155
- this.send(command, optionsOrCb || {}, cb);
3156
- }
3157
- else {
3158
- return this.send(command, optionsOrCb);
3159
- }
3160
- }
3161
- listLabelingJobs(args, optionsOrCb, cb) {
3162
- const command = new ListLabelingJobsCommand(args);
3163
- if (typeof optionsOrCb === "function") {
3164
- this.send(command, optionsOrCb);
3165
- }
3166
- else if (typeof cb === "function") {
3167
- if (typeof optionsOrCb !== "object")
3168
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3169
- this.send(command, optionsOrCb || {}, cb);
3170
- }
3171
- else {
3172
- return this.send(command, optionsOrCb);
3173
- }
3174
- }
3175
- listLabelingJobsForWorkteam(args, optionsOrCb, cb) {
3176
- const command = new ListLabelingJobsForWorkteamCommand(args);
3177
- if (typeof optionsOrCb === "function") {
3178
- this.send(command, optionsOrCb);
3179
- }
3180
- else if (typeof cb === "function") {
3181
- if (typeof optionsOrCb !== "object")
3182
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3183
- this.send(command, optionsOrCb || {}, cb);
3184
- }
3185
- else {
3186
- return this.send(command, optionsOrCb);
3187
- }
3188
- }
3189
- listLineageGroups(args, optionsOrCb, cb) {
3190
- const command = new ListLineageGroupsCommand(args);
3191
- if (typeof optionsOrCb === "function") {
3192
- this.send(command, optionsOrCb);
3193
- }
3194
- else if (typeof cb === "function") {
3195
- if (typeof optionsOrCb !== "object")
3196
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3197
- this.send(command, optionsOrCb || {}, cb);
3198
- }
3199
- else {
3200
- return this.send(command, optionsOrCb);
3201
- }
3202
- }
3203
- listModelBiasJobDefinitions(args, optionsOrCb, cb) {
3204
- const command = new ListModelBiasJobDefinitionsCommand(args);
3205
- if (typeof optionsOrCb === "function") {
3206
- this.send(command, optionsOrCb);
3207
- }
3208
- else if (typeof cb === "function") {
3209
- if (typeof optionsOrCb !== "object")
3210
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3211
- this.send(command, optionsOrCb || {}, cb);
3212
- }
3213
- else {
3214
- return this.send(command, optionsOrCb);
3215
- }
3216
- }
3217
- listModelCardExportJobs(args, optionsOrCb, cb) {
3218
- const command = new ListModelCardExportJobsCommand(args);
3219
- if (typeof optionsOrCb === "function") {
3220
- this.send(command, optionsOrCb);
3221
- }
3222
- else if (typeof cb === "function") {
3223
- if (typeof optionsOrCb !== "object")
3224
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3225
- this.send(command, optionsOrCb || {}, cb);
3226
- }
3227
- else {
3228
- return this.send(command, optionsOrCb);
3229
- }
3230
- }
3231
- listModelCards(args, optionsOrCb, cb) {
3232
- const command = new ListModelCardsCommand(args);
3233
- if (typeof optionsOrCb === "function") {
3234
- this.send(command, optionsOrCb);
3235
- }
3236
- else if (typeof cb === "function") {
3237
- if (typeof optionsOrCb !== "object")
3238
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3239
- this.send(command, optionsOrCb || {}, cb);
3240
- }
3241
- else {
3242
- return this.send(command, optionsOrCb);
3243
- }
3244
- }
3245
- listModelCardVersions(args, optionsOrCb, cb) {
3246
- const command = new ListModelCardVersionsCommand(args);
3247
- if (typeof optionsOrCb === "function") {
3248
- this.send(command, optionsOrCb);
3249
- }
3250
- else if (typeof cb === "function") {
3251
- if (typeof optionsOrCb !== "object")
3252
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3253
- this.send(command, optionsOrCb || {}, cb);
3254
- }
3255
- else {
3256
- return this.send(command, optionsOrCb);
3257
- }
3258
- }
3259
- listModelExplainabilityJobDefinitions(args, optionsOrCb, cb) {
3260
- const command = new ListModelExplainabilityJobDefinitionsCommand(args);
3261
- if (typeof optionsOrCb === "function") {
3262
- this.send(command, optionsOrCb);
3263
- }
3264
- else if (typeof cb === "function") {
3265
- if (typeof optionsOrCb !== "object")
3266
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3267
- this.send(command, optionsOrCb || {}, cb);
3268
- }
3269
- else {
3270
- return this.send(command, optionsOrCb);
3271
- }
3272
- }
3273
- listModelMetadata(args, optionsOrCb, cb) {
3274
- const command = new ListModelMetadataCommand(args);
3275
- if (typeof optionsOrCb === "function") {
3276
- this.send(command, optionsOrCb);
3277
- }
3278
- else if (typeof cb === "function") {
3279
- if (typeof optionsOrCb !== "object")
3280
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3281
- this.send(command, optionsOrCb || {}, cb);
3282
- }
3283
- else {
3284
- return this.send(command, optionsOrCb);
3285
- }
3286
- }
3287
- listModelPackageGroups(args, optionsOrCb, cb) {
3288
- const command = new ListModelPackageGroupsCommand(args);
3289
- if (typeof optionsOrCb === "function") {
3290
- this.send(command, optionsOrCb);
3291
- }
3292
- else if (typeof cb === "function") {
3293
- if (typeof optionsOrCb !== "object")
3294
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3295
- this.send(command, optionsOrCb || {}, cb);
3296
- }
3297
- else {
3298
- return this.send(command, optionsOrCb);
3299
- }
3300
- }
3301
- listModelPackages(args, optionsOrCb, cb) {
3302
- const command = new ListModelPackagesCommand(args);
3303
- if (typeof optionsOrCb === "function") {
3304
- this.send(command, optionsOrCb);
3305
- }
3306
- else if (typeof cb === "function") {
3307
- if (typeof optionsOrCb !== "object")
3308
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3309
- this.send(command, optionsOrCb || {}, cb);
3310
- }
3311
- else {
3312
- return this.send(command, optionsOrCb);
3313
- }
3314
- }
3315
- listModelQualityJobDefinitions(args, optionsOrCb, cb) {
3316
- const command = new ListModelQualityJobDefinitionsCommand(args);
3317
- if (typeof optionsOrCb === "function") {
3318
- this.send(command, optionsOrCb);
3319
- }
3320
- else if (typeof cb === "function") {
3321
- if (typeof optionsOrCb !== "object")
3322
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3323
- this.send(command, optionsOrCb || {}, cb);
3324
- }
3325
- else {
3326
- return this.send(command, optionsOrCb);
3327
- }
3328
- }
3329
- listModels(args, optionsOrCb, cb) {
3330
- const command = new ListModelsCommand(args);
3331
- if (typeof optionsOrCb === "function") {
3332
- this.send(command, optionsOrCb);
3333
- }
3334
- else if (typeof cb === "function") {
3335
- if (typeof optionsOrCb !== "object")
3336
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3337
- this.send(command, optionsOrCb || {}, cb);
3338
- }
3339
- else {
3340
- return this.send(command, optionsOrCb);
3341
- }
3342
- }
3343
- listMonitoringAlertHistory(args, optionsOrCb, cb) {
3344
- const command = new ListMonitoringAlertHistoryCommand(args);
3345
- if (typeof optionsOrCb === "function") {
3346
- this.send(command, optionsOrCb);
3347
- }
3348
- else if (typeof cb === "function") {
3349
- if (typeof optionsOrCb !== "object")
3350
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3351
- this.send(command, optionsOrCb || {}, cb);
3352
- }
3353
- else {
3354
- return this.send(command, optionsOrCb);
3355
- }
3356
- }
3357
- listMonitoringAlerts(args, optionsOrCb, cb) {
3358
- const command = new ListMonitoringAlertsCommand(args);
3359
- if (typeof optionsOrCb === "function") {
3360
- this.send(command, optionsOrCb);
3361
- }
3362
- else if (typeof cb === "function") {
3363
- if (typeof optionsOrCb !== "object")
3364
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3365
- this.send(command, optionsOrCb || {}, cb);
3366
- }
3367
- else {
3368
- return this.send(command, optionsOrCb);
3369
- }
3370
- }
3371
- listMonitoringExecutions(args, optionsOrCb, cb) {
3372
- const command = new ListMonitoringExecutionsCommand(args);
3373
- if (typeof optionsOrCb === "function") {
3374
- this.send(command, optionsOrCb);
3375
- }
3376
- else if (typeof cb === "function") {
3377
- if (typeof optionsOrCb !== "object")
3378
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3379
- this.send(command, optionsOrCb || {}, cb);
3380
- }
3381
- else {
3382
- return this.send(command, optionsOrCb);
3383
- }
3384
- }
3385
- listMonitoringSchedules(args, optionsOrCb, cb) {
3386
- const command = new ListMonitoringSchedulesCommand(args);
3387
- if (typeof optionsOrCb === "function") {
3388
- this.send(command, optionsOrCb);
3389
- }
3390
- else if (typeof cb === "function") {
3391
- if (typeof optionsOrCb !== "object")
3392
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3393
- this.send(command, optionsOrCb || {}, cb);
3394
- }
3395
- else {
3396
- return this.send(command, optionsOrCb);
3397
- }
3398
- }
3399
- listNotebookInstanceLifecycleConfigs(args, optionsOrCb, cb) {
3400
- const command = new ListNotebookInstanceLifecycleConfigsCommand(args);
3401
- if (typeof optionsOrCb === "function") {
3402
- this.send(command, optionsOrCb);
3403
- }
3404
- else if (typeof cb === "function") {
3405
- if (typeof optionsOrCb !== "object")
3406
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3407
- this.send(command, optionsOrCb || {}, cb);
3408
- }
3409
- else {
3410
- return this.send(command, optionsOrCb);
3411
- }
3412
- }
3413
- listNotebookInstances(args, optionsOrCb, cb) {
3414
- const command = new ListNotebookInstancesCommand(args);
3415
- if (typeof optionsOrCb === "function") {
3416
- this.send(command, optionsOrCb);
3417
- }
3418
- else if (typeof cb === "function") {
3419
- if (typeof optionsOrCb !== "object")
3420
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3421
- this.send(command, optionsOrCb || {}, cb);
3422
- }
3423
- else {
3424
- return this.send(command, optionsOrCb);
3425
- }
3426
- }
3427
- listPipelineExecutions(args, optionsOrCb, cb) {
3428
- const command = new ListPipelineExecutionsCommand(args);
3429
- if (typeof optionsOrCb === "function") {
3430
- this.send(command, optionsOrCb);
3431
- }
3432
- else if (typeof cb === "function") {
3433
- if (typeof optionsOrCb !== "object")
3434
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3435
- this.send(command, optionsOrCb || {}, cb);
3436
- }
3437
- else {
3438
- return this.send(command, optionsOrCb);
3439
- }
3440
- }
3441
- listPipelineExecutionSteps(args, optionsOrCb, cb) {
3442
- const command = new ListPipelineExecutionStepsCommand(args);
3443
- if (typeof optionsOrCb === "function") {
3444
- this.send(command, optionsOrCb);
3445
- }
3446
- else if (typeof cb === "function") {
3447
- if (typeof optionsOrCb !== "object")
3448
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3449
- this.send(command, optionsOrCb || {}, cb);
3450
- }
3451
- else {
3452
- return this.send(command, optionsOrCb);
3453
- }
3454
- }
3455
- listPipelineParametersForExecution(args, optionsOrCb, cb) {
3456
- const command = new ListPipelineParametersForExecutionCommand(args);
3457
- if (typeof optionsOrCb === "function") {
3458
- this.send(command, optionsOrCb);
3459
- }
3460
- else if (typeof cb === "function") {
3461
- if (typeof optionsOrCb !== "object")
3462
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3463
- this.send(command, optionsOrCb || {}, cb);
3464
- }
3465
- else {
3466
- return this.send(command, optionsOrCb);
3467
- }
3468
- }
3469
- listPipelines(args, optionsOrCb, cb) {
3470
- const command = new ListPipelinesCommand(args);
3471
- if (typeof optionsOrCb === "function") {
3472
- this.send(command, optionsOrCb);
3473
- }
3474
- else if (typeof cb === "function") {
3475
- if (typeof optionsOrCb !== "object")
3476
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3477
- this.send(command, optionsOrCb || {}, cb);
3478
- }
3479
- else {
3480
- return this.send(command, optionsOrCb);
3481
- }
3482
- }
3483
- listProcessingJobs(args, optionsOrCb, cb) {
3484
- const command = new ListProcessingJobsCommand(args);
3485
- if (typeof optionsOrCb === "function") {
3486
- this.send(command, optionsOrCb);
3487
- }
3488
- else if (typeof cb === "function") {
3489
- if (typeof optionsOrCb !== "object")
3490
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3491
- this.send(command, optionsOrCb || {}, cb);
3492
- }
3493
- else {
3494
- return this.send(command, optionsOrCb);
3495
- }
3496
- }
3497
- listProjects(args, optionsOrCb, cb) {
3498
- const command = new ListProjectsCommand(args);
3499
- if (typeof optionsOrCb === "function") {
3500
- this.send(command, optionsOrCb);
3501
- }
3502
- else if (typeof cb === "function") {
3503
- if (typeof optionsOrCb !== "object")
3504
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3505
- this.send(command, optionsOrCb || {}, cb);
3506
- }
3507
- else {
3508
- return this.send(command, optionsOrCb);
3509
- }
3510
- }
3511
- listSpaces(args, optionsOrCb, cb) {
3512
- const command = new ListSpacesCommand(args);
3513
- if (typeof optionsOrCb === "function") {
3514
- this.send(command, optionsOrCb);
3515
- }
3516
- else if (typeof cb === "function") {
3517
- if (typeof optionsOrCb !== "object")
3518
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3519
- this.send(command, optionsOrCb || {}, cb);
3520
- }
3521
- else {
3522
- return this.send(command, optionsOrCb);
3523
- }
3524
- }
3525
- listStageDevices(args, optionsOrCb, cb) {
3526
- const command = new ListStageDevicesCommand(args);
3527
- if (typeof optionsOrCb === "function") {
3528
- this.send(command, optionsOrCb);
3529
- }
3530
- else if (typeof cb === "function") {
3531
- if (typeof optionsOrCb !== "object")
3532
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3533
- this.send(command, optionsOrCb || {}, cb);
3534
- }
3535
- else {
3536
- return this.send(command, optionsOrCb);
3537
- }
3538
- }
3539
- listStudioLifecycleConfigs(args, optionsOrCb, cb) {
3540
- const command = new ListStudioLifecycleConfigsCommand(args);
3541
- if (typeof optionsOrCb === "function") {
3542
- this.send(command, optionsOrCb);
3543
- }
3544
- else if (typeof cb === "function") {
3545
- if (typeof optionsOrCb !== "object")
3546
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3547
- this.send(command, optionsOrCb || {}, cb);
3548
- }
3549
- else {
3550
- return this.send(command, optionsOrCb);
3551
- }
3552
- }
3553
- listSubscribedWorkteams(args, optionsOrCb, cb) {
3554
- const command = new ListSubscribedWorkteamsCommand(args);
3555
- if (typeof optionsOrCb === "function") {
3556
- this.send(command, optionsOrCb);
3557
- }
3558
- else if (typeof cb === "function") {
3559
- if (typeof optionsOrCb !== "object")
3560
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3561
- this.send(command, optionsOrCb || {}, cb);
3562
- }
3563
- else {
3564
- return this.send(command, optionsOrCb);
3565
- }
3566
- }
3567
- listTags(args, optionsOrCb, cb) {
3568
- const command = new ListTagsCommand(args);
3569
- if (typeof optionsOrCb === "function") {
3570
- this.send(command, optionsOrCb);
3571
- }
3572
- else if (typeof cb === "function") {
3573
- if (typeof optionsOrCb !== "object")
3574
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3575
- this.send(command, optionsOrCb || {}, cb);
3576
- }
3577
- else {
3578
- return this.send(command, optionsOrCb);
3579
- }
3580
- }
3581
- listTrainingJobs(args, optionsOrCb, cb) {
3582
- const command = new ListTrainingJobsCommand(args);
3583
- if (typeof optionsOrCb === "function") {
3584
- this.send(command, optionsOrCb);
3585
- }
3586
- else if (typeof cb === "function") {
3587
- if (typeof optionsOrCb !== "object")
3588
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3589
- this.send(command, optionsOrCb || {}, cb);
3590
- }
3591
- else {
3592
- return this.send(command, optionsOrCb);
3593
- }
3594
- }
3595
- listTrainingJobsForHyperParameterTuningJob(args, optionsOrCb, cb) {
3596
- const command = new ListTrainingJobsForHyperParameterTuningJobCommand(args);
3597
- if (typeof optionsOrCb === "function") {
3598
- this.send(command, optionsOrCb);
3599
- }
3600
- else if (typeof cb === "function") {
3601
- if (typeof optionsOrCb !== "object")
3602
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3603
- this.send(command, optionsOrCb || {}, cb);
3604
- }
3605
- else {
3606
- return this.send(command, optionsOrCb);
3607
- }
3608
- }
3609
- listTransformJobs(args, optionsOrCb, cb) {
3610
- const command = new ListTransformJobsCommand(args);
3611
- if (typeof optionsOrCb === "function") {
3612
- this.send(command, optionsOrCb);
3613
- }
3614
- else if (typeof cb === "function") {
3615
- if (typeof optionsOrCb !== "object")
3616
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3617
- this.send(command, optionsOrCb || {}, cb);
3618
- }
3619
- else {
3620
- return this.send(command, optionsOrCb);
3621
- }
3622
- }
3623
- listTrialComponents(args, optionsOrCb, cb) {
3624
- const command = new ListTrialComponentsCommand(args);
3625
- if (typeof optionsOrCb === "function") {
3626
- this.send(command, optionsOrCb);
3627
- }
3628
- else if (typeof cb === "function") {
3629
- if (typeof optionsOrCb !== "object")
3630
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3631
- this.send(command, optionsOrCb || {}, cb);
3632
- }
3633
- else {
3634
- return this.send(command, optionsOrCb);
3635
- }
3636
- }
3637
- listTrials(args, optionsOrCb, cb) {
3638
- const command = new ListTrialsCommand(args);
3639
- if (typeof optionsOrCb === "function") {
3640
- this.send(command, optionsOrCb);
3641
- }
3642
- else if (typeof cb === "function") {
3643
- if (typeof optionsOrCb !== "object")
3644
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3645
- this.send(command, optionsOrCb || {}, cb);
3646
- }
3647
- else {
3648
- return this.send(command, optionsOrCb);
3649
- }
3650
- }
3651
- listUserProfiles(args, optionsOrCb, cb) {
3652
- const command = new ListUserProfilesCommand(args);
3653
- if (typeof optionsOrCb === "function") {
3654
- this.send(command, optionsOrCb);
3655
- }
3656
- else if (typeof cb === "function") {
3657
- if (typeof optionsOrCb !== "object")
3658
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3659
- this.send(command, optionsOrCb || {}, cb);
3660
- }
3661
- else {
3662
- return this.send(command, optionsOrCb);
3663
- }
3664
- }
3665
- listWorkforces(args, optionsOrCb, cb) {
3666
- const command = new ListWorkforcesCommand(args);
3667
- if (typeof optionsOrCb === "function") {
3668
- this.send(command, optionsOrCb);
3669
- }
3670
- else if (typeof cb === "function") {
3671
- if (typeof optionsOrCb !== "object")
3672
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3673
- this.send(command, optionsOrCb || {}, cb);
3674
- }
3675
- else {
3676
- return this.send(command, optionsOrCb);
3677
- }
3678
- }
3679
- listWorkteams(args, optionsOrCb, cb) {
3680
- const command = new ListWorkteamsCommand(args);
3681
- if (typeof optionsOrCb === "function") {
3682
- this.send(command, optionsOrCb);
3683
- }
3684
- else if (typeof cb === "function") {
3685
- if (typeof optionsOrCb !== "object")
3686
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3687
- this.send(command, optionsOrCb || {}, cb);
3688
- }
3689
- else {
3690
- return this.send(command, optionsOrCb);
3691
- }
3692
- }
3693
- putModelPackageGroupPolicy(args, optionsOrCb, cb) {
3694
- const command = new PutModelPackageGroupPolicyCommand(args);
3695
- if (typeof optionsOrCb === "function") {
3696
- this.send(command, optionsOrCb);
3697
- }
3698
- else if (typeof cb === "function") {
3699
- if (typeof optionsOrCb !== "object")
3700
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3701
- this.send(command, optionsOrCb || {}, cb);
3702
- }
3703
- else {
3704
- return this.send(command, optionsOrCb);
3705
- }
3706
- }
3707
- queryLineage(args, optionsOrCb, cb) {
3708
- const command = new QueryLineageCommand(args);
3709
- if (typeof optionsOrCb === "function") {
3710
- this.send(command, optionsOrCb);
3711
- }
3712
- else if (typeof cb === "function") {
3713
- if (typeof optionsOrCb !== "object")
3714
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3715
- this.send(command, optionsOrCb || {}, cb);
3716
- }
3717
- else {
3718
- return this.send(command, optionsOrCb);
3719
- }
3720
- }
3721
- registerDevices(args, optionsOrCb, cb) {
3722
- const command = new RegisterDevicesCommand(args);
3723
- if (typeof optionsOrCb === "function") {
3724
- this.send(command, optionsOrCb);
3725
- }
3726
- else if (typeof cb === "function") {
3727
- if (typeof optionsOrCb !== "object")
3728
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3729
- this.send(command, optionsOrCb || {}, cb);
3730
- }
3731
- else {
3732
- return this.send(command, optionsOrCb);
3733
- }
3734
- }
3735
- renderUiTemplate(args, optionsOrCb, cb) {
3736
- const command = new RenderUiTemplateCommand(args);
3737
- if (typeof optionsOrCb === "function") {
3738
- this.send(command, optionsOrCb);
3739
- }
3740
- else if (typeof cb === "function") {
3741
- if (typeof optionsOrCb !== "object")
3742
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3743
- this.send(command, optionsOrCb || {}, cb);
3744
- }
3745
- else {
3746
- return this.send(command, optionsOrCb);
3747
- }
3748
- }
3749
- retryPipelineExecution(args, optionsOrCb, cb) {
3750
- const command = new RetryPipelineExecutionCommand(args);
3751
- if (typeof optionsOrCb === "function") {
3752
- this.send(command, optionsOrCb);
3753
- }
3754
- else if (typeof cb === "function") {
3755
- if (typeof optionsOrCb !== "object")
3756
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3757
- this.send(command, optionsOrCb || {}, cb);
3758
- }
3759
- else {
3760
- return this.send(command, optionsOrCb);
3761
- }
3762
- }
3763
- search(args, optionsOrCb, cb) {
3764
- const command = new SearchCommand(args);
3765
- if (typeof optionsOrCb === "function") {
3766
- this.send(command, optionsOrCb);
3767
- }
3768
- else if (typeof cb === "function") {
3769
- if (typeof optionsOrCb !== "object")
3770
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3771
- this.send(command, optionsOrCb || {}, cb);
3772
- }
3773
- else {
3774
- return this.send(command, optionsOrCb);
3775
- }
3776
- }
3777
- sendPipelineExecutionStepFailure(args, optionsOrCb, cb) {
3778
- const command = new SendPipelineExecutionStepFailureCommand(args);
3779
- if (typeof optionsOrCb === "function") {
3780
- this.send(command, optionsOrCb);
3781
- }
3782
- else if (typeof cb === "function") {
3783
- if (typeof optionsOrCb !== "object")
3784
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3785
- this.send(command, optionsOrCb || {}, cb);
3786
- }
3787
- else {
3788
- return this.send(command, optionsOrCb);
3789
- }
3790
- }
3791
- sendPipelineExecutionStepSuccess(args, optionsOrCb, cb) {
3792
- const command = new SendPipelineExecutionStepSuccessCommand(args);
3793
- if (typeof optionsOrCb === "function") {
3794
- this.send(command, optionsOrCb);
3795
- }
3796
- else if (typeof cb === "function") {
3797
- if (typeof optionsOrCb !== "object")
3798
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3799
- this.send(command, optionsOrCb || {}, cb);
3800
- }
3801
- else {
3802
- return this.send(command, optionsOrCb);
3803
- }
3804
- }
3805
- startEdgeDeploymentStage(args, optionsOrCb, cb) {
3806
- const command = new StartEdgeDeploymentStageCommand(args);
3807
- if (typeof optionsOrCb === "function") {
3808
- this.send(command, optionsOrCb);
3809
- }
3810
- else if (typeof cb === "function") {
3811
- if (typeof optionsOrCb !== "object")
3812
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3813
- this.send(command, optionsOrCb || {}, cb);
3814
- }
3815
- else {
3816
- return this.send(command, optionsOrCb);
3817
- }
3818
- }
3819
- startInferenceExperiment(args, optionsOrCb, cb) {
3820
- const command = new StartInferenceExperimentCommand(args);
3821
- if (typeof optionsOrCb === "function") {
3822
- this.send(command, optionsOrCb);
3823
- }
3824
- else if (typeof cb === "function") {
3825
- if (typeof optionsOrCb !== "object")
3826
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3827
- this.send(command, optionsOrCb || {}, cb);
3828
- }
3829
- else {
3830
- return this.send(command, optionsOrCb);
3831
- }
3832
- }
3833
- startMonitoringSchedule(args, optionsOrCb, cb) {
3834
- const command = new StartMonitoringScheduleCommand(args);
3835
- if (typeof optionsOrCb === "function") {
3836
- this.send(command, optionsOrCb);
3837
- }
3838
- else if (typeof cb === "function") {
3839
- if (typeof optionsOrCb !== "object")
3840
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3841
- this.send(command, optionsOrCb || {}, cb);
3842
- }
3843
- else {
3844
- return this.send(command, optionsOrCb);
3845
- }
3846
- }
3847
- startNotebookInstance(args, optionsOrCb, cb) {
3848
- const command = new StartNotebookInstanceCommand(args);
3849
- if (typeof optionsOrCb === "function") {
3850
- this.send(command, optionsOrCb);
3851
- }
3852
- else if (typeof cb === "function") {
3853
- if (typeof optionsOrCb !== "object")
3854
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3855
- this.send(command, optionsOrCb || {}, cb);
3856
- }
3857
- else {
3858
- return this.send(command, optionsOrCb);
3859
- }
3860
- }
3861
- startPipelineExecution(args, optionsOrCb, cb) {
3862
- const command = new StartPipelineExecutionCommand(args);
3863
- if (typeof optionsOrCb === "function") {
3864
- this.send(command, optionsOrCb);
3865
- }
3866
- else if (typeof cb === "function") {
3867
- if (typeof optionsOrCb !== "object")
3868
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3869
- this.send(command, optionsOrCb || {}, cb);
3870
- }
3871
- else {
3872
- return this.send(command, optionsOrCb);
3873
- }
3874
- }
3875
- stopAutoMLJob(args, optionsOrCb, cb) {
3876
- const command = new StopAutoMLJobCommand(args);
3877
- if (typeof optionsOrCb === "function") {
3878
- this.send(command, optionsOrCb);
3879
- }
3880
- else if (typeof cb === "function") {
3881
- if (typeof optionsOrCb !== "object")
3882
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3883
- this.send(command, optionsOrCb || {}, cb);
3884
- }
3885
- else {
3886
- return this.send(command, optionsOrCb);
3887
- }
3888
- }
3889
- stopCompilationJob(args, optionsOrCb, cb) {
3890
- const command = new StopCompilationJobCommand(args);
3891
- if (typeof optionsOrCb === "function") {
3892
- this.send(command, optionsOrCb);
3893
- }
3894
- else if (typeof cb === "function") {
3895
- if (typeof optionsOrCb !== "object")
3896
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3897
- this.send(command, optionsOrCb || {}, cb);
3898
- }
3899
- else {
3900
- return this.send(command, optionsOrCb);
3901
- }
3902
- }
3903
- stopEdgeDeploymentStage(args, optionsOrCb, cb) {
3904
- const command = new StopEdgeDeploymentStageCommand(args);
3905
- if (typeof optionsOrCb === "function") {
3906
- this.send(command, optionsOrCb);
3907
- }
3908
- else if (typeof cb === "function") {
3909
- if (typeof optionsOrCb !== "object")
3910
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3911
- this.send(command, optionsOrCb || {}, cb);
3912
- }
3913
- else {
3914
- return this.send(command, optionsOrCb);
3915
- }
3916
- }
3917
- stopEdgePackagingJob(args, optionsOrCb, cb) {
3918
- const command = new StopEdgePackagingJobCommand(args);
3919
- if (typeof optionsOrCb === "function") {
3920
- this.send(command, optionsOrCb);
3921
- }
3922
- else if (typeof cb === "function") {
3923
- if (typeof optionsOrCb !== "object")
3924
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3925
- this.send(command, optionsOrCb || {}, cb);
3926
- }
3927
- else {
3928
- return this.send(command, optionsOrCb);
3929
- }
3930
- }
3931
- stopHyperParameterTuningJob(args, optionsOrCb, cb) {
3932
- const command = new StopHyperParameterTuningJobCommand(args);
3933
- if (typeof optionsOrCb === "function") {
3934
- this.send(command, optionsOrCb);
3935
- }
3936
- else if (typeof cb === "function") {
3937
- if (typeof optionsOrCb !== "object")
3938
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3939
- this.send(command, optionsOrCb || {}, cb);
3940
- }
3941
- else {
3942
- return this.send(command, optionsOrCb);
3943
- }
3944
- }
3945
- stopInferenceExperiment(args, optionsOrCb, cb) {
3946
- const command = new StopInferenceExperimentCommand(args);
3947
- if (typeof optionsOrCb === "function") {
3948
- this.send(command, optionsOrCb);
3949
- }
3950
- else if (typeof cb === "function") {
3951
- if (typeof optionsOrCb !== "object")
3952
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3953
- this.send(command, optionsOrCb || {}, cb);
3954
- }
3955
- else {
3956
- return this.send(command, optionsOrCb);
3957
- }
3958
- }
3959
- stopInferenceRecommendationsJob(args, optionsOrCb, cb) {
3960
- const command = new StopInferenceRecommendationsJobCommand(args);
3961
- if (typeof optionsOrCb === "function") {
3962
- this.send(command, optionsOrCb);
3963
- }
3964
- else if (typeof cb === "function") {
3965
- if (typeof optionsOrCb !== "object")
3966
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3967
- this.send(command, optionsOrCb || {}, cb);
3968
- }
3969
- else {
3970
- return this.send(command, optionsOrCb);
3971
- }
3972
- }
3973
- stopLabelingJob(args, optionsOrCb, cb) {
3974
- const command = new StopLabelingJobCommand(args);
3975
- if (typeof optionsOrCb === "function") {
3976
- this.send(command, optionsOrCb);
3977
- }
3978
- else if (typeof cb === "function") {
3979
- if (typeof optionsOrCb !== "object")
3980
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3981
- this.send(command, optionsOrCb || {}, cb);
3982
- }
3983
- else {
3984
- return this.send(command, optionsOrCb);
3985
- }
3986
- }
3987
- stopMonitoringSchedule(args, optionsOrCb, cb) {
3988
- const command = new StopMonitoringScheduleCommand(args);
3989
- if (typeof optionsOrCb === "function") {
3990
- this.send(command, optionsOrCb);
3991
- }
3992
- else if (typeof cb === "function") {
3993
- if (typeof optionsOrCb !== "object")
3994
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
3995
- this.send(command, optionsOrCb || {}, cb);
3996
- }
3997
- else {
3998
- return this.send(command, optionsOrCb);
3999
- }
4000
- }
4001
- stopNotebookInstance(args, optionsOrCb, cb) {
4002
- const command = new StopNotebookInstanceCommand(args);
4003
- if (typeof optionsOrCb === "function") {
4004
- this.send(command, optionsOrCb);
4005
- }
4006
- else if (typeof cb === "function") {
4007
- if (typeof optionsOrCb !== "object")
4008
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4009
- this.send(command, optionsOrCb || {}, cb);
4010
- }
4011
- else {
4012
- return this.send(command, optionsOrCb);
4013
- }
4014
- }
4015
- stopPipelineExecution(args, optionsOrCb, cb) {
4016
- const command = new StopPipelineExecutionCommand(args);
4017
- if (typeof optionsOrCb === "function") {
4018
- this.send(command, optionsOrCb);
4019
- }
4020
- else if (typeof cb === "function") {
4021
- if (typeof optionsOrCb !== "object")
4022
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4023
- this.send(command, optionsOrCb || {}, cb);
4024
- }
4025
- else {
4026
- return this.send(command, optionsOrCb);
4027
- }
4028
- }
4029
- stopProcessingJob(args, optionsOrCb, cb) {
4030
- const command = new StopProcessingJobCommand(args);
4031
- if (typeof optionsOrCb === "function") {
4032
- this.send(command, optionsOrCb);
4033
- }
4034
- else if (typeof cb === "function") {
4035
- if (typeof optionsOrCb !== "object")
4036
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4037
- this.send(command, optionsOrCb || {}, cb);
4038
- }
4039
- else {
4040
- return this.send(command, optionsOrCb);
4041
- }
4042
- }
4043
- stopTrainingJob(args, optionsOrCb, cb) {
4044
- const command = new StopTrainingJobCommand(args);
4045
- if (typeof optionsOrCb === "function") {
4046
- this.send(command, optionsOrCb);
4047
- }
4048
- else if (typeof cb === "function") {
4049
- if (typeof optionsOrCb !== "object")
4050
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4051
- this.send(command, optionsOrCb || {}, cb);
4052
- }
4053
- else {
4054
- return this.send(command, optionsOrCb);
4055
- }
4056
- }
4057
- stopTransformJob(args, optionsOrCb, cb) {
4058
- const command = new StopTransformJobCommand(args);
4059
- if (typeof optionsOrCb === "function") {
4060
- this.send(command, optionsOrCb);
4061
- }
4062
- else if (typeof cb === "function") {
4063
- if (typeof optionsOrCb !== "object")
4064
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4065
- this.send(command, optionsOrCb || {}, cb);
4066
- }
4067
- else {
4068
- return this.send(command, optionsOrCb);
4069
- }
4070
- }
4071
- updateAction(args, optionsOrCb, cb) {
4072
- const command = new UpdateActionCommand(args);
4073
- if (typeof optionsOrCb === "function") {
4074
- this.send(command, optionsOrCb);
4075
- }
4076
- else if (typeof cb === "function") {
4077
- if (typeof optionsOrCb !== "object")
4078
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4079
- this.send(command, optionsOrCb || {}, cb);
4080
- }
4081
- else {
4082
- return this.send(command, optionsOrCb);
4083
- }
4084
- }
4085
- updateAppImageConfig(args, optionsOrCb, cb) {
4086
- const command = new UpdateAppImageConfigCommand(args);
4087
- if (typeof optionsOrCb === "function") {
4088
- this.send(command, optionsOrCb);
4089
- }
4090
- else if (typeof cb === "function") {
4091
- if (typeof optionsOrCb !== "object")
4092
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4093
- this.send(command, optionsOrCb || {}, cb);
4094
- }
4095
- else {
4096
- return this.send(command, optionsOrCb);
4097
- }
4098
- }
4099
- updateArtifact(args, optionsOrCb, cb) {
4100
- const command = new UpdateArtifactCommand(args);
4101
- if (typeof optionsOrCb === "function") {
4102
- this.send(command, optionsOrCb);
4103
- }
4104
- else if (typeof cb === "function") {
4105
- if (typeof optionsOrCb !== "object")
4106
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4107
- this.send(command, optionsOrCb || {}, cb);
4108
- }
4109
- else {
4110
- return this.send(command, optionsOrCb);
4111
- }
4112
- }
4113
- updateCodeRepository(args, optionsOrCb, cb) {
4114
- const command = new UpdateCodeRepositoryCommand(args);
4115
- if (typeof optionsOrCb === "function") {
4116
- this.send(command, optionsOrCb);
4117
- }
4118
- else if (typeof cb === "function") {
4119
- if (typeof optionsOrCb !== "object")
4120
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4121
- this.send(command, optionsOrCb || {}, cb);
4122
- }
4123
- else {
4124
- return this.send(command, optionsOrCb);
4125
- }
4126
- }
4127
- updateContext(args, optionsOrCb, cb) {
4128
- const command = new UpdateContextCommand(args);
4129
- if (typeof optionsOrCb === "function") {
4130
- this.send(command, optionsOrCb);
4131
- }
4132
- else if (typeof cb === "function") {
4133
- if (typeof optionsOrCb !== "object")
4134
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4135
- this.send(command, optionsOrCb || {}, cb);
4136
- }
4137
- else {
4138
- return this.send(command, optionsOrCb);
4139
- }
4140
- }
4141
- updateDeviceFleet(args, optionsOrCb, cb) {
4142
- const command = new UpdateDeviceFleetCommand(args);
4143
- if (typeof optionsOrCb === "function") {
4144
- this.send(command, optionsOrCb);
4145
- }
4146
- else if (typeof cb === "function") {
4147
- if (typeof optionsOrCb !== "object")
4148
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4149
- this.send(command, optionsOrCb || {}, cb);
4150
- }
4151
- else {
4152
- return this.send(command, optionsOrCb);
4153
- }
4154
- }
4155
- updateDevices(args, optionsOrCb, cb) {
4156
- const command = new UpdateDevicesCommand(args);
4157
- if (typeof optionsOrCb === "function") {
4158
- this.send(command, optionsOrCb);
4159
- }
4160
- else if (typeof cb === "function") {
4161
- if (typeof optionsOrCb !== "object")
4162
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4163
- this.send(command, optionsOrCb || {}, cb);
4164
- }
4165
- else {
4166
- return this.send(command, optionsOrCb);
4167
- }
4168
- }
4169
- updateDomain(args, optionsOrCb, cb) {
4170
- const command = new UpdateDomainCommand(args);
4171
- if (typeof optionsOrCb === "function") {
4172
- this.send(command, optionsOrCb);
4173
- }
4174
- else if (typeof cb === "function") {
4175
- if (typeof optionsOrCb !== "object")
4176
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4177
- this.send(command, optionsOrCb || {}, cb);
4178
- }
4179
- else {
4180
- return this.send(command, optionsOrCb);
4181
- }
4182
- }
4183
- updateEndpoint(args, optionsOrCb, cb) {
4184
- const command = new UpdateEndpointCommand(args);
4185
- if (typeof optionsOrCb === "function") {
4186
- this.send(command, optionsOrCb);
4187
- }
4188
- else if (typeof cb === "function") {
4189
- if (typeof optionsOrCb !== "object")
4190
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4191
- this.send(command, optionsOrCb || {}, cb);
4192
- }
4193
- else {
4194
- return this.send(command, optionsOrCb);
4195
- }
4196
- }
4197
- updateEndpointWeightsAndCapacities(args, optionsOrCb, cb) {
4198
- const command = new UpdateEndpointWeightsAndCapacitiesCommand(args);
4199
- if (typeof optionsOrCb === "function") {
4200
- this.send(command, optionsOrCb);
4201
- }
4202
- else if (typeof cb === "function") {
4203
- if (typeof optionsOrCb !== "object")
4204
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4205
- this.send(command, optionsOrCb || {}, cb);
4206
- }
4207
- else {
4208
- return this.send(command, optionsOrCb);
4209
- }
4210
- }
4211
- updateExperiment(args, optionsOrCb, cb) {
4212
- const command = new UpdateExperimentCommand(args);
4213
- if (typeof optionsOrCb === "function") {
4214
- this.send(command, optionsOrCb);
4215
- }
4216
- else if (typeof cb === "function") {
4217
- if (typeof optionsOrCb !== "object")
4218
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4219
- this.send(command, optionsOrCb || {}, cb);
4220
- }
4221
- else {
4222
- return this.send(command, optionsOrCb);
4223
- }
4224
- }
4225
- updateFeatureGroup(args, optionsOrCb, cb) {
4226
- const command = new UpdateFeatureGroupCommand(args);
4227
- if (typeof optionsOrCb === "function") {
4228
- this.send(command, optionsOrCb);
4229
- }
4230
- else if (typeof cb === "function") {
4231
- if (typeof optionsOrCb !== "object")
4232
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4233
- this.send(command, optionsOrCb || {}, cb);
4234
- }
4235
- else {
4236
- return this.send(command, optionsOrCb);
4237
- }
4238
- }
4239
- updateFeatureMetadata(args, optionsOrCb, cb) {
4240
- const command = new UpdateFeatureMetadataCommand(args);
4241
- if (typeof optionsOrCb === "function") {
4242
- this.send(command, optionsOrCb);
4243
- }
4244
- else if (typeof cb === "function") {
4245
- if (typeof optionsOrCb !== "object")
4246
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4247
- this.send(command, optionsOrCb || {}, cb);
4248
- }
4249
- else {
4250
- return this.send(command, optionsOrCb);
4251
- }
4252
- }
4253
- updateHub(args, optionsOrCb, cb) {
4254
- const command = new UpdateHubCommand(args);
4255
- if (typeof optionsOrCb === "function") {
4256
- this.send(command, optionsOrCb);
4257
- }
4258
- else if (typeof cb === "function") {
4259
- if (typeof optionsOrCb !== "object")
4260
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4261
- this.send(command, optionsOrCb || {}, cb);
4262
- }
4263
- else {
4264
- return this.send(command, optionsOrCb);
4265
- }
4266
- }
4267
- updateImage(args, optionsOrCb, cb) {
4268
- const command = new UpdateImageCommand(args);
4269
- if (typeof optionsOrCb === "function") {
4270
- this.send(command, optionsOrCb);
4271
- }
4272
- else if (typeof cb === "function") {
4273
- if (typeof optionsOrCb !== "object")
4274
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4275
- this.send(command, optionsOrCb || {}, cb);
4276
- }
4277
- else {
4278
- return this.send(command, optionsOrCb);
4279
- }
4280
- }
4281
- updateImageVersion(args, optionsOrCb, cb) {
4282
- const command = new UpdateImageVersionCommand(args);
4283
- if (typeof optionsOrCb === "function") {
4284
- this.send(command, optionsOrCb);
4285
- }
4286
- else if (typeof cb === "function") {
4287
- if (typeof optionsOrCb !== "object")
4288
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4289
- this.send(command, optionsOrCb || {}, cb);
4290
- }
4291
- else {
4292
- return this.send(command, optionsOrCb);
4293
- }
4294
- }
4295
- updateInferenceExperiment(args, optionsOrCb, cb) {
4296
- const command = new UpdateInferenceExperimentCommand(args);
4297
- if (typeof optionsOrCb === "function") {
4298
- this.send(command, optionsOrCb);
4299
- }
4300
- else if (typeof cb === "function") {
4301
- if (typeof optionsOrCb !== "object")
4302
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4303
- this.send(command, optionsOrCb || {}, cb);
4304
- }
4305
- else {
4306
- return this.send(command, optionsOrCb);
4307
- }
4308
- }
4309
- updateModelCard(args, optionsOrCb, cb) {
4310
- const command = new UpdateModelCardCommand(args);
4311
- if (typeof optionsOrCb === "function") {
4312
- this.send(command, optionsOrCb);
4313
- }
4314
- else if (typeof cb === "function") {
4315
- if (typeof optionsOrCb !== "object")
4316
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4317
- this.send(command, optionsOrCb || {}, cb);
4318
- }
4319
- else {
4320
- return this.send(command, optionsOrCb);
4321
- }
4322
- }
4323
- updateModelPackage(args, optionsOrCb, cb) {
4324
- const command = new UpdateModelPackageCommand(args);
4325
- if (typeof optionsOrCb === "function") {
4326
- this.send(command, optionsOrCb);
4327
- }
4328
- else if (typeof cb === "function") {
4329
- if (typeof optionsOrCb !== "object")
4330
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4331
- this.send(command, optionsOrCb || {}, cb);
4332
- }
4333
- else {
4334
- return this.send(command, optionsOrCb);
4335
- }
4336
- }
4337
- updateMonitoringAlert(args, optionsOrCb, cb) {
4338
- const command = new UpdateMonitoringAlertCommand(args);
4339
- if (typeof optionsOrCb === "function") {
4340
- this.send(command, optionsOrCb);
4341
- }
4342
- else if (typeof cb === "function") {
4343
- if (typeof optionsOrCb !== "object")
4344
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4345
- this.send(command, optionsOrCb || {}, cb);
4346
- }
4347
- else {
4348
- return this.send(command, optionsOrCb);
4349
- }
4350
- }
4351
- updateMonitoringSchedule(args, optionsOrCb, cb) {
4352
- const command = new UpdateMonitoringScheduleCommand(args);
4353
- if (typeof optionsOrCb === "function") {
4354
- this.send(command, optionsOrCb);
4355
- }
4356
- else if (typeof cb === "function") {
4357
- if (typeof optionsOrCb !== "object")
4358
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4359
- this.send(command, optionsOrCb || {}, cb);
4360
- }
4361
- else {
4362
- return this.send(command, optionsOrCb);
4363
- }
4364
- }
4365
- updateNotebookInstance(args, optionsOrCb, cb) {
4366
- const command = new UpdateNotebookInstanceCommand(args);
4367
- if (typeof optionsOrCb === "function") {
4368
- this.send(command, optionsOrCb);
4369
- }
4370
- else if (typeof cb === "function") {
4371
- if (typeof optionsOrCb !== "object")
4372
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4373
- this.send(command, optionsOrCb || {}, cb);
4374
- }
4375
- else {
4376
- return this.send(command, optionsOrCb);
4377
- }
4378
- }
4379
- updateNotebookInstanceLifecycleConfig(args, optionsOrCb, cb) {
4380
- const command = new UpdateNotebookInstanceLifecycleConfigCommand(args);
4381
- if (typeof optionsOrCb === "function") {
4382
- this.send(command, optionsOrCb);
4383
- }
4384
- else if (typeof cb === "function") {
4385
- if (typeof optionsOrCb !== "object")
4386
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4387
- this.send(command, optionsOrCb || {}, cb);
4388
- }
4389
- else {
4390
- return this.send(command, optionsOrCb);
4391
- }
4392
- }
4393
- updatePipeline(args, optionsOrCb, cb) {
4394
- const command = new UpdatePipelineCommand(args);
4395
- if (typeof optionsOrCb === "function") {
4396
- this.send(command, optionsOrCb);
4397
- }
4398
- else if (typeof cb === "function") {
4399
- if (typeof optionsOrCb !== "object")
4400
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4401
- this.send(command, optionsOrCb || {}, cb);
4402
- }
4403
- else {
4404
- return this.send(command, optionsOrCb);
4405
- }
4406
- }
4407
- updatePipelineExecution(args, optionsOrCb, cb) {
4408
- const command = new UpdatePipelineExecutionCommand(args);
4409
- if (typeof optionsOrCb === "function") {
4410
- this.send(command, optionsOrCb);
4411
- }
4412
- else if (typeof cb === "function") {
4413
- if (typeof optionsOrCb !== "object")
4414
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4415
- this.send(command, optionsOrCb || {}, cb);
4416
- }
4417
- else {
4418
- return this.send(command, optionsOrCb);
4419
- }
4420
- }
4421
- updateProject(args, optionsOrCb, cb) {
4422
- const command = new UpdateProjectCommand(args);
4423
- if (typeof optionsOrCb === "function") {
4424
- this.send(command, optionsOrCb);
4425
- }
4426
- else if (typeof cb === "function") {
4427
- if (typeof optionsOrCb !== "object")
4428
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4429
- this.send(command, optionsOrCb || {}, cb);
4430
- }
4431
- else {
4432
- return this.send(command, optionsOrCb);
4433
- }
4434
- }
4435
- updateSpace(args, optionsOrCb, cb) {
4436
- const command = new UpdateSpaceCommand(args);
4437
- if (typeof optionsOrCb === "function") {
4438
- this.send(command, optionsOrCb);
4439
- }
4440
- else if (typeof cb === "function") {
4441
- if (typeof optionsOrCb !== "object")
4442
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4443
- this.send(command, optionsOrCb || {}, cb);
4444
- }
4445
- else {
4446
- return this.send(command, optionsOrCb);
4447
- }
4448
- }
4449
- updateTrainingJob(args, optionsOrCb, cb) {
4450
- const command = new UpdateTrainingJobCommand(args);
4451
- if (typeof optionsOrCb === "function") {
4452
- this.send(command, optionsOrCb);
4453
- }
4454
- else if (typeof cb === "function") {
4455
- if (typeof optionsOrCb !== "object")
4456
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4457
- this.send(command, optionsOrCb || {}, cb);
4458
- }
4459
- else {
4460
- return this.send(command, optionsOrCb);
4461
- }
4462
- }
4463
- updateTrial(args, optionsOrCb, cb) {
4464
- const command = new UpdateTrialCommand(args);
4465
- if (typeof optionsOrCb === "function") {
4466
- this.send(command, optionsOrCb);
4467
- }
4468
- else if (typeof cb === "function") {
4469
- if (typeof optionsOrCb !== "object")
4470
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4471
- this.send(command, optionsOrCb || {}, cb);
4472
- }
4473
- else {
4474
- return this.send(command, optionsOrCb);
4475
- }
4476
- }
4477
- updateTrialComponent(args, optionsOrCb, cb) {
4478
- const command = new UpdateTrialComponentCommand(args);
4479
- if (typeof optionsOrCb === "function") {
4480
- this.send(command, optionsOrCb);
4481
- }
4482
- else if (typeof cb === "function") {
4483
- if (typeof optionsOrCb !== "object")
4484
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4485
- this.send(command, optionsOrCb || {}, cb);
4486
- }
4487
- else {
4488
- return this.send(command, optionsOrCb);
4489
- }
4490
- }
4491
- updateUserProfile(args, optionsOrCb, cb) {
4492
- const command = new UpdateUserProfileCommand(args);
4493
- if (typeof optionsOrCb === "function") {
4494
- this.send(command, optionsOrCb);
4495
- }
4496
- else if (typeof cb === "function") {
4497
- if (typeof optionsOrCb !== "object")
4498
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4499
- this.send(command, optionsOrCb || {}, cb);
4500
- }
4501
- else {
4502
- return this.send(command, optionsOrCb);
4503
- }
4504
- }
4505
- updateWorkforce(args, optionsOrCb, cb) {
4506
- const command = new UpdateWorkforceCommand(args);
4507
- if (typeof optionsOrCb === "function") {
4508
- this.send(command, optionsOrCb);
4509
- }
4510
- else if (typeof cb === "function") {
4511
- if (typeof optionsOrCb !== "object")
4512
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4513
- this.send(command, optionsOrCb || {}, cb);
4514
- }
4515
- else {
4516
- return this.send(command, optionsOrCb);
4517
- }
4518
- }
4519
- updateWorkteam(args, optionsOrCb, cb) {
4520
- const command = new UpdateWorkteamCommand(args);
4521
- if (typeof optionsOrCb === "function") {
4522
- this.send(command, optionsOrCb);
4523
- }
4524
- else if (typeof cb === "function") {
4525
- if (typeof optionsOrCb !== "object")
4526
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
4527
- this.send(command, optionsOrCb || {}, cb);
4528
- }
4529
- else {
4530
- return this.send(command, optionsOrCb);
4531
- }
4532
- }
4533
610
  }
611
+ createAggregatedClient(commands, SageMaker);