1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package sagemaker 4 5import ( 6 "context" 7 "fmt" 8 "github.com/aws/aws-sdk-go-v2/service/sagemaker/types" 9 smithy "github.com/aws/smithy-go" 10 "github.com/aws/smithy-go/middleware" 11) 12 13type validateOpAddAssociation struct { 14} 15 16func (*validateOpAddAssociation) ID() string { 17 return "OperationInputValidation" 18} 19 20func (m *validateOpAddAssociation) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 21 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 22) { 23 input, ok := in.Parameters.(*AddAssociationInput) 24 if !ok { 25 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 26 } 27 if err := validateOpAddAssociationInput(input); err != nil { 28 return out, metadata, err 29 } 30 return next.HandleInitialize(ctx, in) 31} 32 33type validateOpAddTags struct { 34} 35 36func (*validateOpAddTags) ID() string { 37 return "OperationInputValidation" 38} 39 40func (m *validateOpAddTags) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 41 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 42) { 43 input, ok := in.Parameters.(*AddTagsInput) 44 if !ok { 45 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 46 } 47 if err := validateOpAddTagsInput(input); err != nil { 48 return out, metadata, err 49 } 50 return next.HandleInitialize(ctx, in) 51} 52 53type validateOpAssociateTrialComponent struct { 54} 55 56func (*validateOpAssociateTrialComponent) ID() string { 57 return "OperationInputValidation" 58} 59 60func (m *validateOpAssociateTrialComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 61 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 62) { 63 input, ok := in.Parameters.(*AssociateTrialComponentInput) 64 if !ok { 65 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 66 } 67 if err := validateOpAssociateTrialComponentInput(input); err != nil { 68 return out, metadata, err 69 } 70 return next.HandleInitialize(ctx, in) 71} 72 73type validateOpCreateAction struct { 74} 75 76func (*validateOpCreateAction) ID() string { 77 return "OperationInputValidation" 78} 79 80func (m *validateOpCreateAction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 81 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 82) { 83 input, ok := in.Parameters.(*CreateActionInput) 84 if !ok { 85 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 86 } 87 if err := validateOpCreateActionInput(input); err != nil { 88 return out, metadata, err 89 } 90 return next.HandleInitialize(ctx, in) 91} 92 93type validateOpCreateAlgorithm struct { 94} 95 96func (*validateOpCreateAlgorithm) ID() string { 97 return "OperationInputValidation" 98} 99 100func (m *validateOpCreateAlgorithm) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 101 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 102) { 103 input, ok := in.Parameters.(*CreateAlgorithmInput) 104 if !ok { 105 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 106 } 107 if err := validateOpCreateAlgorithmInput(input); err != nil { 108 return out, metadata, err 109 } 110 return next.HandleInitialize(ctx, in) 111} 112 113type validateOpCreateAppImageConfig struct { 114} 115 116func (*validateOpCreateAppImageConfig) ID() string { 117 return "OperationInputValidation" 118} 119 120func (m *validateOpCreateAppImageConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 121 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 122) { 123 input, ok := in.Parameters.(*CreateAppImageConfigInput) 124 if !ok { 125 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 126 } 127 if err := validateOpCreateAppImageConfigInput(input); err != nil { 128 return out, metadata, err 129 } 130 return next.HandleInitialize(ctx, in) 131} 132 133type validateOpCreateApp struct { 134} 135 136func (*validateOpCreateApp) ID() string { 137 return "OperationInputValidation" 138} 139 140func (m *validateOpCreateApp) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 141 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 142) { 143 input, ok := in.Parameters.(*CreateAppInput) 144 if !ok { 145 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 146 } 147 if err := validateOpCreateAppInput(input); err != nil { 148 return out, metadata, err 149 } 150 return next.HandleInitialize(ctx, in) 151} 152 153type validateOpCreateArtifact struct { 154} 155 156func (*validateOpCreateArtifact) ID() string { 157 return "OperationInputValidation" 158} 159 160func (m *validateOpCreateArtifact) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 161 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 162) { 163 input, ok := in.Parameters.(*CreateArtifactInput) 164 if !ok { 165 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 166 } 167 if err := validateOpCreateArtifactInput(input); err != nil { 168 return out, metadata, err 169 } 170 return next.HandleInitialize(ctx, in) 171} 172 173type validateOpCreateAutoMLJob struct { 174} 175 176func (*validateOpCreateAutoMLJob) ID() string { 177 return "OperationInputValidation" 178} 179 180func (m *validateOpCreateAutoMLJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 181 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 182) { 183 input, ok := in.Parameters.(*CreateAutoMLJobInput) 184 if !ok { 185 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 186 } 187 if err := validateOpCreateAutoMLJobInput(input); err != nil { 188 return out, metadata, err 189 } 190 return next.HandleInitialize(ctx, in) 191} 192 193type validateOpCreateCodeRepository struct { 194} 195 196func (*validateOpCreateCodeRepository) ID() string { 197 return "OperationInputValidation" 198} 199 200func (m *validateOpCreateCodeRepository) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 201 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 202) { 203 input, ok := in.Parameters.(*CreateCodeRepositoryInput) 204 if !ok { 205 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 206 } 207 if err := validateOpCreateCodeRepositoryInput(input); err != nil { 208 return out, metadata, err 209 } 210 return next.HandleInitialize(ctx, in) 211} 212 213type validateOpCreateCompilationJob struct { 214} 215 216func (*validateOpCreateCompilationJob) ID() string { 217 return "OperationInputValidation" 218} 219 220func (m *validateOpCreateCompilationJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 221 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 222) { 223 input, ok := in.Parameters.(*CreateCompilationJobInput) 224 if !ok { 225 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 226 } 227 if err := validateOpCreateCompilationJobInput(input); err != nil { 228 return out, metadata, err 229 } 230 return next.HandleInitialize(ctx, in) 231} 232 233type validateOpCreateContext struct { 234} 235 236func (*validateOpCreateContext) ID() string { 237 return "OperationInputValidation" 238} 239 240func (m *validateOpCreateContext) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 241 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 242) { 243 input, ok := in.Parameters.(*CreateContextInput) 244 if !ok { 245 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 246 } 247 if err := validateOpCreateContextInput(input); err != nil { 248 return out, metadata, err 249 } 250 return next.HandleInitialize(ctx, in) 251} 252 253type validateOpCreateDataQualityJobDefinition struct { 254} 255 256func (*validateOpCreateDataQualityJobDefinition) ID() string { 257 return "OperationInputValidation" 258} 259 260func (m *validateOpCreateDataQualityJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 261 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 262) { 263 input, ok := in.Parameters.(*CreateDataQualityJobDefinitionInput) 264 if !ok { 265 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 266 } 267 if err := validateOpCreateDataQualityJobDefinitionInput(input); err != nil { 268 return out, metadata, err 269 } 270 return next.HandleInitialize(ctx, in) 271} 272 273type validateOpCreateDeviceFleet struct { 274} 275 276func (*validateOpCreateDeviceFleet) ID() string { 277 return "OperationInputValidation" 278} 279 280func (m *validateOpCreateDeviceFleet) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 281 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 282) { 283 input, ok := in.Parameters.(*CreateDeviceFleetInput) 284 if !ok { 285 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 286 } 287 if err := validateOpCreateDeviceFleetInput(input); err != nil { 288 return out, metadata, err 289 } 290 return next.HandleInitialize(ctx, in) 291} 292 293type validateOpCreateDomain struct { 294} 295 296func (*validateOpCreateDomain) ID() string { 297 return "OperationInputValidation" 298} 299 300func (m *validateOpCreateDomain) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 301 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 302) { 303 input, ok := in.Parameters.(*CreateDomainInput) 304 if !ok { 305 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 306 } 307 if err := validateOpCreateDomainInput(input); err != nil { 308 return out, metadata, err 309 } 310 return next.HandleInitialize(ctx, in) 311} 312 313type validateOpCreateEdgePackagingJob struct { 314} 315 316func (*validateOpCreateEdgePackagingJob) ID() string { 317 return "OperationInputValidation" 318} 319 320func (m *validateOpCreateEdgePackagingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 321 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 322) { 323 input, ok := in.Parameters.(*CreateEdgePackagingJobInput) 324 if !ok { 325 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 326 } 327 if err := validateOpCreateEdgePackagingJobInput(input); err != nil { 328 return out, metadata, err 329 } 330 return next.HandleInitialize(ctx, in) 331} 332 333type validateOpCreateEndpointConfig struct { 334} 335 336func (*validateOpCreateEndpointConfig) ID() string { 337 return "OperationInputValidation" 338} 339 340func (m *validateOpCreateEndpointConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 341 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 342) { 343 input, ok := in.Parameters.(*CreateEndpointConfigInput) 344 if !ok { 345 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 346 } 347 if err := validateOpCreateEndpointConfigInput(input); err != nil { 348 return out, metadata, err 349 } 350 return next.HandleInitialize(ctx, in) 351} 352 353type validateOpCreateEndpoint struct { 354} 355 356func (*validateOpCreateEndpoint) ID() string { 357 return "OperationInputValidation" 358} 359 360func (m *validateOpCreateEndpoint) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 361 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 362) { 363 input, ok := in.Parameters.(*CreateEndpointInput) 364 if !ok { 365 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 366 } 367 if err := validateOpCreateEndpointInput(input); err != nil { 368 return out, metadata, err 369 } 370 return next.HandleInitialize(ctx, in) 371} 372 373type validateOpCreateExperiment struct { 374} 375 376func (*validateOpCreateExperiment) ID() string { 377 return "OperationInputValidation" 378} 379 380func (m *validateOpCreateExperiment) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 381 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 382) { 383 input, ok := in.Parameters.(*CreateExperimentInput) 384 if !ok { 385 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 386 } 387 if err := validateOpCreateExperimentInput(input); err != nil { 388 return out, metadata, err 389 } 390 return next.HandleInitialize(ctx, in) 391} 392 393type validateOpCreateFeatureGroup struct { 394} 395 396func (*validateOpCreateFeatureGroup) ID() string { 397 return "OperationInputValidation" 398} 399 400func (m *validateOpCreateFeatureGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 401 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 402) { 403 input, ok := in.Parameters.(*CreateFeatureGroupInput) 404 if !ok { 405 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 406 } 407 if err := validateOpCreateFeatureGroupInput(input); err != nil { 408 return out, metadata, err 409 } 410 return next.HandleInitialize(ctx, in) 411} 412 413type validateOpCreateFlowDefinition struct { 414} 415 416func (*validateOpCreateFlowDefinition) ID() string { 417 return "OperationInputValidation" 418} 419 420func (m *validateOpCreateFlowDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 421 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 422) { 423 input, ok := in.Parameters.(*CreateFlowDefinitionInput) 424 if !ok { 425 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 426 } 427 if err := validateOpCreateFlowDefinitionInput(input); err != nil { 428 return out, metadata, err 429 } 430 return next.HandleInitialize(ctx, in) 431} 432 433type validateOpCreateHumanTaskUi struct { 434} 435 436func (*validateOpCreateHumanTaskUi) ID() string { 437 return "OperationInputValidation" 438} 439 440func (m *validateOpCreateHumanTaskUi) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 441 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 442) { 443 input, ok := in.Parameters.(*CreateHumanTaskUiInput) 444 if !ok { 445 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 446 } 447 if err := validateOpCreateHumanTaskUiInput(input); err != nil { 448 return out, metadata, err 449 } 450 return next.HandleInitialize(ctx, in) 451} 452 453type validateOpCreateHyperParameterTuningJob struct { 454} 455 456func (*validateOpCreateHyperParameterTuningJob) ID() string { 457 return "OperationInputValidation" 458} 459 460func (m *validateOpCreateHyperParameterTuningJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 461 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 462) { 463 input, ok := in.Parameters.(*CreateHyperParameterTuningJobInput) 464 if !ok { 465 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 466 } 467 if err := validateOpCreateHyperParameterTuningJobInput(input); err != nil { 468 return out, metadata, err 469 } 470 return next.HandleInitialize(ctx, in) 471} 472 473type validateOpCreateImage struct { 474} 475 476func (*validateOpCreateImage) ID() string { 477 return "OperationInputValidation" 478} 479 480func (m *validateOpCreateImage) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 481 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 482) { 483 input, ok := in.Parameters.(*CreateImageInput) 484 if !ok { 485 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 486 } 487 if err := validateOpCreateImageInput(input); err != nil { 488 return out, metadata, err 489 } 490 return next.HandleInitialize(ctx, in) 491} 492 493type validateOpCreateImageVersion struct { 494} 495 496func (*validateOpCreateImageVersion) ID() string { 497 return "OperationInputValidation" 498} 499 500func (m *validateOpCreateImageVersion) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 501 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 502) { 503 input, ok := in.Parameters.(*CreateImageVersionInput) 504 if !ok { 505 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 506 } 507 if err := validateOpCreateImageVersionInput(input); err != nil { 508 return out, metadata, err 509 } 510 return next.HandleInitialize(ctx, in) 511} 512 513type validateOpCreateLabelingJob struct { 514} 515 516func (*validateOpCreateLabelingJob) ID() string { 517 return "OperationInputValidation" 518} 519 520func (m *validateOpCreateLabelingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 521 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 522) { 523 input, ok := in.Parameters.(*CreateLabelingJobInput) 524 if !ok { 525 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 526 } 527 if err := validateOpCreateLabelingJobInput(input); err != nil { 528 return out, metadata, err 529 } 530 return next.HandleInitialize(ctx, in) 531} 532 533type validateOpCreateModelBiasJobDefinition struct { 534} 535 536func (*validateOpCreateModelBiasJobDefinition) ID() string { 537 return "OperationInputValidation" 538} 539 540func (m *validateOpCreateModelBiasJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 541 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 542) { 543 input, ok := in.Parameters.(*CreateModelBiasJobDefinitionInput) 544 if !ok { 545 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 546 } 547 if err := validateOpCreateModelBiasJobDefinitionInput(input); err != nil { 548 return out, metadata, err 549 } 550 return next.HandleInitialize(ctx, in) 551} 552 553type validateOpCreateModelExplainabilityJobDefinition struct { 554} 555 556func (*validateOpCreateModelExplainabilityJobDefinition) ID() string { 557 return "OperationInputValidation" 558} 559 560func (m *validateOpCreateModelExplainabilityJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 561 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 562) { 563 input, ok := in.Parameters.(*CreateModelExplainabilityJobDefinitionInput) 564 if !ok { 565 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 566 } 567 if err := validateOpCreateModelExplainabilityJobDefinitionInput(input); err != nil { 568 return out, metadata, err 569 } 570 return next.HandleInitialize(ctx, in) 571} 572 573type validateOpCreateModel struct { 574} 575 576func (*validateOpCreateModel) ID() string { 577 return "OperationInputValidation" 578} 579 580func (m *validateOpCreateModel) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 581 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 582) { 583 input, ok := in.Parameters.(*CreateModelInput) 584 if !ok { 585 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 586 } 587 if err := validateOpCreateModelInput(input); err != nil { 588 return out, metadata, err 589 } 590 return next.HandleInitialize(ctx, in) 591} 592 593type validateOpCreateModelPackageGroup struct { 594} 595 596func (*validateOpCreateModelPackageGroup) ID() string { 597 return "OperationInputValidation" 598} 599 600func (m *validateOpCreateModelPackageGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 601 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 602) { 603 input, ok := in.Parameters.(*CreateModelPackageGroupInput) 604 if !ok { 605 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 606 } 607 if err := validateOpCreateModelPackageGroupInput(input); err != nil { 608 return out, metadata, err 609 } 610 return next.HandleInitialize(ctx, in) 611} 612 613type validateOpCreateModelPackage struct { 614} 615 616func (*validateOpCreateModelPackage) ID() string { 617 return "OperationInputValidation" 618} 619 620func (m *validateOpCreateModelPackage) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 621 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 622) { 623 input, ok := in.Parameters.(*CreateModelPackageInput) 624 if !ok { 625 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 626 } 627 if err := validateOpCreateModelPackageInput(input); err != nil { 628 return out, metadata, err 629 } 630 return next.HandleInitialize(ctx, in) 631} 632 633type validateOpCreateModelQualityJobDefinition struct { 634} 635 636func (*validateOpCreateModelQualityJobDefinition) ID() string { 637 return "OperationInputValidation" 638} 639 640func (m *validateOpCreateModelQualityJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 641 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 642) { 643 input, ok := in.Parameters.(*CreateModelQualityJobDefinitionInput) 644 if !ok { 645 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 646 } 647 if err := validateOpCreateModelQualityJobDefinitionInput(input); err != nil { 648 return out, metadata, err 649 } 650 return next.HandleInitialize(ctx, in) 651} 652 653type validateOpCreateMonitoringSchedule struct { 654} 655 656func (*validateOpCreateMonitoringSchedule) ID() string { 657 return "OperationInputValidation" 658} 659 660func (m *validateOpCreateMonitoringSchedule) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 661 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 662) { 663 input, ok := in.Parameters.(*CreateMonitoringScheduleInput) 664 if !ok { 665 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 666 } 667 if err := validateOpCreateMonitoringScheduleInput(input); err != nil { 668 return out, metadata, err 669 } 670 return next.HandleInitialize(ctx, in) 671} 672 673type validateOpCreateNotebookInstance struct { 674} 675 676func (*validateOpCreateNotebookInstance) ID() string { 677 return "OperationInputValidation" 678} 679 680func (m *validateOpCreateNotebookInstance) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 681 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 682) { 683 input, ok := in.Parameters.(*CreateNotebookInstanceInput) 684 if !ok { 685 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 686 } 687 if err := validateOpCreateNotebookInstanceInput(input); err != nil { 688 return out, metadata, err 689 } 690 return next.HandleInitialize(ctx, in) 691} 692 693type validateOpCreateNotebookInstanceLifecycleConfig struct { 694} 695 696func (*validateOpCreateNotebookInstanceLifecycleConfig) ID() string { 697 return "OperationInputValidation" 698} 699 700func (m *validateOpCreateNotebookInstanceLifecycleConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 701 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 702) { 703 input, ok := in.Parameters.(*CreateNotebookInstanceLifecycleConfigInput) 704 if !ok { 705 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 706 } 707 if err := validateOpCreateNotebookInstanceLifecycleConfigInput(input); err != nil { 708 return out, metadata, err 709 } 710 return next.HandleInitialize(ctx, in) 711} 712 713type validateOpCreatePipeline struct { 714} 715 716func (*validateOpCreatePipeline) ID() string { 717 return "OperationInputValidation" 718} 719 720func (m *validateOpCreatePipeline) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 721 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 722) { 723 input, ok := in.Parameters.(*CreatePipelineInput) 724 if !ok { 725 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 726 } 727 if err := validateOpCreatePipelineInput(input); err != nil { 728 return out, metadata, err 729 } 730 return next.HandleInitialize(ctx, in) 731} 732 733type validateOpCreatePresignedDomainUrl struct { 734} 735 736func (*validateOpCreatePresignedDomainUrl) ID() string { 737 return "OperationInputValidation" 738} 739 740func (m *validateOpCreatePresignedDomainUrl) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 741 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 742) { 743 input, ok := in.Parameters.(*CreatePresignedDomainUrlInput) 744 if !ok { 745 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 746 } 747 if err := validateOpCreatePresignedDomainUrlInput(input); err != nil { 748 return out, metadata, err 749 } 750 return next.HandleInitialize(ctx, in) 751} 752 753type validateOpCreatePresignedNotebookInstanceUrl struct { 754} 755 756func (*validateOpCreatePresignedNotebookInstanceUrl) ID() string { 757 return "OperationInputValidation" 758} 759 760func (m *validateOpCreatePresignedNotebookInstanceUrl) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 761 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 762) { 763 input, ok := in.Parameters.(*CreatePresignedNotebookInstanceUrlInput) 764 if !ok { 765 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 766 } 767 if err := validateOpCreatePresignedNotebookInstanceUrlInput(input); err != nil { 768 return out, metadata, err 769 } 770 return next.HandleInitialize(ctx, in) 771} 772 773type validateOpCreateProcessingJob struct { 774} 775 776func (*validateOpCreateProcessingJob) ID() string { 777 return "OperationInputValidation" 778} 779 780func (m *validateOpCreateProcessingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 781 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 782) { 783 input, ok := in.Parameters.(*CreateProcessingJobInput) 784 if !ok { 785 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 786 } 787 if err := validateOpCreateProcessingJobInput(input); err != nil { 788 return out, metadata, err 789 } 790 return next.HandleInitialize(ctx, in) 791} 792 793type validateOpCreateProject struct { 794} 795 796func (*validateOpCreateProject) ID() string { 797 return "OperationInputValidation" 798} 799 800func (m *validateOpCreateProject) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 801 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 802) { 803 input, ok := in.Parameters.(*CreateProjectInput) 804 if !ok { 805 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 806 } 807 if err := validateOpCreateProjectInput(input); err != nil { 808 return out, metadata, err 809 } 810 return next.HandleInitialize(ctx, in) 811} 812 813type validateOpCreateTrainingJob struct { 814} 815 816func (*validateOpCreateTrainingJob) ID() string { 817 return "OperationInputValidation" 818} 819 820func (m *validateOpCreateTrainingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 821 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 822) { 823 input, ok := in.Parameters.(*CreateTrainingJobInput) 824 if !ok { 825 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 826 } 827 if err := validateOpCreateTrainingJobInput(input); err != nil { 828 return out, metadata, err 829 } 830 return next.HandleInitialize(ctx, in) 831} 832 833type validateOpCreateTransformJob struct { 834} 835 836func (*validateOpCreateTransformJob) ID() string { 837 return "OperationInputValidation" 838} 839 840func (m *validateOpCreateTransformJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 841 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 842) { 843 input, ok := in.Parameters.(*CreateTransformJobInput) 844 if !ok { 845 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 846 } 847 if err := validateOpCreateTransformJobInput(input); err != nil { 848 return out, metadata, err 849 } 850 return next.HandleInitialize(ctx, in) 851} 852 853type validateOpCreateTrialComponent struct { 854} 855 856func (*validateOpCreateTrialComponent) ID() string { 857 return "OperationInputValidation" 858} 859 860func (m *validateOpCreateTrialComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 861 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 862) { 863 input, ok := in.Parameters.(*CreateTrialComponentInput) 864 if !ok { 865 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 866 } 867 if err := validateOpCreateTrialComponentInput(input); err != nil { 868 return out, metadata, err 869 } 870 return next.HandleInitialize(ctx, in) 871} 872 873type validateOpCreateTrial struct { 874} 875 876func (*validateOpCreateTrial) ID() string { 877 return "OperationInputValidation" 878} 879 880func (m *validateOpCreateTrial) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 881 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 882) { 883 input, ok := in.Parameters.(*CreateTrialInput) 884 if !ok { 885 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 886 } 887 if err := validateOpCreateTrialInput(input); err != nil { 888 return out, metadata, err 889 } 890 return next.HandleInitialize(ctx, in) 891} 892 893type validateOpCreateUserProfile struct { 894} 895 896func (*validateOpCreateUserProfile) ID() string { 897 return "OperationInputValidation" 898} 899 900func (m *validateOpCreateUserProfile) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 901 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 902) { 903 input, ok := in.Parameters.(*CreateUserProfileInput) 904 if !ok { 905 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 906 } 907 if err := validateOpCreateUserProfileInput(input); err != nil { 908 return out, metadata, err 909 } 910 return next.HandleInitialize(ctx, in) 911} 912 913type validateOpCreateWorkforce struct { 914} 915 916func (*validateOpCreateWorkforce) ID() string { 917 return "OperationInputValidation" 918} 919 920func (m *validateOpCreateWorkforce) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 921 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 922) { 923 input, ok := in.Parameters.(*CreateWorkforceInput) 924 if !ok { 925 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 926 } 927 if err := validateOpCreateWorkforceInput(input); err != nil { 928 return out, metadata, err 929 } 930 return next.HandleInitialize(ctx, in) 931} 932 933type validateOpCreateWorkteam struct { 934} 935 936func (*validateOpCreateWorkteam) ID() string { 937 return "OperationInputValidation" 938} 939 940func (m *validateOpCreateWorkteam) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 941 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 942) { 943 input, ok := in.Parameters.(*CreateWorkteamInput) 944 if !ok { 945 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 946 } 947 if err := validateOpCreateWorkteamInput(input); err != nil { 948 return out, metadata, err 949 } 950 return next.HandleInitialize(ctx, in) 951} 952 953type validateOpDeleteAction struct { 954} 955 956func (*validateOpDeleteAction) ID() string { 957 return "OperationInputValidation" 958} 959 960func (m *validateOpDeleteAction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 961 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 962) { 963 input, ok := in.Parameters.(*DeleteActionInput) 964 if !ok { 965 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 966 } 967 if err := validateOpDeleteActionInput(input); err != nil { 968 return out, metadata, err 969 } 970 return next.HandleInitialize(ctx, in) 971} 972 973type validateOpDeleteAlgorithm struct { 974} 975 976func (*validateOpDeleteAlgorithm) ID() string { 977 return "OperationInputValidation" 978} 979 980func (m *validateOpDeleteAlgorithm) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 981 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 982) { 983 input, ok := in.Parameters.(*DeleteAlgorithmInput) 984 if !ok { 985 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 986 } 987 if err := validateOpDeleteAlgorithmInput(input); err != nil { 988 return out, metadata, err 989 } 990 return next.HandleInitialize(ctx, in) 991} 992 993type validateOpDeleteAppImageConfig struct { 994} 995 996func (*validateOpDeleteAppImageConfig) ID() string { 997 return "OperationInputValidation" 998} 999 1000func (m *validateOpDeleteAppImageConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1001 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1002) { 1003 input, ok := in.Parameters.(*DeleteAppImageConfigInput) 1004 if !ok { 1005 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1006 } 1007 if err := validateOpDeleteAppImageConfigInput(input); err != nil { 1008 return out, metadata, err 1009 } 1010 return next.HandleInitialize(ctx, in) 1011} 1012 1013type validateOpDeleteApp struct { 1014} 1015 1016func (*validateOpDeleteApp) ID() string { 1017 return "OperationInputValidation" 1018} 1019 1020func (m *validateOpDeleteApp) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1021 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1022) { 1023 input, ok := in.Parameters.(*DeleteAppInput) 1024 if !ok { 1025 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1026 } 1027 if err := validateOpDeleteAppInput(input); err != nil { 1028 return out, metadata, err 1029 } 1030 return next.HandleInitialize(ctx, in) 1031} 1032 1033type validateOpDeleteArtifact struct { 1034} 1035 1036func (*validateOpDeleteArtifact) ID() string { 1037 return "OperationInputValidation" 1038} 1039 1040func (m *validateOpDeleteArtifact) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1041 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1042) { 1043 input, ok := in.Parameters.(*DeleteArtifactInput) 1044 if !ok { 1045 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1046 } 1047 if err := validateOpDeleteArtifactInput(input); err != nil { 1048 return out, metadata, err 1049 } 1050 return next.HandleInitialize(ctx, in) 1051} 1052 1053type validateOpDeleteAssociation struct { 1054} 1055 1056func (*validateOpDeleteAssociation) ID() string { 1057 return "OperationInputValidation" 1058} 1059 1060func (m *validateOpDeleteAssociation) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1061 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1062) { 1063 input, ok := in.Parameters.(*DeleteAssociationInput) 1064 if !ok { 1065 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1066 } 1067 if err := validateOpDeleteAssociationInput(input); err != nil { 1068 return out, metadata, err 1069 } 1070 return next.HandleInitialize(ctx, in) 1071} 1072 1073type validateOpDeleteCodeRepository struct { 1074} 1075 1076func (*validateOpDeleteCodeRepository) ID() string { 1077 return "OperationInputValidation" 1078} 1079 1080func (m *validateOpDeleteCodeRepository) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1081 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1082) { 1083 input, ok := in.Parameters.(*DeleteCodeRepositoryInput) 1084 if !ok { 1085 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1086 } 1087 if err := validateOpDeleteCodeRepositoryInput(input); err != nil { 1088 return out, metadata, err 1089 } 1090 return next.HandleInitialize(ctx, in) 1091} 1092 1093type validateOpDeleteContext struct { 1094} 1095 1096func (*validateOpDeleteContext) ID() string { 1097 return "OperationInputValidation" 1098} 1099 1100func (m *validateOpDeleteContext) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1101 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1102) { 1103 input, ok := in.Parameters.(*DeleteContextInput) 1104 if !ok { 1105 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1106 } 1107 if err := validateOpDeleteContextInput(input); err != nil { 1108 return out, metadata, err 1109 } 1110 return next.HandleInitialize(ctx, in) 1111} 1112 1113type validateOpDeleteDataQualityJobDefinition struct { 1114} 1115 1116func (*validateOpDeleteDataQualityJobDefinition) ID() string { 1117 return "OperationInputValidation" 1118} 1119 1120func (m *validateOpDeleteDataQualityJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1121 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1122) { 1123 input, ok := in.Parameters.(*DeleteDataQualityJobDefinitionInput) 1124 if !ok { 1125 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1126 } 1127 if err := validateOpDeleteDataQualityJobDefinitionInput(input); err != nil { 1128 return out, metadata, err 1129 } 1130 return next.HandleInitialize(ctx, in) 1131} 1132 1133type validateOpDeleteDeviceFleet struct { 1134} 1135 1136func (*validateOpDeleteDeviceFleet) ID() string { 1137 return "OperationInputValidation" 1138} 1139 1140func (m *validateOpDeleteDeviceFleet) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1141 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1142) { 1143 input, ok := in.Parameters.(*DeleteDeviceFleetInput) 1144 if !ok { 1145 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1146 } 1147 if err := validateOpDeleteDeviceFleetInput(input); err != nil { 1148 return out, metadata, err 1149 } 1150 return next.HandleInitialize(ctx, in) 1151} 1152 1153type validateOpDeleteDomain struct { 1154} 1155 1156func (*validateOpDeleteDomain) ID() string { 1157 return "OperationInputValidation" 1158} 1159 1160func (m *validateOpDeleteDomain) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1161 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1162) { 1163 input, ok := in.Parameters.(*DeleteDomainInput) 1164 if !ok { 1165 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1166 } 1167 if err := validateOpDeleteDomainInput(input); err != nil { 1168 return out, metadata, err 1169 } 1170 return next.HandleInitialize(ctx, in) 1171} 1172 1173type validateOpDeleteEndpointConfig struct { 1174} 1175 1176func (*validateOpDeleteEndpointConfig) ID() string { 1177 return "OperationInputValidation" 1178} 1179 1180func (m *validateOpDeleteEndpointConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1181 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1182) { 1183 input, ok := in.Parameters.(*DeleteEndpointConfigInput) 1184 if !ok { 1185 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1186 } 1187 if err := validateOpDeleteEndpointConfigInput(input); err != nil { 1188 return out, metadata, err 1189 } 1190 return next.HandleInitialize(ctx, in) 1191} 1192 1193type validateOpDeleteEndpoint struct { 1194} 1195 1196func (*validateOpDeleteEndpoint) ID() string { 1197 return "OperationInputValidation" 1198} 1199 1200func (m *validateOpDeleteEndpoint) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1201 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1202) { 1203 input, ok := in.Parameters.(*DeleteEndpointInput) 1204 if !ok { 1205 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1206 } 1207 if err := validateOpDeleteEndpointInput(input); err != nil { 1208 return out, metadata, err 1209 } 1210 return next.HandleInitialize(ctx, in) 1211} 1212 1213type validateOpDeleteExperiment struct { 1214} 1215 1216func (*validateOpDeleteExperiment) ID() string { 1217 return "OperationInputValidation" 1218} 1219 1220func (m *validateOpDeleteExperiment) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1221 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1222) { 1223 input, ok := in.Parameters.(*DeleteExperimentInput) 1224 if !ok { 1225 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1226 } 1227 if err := validateOpDeleteExperimentInput(input); err != nil { 1228 return out, metadata, err 1229 } 1230 return next.HandleInitialize(ctx, in) 1231} 1232 1233type validateOpDeleteFeatureGroup struct { 1234} 1235 1236func (*validateOpDeleteFeatureGroup) ID() string { 1237 return "OperationInputValidation" 1238} 1239 1240func (m *validateOpDeleteFeatureGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1241 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1242) { 1243 input, ok := in.Parameters.(*DeleteFeatureGroupInput) 1244 if !ok { 1245 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1246 } 1247 if err := validateOpDeleteFeatureGroupInput(input); err != nil { 1248 return out, metadata, err 1249 } 1250 return next.HandleInitialize(ctx, in) 1251} 1252 1253type validateOpDeleteFlowDefinition struct { 1254} 1255 1256func (*validateOpDeleteFlowDefinition) ID() string { 1257 return "OperationInputValidation" 1258} 1259 1260func (m *validateOpDeleteFlowDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1261 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1262) { 1263 input, ok := in.Parameters.(*DeleteFlowDefinitionInput) 1264 if !ok { 1265 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1266 } 1267 if err := validateOpDeleteFlowDefinitionInput(input); err != nil { 1268 return out, metadata, err 1269 } 1270 return next.HandleInitialize(ctx, in) 1271} 1272 1273type validateOpDeleteHumanTaskUi struct { 1274} 1275 1276func (*validateOpDeleteHumanTaskUi) ID() string { 1277 return "OperationInputValidation" 1278} 1279 1280func (m *validateOpDeleteHumanTaskUi) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1281 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1282) { 1283 input, ok := in.Parameters.(*DeleteHumanTaskUiInput) 1284 if !ok { 1285 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1286 } 1287 if err := validateOpDeleteHumanTaskUiInput(input); err != nil { 1288 return out, metadata, err 1289 } 1290 return next.HandleInitialize(ctx, in) 1291} 1292 1293type validateOpDeleteImage struct { 1294} 1295 1296func (*validateOpDeleteImage) ID() string { 1297 return "OperationInputValidation" 1298} 1299 1300func (m *validateOpDeleteImage) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1301 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1302) { 1303 input, ok := in.Parameters.(*DeleteImageInput) 1304 if !ok { 1305 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1306 } 1307 if err := validateOpDeleteImageInput(input); err != nil { 1308 return out, metadata, err 1309 } 1310 return next.HandleInitialize(ctx, in) 1311} 1312 1313type validateOpDeleteImageVersion struct { 1314} 1315 1316func (*validateOpDeleteImageVersion) ID() string { 1317 return "OperationInputValidation" 1318} 1319 1320func (m *validateOpDeleteImageVersion) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1321 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1322) { 1323 input, ok := in.Parameters.(*DeleteImageVersionInput) 1324 if !ok { 1325 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1326 } 1327 if err := validateOpDeleteImageVersionInput(input); err != nil { 1328 return out, metadata, err 1329 } 1330 return next.HandleInitialize(ctx, in) 1331} 1332 1333type validateOpDeleteModelBiasJobDefinition struct { 1334} 1335 1336func (*validateOpDeleteModelBiasJobDefinition) ID() string { 1337 return "OperationInputValidation" 1338} 1339 1340func (m *validateOpDeleteModelBiasJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1341 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1342) { 1343 input, ok := in.Parameters.(*DeleteModelBiasJobDefinitionInput) 1344 if !ok { 1345 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1346 } 1347 if err := validateOpDeleteModelBiasJobDefinitionInput(input); err != nil { 1348 return out, metadata, err 1349 } 1350 return next.HandleInitialize(ctx, in) 1351} 1352 1353type validateOpDeleteModelExplainabilityJobDefinition struct { 1354} 1355 1356func (*validateOpDeleteModelExplainabilityJobDefinition) ID() string { 1357 return "OperationInputValidation" 1358} 1359 1360func (m *validateOpDeleteModelExplainabilityJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1361 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1362) { 1363 input, ok := in.Parameters.(*DeleteModelExplainabilityJobDefinitionInput) 1364 if !ok { 1365 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1366 } 1367 if err := validateOpDeleteModelExplainabilityJobDefinitionInput(input); err != nil { 1368 return out, metadata, err 1369 } 1370 return next.HandleInitialize(ctx, in) 1371} 1372 1373type validateOpDeleteModel struct { 1374} 1375 1376func (*validateOpDeleteModel) ID() string { 1377 return "OperationInputValidation" 1378} 1379 1380func (m *validateOpDeleteModel) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1381 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1382) { 1383 input, ok := in.Parameters.(*DeleteModelInput) 1384 if !ok { 1385 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1386 } 1387 if err := validateOpDeleteModelInput(input); err != nil { 1388 return out, metadata, err 1389 } 1390 return next.HandleInitialize(ctx, in) 1391} 1392 1393type validateOpDeleteModelPackageGroup struct { 1394} 1395 1396func (*validateOpDeleteModelPackageGroup) ID() string { 1397 return "OperationInputValidation" 1398} 1399 1400func (m *validateOpDeleteModelPackageGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1401 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1402) { 1403 input, ok := in.Parameters.(*DeleteModelPackageGroupInput) 1404 if !ok { 1405 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1406 } 1407 if err := validateOpDeleteModelPackageGroupInput(input); err != nil { 1408 return out, metadata, err 1409 } 1410 return next.HandleInitialize(ctx, in) 1411} 1412 1413type validateOpDeleteModelPackageGroupPolicy struct { 1414} 1415 1416func (*validateOpDeleteModelPackageGroupPolicy) ID() string { 1417 return "OperationInputValidation" 1418} 1419 1420func (m *validateOpDeleteModelPackageGroupPolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1421 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1422) { 1423 input, ok := in.Parameters.(*DeleteModelPackageGroupPolicyInput) 1424 if !ok { 1425 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1426 } 1427 if err := validateOpDeleteModelPackageGroupPolicyInput(input); err != nil { 1428 return out, metadata, err 1429 } 1430 return next.HandleInitialize(ctx, in) 1431} 1432 1433type validateOpDeleteModelPackage struct { 1434} 1435 1436func (*validateOpDeleteModelPackage) ID() string { 1437 return "OperationInputValidation" 1438} 1439 1440func (m *validateOpDeleteModelPackage) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1441 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1442) { 1443 input, ok := in.Parameters.(*DeleteModelPackageInput) 1444 if !ok { 1445 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1446 } 1447 if err := validateOpDeleteModelPackageInput(input); err != nil { 1448 return out, metadata, err 1449 } 1450 return next.HandleInitialize(ctx, in) 1451} 1452 1453type validateOpDeleteModelQualityJobDefinition struct { 1454} 1455 1456func (*validateOpDeleteModelQualityJobDefinition) ID() string { 1457 return "OperationInputValidation" 1458} 1459 1460func (m *validateOpDeleteModelQualityJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1461 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1462) { 1463 input, ok := in.Parameters.(*DeleteModelQualityJobDefinitionInput) 1464 if !ok { 1465 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1466 } 1467 if err := validateOpDeleteModelQualityJobDefinitionInput(input); err != nil { 1468 return out, metadata, err 1469 } 1470 return next.HandleInitialize(ctx, in) 1471} 1472 1473type validateOpDeleteMonitoringSchedule struct { 1474} 1475 1476func (*validateOpDeleteMonitoringSchedule) ID() string { 1477 return "OperationInputValidation" 1478} 1479 1480func (m *validateOpDeleteMonitoringSchedule) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1481 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1482) { 1483 input, ok := in.Parameters.(*DeleteMonitoringScheduleInput) 1484 if !ok { 1485 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1486 } 1487 if err := validateOpDeleteMonitoringScheduleInput(input); err != nil { 1488 return out, metadata, err 1489 } 1490 return next.HandleInitialize(ctx, in) 1491} 1492 1493type validateOpDeleteNotebookInstance struct { 1494} 1495 1496func (*validateOpDeleteNotebookInstance) ID() string { 1497 return "OperationInputValidation" 1498} 1499 1500func (m *validateOpDeleteNotebookInstance) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1501 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1502) { 1503 input, ok := in.Parameters.(*DeleteNotebookInstanceInput) 1504 if !ok { 1505 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1506 } 1507 if err := validateOpDeleteNotebookInstanceInput(input); err != nil { 1508 return out, metadata, err 1509 } 1510 return next.HandleInitialize(ctx, in) 1511} 1512 1513type validateOpDeleteNotebookInstanceLifecycleConfig struct { 1514} 1515 1516func (*validateOpDeleteNotebookInstanceLifecycleConfig) ID() string { 1517 return "OperationInputValidation" 1518} 1519 1520func (m *validateOpDeleteNotebookInstanceLifecycleConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1521 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1522) { 1523 input, ok := in.Parameters.(*DeleteNotebookInstanceLifecycleConfigInput) 1524 if !ok { 1525 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1526 } 1527 if err := validateOpDeleteNotebookInstanceLifecycleConfigInput(input); err != nil { 1528 return out, metadata, err 1529 } 1530 return next.HandleInitialize(ctx, in) 1531} 1532 1533type validateOpDeletePipeline struct { 1534} 1535 1536func (*validateOpDeletePipeline) ID() string { 1537 return "OperationInputValidation" 1538} 1539 1540func (m *validateOpDeletePipeline) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1541 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1542) { 1543 input, ok := in.Parameters.(*DeletePipelineInput) 1544 if !ok { 1545 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1546 } 1547 if err := validateOpDeletePipelineInput(input); err != nil { 1548 return out, metadata, err 1549 } 1550 return next.HandleInitialize(ctx, in) 1551} 1552 1553type validateOpDeleteProject struct { 1554} 1555 1556func (*validateOpDeleteProject) ID() string { 1557 return "OperationInputValidation" 1558} 1559 1560func (m *validateOpDeleteProject) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1561 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1562) { 1563 input, ok := in.Parameters.(*DeleteProjectInput) 1564 if !ok { 1565 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1566 } 1567 if err := validateOpDeleteProjectInput(input); err != nil { 1568 return out, metadata, err 1569 } 1570 return next.HandleInitialize(ctx, in) 1571} 1572 1573type validateOpDeleteTags struct { 1574} 1575 1576func (*validateOpDeleteTags) ID() string { 1577 return "OperationInputValidation" 1578} 1579 1580func (m *validateOpDeleteTags) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1581 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1582) { 1583 input, ok := in.Parameters.(*DeleteTagsInput) 1584 if !ok { 1585 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1586 } 1587 if err := validateOpDeleteTagsInput(input); err != nil { 1588 return out, metadata, err 1589 } 1590 return next.HandleInitialize(ctx, in) 1591} 1592 1593type validateOpDeleteTrialComponent struct { 1594} 1595 1596func (*validateOpDeleteTrialComponent) ID() string { 1597 return "OperationInputValidation" 1598} 1599 1600func (m *validateOpDeleteTrialComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1601 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1602) { 1603 input, ok := in.Parameters.(*DeleteTrialComponentInput) 1604 if !ok { 1605 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1606 } 1607 if err := validateOpDeleteTrialComponentInput(input); err != nil { 1608 return out, metadata, err 1609 } 1610 return next.HandleInitialize(ctx, in) 1611} 1612 1613type validateOpDeleteTrial struct { 1614} 1615 1616func (*validateOpDeleteTrial) ID() string { 1617 return "OperationInputValidation" 1618} 1619 1620func (m *validateOpDeleteTrial) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1621 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1622) { 1623 input, ok := in.Parameters.(*DeleteTrialInput) 1624 if !ok { 1625 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1626 } 1627 if err := validateOpDeleteTrialInput(input); err != nil { 1628 return out, metadata, err 1629 } 1630 return next.HandleInitialize(ctx, in) 1631} 1632 1633type validateOpDeleteUserProfile struct { 1634} 1635 1636func (*validateOpDeleteUserProfile) ID() string { 1637 return "OperationInputValidation" 1638} 1639 1640func (m *validateOpDeleteUserProfile) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1641 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1642) { 1643 input, ok := in.Parameters.(*DeleteUserProfileInput) 1644 if !ok { 1645 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1646 } 1647 if err := validateOpDeleteUserProfileInput(input); err != nil { 1648 return out, metadata, err 1649 } 1650 return next.HandleInitialize(ctx, in) 1651} 1652 1653type validateOpDeleteWorkforce struct { 1654} 1655 1656func (*validateOpDeleteWorkforce) ID() string { 1657 return "OperationInputValidation" 1658} 1659 1660func (m *validateOpDeleteWorkforce) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1661 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1662) { 1663 input, ok := in.Parameters.(*DeleteWorkforceInput) 1664 if !ok { 1665 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1666 } 1667 if err := validateOpDeleteWorkforceInput(input); err != nil { 1668 return out, metadata, err 1669 } 1670 return next.HandleInitialize(ctx, in) 1671} 1672 1673type validateOpDeleteWorkteam struct { 1674} 1675 1676func (*validateOpDeleteWorkteam) ID() string { 1677 return "OperationInputValidation" 1678} 1679 1680func (m *validateOpDeleteWorkteam) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1681 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1682) { 1683 input, ok := in.Parameters.(*DeleteWorkteamInput) 1684 if !ok { 1685 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1686 } 1687 if err := validateOpDeleteWorkteamInput(input); err != nil { 1688 return out, metadata, err 1689 } 1690 return next.HandleInitialize(ctx, in) 1691} 1692 1693type validateOpDeregisterDevices struct { 1694} 1695 1696func (*validateOpDeregisterDevices) ID() string { 1697 return "OperationInputValidation" 1698} 1699 1700func (m *validateOpDeregisterDevices) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1701 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1702) { 1703 input, ok := in.Parameters.(*DeregisterDevicesInput) 1704 if !ok { 1705 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1706 } 1707 if err := validateOpDeregisterDevicesInput(input); err != nil { 1708 return out, metadata, err 1709 } 1710 return next.HandleInitialize(ctx, in) 1711} 1712 1713type validateOpDescribeAction struct { 1714} 1715 1716func (*validateOpDescribeAction) ID() string { 1717 return "OperationInputValidation" 1718} 1719 1720func (m *validateOpDescribeAction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1721 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1722) { 1723 input, ok := in.Parameters.(*DescribeActionInput) 1724 if !ok { 1725 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1726 } 1727 if err := validateOpDescribeActionInput(input); err != nil { 1728 return out, metadata, err 1729 } 1730 return next.HandleInitialize(ctx, in) 1731} 1732 1733type validateOpDescribeAlgorithm struct { 1734} 1735 1736func (*validateOpDescribeAlgorithm) ID() string { 1737 return "OperationInputValidation" 1738} 1739 1740func (m *validateOpDescribeAlgorithm) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1741 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1742) { 1743 input, ok := in.Parameters.(*DescribeAlgorithmInput) 1744 if !ok { 1745 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1746 } 1747 if err := validateOpDescribeAlgorithmInput(input); err != nil { 1748 return out, metadata, err 1749 } 1750 return next.HandleInitialize(ctx, in) 1751} 1752 1753type validateOpDescribeAppImageConfig struct { 1754} 1755 1756func (*validateOpDescribeAppImageConfig) ID() string { 1757 return "OperationInputValidation" 1758} 1759 1760func (m *validateOpDescribeAppImageConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1761 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1762) { 1763 input, ok := in.Parameters.(*DescribeAppImageConfigInput) 1764 if !ok { 1765 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1766 } 1767 if err := validateOpDescribeAppImageConfigInput(input); err != nil { 1768 return out, metadata, err 1769 } 1770 return next.HandleInitialize(ctx, in) 1771} 1772 1773type validateOpDescribeApp struct { 1774} 1775 1776func (*validateOpDescribeApp) ID() string { 1777 return "OperationInputValidation" 1778} 1779 1780func (m *validateOpDescribeApp) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1781 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1782) { 1783 input, ok := in.Parameters.(*DescribeAppInput) 1784 if !ok { 1785 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1786 } 1787 if err := validateOpDescribeAppInput(input); err != nil { 1788 return out, metadata, err 1789 } 1790 return next.HandleInitialize(ctx, in) 1791} 1792 1793type validateOpDescribeArtifact struct { 1794} 1795 1796func (*validateOpDescribeArtifact) ID() string { 1797 return "OperationInputValidation" 1798} 1799 1800func (m *validateOpDescribeArtifact) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1801 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1802) { 1803 input, ok := in.Parameters.(*DescribeArtifactInput) 1804 if !ok { 1805 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1806 } 1807 if err := validateOpDescribeArtifactInput(input); err != nil { 1808 return out, metadata, err 1809 } 1810 return next.HandleInitialize(ctx, in) 1811} 1812 1813type validateOpDescribeAutoMLJob struct { 1814} 1815 1816func (*validateOpDescribeAutoMLJob) ID() string { 1817 return "OperationInputValidation" 1818} 1819 1820func (m *validateOpDescribeAutoMLJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1821 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1822) { 1823 input, ok := in.Parameters.(*DescribeAutoMLJobInput) 1824 if !ok { 1825 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1826 } 1827 if err := validateOpDescribeAutoMLJobInput(input); err != nil { 1828 return out, metadata, err 1829 } 1830 return next.HandleInitialize(ctx, in) 1831} 1832 1833type validateOpDescribeCodeRepository struct { 1834} 1835 1836func (*validateOpDescribeCodeRepository) ID() string { 1837 return "OperationInputValidation" 1838} 1839 1840func (m *validateOpDescribeCodeRepository) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1841 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1842) { 1843 input, ok := in.Parameters.(*DescribeCodeRepositoryInput) 1844 if !ok { 1845 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1846 } 1847 if err := validateOpDescribeCodeRepositoryInput(input); err != nil { 1848 return out, metadata, err 1849 } 1850 return next.HandleInitialize(ctx, in) 1851} 1852 1853type validateOpDescribeCompilationJob struct { 1854} 1855 1856func (*validateOpDescribeCompilationJob) ID() string { 1857 return "OperationInputValidation" 1858} 1859 1860func (m *validateOpDescribeCompilationJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1861 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1862) { 1863 input, ok := in.Parameters.(*DescribeCompilationJobInput) 1864 if !ok { 1865 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1866 } 1867 if err := validateOpDescribeCompilationJobInput(input); err != nil { 1868 return out, metadata, err 1869 } 1870 return next.HandleInitialize(ctx, in) 1871} 1872 1873type validateOpDescribeContext struct { 1874} 1875 1876func (*validateOpDescribeContext) ID() string { 1877 return "OperationInputValidation" 1878} 1879 1880func (m *validateOpDescribeContext) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1881 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1882) { 1883 input, ok := in.Parameters.(*DescribeContextInput) 1884 if !ok { 1885 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1886 } 1887 if err := validateOpDescribeContextInput(input); err != nil { 1888 return out, metadata, err 1889 } 1890 return next.HandleInitialize(ctx, in) 1891} 1892 1893type validateOpDescribeDataQualityJobDefinition struct { 1894} 1895 1896func (*validateOpDescribeDataQualityJobDefinition) ID() string { 1897 return "OperationInputValidation" 1898} 1899 1900func (m *validateOpDescribeDataQualityJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1901 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1902) { 1903 input, ok := in.Parameters.(*DescribeDataQualityJobDefinitionInput) 1904 if !ok { 1905 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1906 } 1907 if err := validateOpDescribeDataQualityJobDefinitionInput(input); err != nil { 1908 return out, metadata, err 1909 } 1910 return next.HandleInitialize(ctx, in) 1911} 1912 1913type validateOpDescribeDeviceFleet struct { 1914} 1915 1916func (*validateOpDescribeDeviceFleet) ID() string { 1917 return "OperationInputValidation" 1918} 1919 1920func (m *validateOpDescribeDeviceFleet) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1921 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1922) { 1923 input, ok := in.Parameters.(*DescribeDeviceFleetInput) 1924 if !ok { 1925 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1926 } 1927 if err := validateOpDescribeDeviceFleetInput(input); err != nil { 1928 return out, metadata, err 1929 } 1930 return next.HandleInitialize(ctx, in) 1931} 1932 1933type validateOpDescribeDevice struct { 1934} 1935 1936func (*validateOpDescribeDevice) ID() string { 1937 return "OperationInputValidation" 1938} 1939 1940func (m *validateOpDescribeDevice) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1941 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1942) { 1943 input, ok := in.Parameters.(*DescribeDeviceInput) 1944 if !ok { 1945 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1946 } 1947 if err := validateOpDescribeDeviceInput(input); err != nil { 1948 return out, metadata, err 1949 } 1950 return next.HandleInitialize(ctx, in) 1951} 1952 1953type validateOpDescribeDomain struct { 1954} 1955 1956func (*validateOpDescribeDomain) ID() string { 1957 return "OperationInputValidation" 1958} 1959 1960func (m *validateOpDescribeDomain) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1961 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1962) { 1963 input, ok := in.Parameters.(*DescribeDomainInput) 1964 if !ok { 1965 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1966 } 1967 if err := validateOpDescribeDomainInput(input); err != nil { 1968 return out, metadata, err 1969 } 1970 return next.HandleInitialize(ctx, in) 1971} 1972 1973type validateOpDescribeEdgePackagingJob struct { 1974} 1975 1976func (*validateOpDescribeEdgePackagingJob) ID() string { 1977 return "OperationInputValidation" 1978} 1979 1980func (m *validateOpDescribeEdgePackagingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 1981 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 1982) { 1983 input, ok := in.Parameters.(*DescribeEdgePackagingJobInput) 1984 if !ok { 1985 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1986 } 1987 if err := validateOpDescribeEdgePackagingJobInput(input); err != nil { 1988 return out, metadata, err 1989 } 1990 return next.HandleInitialize(ctx, in) 1991} 1992 1993type validateOpDescribeEndpointConfig struct { 1994} 1995 1996func (*validateOpDescribeEndpointConfig) ID() string { 1997 return "OperationInputValidation" 1998} 1999 2000func (m *validateOpDescribeEndpointConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2001 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2002) { 2003 input, ok := in.Parameters.(*DescribeEndpointConfigInput) 2004 if !ok { 2005 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2006 } 2007 if err := validateOpDescribeEndpointConfigInput(input); err != nil { 2008 return out, metadata, err 2009 } 2010 return next.HandleInitialize(ctx, in) 2011} 2012 2013type validateOpDescribeEndpoint struct { 2014} 2015 2016func (*validateOpDescribeEndpoint) ID() string { 2017 return "OperationInputValidation" 2018} 2019 2020func (m *validateOpDescribeEndpoint) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2021 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2022) { 2023 input, ok := in.Parameters.(*DescribeEndpointInput) 2024 if !ok { 2025 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2026 } 2027 if err := validateOpDescribeEndpointInput(input); err != nil { 2028 return out, metadata, err 2029 } 2030 return next.HandleInitialize(ctx, in) 2031} 2032 2033type validateOpDescribeExperiment struct { 2034} 2035 2036func (*validateOpDescribeExperiment) ID() string { 2037 return "OperationInputValidation" 2038} 2039 2040func (m *validateOpDescribeExperiment) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2041 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2042) { 2043 input, ok := in.Parameters.(*DescribeExperimentInput) 2044 if !ok { 2045 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2046 } 2047 if err := validateOpDescribeExperimentInput(input); err != nil { 2048 return out, metadata, err 2049 } 2050 return next.HandleInitialize(ctx, in) 2051} 2052 2053type validateOpDescribeFeatureGroup struct { 2054} 2055 2056func (*validateOpDescribeFeatureGroup) ID() string { 2057 return "OperationInputValidation" 2058} 2059 2060func (m *validateOpDescribeFeatureGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2061 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2062) { 2063 input, ok := in.Parameters.(*DescribeFeatureGroupInput) 2064 if !ok { 2065 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2066 } 2067 if err := validateOpDescribeFeatureGroupInput(input); err != nil { 2068 return out, metadata, err 2069 } 2070 return next.HandleInitialize(ctx, in) 2071} 2072 2073type validateOpDescribeFlowDefinition struct { 2074} 2075 2076func (*validateOpDescribeFlowDefinition) ID() string { 2077 return "OperationInputValidation" 2078} 2079 2080func (m *validateOpDescribeFlowDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2081 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2082) { 2083 input, ok := in.Parameters.(*DescribeFlowDefinitionInput) 2084 if !ok { 2085 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2086 } 2087 if err := validateOpDescribeFlowDefinitionInput(input); err != nil { 2088 return out, metadata, err 2089 } 2090 return next.HandleInitialize(ctx, in) 2091} 2092 2093type validateOpDescribeHumanTaskUi struct { 2094} 2095 2096func (*validateOpDescribeHumanTaskUi) ID() string { 2097 return "OperationInputValidation" 2098} 2099 2100func (m *validateOpDescribeHumanTaskUi) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2101 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2102) { 2103 input, ok := in.Parameters.(*DescribeHumanTaskUiInput) 2104 if !ok { 2105 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2106 } 2107 if err := validateOpDescribeHumanTaskUiInput(input); err != nil { 2108 return out, metadata, err 2109 } 2110 return next.HandleInitialize(ctx, in) 2111} 2112 2113type validateOpDescribeHyperParameterTuningJob struct { 2114} 2115 2116func (*validateOpDescribeHyperParameterTuningJob) ID() string { 2117 return "OperationInputValidation" 2118} 2119 2120func (m *validateOpDescribeHyperParameterTuningJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2121 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2122) { 2123 input, ok := in.Parameters.(*DescribeHyperParameterTuningJobInput) 2124 if !ok { 2125 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2126 } 2127 if err := validateOpDescribeHyperParameterTuningJobInput(input); err != nil { 2128 return out, metadata, err 2129 } 2130 return next.HandleInitialize(ctx, in) 2131} 2132 2133type validateOpDescribeImage struct { 2134} 2135 2136func (*validateOpDescribeImage) ID() string { 2137 return "OperationInputValidation" 2138} 2139 2140func (m *validateOpDescribeImage) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2141 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2142) { 2143 input, ok := in.Parameters.(*DescribeImageInput) 2144 if !ok { 2145 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2146 } 2147 if err := validateOpDescribeImageInput(input); err != nil { 2148 return out, metadata, err 2149 } 2150 return next.HandleInitialize(ctx, in) 2151} 2152 2153type validateOpDescribeImageVersion struct { 2154} 2155 2156func (*validateOpDescribeImageVersion) ID() string { 2157 return "OperationInputValidation" 2158} 2159 2160func (m *validateOpDescribeImageVersion) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2161 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2162) { 2163 input, ok := in.Parameters.(*DescribeImageVersionInput) 2164 if !ok { 2165 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2166 } 2167 if err := validateOpDescribeImageVersionInput(input); err != nil { 2168 return out, metadata, err 2169 } 2170 return next.HandleInitialize(ctx, in) 2171} 2172 2173type validateOpDescribeLabelingJob struct { 2174} 2175 2176func (*validateOpDescribeLabelingJob) ID() string { 2177 return "OperationInputValidation" 2178} 2179 2180func (m *validateOpDescribeLabelingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2181 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2182) { 2183 input, ok := in.Parameters.(*DescribeLabelingJobInput) 2184 if !ok { 2185 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2186 } 2187 if err := validateOpDescribeLabelingJobInput(input); err != nil { 2188 return out, metadata, err 2189 } 2190 return next.HandleInitialize(ctx, in) 2191} 2192 2193type validateOpDescribeModelBiasJobDefinition struct { 2194} 2195 2196func (*validateOpDescribeModelBiasJobDefinition) ID() string { 2197 return "OperationInputValidation" 2198} 2199 2200func (m *validateOpDescribeModelBiasJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2201 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2202) { 2203 input, ok := in.Parameters.(*DescribeModelBiasJobDefinitionInput) 2204 if !ok { 2205 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2206 } 2207 if err := validateOpDescribeModelBiasJobDefinitionInput(input); err != nil { 2208 return out, metadata, err 2209 } 2210 return next.HandleInitialize(ctx, in) 2211} 2212 2213type validateOpDescribeModelExplainabilityJobDefinition struct { 2214} 2215 2216func (*validateOpDescribeModelExplainabilityJobDefinition) ID() string { 2217 return "OperationInputValidation" 2218} 2219 2220func (m *validateOpDescribeModelExplainabilityJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2221 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2222) { 2223 input, ok := in.Parameters.(*DescribeModelExplainabilityJobDefinitionInput) 2224 if !ok { 2225 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2226 } 2227 if err := validateOpDescribeModelExplainabilityJobDefinitionInput(input); err != nil { 2228 return out, metadata, err 2229 } 2230 return next.HandleInitialize(ctx, in) 2231} 2232 2233type validateOpDescribeModel struct { 2234} 2235 2236func (*validateOpDescribeModel) ID() string { 2237 return "OperationInputValidation" 2238} 2239 2240func (m *validateOpDescribeModel) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2241 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2242) { 2243 input, ok := in.Parameters.(*DescribeModelInput) 2244 if !ok { 2245 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2246 } 2247 if err := validateOpDescribeModelInput(input); err != nil { 2248 return out, metadata, err 2249 } 2250 return next.HandleInitialize(ctx, in) 2251} 2252 2253type validateOpDescribeModelPackageGroup struct { 2254} 2255 2256func (*validateOpDescribeModelPackageGroup) ID() string { 2257 return "OperationInputValidation" 2258} 2259 2260func (m *validateOpDescribeModelPackageGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2261 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2262) { 2263 input, ok := in.Parameters.(*DescribeModelPackageGroupInput) 2264 if !ok { 2265 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2266 } 2267 if err := validateOpDescribeModelPackageGroupInput(input); err != nil { 2268 return out, metadata, err 2269 } 2270 return next.HandleInitialize(ctx, in) 2271} 2272 2273type validateOpDescribeModelPackage struct { 2274} 2275 2276func (*validateOpDescribeModelPackage) ID() string { 2277 return "OperationInputValidation" 2278} 2279 2280func (m *validateOpDescribeModelPackage) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2281 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2282) { 2283 input, ok := in.Parameters.(*DescribeModelPackageInput) 2284 if !ok { 2285 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2286 } 2287 if err := validateOpDescribeModelPackageInput(input); err != nil { 2288 return out, metadata, err 2289 } 2290 return next.HandleInitialize(ctx, in) 2291} 2292 2293type validateOpDescribeModelQualityJobDefinition struct { 2294} 2295 2296func (*validateOpDescribeModelQualityJobDefinition) ID() string { 2297 return "OperationInputValidation" 2298} 2299 2300func (m *validateOpDescribeModelQualityJobDefinition) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2301 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2302) { 2303 input, ok := in.Parameters.(*DescribeModelQualityJobDefinitionInput) 2304 if !ok { 2305 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2306 } 2307 if err := validateOpDescribeModelQualityJobDefinitionInput(input); err != nil { 2308 return out, metadata, err 2309 } 2310 return next.HandleInitialize(ctx, in) 2311} 2312 2313type validateOpDescribeMonitoringSchedule struct { 2314} 2315 2316func (*validateOpDescribeMonitoringSchedule) ID() string { 2317 return "OperationInputValidation" 2318} 2319 2320func (m *validateOpDescribeMonitoringSchedule) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2321 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2322) { 2323 input, ok := in.Parameters.(*DescribeMonitoringScheduleInput) 2324 if !ok { 2325 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2326 } 2327 if err := validateOpDescribeMonitoringScheduleInput(input); err != nil { 2328 return out, metadata, err 2329 } 2330 return next.HandleInitialize(ctx, in) 2331} 2332 2333type validateOpDescribeNotebookInstance struct { 2334} 2335 2336func (*validateOpDescribeNotebookInstance) ID() string { 2337 return "OperationInputValidation" 2338} 2339 2340func (m *validateOpDescribeNotebookInstance) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2341 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2342) { 2343 input, ok := in.Parameters.(*DescribeNotebookInstanceInput) 2344 if !ok { 2345 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2346 } 2347 if err := validateOpDescribeNotebookInstanceInput(input); err != nil { 2348 return out, metadata, err 2349 } 2350 return next.HandleInitialize(ctx, in) 2351} 2352 2353type validateOpDescribeNotebookInstanceLifecycleConfig struct { 2354} 2355 2356func (*validateOpDescribeNotebookInstanceLifecycleConfig) ID() string { 2357 return "OperationInputValidation" 2358} 2359 2360func (m *validateOpDescribeNotebookInstanceLifecycleConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2361 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2362) { 2363 input, ok := in.Parameters.(*DescribeNotebookInstanceLifecycleConfigInput) 2364 if !ok { 2365 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2366 } 2367 if err := validateOpDescribeNotebookInstanceLifecycleConfigInput(input); err != nil { 2368 return out, metadata, err 2369 } 2370 return next.HandleInitialize(ctx, in) 2371} 2372 2373type validateOpDescribePipelineDefinitionForExecution struct { 2374} 2375 2376func (*validateOpDescribePipelineDefinitionForExecution) ID() string { 2377 return "OperationInputValidation" 2378} 2379 2380func (m *validateOpDescribePipelineDefinitionForExecution) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2381 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2382) { 2383 input, ok := in.Parameters.(*DescribePipelineDefinitionForExecutionInput) 2384 if !ok { 2385 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2386 } 2387 if err := validateOpDescribePipelineDefinitionForExecutionInput(input); err != nil { 2388 return out, metadata, err 2389 } 2390 return next.HandleInitialize(ctx, in) 2391} 2392 2393type validateOpDescribePipelineExecution struct { 2394} 2395 2396func (*validateOpDescribePipelineExecution) ID() string { 2397 return "OperationInputValidation" 2398} 2399 2400func (m *validateOpDescribePipelineExecution) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2401 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2402) { 2403 input, ok := in.Parameters.(*DescribePipelineExecutionInput) 2404 if !ok { 2405 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2406 } 2407 if err := validateOpDescribePipelineExecutionInput(input); err != nil { 2408 return out, metadata, err 2409 } 2410 return next.HandleInitialize(ctx, in) 2411} 2412 2413type validateOpDescribePipeline struct { 2414} 2415 2416func (*validateOpDescribePipeline) ID() string { 2417 return "OperationInputValidation" 2418} 2419 2420func (m *validateOpDescribePipeline) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2421 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2422) { 2423 input, ok := in.Parameters.(*DescribePipelineInput) 2424 if !ok { 2425 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2426 } 2427 if err := validateOpDescribePipelineInput(input); err != nil { 2428 return out, metadata, err 2429 } 2430 return next.HandleInitialize(ctx, in) 2431} 2432 2433type validateOpDescribeProcessingJob struct { 2434} 2435 2436func (*validateOpDescribeProcessingJob) ID() string { 2437 return "OperationInputValidation" 2438} 2439 2440func (m *validateOpDescribeProcessingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2441 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2442) { 2443 input, ok := in.Parameters.(*DescribeProcessingJobInput) 2444 if !ok { 2445 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2446 } 2447 if err := validateOpDescribeProcessingJobInput(input); err != nil { 2448 return out, metadata, err 2449 } 2450 return next.HandleInitialize(ctx, in) 2451} 2452 2453type validateOpDescribeProject struct { 2454} 2455 2456func (*validateOpDescribeProject) ID() string { 2457 return "OperationInputValidation" 2458} 2459 2460func (m *validateOpDescribeProject) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2461 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2462) { 2463 input, ok := in.Parameters.(*DescribeProjectInput) 2464 if !ok { 2465 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2466 } 2467 if err := validateOpDescribeProjectInput(input); err != nil { 2468 return out, metadata, err 2469 } 2470 return next.HandleInitialize(ctx, in) 2471} 2472 2473type validateOpDescribeSubscribedWorkteam struct { 2474} 2475 2476func (*validateOpDescribeSubscribedWorkteam) ID() string { 2477 return "OperationInputValidation" 2478} 2479 2480func (m *validateOpDescribeSubscribedWorkteam) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2481 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2482) { 2483 input, ok := in.Parameters.(*DescribeSubscribedWorkteamInput) 2484 if !ok { 2485 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2486 } 2487 if err := validateOpDescribeSubscribedWorkteamInput(input); err != nil { 2488 return out, metadata, err 2489 } 2490 return next.HandleInitialize(ctx, in) 2491} 2492 2493type validateOpDescribeTrainingJob struct { 2494} 2495 2496func (*validateOpDescribeTrainingJob) ID() string { 2497 return "OperationInputValidation" 2498} 2499 2500func (m *validateOpDescribeTrainingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2501 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2502) { 2503 input, ok := in.Parameters.(*DescribeTrainingJobInput) 2504 if !ok { 2505 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2506 } 2507 if err := validateOpDescribeTrainingJobInput(input); err != nil { 2508 return out, metadata, err 2509 } 2510 return next.HandleInitialize(ctx, in) 2511} 2512 2513type validateOpDescribeTransformJob struct { 2514} 2515 2516func (*validateOpDescribeTransformJob) ID() string { 2517 return "OperationInputValidation" 2518} 2519 2520func (m *validateOpDescribeTransformJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2521 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2522) { 2523 input, ok := in.Parameters.(*DescribeTransformJobInput) 2524 if !ok { 2525 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2526 } 2527 if err := validateOpDescribeTransformJobInput(input); err != nil { 2528 return out, metadata, err 2529 } 2530 return next.HandleInitialize(ctx, in) 2531} 2532 2533type validateOpDescribeTrialComponent struct { 2534} 2535 2536func (*validateOpDescribeTrialComponent) ID() string { 2537 return "OperationInputValidation" 2538} 2539 2540func (m *validateOpDescribeTrialComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2541 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2542) { 2543 input, ok := in.Parameters.(*DescribeTrialComponentInput) 2544 if !ok { 2545 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2546 } 2547 if err := validateOpDescribeTrialComponentInput(input); err != nil { 2548 return out, metadata, err 2549 } 2550 return next.HandleInitialize(ctx, in) 2551} 2552 2553type validateOpDescribeTrial struct { 2554} 2555 2556func (*validateOpDescribeTrial) ID() string { 2557 return "OperationInputValidation" 2558} 2559 2560func (m *validateOpDescribeTrial) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2561 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2562) { 2563 input, ok := in.Parameters.(*DescribeTrialInput) 2564 if !ok { 2565 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2566 } 2567 if err := validateOpDescribeTrialInput(input); err != nil { 2568 return out, metadata, err 2569 } 2570 return next.HandleInitialize(ctx, in) 2571} 2572 2573type validateOpDescribeUserProfile struct { 2574} 2575 2576func (*validateOpDescribeUserProfile) ID() string { 2577 return "OperationInputValidation" 2578} 2579 2580func (m *validateOpDescribeUserProfile) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2581 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2582) { 2583 input, ok := in.Parameters.(*DescribeUserProfileInput) 2584 if !ok { 2585 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2586 } 2587 if err := validateOpDescribeUserProfileInput(input); err != nil { 2588 return out, metadata, err 2589 } 2590 return next.HandleInitialize(ctx, in) 2591} 2592 2593type validateOpDescribeWorkforce struct { 2594} 2595 2596func (*validateOpDescribeWorkforce) ID() string { 2597 return "OperationInputValidation" 2598} 2599 2600func (m *validateOpDescribeWorkforce) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2601 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2602) { 2603 input, ok := in.Parameters.(*DescribeWorkforceInput) 2604 if !ok { 2605 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2606 } 2607 if err := validateOpDescribeWorkforceInput(input); err != nil { 2608 return out, metadata, err 2609 } 2610 return next.HandleInitialize(ctx, in) 2611} 2612 2613type validateOpDescribeWorkteam struct { 2614} 2615 2616func (*validateOpDescribeWorkteam) ID() string { 2617 return "OperationInputValidation" 2618} 2619 2620func (m *validateOpDescribeWorkteam) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2621 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2622) { 2623 input, ok := in.Parameters.(*DescribeWorkteamInput) 2624 if !ok { 2625 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2626 } 2627 if err := validateOpDescribeWorkteamInput(input); err != nil { 2628 return out, metadata, err 2629 } 2630 return next.HandleInitialize(ctx, in) 2631} 2632 2633type validateOpDisassociateTrialComponent struct { 2634} 2635 2636func (*validateOpDisassociateTrialComponent) ID() string { 2637 return "OperationInputValidation" 2638} 2639 2640func (m *validateOpDisassociateTrialComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2641 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2642) { 2643 input, ok := in.Parameters.(*DisassociateTrialComponentInput) 2644 if !ok { 2645 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2646 } 2647 if err := validateOpDisassociateTrialComponentInput(input); err != nil { 2648 return out, metadata, err 2649 } 2650 return next.HandleInitialize(ctx, in) 2651} 2652 2653type validateOpGetDeviceFleetReport struct { 2654} 2655 2656func (*validateOpGetDeviceFleetReport) ID() string { 2657 return "OperationInputValidation" 2658} 2659 2660func (m *validateOpGetDeviceFleetReport) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2661 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2662) { 2663 input, ok := in.Parameters.(*GetDeviceFleetReportInput) 2664 if !ok { 2665 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2666 } 2667 if err := validateOpGetDeviceFleetReportInput(input); err != nil { 2668 return out, metadata, err 2669 } 2670 return next.HandleInitialize(ctx, in) 2671} 2672 2673type validateOpGetModelPackageGroupPolicy struct { 2674} 2675 2676func (*validateOpGetModelPackageGroupPolicy) ID() string { 2677 return "OperationInputValidation" 2678} 2679 2680func (m *validateOpGetModelPackageGroupPolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2681 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2682) { 2683 input, ok := in.Parameters.(*GetModelPackageGroupPolicyInput) 2684 if !ok { 2685 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2686 } 2687 if err := validateOpGetModelPackageGroupPolicyInput(input); err != nil { 2688 return out, metadata, err 2689 } 2690 return next.HandleInitialize(ctx, in) 2691} 2692 2693type validateOpGetSearchSuggestions struct { 2694} 2695 2696func (*validateOpGetSearchSuggestions) ID() string { 2697 return "OperationInputValidation" 2698} 2699 2700func (m *validateOpGetSearchSuggestions) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2701 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2702) { 2703 input, ok := in.Parameters.(*GetSearchSuggestionsInput) 2704 if !ok { 2705 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2706 } 2707 if err := validateOpGetSearchSuggestionsInput(input); err != nil { 2708 return out, metadata, err 2709 } 2710 return next.HandleInitialize(ctx, in) 2711} 2712 2713type validateOpListCandidatesForAutoMLJob struct { 2714} 2715 2716func (*validateOpListCandidatesForAutoMLJob) ID() string { 2717 return "OperationInputValidation" 2718} 2719 2720func (m *validateOpListCandidatesForAutoMLJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2721 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2722) { 2723 input, ok := in.Parameters.(*ListCandidatesForAutoMLJobInput) 2724 if !ok { 2725 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2726 } 2727 if err := validateOpListCandidatesForAutoMLJobInput(input); err != nil { 2728 return out, metadata, err 2729 } 2730 return next.HandleInitialize(ctx, in) 2731} 2732 2733type validateOpListImageVersions struct { 2734} 2735 2736func (*validateOpListImageVersions) ID() string { 2737 return "OperationInputValidation" 2738} 2739 2740func (m *validateOpListImageVersions) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2741 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2742) { 2743 input, ok := in.Parameters.(*ListImageVersionsInput) 2744 if !ok { 2745 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2746 } 2747 if err := validateOpListImageVersionsInput(input); err != nil { 2748 return out, metadata, err 2749 } 2750 return next.HandleInitialize(ctx, in) 2751} 2752 2753type validateOpListLabelingJobsForWorkteam struct { 2754} 2755 2756func (*validateOpListLabelingJobsForWorkteam) ID() string { 2757 return "OperationInputValidation" 2758} 2759 2760func (m *validateOpListLabelingJobsForWorkteam) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2761 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2762) { 2763 input, ok := in.Parameters.(*ListLabelingJobsForWorkteamInput) 2764 if !ok { 2765 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2766 } 2767 if err := validateOpListLabelingJobsForWorkteamInput(input); err != nil { 2768 return out, metadata, err 2769 } 2770 return next.HandleInitialize(ctx, in) 2771} 2772 2773type validateOpListPipelineExecutions struct { 2774} 2775 2776func (*validateOpListPipelineExecutions) ID() string { 2777 return "OperationInputValidation" 2778} 2779 2780func (m *validateOpListPipelineExecutions) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2781 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2782) { 2783 input, ok := in.Parameters.(*ListPipelineExecutionsInput) 2784 if !ok { 2785 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2786 } 2787 if err := validateOpListPipelineExecutionsInput(input); err != nil { 2788 return out, metadata, err 2789 } 2790 return next.HandleInitialize(ctx, in) 2791} 2792 2793type validateOpListPipelineParametersForExecution struct { 2794} 2795 2796func (*validateOpListPipelineParametersForExecution) ID() string { 2797 return "OperationInputValidation" 2798} 2799 2800func (m *validateOpListPipelineParametersForExecution) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2801 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2802) { 2803 input, ok := in.Parameters.(*ListPipelineParametersForExecutionInput) 2804 if !ok { 2805 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2806 } 2807 if err := validateOpListPipelineParametersForExecutionInput(input); err != nil { 2808 return out, metadata, err 2809 } 2810 return next.HandleInitialize(ctx, in) 2811} 2812 2813type validateOpListTags struct { 2814} 2815 2816func (*validateOpListTags) ID() string { 2817 return "OperationInputValidation" 2818} 2819 2820func (m *validateOpListTags) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2821 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2822) { 2823 input, ok := in.Parameters.(*ListTagsInput) 2824 if !ok { 2825 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2826 } 2827 if err := validateOpListTagsInput(input); err != nil { 2828 return out, metadata, err 2829 } 2830 return next.HandleInitialize(ctx, in) 2831} 2832 2833type validateOpListTrainingJobsForHyperParameterTuningJob struct { 2834} 2835 2836func (*validateOpListTrainingJobsForHyperParameterTuningJob) ID() string { 2837 return "OperationInputValidation" 2838} 2839 2840func (m *validateOpListTrainingJobsForHyperParameterTuningJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2841 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2842) { 2843 input, ok := in.Parameters.(*ListTrainingJobsForHyperParameterTuningJobInput) 2844 if !ok { 2845 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2846 } 2847 if err := validateOpListTrainingJobsForHyperParameterTuningJobInput(input); err != nil { 2848 return out, metadata, err 2849 } 2850 return next.HandleInitialize(ctx, in) 2851} 2852 2853type validateOpPutModelPackageGroupPolicy struct { 2854} 2855 2856func (*validateOpPutModelPackageGroupPolicy) ID() string { 2857 return "OperationInputValidation" 2858} 2859 2860func (m *validateOpPutModelPackageGroupPolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2861 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2862) { 2863 input, ok := in.Parameters.(*PutModelPackageGroupPolicyInput) 2864 if !ok { 2865 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2866 } 2867 if err := validateOpPutModelPackageGroupPolicyInput(input); err != nil { 2868 return out, metadata, err 2869 } 2870 return next.HandleInitialize(ctx, in) 2871} 2872 2873type validateOpRegisterDevices struct { 2874} 2875 2876func (*validateOpRegisterDevices) ID() string { 2877 return "OperationInputValidation" 2878} 2879 2880func (m *validateOpRegisterDevices) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2881 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2882) { 2883 input, ok := in.Parameters.(*RegisterDevicesInput) 2884 if !ok { 2885 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2886 } 2887 if err := validateOpRegisterDevicesInput(input); err != nil { 2888 return out, metadata, err 2889 } 2890 return next.HandleInitialize(ctx, in) 2891} 2892 2893type validateOpRenderUiTemplate struct { 2894} 2895 2896func (*validateOpRenderUiTemplate) ID() string { 2897 return "OperationInputValidation" 2898} 2899 2900func (m *validateOpRenderUiTemplate) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2901 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2902) { 2903 input, ok := in.Parameters.(*RenderUiTemplateInput) 2904 if !ok { 2905 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2906 } 2907 if err := validateOpRenderUiTemplateInput(input); err != nil { 2908 return out, metadata, err 2909 } 2910 return next.HandleInitialize(ctx, in) 2911} 2912 2913type validateOpSearch struct { 2914} 2915 2916func (*validateOpSearch) ID() string { 2917 return "OperationInputValidation" 2918} 2919 2920func (m *validateOpSearch) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2921 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2922) { 2923 input, ok := in.Parameters.(*SearchInput) 2924 if !ok { 2925 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2926 } 2927 if err := validateOpSearchInput(input); err != nil { 2928 return out, metadata, err 2929 } 2930 return next.HandleInitialize(ctx, in) 2931} 2932 2933type validateOpStartMonitoringSchedule struct { 2934} 2935 2936func (*validateOpStartMonitoringSchedule) ID() string { 2937 return "OperationInputValidation" 2938} 2939 2940func (m *validateOpStartMonitoringSchedule) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2941 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2942) { 2943 input, ok := in.Parameters.(*StartMonitoringScheduleInput) 2944 if !ok { 2945 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2946 } 2947 if err := validateOpStartMonitoringScheduleInput(input); err != nil { 2948 return out, metadata, err 2949 } 2950 return next.HandleInitialize(ctx, in) 2951} 2952 2953type validateOpStartNotebookInstance struct { 2954} 2955 2956func (*validateOpStartNotebookInstance) ID() string { 2957 return "OperationInputValidation" 2958} 2959 2960func (m *validateOpStartNotebookInstance) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2961 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2962) { 2963 input, ok := in.Parameters.(*StartNotebookInstanceInput) 2964 if !ok { 2965 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2966 } 2967 if err := validateOpStartNotebookInstanceInput(input); err != nil { 2968 return out, metadata, err 2969 } 2970 return next.HandleInitialize(ctx, in) 2971} 2972 2973type validateOpStartPipelineExecution struct { 2974} 2975 2976func (*validateOpStartPipelineExecution) ID() string { 2977 return "OperationInputValidation" 2978} 2979 2980func (m *validateOpStartPipelineExecution) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 2981 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 2982) { 2983 input, ok := in.Parameters.(*StartPipelineExecutionInput) 2984 if !ok { 2985 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2986 } 2987 if err := validateOpStartPipelineExecutionInput(input); err != nil { 2988 return out, metadata, err 2989 } 2990 return next.HandleInitialize(ctx, in) 2991} 2992 2993type validateOpStopAutoMLJob struct { 2994} 2995 2996func (*validateOpStopAutoMLJob) ID() string { 2997 return "OperationInputValidation" 2998} 2999 3000func (m *validateOpStopAutoMLJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3001 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3002) { 3003 input, ok := in.Parameters.(*StopAutoMLJobInput) 3004 if !ok { 3005 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3006 } 3007 if err := validateOpStopAutoMLJobInput(input); err != nil { 3008 return out, metadata, err 3009 } 3010 return next.HandleInitialize(ctx, in) 3011} 3012 3013type validateOpStopCompilationJob struct { 3014} 3015 3016func (*validateOpStopCompilationJob) ID() string { 3017 return "OperationInputValidation" 3018} 3019 3020func (m *validateOpStopCompilationJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3021 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3022) { 3023 input, ok := in.Parameters.(*StopCompilationJobInput) 3024 if !ok { 3025 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3026 } 3027 if err := validateOpStopCompilationJobInput(input); err != nil { 3028 return out, metadata, err 3029 } 3030 return next.HandleInitialize(ctx, in) 3031} 3032 3033type validateOpStopEdgePackagingJob struct { 3034} 3035 3036func (*validateOpStopEdgePackagingJob) ID() string { 3037 return "OperationInputValidation" 3038} 3039 3040func (m *validateOpStopEdgePackagingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3041 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3042) { 3043 input, ok := in.Parameters.(*StopEdgePackagingJobInput) 3044 if !ok { 3045 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3046 } 3047 if err := validateOpStopEdgePackagingJobInput(input); err != nil { 3048 return out, metadata, err 3049 } 3050 return next.HandleInitialize(ctx, in) 3051} 3052 3053type validateOpStopHyperParameterTuningJob struct { 3054} 3055 3056func (*validateOpStopHyperParameterTuningJob) ID() string { 3057 return "OperationInputValidation" 3058} 3059 3060func (m *validateOpStopHyperParameterTuningJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3061 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3062) { 3063 input, ok := in.Parameters.(*StopHyperParameterTuningJobInput) 3064 if !ok { 3065 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3066 } 3067 if err := validateOpStopHyperParameterTuningJobInput(input); err != nil { 3068 return out, metadata, err 3069 } 3070 return next.HandleInitialize(ctx, in) 3071} 3072 3073type validateOpStopLabelingJob struct { 3074} 3075 3076func (*validateOpStopLabelingJob) ID() string { 3077 return "OperationInputValidation" 3078} 3079 3080func (m *validateOpStopLabelingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3081 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3082) { 3083 input, ok := in.Parameters.(*StopLabelingJobInput) 3084 if !ok { 3085 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3086 } 3087 if err := validateOpStopLabelingJobInput(input); err != nil { 3088 return out, metadata, err 3089 } 3090 return next.HandleInitialize(ctx, in) 3091} 3092 3093type validateOpStopMonitoringSchedule struct { 3094} 3095 3096func (*validateOpStopMonitoringSchedule) ID() string { 3097 return "OperationInputValidation" 3098} 3099 3100func (m *validateOpStopMonitoringSchedule) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3101 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3102) { 3103 input, ok := in.Parameters.(*StopMonitoringScheduleInput) 3104 if !ok { 3105 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3106 } 3107 if err := validateOpStopMonitoringScheduleInput(input); err != nil { 3108 return out, metadata, err 3109 } 3110 return next.HandleInitialize(ctx, in) 3111} 3112 3113type validateOpStopNotebookInstance struct { 3114} 3115 3116func (*validateOpStopNotebookInstance) ID() string { 3117 return "OperationInputValidation" 3118} 3119 3120func (m *validateOpStopNotebookInstance) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3121 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3122) { 3123 input, ok := in.Parameters.(*StopNotebookInstanceInput) 3124 if !ok { 3125 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3126 } 3127 if err := validateOpStopNotebookInstanceInput(input); err != nil { 3128 return out, metadata, err 3129 } 3130 return next.HandleInitialize(ctx, in) 3131} 3132 3133type validateOpStopPipelineExecution struct { 3134} 3135 3136func (*validateOpStopPipelineExecution) ID() string { 3137 return "OperationInputValidation" 3138} 3139 3140func (m *validateOpStopPipelineExecution) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3141 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3142) { 3143 input, ok := in.Parameters.(*StopPipelineExecutionInput) 3144 if !ok { 3145 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3146 } 3147 if err := validateOpStopPipelineExecutionInput(input); err != nil { 3148 return out, metadata, err 3149 } 3150 return next.HandleInitialize(ctx, in) 3151} 3152 3153type validateOpStopProcessingJob struct { 3154} 3155 3156func (*validateOpStopProcessingJob) ID() string { 3157 return "OperationInputValidation" 3158} 3159 3160func (m *validateOpStopProcessingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3161 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3162) { 3163 input, ok := in.Parameters.(*StopProcessingJobInput) 3164 if !ok { 3165 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3166 } 3167 if err := validateOpStopProcessingJobInput(input); err != nil { 3168 return out, metadata, err 3169 } 3170 return next.HandleInitialize(ctx, in) 3171} 3172 3173type validateOpStopTrainingJob struct { 3174} 3175 3176func (*validateOpStopTrainingJob) ID() string { 3177 return "OperationInputValidation" 3178} 3179 3180func (m *validateOpStopTrainingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3181 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3182) { 3183 input, ok := in.Parameters.(*StopTrainingJobInput) 3184 if !ok { 3185 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3186 } 3187 if err := validateOpStopTrainingJobInput(input); err != nil { 3188 return out, metadata, err 3189 } 3190 return next.HandleInitialize(ctx, in) 3191} 3192 3193type validateOpStopTransformJob struct { 3194} 3195 3196func (*validateOpStopTransformJob) ID() string { 3197 return "OperationInputValidation" 3198} 3199 3200func (m *validateOpStopTransformJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3201 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3202) { 3203 input, ok := in.Parameters.(*StopTransformJobInput) 3204 if !ok { 3205 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3206 } 3207 if err := validateOpStopTransformJobInput(input); err != nil { 3208 return out, metadata, err 3209 } 3210 return next.HandleInitialize(ctx, in) 3211} 3212 3213type validateOpUpdateAction struct { 3214} 3215 3216func (*validateOpUpdateAction) ID() string { 3217 return "OperationInputValidation" 3218} 3219 3220func (m *validateOpUpdateAction) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3221 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3222) { 3223 input, ok := in.Parameters.(*UpdateActionInput) 3224 if !ok { 3225 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3226 } 3227 if err := validateOpUpdateActionInput(input); err != nil { 3228 return out, metadata, err 3229 } 3230 return next.HandleInitialize(ctx, in) 3231} 3232 3233type validateOpUpdateAppImageConfig struct { 3234} 3235 3236func (*validateOpUpdateAppImageConfig) ID() string { 3237 return "OperationInputValidation" 3238} 3239 3240func (m *validateOpUpdateAppImageConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3241 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3242) { 3243 input, ok := in.Parameters.(*UpdateAppImageConfigInput) 3244 if !ok { 3245 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3246 } 3247 if err := validateOpUpdateAppImageConfigInput(input); err != nil { 3248 return out, metadata, err 3249 } 3250 return next.HandleInitialize(ctx, in) 3251} 3252 3253type validateOpUpdateArtifact struct { 3254} 3255 3256func (*validateOpUpdateArtifact) ID() string { 3257 return "OperationInputValidation" 3258} 3259 3260func (m *validateOpUpdateArtifact) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3261 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3262) { 3263 input, ok := in.Parameters.(*UpdateArtifactInput) 3264 if !ok { 3265 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3266 } 3267 if err := validateOpUpdateArtifactInput(input); err != nil { 3268 return out, metadata, err 3269 } 3270 return next.HandleInitialize(ctx, in) 3271} 3272 3273type validateOpUpdateCodeRepository struct { 3274} 3275 3276func (*validateOpUpdateCodeRepository) ID() string { 3277 return "OperationInputValidation" 3278} 3279 3280func (m *validateOpUpdateCodeRepository) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3281 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3282) { 3283 input, ok := in.Parameters.(*UpdateCodeRepositoryInput) 3284 if !ok { 3285 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3286 } 3287 if err := validateOpUpdateCodeRepositoryInput(input); err != nil { 3288 return out, metadata, err 3289 } 3290 return next.HandleInitialize(ctx, in) 3291} 3292 3293type validateOpUpdateContext struct { 3294} 3295 3296func (*validateOpUpdateContext) ID() string { 3297 return "OperationInputValidation" 3298} 3299 3300func (m *validateOpUpdateContext) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3301 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3302) { 3303 input, ok := in.Parameters.(*UpdateContextInput) 3304 if !ok { 3305 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3306 } 3307 if err := validateOpUpdateContextInput(input); err != nil { 3308 return out, metadata, err 3309 } 3310 return next.HandleInitialize(ctx, in) 3311} 3312 3313type validateOpUpdateDeviceFleet struct { 3314} 3315 3316func (*validateOpUpdateDeviceFleet) ID() string { 3317 return "OperationInputValidation" 3318} 3319 3320func (m *validateOpUpdateDeviceFleet) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3321 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3322) { 3323 input, ok := in.Parameters.(*UpdateDeviceFleetInput) 3324 if !ok { 3325 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3326 } 3327 if err := validateOpUpdateDeviceFleetInput(input); err != nil { 3328 return out, metadata, err 3329 } 3330 return next.HandleInitialize(ctx, in) 3331} 3332 3333type validateOpUpdateDevices struct { 3334} 3335 3336func (*validateOpUpdateDevices) ID() string { 3337 return "OperationInputValidation" 3338} 3339 3340func (m *validateOpUpdateDevices) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3341 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3342) { 3343 input, ok := in.Parameters.(*UpdateDevicesInput) 3344 if !ok { 3345 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3346 } 3347 if err := validateOpUpdateDevicesInput(input); err != nil { 3348 return out, metadata, err 3349 } 3350 return next.HandleInitialize(ctx, in) 3351} 3352 3353type validateOpUpdateDomain struct { 3354} 3355 3356func (*validateOpUpdateDomain) ID() string { 3357 return "OperationInputValidation" 3358} 3359 3360func (m *validateOpUpdateDomain) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3361 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3362) { 3363 input, ok := in.Parameters.(*UpdateDomainInput) 3364 if !ok { 3365 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3366 } 3367 if err := validateOpUpdateDomainInput(input); err != nil { 3368 return out, metadata, err 3369 } 3370 return next.HandleInitialize(ctx, in) 3371} 3372 3373type validateOpUpdateEndpoint struct { 3374} 3375 3376func (*validateOpUpdateEndpoint) ID() string { 3377 return "OperationInputValidation" 3378} 3379 3380func (m *validateOpUpdateEndpoint) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3381 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3382) { 3383 input, ok := in.Parameters.(*UpdateEndpointInput) 3384 if !ok { 3385 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3386 } 3387 if err := validateOpUpdateEndpointInput(input); err != nil { 3388 return out, metadata, err 3389 } 3390 return next.HandleInitialize(ctx, in) 3391} 3392 3393type validateOpUpdateEndpointWeightsAndCapacities struct { 3394} 3395 3396func (*validateOpUpdateEndpointWeightsAndCapacities) ID() string { 3397 return "OperationInputValidation" 3398} 3399 3400func (m *validateOpUpdateEndpointWeightsAndCapacities) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3401 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3402) { 3403 input, ok := in.Parameters.(*UpdateEndpointWeightsAndCapacitiesInput) 3404 if !ok { 3405 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3406 } 3407 if err := validateOpUpdateEndpointWeightsAndCapacitiesInput(input); err != nil { 3408 return out, metadata, err 3409 } 3410 return next.HandleInitialize(ctx, in) 3411} 3412 3413type validateOpUpdateExperiment struct { 3414} 3415 3416func (*validateOpUpdateExperiment) ID() string { 3417 return "OperationInputValidation" 3418} 3419 3420func (m *validateOpUpdateExperiment) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3421 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3422) { 3423 input, ok := in.Parameters.(*UpdateExperimentInput) 3424 if !ok { 3425 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3426 } 3427 if err := validateOpUpdateExperimentInput(input); err != nil { 3428 return out, metadata, err 3429 } 3430 return next.HandleInitialize(ctx, in) 3431} 3432 3433type validateOpUpdateImage struct { 3434} 3435 3436func (*validateOpUpdateImage) ID() string { 3437 return "OperationInputValidation" 3438} 3439 3440func (m *validateOpUpdateImage) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3441 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3442) { 3443 input, ok := in.Parameters.(*UpdateImageInput) 3444 if !ok { 3445 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3446 } 3447 if err := validateOpUpdateImageInput(input); err != nil { 3448 return out, metadata, err 3449 } 3450 return next.HandleInitialize(ctx, in) 3451} 3452 3453type validateOpUpdateModelPackage struct { 3454} 3455 3456func (*validateOpUpdateModelPackage) ID() string { 3457 return "OperationInputValidation" 3458} 3459 3460func (m *validateOpUpdateModelPackage) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3461 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3462) { 3463 input, ok := in.Parameters.(*UpdateModelPackageInput) 3464 if !ok { 3465 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3466 } 3467 if err := validateOpUpdateModelPackageInput(input); err != nil { 3468 return out, metadata, err 3469 } 3470 return next.HandleInitialize(ctx, in) 3471} 3472 3473type validateOpUpdateMonitoringSchedule struct { 3474} 3475 3476func (*validateOpUpdateMonitoringSchedule) ID() string { 3477 return "OperationInputValidation" 3478} 3479 3480func (m *validateOpUpdateMonitoringSchedule) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3481 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3482) { 3483 input, ok := in.Parameters.(*UpdateMonitoringScheduleInput) 3484 if !ok { 3485 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3486 } 3487 if err := validateOpUpdateMonitoringScheduleInput(input); err != nil { 3488 return out, metadata, err 3489 } 3490 return next.HandleInitialize(ctx, in) 3491} 3492 3493type validateOpUpdateNotebookInstance struct { 3494} 3495 3496func (*validateOpUpdateNotebookInstance) ID() string { 3497 return "OperationInputValidation" 3498} 3499 3500func (m *validateOpUpdateNotebookInstance) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3501 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3502) { 3503 input, ok := in.Parameters.(*UpdateNotebookInstanceInput) 3504 if !ok { 3505 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3506 } 3507 if err := validateOpUpdateNotebookInstanceInput(input); err != nil { 3508 return out, metadata, err 3509 } 3510 return next.HandleInitialize(ctx, in) 3511} 3512 3513type validateOpUpdateNotebookInstanceLifecycleConfig struct { 3514} 3515 3516func (*validateOpUpdateNotebookInstanceLifecycleConfig) ID() string { 3517 return "OperationInputValidation" 3518} 3519 3520func (m *validateOpUpdateNotebookInstanceLifecycleConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3521 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3522) { 3523 input, ok := in.Parameters.(*UpdateNotebookInstanceLifecycleConfigInput) 3524 if !ok { 3525 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3526 } 3527 if err := validateOpUpdateNotebookInstanceLifecycleConfigInput(input); err != nil { 3528 return out, metadata, err 3529 } 3530 return next.HandleInitialize(ctx, in) 3531} 3532 3533type validateOpUpdatePipelineExecution struct { 3534} 3535 3536func (*validateOpUpdatePipelineExecution) ID() string { 3537 return "OperationInputValidation" 3538} 3539 3540func (m *validateOpUpdatePipelineExecution) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3541 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3542) { 3543 input, ok := in.Parameters.(*UpdatePipelineExecutionInput) 3544 if !ok { 3545 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3546 } 3547 if err := validateOpUpdatePipelineExecutionInput(input); err != nil { 3548 return out, metadata, err 3549 } 3550 return next.HandleInitialize(ctx, in) 3551} 3552 3553type validateOpUpdatePipeline struct { 3554} 3555 3556func (*validateOpUpdatePipeline) ID() string { 3557 return "OperationInputValidation" 3558} 3559 3560func (m *validateOpUpdatePipeline) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3561 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3562) { 3563 input, ok := in.Parameters.(*UpdatePipelineInput) 3564 if !ok { 3565 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3566 } 3567 if err := validateOpUpdatePipelineInput(input); err != nil { 3568 return out, metadata, err 3569 } 3570 return next.HandleInitialize(ctx, in) 3571} 3572 3573type validateOpUpdateTrainingJob struct { 3574} 3575 3576func (*validateOpUpdateTrainingJob) ID() string { 3577 return "OperationInputValidation" 3578} 3579 3580func (m *validateOpUpdateTrainingJob) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3581 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3582) { 3583 input, ok := in.Parameters.(*UpdateTrainingJobInput) 3584 if !ok { 3585 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3586 } 3587 if err := validateOpUpdateTrainingJobInput(input); err != nil { 3588 return out, metadata, err 3589 } 3590 return next.HandleInitialize(ctx, in) 3591} 3592 3593type validateOpUpdateTrialComponent struct { 3594} 3595 3596func (*validateOpUpdateTrialComponent) ID() string { 3597 return "OperationInputValidation" 3598} 3599 3600func (m *validateOpUpdateTrialComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3601 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3602) { 3603 input, ok := in.Parameters.(*UpdateTrialComponentInput) 3604 if !ok { 3605 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3606 } 3607 if err := validateOpUpdateTrialComponentInput(input); err != nil { 3608 return out, metadata, err 3609 } 3610 return next.HandleInitialize(ctx, in) 3611} 3612 3613type validateOpUpdateTrial struct { 3614} 3615 3616func (*validateOpUpdateTrial) ID() string { 3617 return "OperationInputValidation" 3618} 3619 3620func (m *validateOpUpdateTrial) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3621 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3622) { 3623 input, ok := in.Parameters.(*UpdateTrialInput) 3624 if !ok { 3625 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3626 } 3627 if err := validateOpUpdateTrialInput(input); err != nil { 3628 return out, metadata, err 3629 } 3630 return next.HandleInitialize(ctx, in) 3631} 3632 3633type validateOpUpdateUserProfile struct { 3634} 3635 3636func (*validateOpUpdateUserProfile) ID() string { 3637 return "OperationInputValidation" 3638} 3639 3640func (m *validateOpUpdateUserProfile) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3641 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3642) { 3643 input, ok := in.Parameters.(*UpdateUserProfileInput) 3644 if !ok { 3645 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3646 } 3647 if err := validateOpUpdateUserProfileInput(input); err != nil { 3648 return out, metadata, err 3649 } 3650 return next.HandleInitialize(ctx, in) 3651} 3652 3653type validateOpUpdateWorkforce struct { 3654} 3655 3656func (*validateOpUpdateWorkforce) ID() string { 3657 return "OperationInputValidation" 3658} 3659 3660func (m *validateOpUpdateWorkforce) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3661 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3662) { 3663 input, ok := in.Parameters.(*UpdateWorkforceInput) 3664 if !ok { 3665 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3666 } 3667 if err := validateOpUpdateWorkforceInput(input); err != nil { 3668 return out, metadata, err 3669 } 3670 return next.HandleInitialize(ctx, in) 3671} 3672 3673type validateOpUpdateWorkteam struct { 3674} 3675 3676func (*validateOpUpdateWorkteam) ID() string { 3677 return "OperationInputValidation" 3678} 3679 3680func (m *validateOpUpdateWorkteam) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( 3681 out middleware.InitializeOutput, metadata middleware.Metadata, err error, 3682) { 3683 input, ok := in.Parameters.(*UpdateWorkteamInput) 3684 if !ok { 3685 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 3686 } 3687 if err := validateOpUpdateWorkteamInput(input); err != nil { 3688 return out, metadata, err 3689 } 3690 return next.HandleInitialize(ctx, in) 3691} 3692 3693func addOpAddAssociationValidationMiddleware(stack *middleware.Stack) error { 3694 return stack.Initialize.Add(&validateOpAddAssociation{}, middleware.After) 3695} 3696 3697func addOpAddTagsValidationMiddleware(stack *middleware.Stack) error { 3698 return stack.Initialize.Add(&validateOpAddTags{}, middleware.After) 3699} 3700 3701func addOpAssociateTrialComponentValidationMiddleware(stack *middleware.Stack) error { 3702 return stack.Initialize.Add(&validateOpAssociateTrialComponent{}, middleware.After) 3703} 3704 3705func addOpCreateActionValidationMiddleware(stack *middleware.Stack) error { 3706 return stack.Initialize.Add(&validateOpCreateAction{}, middleware.After) 3707} 3708 3709func addOpCreateAlgorithmValidationMiddleware(stack *middleware.Stack) error { 3710 return stack.Initialize.Add(&validateOpCreateAlgorithm{}, middleware.After) 3711} 3712 3713func addOpCreateAppImageConfigValidationMiddleware(stack *middleware.Stack) error { 3714 return stack.Initialize.Add(&validateOpCreateAppImageConfig{}, middleware.After) 3715} 3716 3717func addOpCreateAppValidationMiddleware(stack *middleware.Stack) error { 3718 return stack.Initialize.Add(&validateOpCreateApp{}, middleware.After) 3719} 3720 3721func addOpCreateArtifactValidationMiddleware(stack *middleware.Stack) error { 3722 return stack.Initialize.Add(&validateOpCreateArtifact{}, middleware.After) 3723} 3724 3725func addOpCreateAutoMLJobValidationMiddleware(stack *middleware.Stack) error { 3726 return stack.Initialize.Add(&validateOpCreateAutoMLJob{}, middleware.After) 3727} 3728 3729func addOpCreateCodeRepositoryValidationMiddleware(stack *middleware.Stack) error { 3730 return stack.Initialize.Add(&validateOpCreateCodeRepository{}, middleware.After) 3731} 3732 3733func addOpCreateCompilationJobValidationMiddleware(stack *middleware.Stack) error { 3734 return stack.Initialize.Add(&validateOpCreateCompilationJob{}, middleware.After) 3735} 3736 3737func addOpCreateContextValidationMiddleware(stack *middleware.Stack) error { 3738 return stack.Initialize.Add(&validateOpCreateContext{}, middleware.After) 3739} 3740 3741func addOpCreateDataQualityJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 3742 return stack.Initialize.Add(&validateOpCreateDataQualityJobDefinition{}, middleware.After) 3743} 3744 3745func addOpCreateDeviceFleetValidationMiddleware(stack *middleware.Stack) error { 3746 return stack.Initialize.Add(&validateOpCreateDeviceFleet{}, middleware.After) 3747} 3748 3749func addOpCreateDomainValidationMiddleware(stack *middleware.Stack) error { 3750 return stack.Initialize.Add(&validateOpCreateDomain{}, middleware.After) 3751} 3752 3753func addOpCreateEdgePackagingJobValidationMiddleware(stack *middleware.Stack) error { 3754 return stack.Initialize.Add(&validateOpCreateEdgePackagingJob{}, middleware.After) 3755} 3756 3757func addOpCreateEndpointConfigValidationMiddleware(stack *middleware.Stack) error { 3758 return stack.Initialize.Add(&validateOpCreateEndpointConfig{}, middleware.After) 3759} 3760 3761func addOpCreateEndpointValidationMiddleware(stack *middleware.Stack) error { 3762 return stack.Initialize.Add(&validateOpCreateEndpoint{}, middleware.After) 3763} 3764 3765func addOpCreateExperimentValidationMiddleware(stack *middleware.Stack) error { 3766 return stack.Initialize.Add(&validateOpCreateExperiment{}, middleware.After) 3767} 3768 3769func addOpCreateFeatureGroupValidationMiddleware(stack *middleware.Stack) error { 3770 return stack.Initialize.Add(&validateOpCreateFeatureGroup{}, middleware.After) 3771} 3772 3773func addOpCreateFlowDefinitionValidationMiddleware(stack *middleware.Stack) error { 3774 return stack.Initialize.Add(&validateOpCreateFlowDefinition{}, middleware.After) 3775} 3776 3777func addOpCreateHumanTaskUiValidationMiddleware(stack *middleware.Stack) error { 3778 return stack.Initialize.Add(&validateOpCreateHumanTaskUi{}, middleware.After) 3779} 3780 3781func addOpCreateHyperParameterTuningJobValidationMiddleware(stack *middleware.Stack) error { 3782 return stack.Initialize.Add(&validateOpCreateHyperParameterTuningJob{}, middleware.After) 3783} 3784 3785func addOpCreateImageValidationMiddleware(stack *middleware.Stack) error { 3786 return stack.Initialize.Add(&validateOpCreateImage{}, middleware.After) 3787} 3788 3789func addOpCreateImageVersionValidationMiddleware(stack *middleware.Stack) error { 3790 return stack.Initialize.Add(&validateOpCreateImageVersion{}, middleware.After) 3791} 3792 3793func addOpCreateLabelingJobValidationMiddleware(stack *middleware.Stack) error { 3794 return stack.Initialize.Add(&validateOpCreateLabelingJob{}, middleware.After) 3795} 3796 3797func addOpCreateModelBiasJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 3798 return stack.Initialize.Add(&validateOpCreateModelBiasJobDefinition{}, middleware.After) 3799} 3800 3801func addOpCreateModelExplainabilityJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 3802 return stack.Initialize.Add(&validateOpCreateModelExplainabilityJobDefinition{}, middleware.After) 3803} 3804 3805func addOpCreateModelValidationMiddleware(stack *middleware.Stack) error { 3806 return stack.Initialize.Add(&validateOpCreateModel{}, middleware.After) 3807} 3808 3809func addOpCreateModelPackageGroupValidationMiddleware(stack *middleware.Stack) error { 3810 return stack.Initialize.Add(&validateOpCreateModelPackageGroup{}, middleware.After) 3811} 3812 3813func addOpCreateModelPackageValidationMiddleware(stack *middleware.Stack) error { 3814 return stack.Initialize.Add(&validateOpCreateModelPackage{}, middleware.After) 3815} 3816 3817func addOpCreateModelQualityJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 3818 return stack.Initialize.Add(&validateOpCreateModelQualityJobDefinition{}, middleware.After) 3819} 3820 3821func addOpCreateMonitoringScheduleValidationMiddleware(stack *middleware.Stack) error { 3822 return stack.Initialize.Add(&validateOpCreateMonitoringSchedule{}, middleware.After) 3823} 3824 3825func addOpCreateNotebookInstanceValidationMiddleware(stack *middleware.Stack) error { 3826 return stack.Initialize.Add(&validateOpCreateNotebookInstance{}, middleware.After) 3827} 3828 3829func addOpCreateNotebookInstanceLifecycleConfigValidationMiddleware(stack *middleware.Stack) error { 3830 return stack.Initialize.Add(&validateOpCreateNotebookInstanceLifecycleConfig{}, middleware.After) 3831} 3832 3833func addOpCreatePipelineValidationMiddleware(stack *middleware.Stack) error { 3834 return stack.Initialize.Add(&validateOpCreatePipeline{}, middleware.After) 3835} 3836 3837func addOpCreatePresignedDomainUrlValidationMiddleware(stack *middleware.Stack) error { 3838 return stack.Initialize.Add(&validateOpCreatePresignedDomainUrl{}, middleware.After) 3839} 3840 3841func addOpCreatePresignedNotebookInstanceUrlValidationMiddleware(stack *middleware.Stack) error { 3842 return stack.Initialize.Add(&validateOpCreatePresignedNotebookInstanceUrl{}, middleware.After) 3843} 3844 3845func addOpCreateProcessingJobValidationMiddleware(stack *middleware.Stack) error { 3846 return stack.Initialize.Add(&validateOpCreateProcessingJob{}, middleware.After) 3847} 3848 3849func addOpCreateProjectValidationMiddleware(stack *middleware.Stack) error { 3850 return stack.Initialize.Add(&validateOpCreateProject{}, middleware.After) 3851} 3852 3853func addOpCreateTrainingJobValidationMiddleware(stack *middleware.Stack) error { 3854 return stack.Initialize.Add(&validateOpCreateTrainingJob{}, middleware.After) 3855} 3856 3857func addOpCreateTransformJobValidationMiddleware(stack *middleware.Stack) error { 3858 return stack.Initialize.Add(&validateOpCreateTransformJob{}, middleware.After) 3859} 3860 3861func addOpCreateTrialComponentValidationMiddleware(stack *middleware.Stack) error { 3862 return stack.Initialize.Add(&validateOpCreateTrialComponent{}, middleware.After) 3863} 3864 3865func addOpCreateTrialValidationMiddleware(stack *middleware.Stack) error { 3866 return stack.Initialize.Add(&validateOpCreateTrial{}, middleware.After) 3867} 3868 3869func addOpCreateUserProfileValidationMiddleware(stack *middleware.Stack) error { 3870 return stack.Initialize.Add(&validateOpCreateUserProfile{}, middleware.After) 3871} 3872 3873func addOpCreateWorkforceValidationMiddleware(stack *middleware.Stack) error { 3874 return stack.Initialize.Add(&validateOpCreateWorkforce{}, middleware.After) 3875} 3876 3877func addOpCreateWorkteamValidationMiddleware(stack *middleware.Stack) error { 3878 return stack.Initialize.Add(&validateOpCreateWorkteam{}, middleware.After) 3879} 3880 3881func addOpDeleteActionValidationMiddleware(stack *middleware.Stack) error { 3882 return stack.Initialize.Add(&validateOpDeleteAction{}, middleware.After) 3883} 3884 3885func addOpDeleteAlgorithmValidationMiddleware(stack *middleware.Stack) error { 3886 return stack.Initialize.Add(&validateOpDeleteAlgorithm{}, middleware.After) 3887} 3888 3889func addOpDeleteAppImageConfigValidationMiddleware(stack *middleware.Stack) error { 3890 return stack.Initialize.Add(&validateOpDeleteAppImageConfig{}, middleware.After) 3891} 3892 3893func addOpDeleteAppValidationMiddleware(stack *middleware.Stack) error { 3894 return stack.Initialize.Add(&validateOpDeleteApp{}, middleware.After) 3895} 3896 3897func addOpDeleteArtifactValidationMiddleware(stack *middleware.Stack) error { 3898 return stack.Initialize.Add(&validateOpDeleteArtifact{}, middleware.After) 3899} 3900 3901func addOpDeleteAssociationValidationMiddleware(stack *middleware.Stack) error { 3902 return stack.Initialize.Add(&validateOpDeleteAssociation{}, middleware.After) 3903} 3904 3905func addOpDeleteCodeRepositoryValidationMiddleware(stack *middleware.Stack) error { 3906 return stack.Initialize.Add(&validateOpDeleteCodeRepository{}, middleware.After) 3907} 3908 3909func addOpDeleteContextValidationMiddleware(stack *middleware.Stack) error { 3910 return stack.Initialize.Add(&validateOpDeleteContext{}, middleware.After) 3911} 3912 3913func addOpDeleteDataQualityJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 3914 return stack.Initialize.Add(&validateOpDeleteDataQualityJobDefinition{}, middleware.After) 3915} 3916 3917func addOpDeleteDeviceFleetValidationMiddleware(stack *middleware.Stack) error { 3918 return stack.Initialize.Add(&validateOpDeleteDeviceFleet{}, middleware.After) 3919} 3920 3921func addOpDeleteDomainValidationMiddleware(stack *middleware.Stack) error { 3922 return stack.Initialize.Add(&validateOpDeleteDomain{}, middleware.After) 3923} 3924 3925func addOpDeleteEndpointConfigValidationMiddleware(stack *middleware.Stack) error { 3926 return stack.Initialize.Add(&validateOpDeleteEndpointConfig{}, middleware.After) 3927} 3928 3929func addOpDeleteEndpointValidationMiddleware(stack *middleware.Stack) error { 3930 return stack.Initialize.Add(&validateOpDeleteEndpoint{}, middleware.After) 3931} 3932 3933func addOpDeleteExperimentValidationMiddleware(stack *middleware.Stack) error { 3934 return stack.Initialize.Add(&validateOpDeleteExperiment{}, middleware.After) 3935} 3936 3937func addOpDeleteFeatureGroupValidationMiddleware(stack *middleware.Stack) error { 3938 return stack.Initialize.Add(&validateOpDeleteFeatureGroup{}, middleware.After) 3939} 3940 3941func addOpDeleteFlowDefinitionValidationMiddleware(stack *middleware.Stack) error { 3942 return stack.Initialize.Add(&validateOpDeleteFlowDefinition{}, middleware.After) 3943} 3944 3945func addOpDeleteHumanTaskUiValidationMiddleware(stack *middleware.Stack) error { 3946 return stack.Initialize.Add(&validateOpDeleteHumanTaskUi{}, middleware.After) 3947} 3948 3949func addOpDeleteImageValidationMiddleware(stack *middleware.Stack) error { 3950 return stack.Initialize.Add(&validateOpDeleteImage{}, middleware.After) 3951} 3952 3953func addOpDeleteImageVersionValidationMiddleware(stack *middleware.Stack) error { 3954 return stack.Initialize.Add(&validateOpDeleteImageVersion{}, middleware.After) 3955} 3956 3957func addOpDeleteModelBiasJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 3958 return stack.Initialize.Add(&validateOpDeleteModelBiasJobDefinition{}, middleware.After) 3959} 3960 3961func addOpDeleteModelExplainabilityJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 3962 return stack.Initialize.Add(&validateOpDeleteModelExplainabilityJobDefinition{}, middleware.After) 3963} 3964 3965func addOpDeleteModelValidationMiddleware(stack *middleware.Stack) error { 3966 return stack.Initialize.Add(&validateOpDeleteModel{}, middleware.After) 3967} 3968 3969func addOpDeleteModelPackageGroupValidationMiddleware(stack *middleware.Stack) error { 3970 return stack.Initialize.Add(&validateOpDeleteModelPackageGroup{}, middleware.After) 3971} 3972 3973func addOpDeleteModelPackageGroupPolicyValidationMiddleware(stack *middleware.Stack) error { 3974 return stack.Initialize.Add(&validateOpDeleteModelPackageGroupPolicy{}, middleware.After) 3975} 3976 3977func addOpDeleteModelPackageValidationMiddleware(stack *middleware.Stack) error { 3978 return stack.Initialize.Add(&validateOpDeleteModelPackage{}, middleware.After) 3979} 3980 3981func addOpDeleteModelQualityJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 3982 return stack.Initialize.Add(&validateOpDeleteModelQualityJobDefinition{}, middleware.After) 3983} 3984 3985func addOpDeleteMonitoringScheduleValidationMiddleware(stack *middleware.Stack) error { 3986 return stack.Initialize.Add(&validateOpDeleteMonitoringSchedule{}, middleware.After) 3987} 3988 3989func addOpDeleteNotebookInstanceValidationMiddleware(stack *middleware.Stack) error { 3990 return stack.Initialize.Add(&validateOpDeleteNotebookInstance{}, middleware.After) 3991} 3992 3993func addOpDeleteNotebookInstanceLifecycleConfigValidationMiddleware(stack *middleware.Stack) error { 3994 return stack.Initialize.Add(&validateOpDeleteNotebookInstanceLifecycleConfig{}, middleware.After) 3995} 3996 3997func addOpDeletePipelineValidationMiddleware(stack *middleware.Stack) error { 3998 return stack.Initialize.Add(&validateOpDeletePipeline{}, middleware.After) 3999} 4000 4001func addOpDeleteProjectValidationMiddleware(stack *middleware.Stack) error { 4002 return stack.Initialize.Add(&validateOpDeleteProject{}, middleware.After) 4003} 4004 4005func addOpDeleteTagsValidationMiddleware(stack *middleware.Stack) error { 4006 return stack.Initialize.Add(&validateOpDeleteTags{}, middleware.After) 4007} 4008 4009func addOpDeleteTrialComponentValidationMiddleware(stack *middleware.Stack) error { 4010 return stack.Initialize.Add(&validateOpDeleteTrialComponent{}, middleware.After) 4011} 4012 4013func addOpDeleteTrialValidationMiddleware(stack *middleware.Stack) error { 4014 return stack.Initialize.Add(&validateOpDeleteTrial{}, middleware.After) 4015} 4016 4017func addOpDeleteUserProfileValidationMiddleware(stack *middleware.Stack) error { 4018 return stack.Initialize.Add(&validateOpDeleteUserProfile{}, middleware.After) 4019} 4020 4021func addOpDeleteWorkforceValidationMiddleware(stack *middleware.Stack) error { 4022 return stack.Initialize.Add(&validateOpDeleteWorkforce{}, middleware.After) 4023} 4024 4025func addOpDeleteWorkteamValidationMiddleware(stack *middleware.Stack) error { 4026 return stack.Initialize.Add(&validateOpDeleteWorkteam{}, middleware.After) 4027} 4028 4029func addOpDeregisterDevicesValidationMiddleware(stack *middleware.Stack) error { 4030 return stack.Initialize.Add(&validateOpDeregisterDevices{}, middleware.After) 4031} 4032 4033func addOpDescribeActionValidationMiddleware(stack *middleware.Stack) error { 4034 return stack.Initialize.Add(&validateOpDescribeAction{}, middleware.After) 4035} 4036 4037func addOpDescribeAlgorithmValidationMiddleware(stack *middleware.Stack) error { 4038 return stack.Initialize.Add(&validateOpDescribeAlgorithm{}, middleware.After) 4039} 4040 4041func addOpDescribeAppImageConfigValidationMiddleware(stack *middleware.Stack) error { 4042 return stack.Initialize.Add(&validateOpDescribeAppImageConfig{}, middleware.After) 4043} 4044 4045func addOpDescribeAppValidationMiddleware(stack *middleware.Stack) error { 4046 return stack.Initialize.Add(&validateOpDescribeApp{}, middleware.After) 4047} 4048 4049func addOpDescribeArtifactValidationMiddleware(stack *middleware.Stack) error { 4050 return stack.Initialize.Add(&validateOpDescribeArtifact{}, middleware.After) 4051} 4052 4053func addOpDescribeAutoMLJobValidationMiddleware(stack *middleware.Stack) error { 4054 return stack.Initialize.Add(&validateOpDescribeAutoMLJob{}, middleware.After) 4055} 4056 4057func addOpDescribeCodeRepositoryValidationMiddleware(stack *middleware.Stack) error { 4058 return stack.Initialize.Add(&validateOpDescribeCodeRepository{}, middleware.After) 4059} 4060 4061func addOpDescribeCompilationJobValidationMiddleware(stack *middleware.Stack) error { 4062 return stack.Initialize.Add(&validateOpDescribeCompilationJob{}, middleware.After) 4063} 4064 4065func addOpDescribeContextValidationMiddleware(stack *middleware.Stack) error { 4066 return stack.Initialize.Add(&validateOpDescribeContext{}, middleware.After) 4067} 4068 4069func addOpDescribeDataQualityJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 4070 return stack.Initialize.Add(&validateOpDescribeDataQualityJobDefinition{}, middleware.After) 4071} 4072 4073func addOpDescribeDeviceFleetValidationMiddleware(stack *middleware.Stack) error { 4074 return stack.Initialize.Add(&validateOpDescribeDeviceFleet{}, middleware.After) 4075} 4076 4077func addOpDescribeDeviceValidationMiddleware(stack *middleware.Stack) error { 4078 return stack.Initialize.Add(&validateOpDescribeDevice{}, middleware.After) 4079} 4080 4081func addOpDescribeDomainValidationMiddleware(stack *middleware.Stack) error { 4082 return stack.Initialize.Add(&validateOpDescribeDomain{}, middleware.After) 4083} 4084 4085func addOpDescribeEdgePackagingJobValidationMiddleware(stack *middleware.Stack) error { 4086 return stack.Initialize.Add(&validateOpDescribeEdgePackagingJob{}, middleware.After) 4087} 4088 4089func addOpDescribeEndpointConfigValidationMiddleware(stack *middleware.Stack) error { 4090 return stack.Initialize.Add(&validateOpDescribeEndpointConfig{}, middleware.After) 4091} 4092 4093func addOpDescribeEndpointValidationMiddleware(stack *middleware.Stack) error { 4094 return stack.Initialize.Add(&validateOpDescribeEndpoint{}, middleware.After) 4095} 4096 4097func addOpDescribeExperimentValidationMiddleware(stack *middleware.Stack) error { 4098 return stack.Initialize.Add(&validateOpDescribeExperiment{}, middleware.After) 4099} 4100 4101func addOpDescribeFeatureGroupValidationMiddleware(stack *middleware.Stack) error { 4102 return stack.Initialize.Add(&validateOpDescribeFeatureGroup{}, middleware.After) 4103} 4104 4105func addOpDescribeFlowDefinitionValidationMiddleware(stack *middleware.Stack) error { 4106 return stack.Initialize.Add(&validateOpDescribeFlowDefinition{}, middleware.After) 4107} 4108 4109func addOpDescribeHumanTaskUiValidationMiddleware(stack *middleware.Stack) error { 4110 return stack.Initialize.Add(&validateOpDescribeHumanTaskUi{}, middleware.After) 4111} 4112 4113func addOpDescribeHyperParameterTuningJobValidationMiddleware(stack *middleware.Stack) error { 4114 return stack.Initialize.Add(&validateOpDescribeHyperParameterTuningJob{}, middleware.After) 4115} 4116 4117func addOpDescribeImageValidationMiddleware(stack *middleware.Stack) error { 4118 return stack.Initialize.Add(&validateOpDescribeImage{}, middleware.After) 4119} 4120 4121func addOpDescribeImageVersionValidationMiddleware(stack *middleware.Stack) error { 4122 return stack.Initialize.Add(&validateOpDescribeImageVersion{}, middleware.After) 4123} 4124 4125func addOpDescribeLabelingJobValidationMiddleware(stack *middleware.Stack) error { 4126 return stack.Initialize.Add(&validateOpDescribeLabelingJob{}, middleware.After) 4127} 4128 4129func addOpDescribeModelBiasJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 4130 return stack.Initialize.Add(&validateOpDescribeModelBiasJobDefinition{}, middleware.After) 4131} 4132 4133func addOpDescribeModelExplainabilityJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 4134 return stack.Initialize.Add(&validateOpDescribeModelExplainabilityJobDefinition{}, middleware.After) 4135} 4136 4137func addOpDescribeModelValidationMiddleware(stack *middleware.Stack) error { 4138 return stack.Initialize.Add(&validateOpDescribeModel{}, middleware.After) 4139} 4140 4141func addOpDescribeModelPackageGroupValidationMiddleware(stack *middleware.Stack) error { 4142 return stack.Initialize.Add(&validateOpDescribeModelPackageGroup{}, middleware.After) 4143} 4144 4145func addOpDescribeModelPackageValidationMiddleware(stack *middleware.Stack) error { 4146 return stack.Initialize.Add(&validateOpDescribeModelPackage{}, middleware.After) 4147} 4148 4149func addOpDescribeModelQualityJobDefinitionValidationMiddleware(stack *middleware.Stack) error { 4150 return stack.Initialize.Add(&validateOpDescribeModelQualityJobDefinition{}, middleware.After) 4151} 4152 4153func addOpDescribeMonitoringScheduleValidationMiddleware(stack *middleware.Stack) error { 4154 return stack.Initialize.Add(&validateOpDescribeMonitoringSchedule{}, middleware.After) 4155} 4156 4157func addOpDescribeNotebookInstanceValidationMiddleware(stack *middleware.Stack) error { 4158 return stack.Initialize.Add(&validateOpDescribeNotebookInstance{}, middleware.After) 4159} 4160 4161func addOpDescribeNotebookInstanceLifecycleConfigValidationMiddleware(stack *middleware.Stack) error { 4162 return stack.Initialize.Add(&validateOpDescribeNotebookInstanceLifecycleConfig{}, middleware.After) 4163} 4164 4165func addOpDescribePipelineDefinitionForExecutionValidationMiddleware(stack *middleware.Stack) error { 4166 return stack.Initialize.Add(&validateOpDescribePipelineDefinitionForExecution{}, middleware.After) 4167} 4168 4169func addOpDescribePipelineExecutionValidationMiddleware(stack *middleware.Stack) error { 4170 return stack.Initialize.Add(&validateOpDescribePipelineExecution{}, middleware.After) 4171} 4172 4173func addOpDescribePipelineValidationMiddleware(stack *middleware.Stack) error { 4174 return stack.Initialize.Add(&validateOpDescribePipeline{}, middleware.After) 4175} 4176 4177func addOpDescribeProcessingJobValidationMiddleware(stack *middleware.Stack) error { 4178 return stack.Initialize.Add(&validateOpDescribeProcessingJob{}, middleware.After) 4179} 4180 4181func addOpDescribeProjectValidationMiddleware(stack *middleware.Stack) error { 4182 return stack.Initialize.Add(&validateOpDescribeProject{}, middleware.After) 4183} 4184 4185func addOpDescribeSubscribedWorkteamValidationMiddleware(stack *middleware.Stack) error { 4186 return stack.Initialize.Add(&validateOpDescribeSubscribedWorkteam{}, middleware.After) 4187} 4188 4189func addOpDescribeTrainingJobValidationMiddleware(stack *middleware.Stack) error { 4190 return stack.Initialize.Add(&validateOpDescribeTrainingJob{}, middleware.After) 4191} 4192 4193func addOpDescribeTransformJobValidationMiddleware(stack *middleware.Stack) error { 4194 return stack.Initialize.Add(&validateOpDescribeTransformJob{}, middleware.After) 4195} 4196 4197func addOpDescribeTrialComponentValidationMiddleware(stack *middleware.Stack) error { 4198 return stack.Initialize.Add(&validateOpDescribeTrialComponent{}, middleware.After) 4199} 4200 4201func addOpDescribeTrialValidationMiddleware(stack *middleware.Stack) error { 4202 return stack.Initialize.Add(&validateOpDescribeTrial{}, middleware.After) 4203} 4204 4205func addOpDescribeUserProfileValidationMiddleware(stack *middleware.Stack) error { 4206 return stack.Initialize.Add(&validateOpDescribeUserProfile{}, middleware.After) 4207} 4208 4209func addOpDescribeWorkforceValidationMiddleware(stack *middleware.Stack) error { 4210 return stack.Initialize.Add(&validateOpDescribeWorkforce{}, middleware.After) 4211} 4212 4213func addOpDescribeWorkteamValidationMiddleware(stack *middleware.Stack) error { 4214 return stack.Initialize.Add(&validateOpDescribeWorkteam{}, middleware.After) 4215} 4216 4217func addOpDisassociateTrialComponentValidationMiddleware(stack *middleware.Stack) error { 4218 return stack.Initialize.Add(&validateOpDisassociateTrialComponent{}, middleware.After) 4219} 4220 4221func addOpGetDeviceFleetReportValidationMiddleware(stack *middleware.Stack) error { 4222 return stack.Initialize.Add(&validateOpGetDeviceFleetReport{}, middleware.After) 4223} 4224 4225func addOpGetModelPackageGroupPolicyValidationMiddleware(stack *middleware.Stack) error { 4226 return stack.Initialize.Add(&validateOpGetModelPackageGroupPolicy{}, middleware.After) 4227} 4228 4229func addOpGetSearchSuggestionsValidationMiddleware(stack *middleware.Stack) error { 4230 return stack.Initialize.Add(&validateOpGetSearchSuggestions{}, middleware.After) 4231} 4232 4233func addOpListCandidatesForAutoMLJobValidationMiddleware(stack *middleware.Stack) error { 4234 return stack.Initialize.Add(&validateOpListCandidatesForAutoMLJob{}, middleware.After) 4235} 4236 4237func addOpListImageVersionsValidationMiddleware(stack *middleware.Stack) error { 4238 return stack.Initialize.Add(&validateOpListImageVersions{}, middleware.After) 4239} 4240 4241func addOpListLabelingJobsForWorkteamValidationMiddleware(stack *middleware.Stack) error { 4242 return stack.Initialize.Add(&validateOpListLabelingJobsForWorkteam{}, middleware.After) 4243} 4244 4245func addOpListPipelineExecutionsValidationMiddleware(stack *middleware.Stack) error { 4246 return stack.Initialize.Add(&validateOpListPipelineExecutions{}, middleware.After) 4247} 4248 4249func addOpListPipelineParametersForExecutionValidationMiddleware(stack *middleware.Stack) error { 4250 return stack.Initialize.Add(&validateOpListPipelineParametersForExecution{}, middleware.After) 4251} 4252 4253func addOpListTagsValidationMiddleware(stack *middleware.Stack) error { 4254 return stack.Initialize.Add(&validateOpListTags{}, middleware.After) 4255} 4256 4257func addOpListTrainingJobsForHyperParameterTuningJobValidationMiddleware(stack *middleware.Stack) error { 4258 return stack.Initialize.Add(&validateOpListTrainingJobsForHyperParameterTuningJob{}, middleware.After) 4259} 4260 4261func addOpPutModelPackageGroupPolicyValidationMiddleware(stack *middleware.Stack) error { 4262 return stack.Initialize.Add(&validateOpPutModelPackageGroupPolicy{}, middleware.After) 4263} 4264 4265func addOpRegisterDevicesValidationMiddleware(stack *middleware.Stack) error { 4266 return stack.Initialize.Add(&validateOpRegisterDevices{}, middleware.After) 4267} 4268 4269func addOpRenderUiTemplateValidationMiddleware(stack *middleware.Stack) error { 4270 return stack.Initialize.Add(&validateOpRenderUiTemplate{}, middleware.After) 4271} 4272 4273func addOpSearchValidationMiddleware(stack *middleware.Stack) error { 4274 return stack.Initialize.Add(&validateOpSearch{}, middleware.After) 4275} 4276 4277func addOpStartMonitoringScheduleValidationMiddleware(stack *middleware.Stack) error { 4278 return stack.Initialize.Add(&validateOpStartMonitoringSchedule{}, middleware.After) 4279} 4280 4281func addOpStartNotebookInstanceValidationMiddleware(stack *middleware.Stack) error { 4282 return stack.Initialize.Add(&validateOpStartNotebookInstance{}, middleware.After) 4283} 4284 4285func addOpStartPipelineExecutionValidationMiddleware(stack *middleware.Stack) error { 4286 return stack.Initialize.Add(&validateOpStartPipelineExecution{}, middleware.After) 4287} 4288 4289func addOpStopAutoMLJobValidationMiddleware(stack *middleware.Stack) error { 4290 return stack.Initialize.Add(&validateOpStopAutoMLJob{}, middleware.After) 4291} 4292 4293func addOpStopCompilationJobValidationMiddleware(stack *middleware.Stack) error { 4294 return stack.Initialize.Add(&validateOpStopCompilationJob{}, middleware.After) 4295} 4296 4297func addOpStopEdgePackagingJobValidationMiddleware(stack *middleware.Stack) error { 4298 return stack.Initialize.Add(&validateOpStopEdgePackagingJob{}, middleware.After) 4299} 4300 4301func addOpStopHyperParameterTuningJobValidationMiddleware(stack *middleware.Stack) error { 4302 return stack.Initialize.Add(&validateOpStopHyperParameterTuningJob{}, middleware.After) 4303} 4304 4305func addOpStopLabelingJobValidationMiddleware(stack *middleware.Stack) error { 4306 return stack.Initialize.Add(&validateOpStopLabelingJob{}, middleware.After) 4307} 4308 4309func addOpStopMonitoringScheduleValidationMiddleware(stack *middleware.Stack) error { 4310 return stack.Initialize.Add(&validateOpStopMonitoringSchedule{}, middleware.After) 4311} 4312 4313func addOpStopNotebookInstanceValidationMiddleware(stack *middleware.Stack) error { 4314 return stack.Initialize.Add(&validateOpStopNotebookInstance{}, middleware.After) 4315} 4316 4317func addOpStopPipelineExecutionValidationMiddleware(stack *middleware.Stack) error { 4318 return stack.Initialize.Add(&validateOpStopPipelineExecution{}, middleware.After) 4319} 4320 4321func addOpStopProcessingJobValidationMiddleware(stack *middleware.Stack) error { 4322 return stack.Initialize.Add(&validateOpStopProcessingJob{}, middleware.After) 4323} 4324 4325func addOpStopTrainingJobValidationMiddleware(stack *middleware.Stack) error { 4326 return stack.Initialize.Add(&validateOpStopTrainingJob{}, middleware.After) 4327} 4328 4329func addOpStopTransformJobValidationMiddleware(stack *middleware.Stack) error { 4330 return stack.Initialize.Add(&validateOpStopTransformJob{}, middleware.After) 4331} 4332 4333func addOpUpdateActionValidationMiddleware(stack *middleware.Stack) error { 4334 return stack.Initialize.Add(&validateOpUpdateAction{}, middleware.After) 4335} 4336 4337func addOpUpdateAppImageConfigValidationMiddleware(stack *middleware.Stack) error { 4338 return stack.Initialize.Add(&validateOpUpdateAppImageConfig{}, middleware.After) 4339} 4340 4341func addOpUpdateArtifactValidationMiddleware(stack *middleware.Stack) error { 4342 return stack.Initialize.Add(&validateOpUpdateArtifact{}, middleware.After) 4343} 4344 4345func addOpUpdateCodeRepositoryValidationMiddleware(stack *middleware.Stack) error { 4346 return stack.Initialize.Add(&validateOpUpdateCodeRepository{}, middleware.After) 4347} 4348 4349func addOpUpdateContextValidationMiddleware(stack *middleware.Stack) error { 4350 return stack.Initialize.Add(&validateOpUpdateContext{}, middleware.After) 4351} 4352 4353func addOpUpdateDeviceFleetValidationMiddleware(stack *middleware.Stack) error { 4354 return stack.Initialize.Add(&validateOpUpdateDeviceFleet{}, middleware.After) 4355} 4356 4357func addOpUpdateDevicesValidationMiddleware(stack *middleware.Stack) error { 4358 return stack.Initialize.Add(&validateOpUpdateDevices{}, middleware.After) 4359} 4360 4361func addOpUpdateDomainValidationMiddleware(stack *middleware.Stack) error { 4362 return stack.Initialize.Add(&validateOpUpdateDomain{}, middleware.After) 4363} 4364 4365func addOpUpdateEndpointValidationMiddleware(stack *middleware.Stack) error { 4366 return stack.Initialize.Add(&validateOpUpdateEndpoint{}, middleware.After) 4367} 4368 4369func addOpUpdateEndpointWeightsAndCapacitiesValidationMiddleware(stack *middleware.Stack) error { 4370 return stack.Initialize.Add(&validateOpUpdateEndpointWeightsAndCapacities{}, middleware.After) 4371} 4372 4373func addOpUpdateExperimentValidationMiddleware(stack *middleware.Stack) error { 4374 return stack.Initialize.Add(&validateOpUpdateExperiment{}, middleware.After) 4375} 4376 4377func addOpUpdateImageValidationMiddleware(stack *middleware.Stack) error { 4378 return stack.Initialize.Add(&validateOpUpdateImage{}, middleware.After) 4379} 4380 4381func addOpUpdateModelPackageValidationMiddleware(stack *middleware.Stack) error { 4382 return stack.Initialize.Add(&validateOpUpdateModelPackage{}, middleware.After) 4383} 4384 4385func addOpUpdateMonitoringScheduleValidationMiddleware(stack *middleware.Stack) error { 4386 return stack.Initialize.Add(&validateOpUpdateMonitoringSchedule{}, middleware.After) 4387} 4388 4389func addOpUpdateNotebookInstanceValidationMiddleware(stack *middleware.Stack) error { 4390 return stack.Initialize.Add(&validateOpUpdateNotebookInstance{}, middleware.After) 4391} 4392 4393func addOpUpdateNotebookInstanceLifecycleConfigValidationMiddleware(stack *middleware.Stack) error { 4394 return stack.Initialize.Add(&validateOpUpdateNotebookInstanceLifecycleConfig{}, middleware.After) 4395} 4396 4397func addOpUpdatePipelineExecutionValidationMiddleware(stack *middleware.Stack) error { 4398 return stack.Initialize.Add(&validateOpUpdatePipelineExecution{}, middleware.After) 4399} 4400 4401func addOpUpdatePipelineValidationMiddleware(stack *middleware.Stack) error { 4402 return stack.Initialize.Add(&validateOpUpdatePipeline{}, middleware.After) 4403} 4404 4405func addOpUpdateTrainingJobValidationMiddleware(stack *middleware.Stack) error { 4406 return stack.Initialize.Add(&validateOpUpdateTrainingJob{}, middleware.After) 4407} 4408 4409func addOpUpdateTrialComponentValidationMiddleware(stack *middleware.Stack) error { 4410 return stack.Initialize.Add(&validateOpUpdateTrialComponent{}, middleware.After) 4411} 4412 4413func addOpUpdateTrialValidationMiddleware(stack *middleware.Stack) error { 4414 return stack.Initialize.Add(&validateOpUpdateTrial{}, middleware.After) 4415} 4416 4417func addOpUpdateUserProfileValidationMiddleware(stack *middleware.Stack) error { 4418 return stack.Initialize.Add(&validateOpUpdateUserProfile{}, middleware.After) 4419} 4420 4421func addOpUpdateWorkforceValidationMiddleware(stack *middleware.Stack) error { 4422 return stack.Initialize.Add(&validateOpUpdateWorkforce{}, middleware.After) 4423} 4424 4425func addOpUpdateWorkteamValidationMiddleware(stack *middleware.Stack) error { 4426 return stack.Initialize.Add(&validateOpUpdateWorkteam{}, middleware.After) 4427} 4428 4429func validateActionSource(v *types.ActionSource) error { 4430 if v == nil { 4431 return nil 4432 } 4433 invalidParams := smithy.InvalidParamsError{Context: "ActionSource"} 4434 if v.SourceUri == nil { 4435 invalidParams.Add(smithy.NewErrParamRequired("SourceUri")) 4436 } 4437 if invalidParams.Len() > 0 { 4438 return invalidParams 4439 } else { 4440 return nil 4441 } 4442} 4443 4444func validateAlgorithmSpecification(v *types.AlgorithmSpecification) error { 4445 if v == nil { 4446 return nil 4447 } 4448 invalidParams := smithy.InvalidParamsError{Context: "AlgorithmSpecification"} 4449 if len(v.TrainingInputMode) == 0 { 4450 invalidParams.Add(smithy.NewErrParamRequired("TrainingInputMode")) 4451 } 4452 if v.MetricDefinitions != nil { 4453 if err := validateMetricDefinitionList(v.MetricDefinitions); err != nil { 4454 invalidParams.AddNested("MetricDefinitions", err.(smithy.InvalidParamsError)) 4455 } 4456 } 4457 if invalidParams.Len() > 0 { 4458 return invalidParams 4459 } else { 4460 return nil 4461 } 4462} 4463 4464func validateAlgorithmValidationProfile(v *types.AlgorithmValidationProfile) error { 4465 if v == nil { 4466 return nil 4467 } 4468 invalidParams := smithy.InvalidParamsError{Context: "AlgorithmValidationProfile"} 4469 if v.ProfileName == nil { 4470 invalidParams.Add(smithy.NewErrParamRequired("ProfileName")) 4471 } 4472 if v.TrainingJobDefinition == nil { 4473 invalidParams.Add(smithy.NewErrParamRequired("TrainingJobDefinition")) 4474 } else if v.TrainingJobDefinition != nil { 4475 if err := validateTrainingJobDefinition(v.TrainingJobDefinition); err != nil { 4476 invalidParams.AddNested("TrainingJobDefinition", err.(smithy.InvalidParamsError)) 4477 } 4478 } 4479 if v.TransformJobDefinition != nil { 4480 if err := validateTransformJobDefinition(v.TransformJobDefinition); err != nil { 4481 invalidParams.AddNested("TransformJobDefinition", err.(smithy.InvalidParamsError)) 4482 } 4483 } 4484 if invalidParams.Len() > 0 { 4485 return invalidParams 4486 } else { 4487 return nil 4488 } 4489} 4490 4491func validateAlgorithmValidationProfiles(v []types.AlgorithmValidationProfile) error { 4492 if v == nil { 4493 return nil 4494 } 4495 invalidParams := smithy.InvalidParamsError{Context: "AlgorithmValidationProfiles"} 4496 for i := range v { 4497 if err := validateAlgorithmValidationProfile(&v[i]); err != nil { 4498 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4499 } 4500 } 4501 if invalidParams.Len() > 0 { 4502 return invalidParams 4503 } else { 4504 return nil 4505 } 4506} 4507 4508func validateAlgorithmValidationSpecification(v *types.AlgorithmValidationSpecification) error { 4509 if v == nil { 4510 return nil 4511 } 4512 invalidParams := smithy.InvalidParamsError{Context: "AlgorithmValidationSpecification"} 4513 if v.ValidationRole == nil { 4514 invalidParams.Add(smithy.NewErrParamRequired("ValidationRole")) 4515 } 4516 if v.ValidationProfiles == nil { 4517 invalidParams.Add(smithy.NewErrParamRequired("ValidationProfiles")) 4518 } else if v.ValidationProfiles != nil { 4519 if err := validateAlgorithmValidationProfiles(v.ValidationProfiles); err != nil { 4520 invalidParams.AddNested("ValidationProfiles", err.(smithy.InvalidParamsError)) 4521 } 4522 } 4523 if invalidParams.Len() > 0 { 4524 return invalidParams 4525 } else { 4526 return nil 4527 } 4528} 4529 4530func validateAnnotationConsolidationConfig(v *types.AnnotationConsolidationConfig) error { 4531 if v == nil { 4532 return nil 4533 } 4534 invalidParams := smithy.InvalidParamsError{Context: "AnnotationConsolidationConfig"} 4535 if v.AnnotationConsolidationLambdaArn == nil { 4536 invalidParams.Add(smithy.NewErrParamRequired("AnnotationConsolidationLambdaArn")) 4537 } 4538 if invalidParams.Len() > 0 { 4539 return invalidParams 4540 } else { 4541 return nil 4542 } 4543} 4544 4545func validateAppSpecification(v *types.AppSpecification) error { 4546 if v == nil { 4547 return nil 4548 } 4549 invalidParams := smithy.InvalidParamsError{Context: "AppSpecification"} 4550 if v.ImageUri == nil { 4551 invalidParams.Add(smithy.NewErrParamRequired("ImageUri")) 4552 } 4553 if invalidParams.Len() > 0 { 4554 return invalidParams 4555 } else { 4556 return nil 4557 } 4558} 4559 4560func validateArtifactSource(v *types.ArtifactSource) error { 4561 if v == nil { 4562 return nil 4563 } 4564 invalidParams := smithy.InvalidParamsError{Context: "ArtifactSource"} 4565 if v.SourceUri == nil { 4566 invalidParams.Add(smithy.NewErrParamRequired("SourceUri")) 4567 } 4568 if v.SourceTypes != nil { 4569 if err := validateArtifactSourceTypes(v.SourceTypes); err != nil { 4570 invalidParams.AddNested("SourceTypes", err.(smithy.InvalidParamsError)) 4571 } 4572 } 4573 if invalidParams.Len() > 0 { 4574 return invalidParams 4575 } else { 4576 return nil 4577 } 4578} 4579 4580func validateArtifactSourceType(v *types.ArtifactSourceType) error { 4581 if v == nil { 4582 return nil 4583 } 4584 invalidParams := smithy.InvalidParamsError{Context: "ArtifactSourceType"} 4585 if len(v.SourceIdType) == 0 { 4586 invalidParams.Add(smithy.NewErrParamRequired("SourceIdType")) 4587 } 4588 if v.Value == nil { 4589 invalidParams.Add(smithy.NewErrParamRequired("Value")) 4590 } 4591 if invalidParams.Len() > 0 { 4592 return invalidParams 4593 } else { 4594 return nil 4595 } 4596} 4597 4598func validateArtifactSourceTypes(v []types.ArtifactSourceType) error { 4599 if v == nil { 4600 return nil 4601 } 4602 invalidParams := smithy.InvalidParamsError{Context: "ArtifactSourceTypes"} 4603 for i := range v { 4604 if err := validateArtifactSourceType(&v[i]); err != nil { 4605 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4606 } 4607 } 4608 if invalidParams.Len() > 0 { 4609 return invalidParams 4610 } else { 4611 return nil 4612 } 4613} 4614 4615func validateAthenaDatasetDefinition(v *types.AthenaDatasetDefinition) error { 4616 if v == nil { 4617 return nil 4618 } 4619 invalidParams := smithy.InvalidParamsError{Context: "AthenaDatasetDefinition"} 4620 if v.Catalog == nil { 4621 invalidParams.Add(smithy.NewErrParamRequired("Catalog")) 4622 } 4623 if v.Database == nil { 4624 invalidParams.Add(smithy.NewErrParamRequired("Database")) 4625 } 4626 if v.QueryString == nil { 4627 invalidParams.Add(smithy.NewErrParamRequired("QueryString")) 4628 } 4629 if v.OutputS3Uri == nil { 4630 invalidParams.Add(smithy.NewErrParamRequired("OutputS3Uri")) 4631 } 4632 if len(v.OutputFormat) == 0 { 4633 invalidParams.Add(smithy.NewErrParamRequired("OutputFormat")) 4634 } 4635 if invalidParams.Len() > 0 { 4636 return invalidParams 4637 } else { 4638 return nil 4639 } 4640} 4641 4642func validateAutoMLChannel(v *types.AutoMLChannel) error { 4643 if v == nil { 4644 return nil 4645 } 4646 invalidParams := smithy.InvalidParamsError{Context: "AutoMLChannel"} 4647 if v.DataSource == nil { 4648 invalidParams.Add(smithy.NewErrParamRequired("DataSource")) 4649 } else if v.DataSource != nil { 4650 if err := validateAutoMLDataSource(v.DataSource); err != nil { 4651 invalidParams.AddNested("DataSource", err.(smithy.InvalidParamsError)) 4652 } 4653 } 4654 if v.TargetAttributeName == nil { 4655 invalidParams.Add(smithy.NewErrParamRequired("TargetAttributeName")) 4656 } 4657 if invalidParams.Len() > 0 { 4658 return invalidParams 4659 } else { 4660 return nil 4661 } 4662} 4663 4664func validateAutoMLDataSource(v *types.AutoMLDataSource) error { 4665 if v == nil { 4666 return nil 4667 } 4668 invalidParams := smithy.InvalidParamsError{Context: "AutoMLDataSource"} 4669 if v.S3DataSource == nil { 4670 invalidParams.Add(smithy.NewErrParamRequired("S3DataSource")) 4671 } else if v.S3DataSource != nil { 4672 if err := validateAutoMLS3DataSource(v.S3DataSource); err != nil { 4673 invalidParams.AddNested("S3DataSource", err.(smithy.InvalidParamsError)) 4674 } 4675 } 4676 if invalidParams.Len() > 0 { 4677 return invalidParams 4678 } else { 4679 return nil 4680 } 4681} 4682 4683func validateAutoMLInputDataConfig(v []types.AutoMLChannel) error { 4684 if v == nil { 4685 return nil 4686 } 4687 invalidParams := smithy.InvalidParamsError{Context: "AutoMLInputDataConfig"} 4688 for i := range v { 4689 if err := validateAutoMLChannel(&v[i]); err != nil { 4690 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4691 } 4692 } 4693 if invalidParams.Len() > 0 { 4694 return invalidParams 4695 } else { 4696 return nil 4697 } 4698} 4699 4700func validateAutoMLJobConfig(v *types.AutoMLJobConfig) error { 4701 if v == nil { 4702 return nil 4703 } 4704 invalidParams := smithy.InvalidParamsError{Context: "AutoMLJobConfig"} 4705 if v.SecurityConfig != nil { 4706 if err := validateAutoMLSecurityConfig(v.SecurityConfig); err != nil { 4707 invalidParams.AddNested("SecurityConfig", err.(smithy.InvalidParamsError)) 4708 } 4709 } 4710 if invalidParams.Len() > 0 { 4711 return invalidParams 4712 } else { 4713 return nil 4714 } 4715} 4716 4717func validateAutoMLJobObjective(v *types.AutoMLJobObjective) error { 4718 if v == nil { 4719 return nil 4720 } 4721 invalidParams := smithy.InvalidParamsError{Context: "AutoMLJobObjective"} 4722 if len(v.MetricName) == 0 { 4723 invalidParams.Add(smithy.NewErrParamRequired("MetricName")) 4724 } 4725 if invalidParams.Len() > 0 { 4726 return invalidParams 4727 } else { 4728 return nil 4729 } 4730} 4731 4732func validateAutoMLOutputDataConfig(v *types.AutoMLOutputDataConfig) error { 4733 if v == nil { 4734 return nil 4735 } 4736 invalidParams := smithy.InvalidParamsError{Context: "AutoMLOutputDataConfig"} 4737 if v.S3OutputPath == nil { 4738 invalidParams.Add(smithy.NewErrParamRequired("S3OutputPath")) 4739 } 4740 if invalidParams.Len() > 0 { 4741 return invalidParams 4742 } else { 4743 return nil 4744 } 4745} 4746 4747func validateAutoMLS3DataSource(v *types.AutoMLS3DataSource) error { 4748 if v == nil { 4749 return nil 4750 } 4751 invalidParams := smithy.InvalidParamsError{Context: "AutoMLS3DataSource"} 4752 if len(v.S3DataType) == 0 { 4753 invalidParams.Add(smithy.NewErrParamRequired("S3DataType")) 4754 } 4755 if v.S3Uri == nil { 4756 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 4757 } 4758 if invalidParams.Len() > 0 { 4759 return invalidParams 4760 } else { 4761 return nil 4762 } 4763} 4764 4765func validateAutoMLSecurityConfig(v *types.AutoMLSecurityConfig) error { 4766 if v == nil { 4767 return nil 4768 } 4769 invalidParams := smithy.InvalidParamsError{Context: "AutoMLSecurityConfig"} 4770 if v.VpcConfig != nil { 4771 if err := validateVpcConfig(v.VpcConfig); err != nil { 4772 invalidParams.AddNested("VpcConfig", err.(smithy.InvalidParamsError)) 4773 } 4774 } 4775 if invalidParams.Len() > 0 { 4776 return invalidParams 4777 } else { 4778 return nil 4779 } 4780} 4781 4782func validateBias(v *types.Bias) error { 4783 if v == nil { 4784 return nil 4785 } 4786 invalidParams := smithy.InvalidParamsError{Context: "Bias"} 4787 if v.Report != nil { 4788 if err := validateMetricsSource(v.Report); err != nil { 4789 invalidParams.AddNested("Report", err.(smithy.InvalidParamsError)) 4790 } 4791 } 4792 if invalidParams.Len() > 0 { 4793 return invalidParams 4794 } else { 4795 return nil 4796 } 4797} 4798 4799func validateBlueGreenUpdatePolicy(v *types.BlueGreenUpdatePolicy) error { 4800 if v == nil { 4801 return nil 4802 } 4803 invalidParams := smithy.InvalidParamsError{Context: "BlueGreenUpdatePolicy"} 4804 if v.TrafficRoutingConfiguration == nil { 4805 invalidParams.Add(smithy.NewErrParamRequired("TrafficRoutingConfiguration")) 4806 } else if v.TrafficRoutingConfiguration != nil { 4807 if err := validateTrafficRoutingConfig(v.TrafficRoutingConfiguration); err != nil { 4808 invalidParams.AddNested("TrafficRoutingConfiguration", err.(smithy.InvalidParamsError)) 4809 } 4810 } 4811 if invalidParams.Len() > 0 { 4812 return invalidParams 4813 } else { 4814 return nil 4815 } 4816} 4817 4818func validateCapacitySize(v *types.CapacitySize) error { 4819 if v == nil { 4820 return nil 4821 } 4822 invalidParams := smithy.InvalidParamsError{Context: "CapacitySize"} 4823 if len(v.Type) == 0 { 4824 invalidParams.Add(smithy.NewErrParamRequired("Type")) 4825 } 4826 if v.Value == nil { 4827 invalidParams.Add(smithy.NewErrParamRequired("Value")) 4828 } 4829 if invalidParams.Len() > 0 { 4830 return invalidParams 4831 } else { 4832 return nil 4833 } 4834} 4835 4836func validateCaptureOption(v *types.CaptureOption) error { 4837 if v == nil { 4838 return nil 4839 } 4840 invalidParams := smithy.InvalidParamsError{Context: "CaptureOption"} 4841 if len(v.CaptureMode) == 0 { 4842 invalidParams.Add(smithy.NewErrParamRequired("CaptureMode")) 4843 } 4844 if invalidParams.Len() > 0 { 4845 return invalidParams 4846 } else { 4847 return nil 4848 } 4849} 4850 4851func validateCaptureOptionList(v []types.CaptureOption) error { 4852 if v == nil { 4853 return nil 4854 } 4855 invalidParams := smithy.InvalidParamsError{Context: "CaptureOptionList"} 4856 for i := range v { 4857 if err := validateCaptureOption(&v[i]); err != nil { 4858 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4859 } 4860 } 4861 if invalidParams.Len() > 0 { 4862 return invalidParams 4863 } else { 4864 return nil 4865 } 4866} 4867 4868func validateCategoricalParameterRange(v *types.CategoricalParameterRange) error { 4869 if v == nil { 4870 return nil 4871 } 4872 invalidParams := smithy.InvalidParamsError{Context: "CategoricalParameterRange"} 4873 if v.Name == nil { 4874 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4875 } 4876 if v.Values == nil { 4877 invalidParams.Add(smithy.NewErrParamRequired("Values")) 4878 } 4879 if invalidParams.Len() > 0 { 4880 return invalidParams 4881 } else { 4882 return nil 4883 } 4884} 4885 4886func validateCategoricalParameterRanges(v []types.CategoricalParameterRange) error { 4887 if v == nil { 4888 return nil 4889 } 4890 invalidParams := smithy.InvalidParamsError{Context: "CategoricalParameterRanges"} 4891 for i := range v { 4892 if err := validateCategoricalParameterRange(&v[i]); err != nil { 4893 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4894 } 4895 } 4896 if invalidParams.Len() > 0 { 4897 return invalidParams 4898 } else { 4899 return nil 4900 } 4901} 4902 4903func validateCategoricalParameterRangeSpecification(v *types.CategoricalParameterRangeSpecification) error { 4904 if v == nil { 4905 return nil 4906 } 4907 invalidParams := smithy.InvalidParamsError{Context: "CategoricalParameterRangeSpecification"} 4908 if v.Values == nil { 4909 invalidParams.Add(smithy.NewErrParamRequired("Values")) 4910 } 4911 if invalidParams.Len() > 0 { 4912 return invalidParams 4913 } else { 4914 return nil 4915 } 4916} 4917 4918func validateChannel(v *types.Channel) error { 4919 if v == nil { 4920 return nil 4921 } 4922 invalidParams := smithy.InvalidParamsError{Context: "Channel"} 4923 if v.ChannelName == nil { 4924 invalidParams.Add(smithy.NewErrParamRequired("ChannelName")) 4925 } 4926 if v.DataSource == nil { 4927 invalidParams.Add(smithy.NewErrParamRequired("DataSource")) 4928 } else if v.DataSource != nil { 4929 if err := validateDataSource(v.DataSource); err != nil { 4930 invalidParams.AddNested("DataSource", err.(smithy.InvalidParamsError)) 4931 } 4932 } 4933 if v.ShuffleConfig != nil { 4934 if err := validateShuffleConfig(v.ShuffleConfig); err != nil { 4935 invalidParams.AddNested("ShuffleConfig", err.(smithy.InvalidParamsError)) 4936 } 4937 } 4938 if invalidParams.Len() > 0 { 4939 return invalidParams 4940 } else { 4941 return nil 4942 } 4943} 4944 4945func validateChannelSpecification(v *types.ChannelSpecification) error { 4946 if v == nil { 4947 return nil 4948 } 4949 invalidParams := smithy.InvalidParamsError{Context: "ChannelSpecification"} 4950 if v.Name == nil { 4951 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4952 } 4953 if v.SupportedContentTypes == nil { 4954 invalidParams.Add(smithy.NewErrParamRequired("SupportedContentTypes")) 4955 } 4956 if v.SupportedInputModes == nil { 4957 invalidParams.Add(smithy.NewErrParamRequired("SupportedInputModes")) 4958 } 4959 if invalidParams.Len() > 0 { 4960 return invalidParams 4961 } else { 4962 return nil 4963 } 4964} 4965 4966func validateChannelSpecifications(v []types.ChannelSpecification) error { 4967 if v == nil { 4968 return nil 4969 } 4970 invalidParams := smithy.InvalidParamsError{Context: "ChannelSpecifications"} 4971 for i := range v { 4972 if err := validateChannelSpecification(&v[i]); err != nil { 4973 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4974 } 4975 } 4976 if invalidParams.Len() > 0 { 4977 return invalidParams 4978 } else { 4979 return nil 4980 } 4981} 4982 4983func validateCheckpointConfig(v *types.CheckpointConfig) error { 4984 if v == nil { 4985 return nil 4986 } 4987 invalidParams := smithy.InvalidParamsError{Context: "CheckpointConfig"} 4988 if v.S3Uri == nil { 4989 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 4990 } 4991 if invalidParams.Len() > 0 { 4992 return invalidParams 4993 } else { 4994 return nil 4995 } 4996} 4997 4998func validateCognitoConfig(v *types.CognitoConfig) error { 4999 if v == nil { 5000 return nil 5001 } 5002 invalidParams := smithy.InvalidParamsError{Context: "CognitoConfig"} 5003 if v.UserPool == nil { 5004 invalidParams.Add(smithy.NewErrParamRequired("UserPool")) 5005 } 5006 if v.ClientId == nil { 5007 invalidParams.Add(smithy.NewErrParamRequired("ClientId")) 5008 } 5009 if invalidParams.Len() > 0 { 5010 return invalidParams 5011 } else { 5012 return nil 5013 } 5014} 5015 5016func validateCognitoMemberDefinition(v *types.CognitoMemberDefinition) error { 5017 if v == nil { 5018 return nil 5019 } 5020 invalidParams := smithy.InvalidParamsError{Context: "CognitoMemberDefinition"} 5021 if v.UserPool == nil { 5022 invalidParams.Add(smithy.NewErrParamRequired("UserPool")) 5023 } 5024 if v.UserGroup == nil { 5025 invalidParams.Add(smithy.NewErrParamRequired("UserGroup")) 5026 } 5027 if v.ClientId == nil { 5028 invalidParams.Add(smithy.NewErrParamRequired("ClientId")) 5029 } 5030 if invalidParams.Len() > 0 { 5031 return invalidParams 5032 } else { 5033 return nil 5034 } 5035} 5036 5037func validateContainerDefinition(v *types.ContainerDefinition) error { 5038 if v == nil { 5039 return nil 5040 } 5041 invalidParams := smithy.InvalidParamsError{Context: "ContainerDefinition"} 5042 if v.ImageConfig != nil { 5043 if err := validateImageConfig(v.ImageConfig); err != nil { 5044 invalidParams.AddNested("ImageConfig", err.(smithy.InvalidParamsError)) 5045 } 5046 } 5047 if invalidParams.Len() > 0 { 5048 return invalidParams 5049 } else { 5050 return nil 5051 } 5052} 5053 5054func validateContainerDefinitionList(v []types.ContainerDefinition) error { 5055 if v == nil { 5056 return nil 5057 } 5058 invalidParams := smithy.InvalidParamsError{Context: "ContainerDefinitionList"} 5059 for i := range v { 5060 if err := validateContainerDefinition(&v[i]); err != nil { 5061 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5062 } 5063 } 5064 if invalidParams.Len() > 0 { 5065 return invalidParams 5066 } else { 5067 return nil 5068 } 5069} 5070 5071func validateContextSource(v *types.ContextSource) error { 5072 if v == nil { 5073 return nil 5074 } 5075 invalidParams := smithy.InvalidParamsError{Context: "ContextSource"} 5076 if v.SourceUri == nil { 5077 invalidParams.Add(smithy.NewErrParamRequired("SourceUri")) 5078 } 5079 if invalidParams.Len() > 0 { 5080 return invalidParams 5081 } else { 5082 return nil 5083 } 5084} 5085 5086func validateContinuousParameterRange(v *types.ContinuousParameterRange) error { 5087 if v == nil { 5088 return nil 5089 } 5090 invalidParams := smithy.InvalidParamsError{Context: "ContinuousParameterRange"} 5091 if v.Name == nil { 5092 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5093 } 5094 if v.MinValue == nil { 5095 invalidParams.Add(smithy.NewErrParamRequired("MinValue")) 5096 } 5097 if v.MaxValue == nil { 5098 invalidParams.Add(smithy.NewErrParamRequired("MaxValue")) 5099 } 5100 if invalidParams.Len() > 0 { 5101 return invalidParams 5102 } else { 5103 return nil 5104 } 5105} 5106 5107func validateContinuousParameterRanges(v []types.ContinuousParameterRange) error { 5108 if v == nil { 5109 return nil 5110 } 5111 invalidParams := smithy.InvalidParamsError{Context: "ContinuousParameterRanges"} 5112 for i := range v { 5113 if err := validateContinuousParameterRange(&v[i]); err != nil { 5114 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5115 } 5116 } 5117 if invalidParams.Len() > 0 { 5118 return invalidParams 5119 } else { 5120 return nil 5121 } 5122} 5123 5124func validateContinuousParameterRangeSpecification(v *types.ContinuousParameterRangeSpecification) error { 5125 if v == nil { 5126 return nil 5127 } 5128 invalidParams := smithy.InvalidParamsError{Context: "ContinuousParameterRangeSpecification"} 5129 if v.MinValue == nil { 5130 invalidParams.Add(smithy.NewErrParamRequired("MinValue")) 5131 } 5132 if v.MaxValue == nil { 5133 invalidParams.Add(smithy.NewErrParamRequired("MaxValue")) 5134 } 5135 if invalidParams.Len() > 0 { 5136 return invalidParams 5137 } else { 5138 return nil 5139 } 5140} 5141 5142func validateCustomImage(v *types.CustomImage) error { 5143 if v == nil { 5144 return nil 5145 } 5146 invalidParams := smithy.InvalidParamsError{Context: "CustomImage"} 5147 if v.ImageName == nil { 5148 invalidParams.Add(smithy.NewErrParamRequired("ImageName")) 5149 } 5150 if v.AppImageConfigName == nil { 5151 invalidParams.Add(smithy.NewErrParamRequired("AppImageConfigName")) 5152 } 5153 if invalidParams.Len() > 0 { 5154 return invalidParams 5155 } else { 5156 return nil 5157 } 5158} 5159 5160func validateCustomImages(v []types.CustomImage) error { 5161 if v == nil { 5162 return nil 5163 } 5164 invalidParams := smithy.InvalidParamsError{Context: "CustomImages"} 5165 for i := range v { 5166 if err := validateCustomImage(&v[i]); err != nil { 5167 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5168 } 5169 } 5170 if invalidParams.Len() > 0 { 5171 return invalidParams 5172 } else { 5173 return nil 5174 } 5175} 5176 5177func validateDataCaptureConfig(v *types.DataCaptureConfig) error { 5178 if v == nil { 5179 return nil 5180 } 5181 invalidParams := smithy.InvalidParamsError{Context: "DataCaptureConfig"} 5182 if v.InitialSamplingPercentage == nil { 5183 invalidParams.Add(smithy.NewErrParamRequired("InitialSamplingPercentage")) 5184 } 5185 if v.DestinationS3Uri == nil { 5186 invalidParams.Add(smithy.NewErrParamRequired("DestinationS3Uri")) 5187 } 5188 if v.CaptureOptions == nil { 5189 invalidParams.Add(smithy.NewErrParamRequired("CaptureOptions")) 5190 } else if v.CaptureOptions != nil { 5191 if err := validateCaptureOptionList(v.CaptureOptions); err != nil { 5192 invalidParams.AddNested("CaptureOptions", err.(smithy.InvalidParamsError)) 5193 } 5194 } 5195 if invalidParams.Len() > 0 { 5196 return invalidParams 5197 } else { 5198 return nil 5199 } 5200} 5201 5202func validateDataCatalogConfig(v *types.DataCatalogConfig) error { 5203 if v == nil { 5204 return nil 5205 } 5206 invalidParams := smithy.InvalidParamsError{Context: "DataCatalogConfig"} 5207 if v.TableName == nil { 5208 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5209 } 5210 if v.Catalog == nil { 5211 invalidParams.Add(smithy.NewErrParamRequired("Catalog")) 5212 } 5213 if v.Database == nil { 5214 invalidParams.Add(smithy.NewErrParamRequired("Database")) 5215 } 5216 if invalidParams.Len() > 0 { 5217 return invalidParams 5218 } else { 5219 return nil 5220 } 5221} 5222 5223func validateDataQualityAppSpecification(v *types.DataQualityAppSpecification) error { 5224 if v == nil { 5225 return nil 5226 } 5227 invalidParams := smithy.InvalidParamsError{Context: "DataQualityAppSpecification"} 5228 if v.ImageUri == nil { 5229 invalidParams.Add(smithy.NewErrParamRequired("ImageUri")) 5230 } 5231 if invalidParams.Len() > 0 { 5232 return invalidParams 5233 } else { 5234 return nil 5235 } 5236} 5237 5238func validateDataQualityJobInput(v *types.DataQualityJobInput) error { 5239 if v == nil { 5240 return nil 5241 } 5242 invalidParams := smithy.InvalidParamsError{Context: "DataQualityJobInput"} 5243 if v.EndpointInput == nil { 5244 invalidParams.Add(smithy.NewErrParamRequired("EndpointInput")) 5245 } else if v.EndpointInput != nil { 5246 if err := validateEndpointInput(v.EndpointInput); err != nil { 5247 invalidParams.AddNested("EndpointInput", err.(smithy.InvalidParamsError)) 5248 } 5249 } 5250 if invalidParams.Len() > 0 { 5251 return invalidParams 5252 } else { 5253 return nil 5254 } 5255} 5256 5257func validateDatasetDefinition(v *types.DatasetDefinition) error { 5258 if v == nil { 5259 return nil 5260 } 5261 invalidParams := smithy.InvalidParamsError{Context: "DatasetDefinition"} 5262 if v.AthenaDatasetDefinition != nil { 5263 if err := validateAthenaDatasetDefinition(v.AthenaDatasetDefinition); err != nil { 5264 invalidParams.AddNested("AthenaDatasetDefinition", err.(smithy.InvalidParamsError)) 5265 } 5266 } 5267 if v.RedshiftDatasetDefinition != nil { 5268 if err := validateRedshiftDatasetDefinition(v.RedshiftDatasetDefinition); err != nil { 5269 invalidParams.AddNested("RedshiftDatasetDefinition", err.(smithy.InvalidParamsError)) 5270 } 5271 } 5272 if invalidParams.Len() > 0 { 5273 return invalidParams 5274 } else { 5275 return nil 5276 } 5277} 5278 5279func validateDataSource(v *types.DataSource) error { 5280 if v == nil { 5281 return nil 5282 } 5283 invalidParams := smithy.InvalidParamsError{Context: "DataSource"} 5284 if v.S3DataSource != nil { 5285 if err := validateS3DataSource(v.S3DataSource); err != nil { 5286 invalidParams.AddNested("S3DataSource", err.(smithy.InvalidParamsError)) 5287 } 5288 } 5289 if v.FileSystemDataSource != nil { 5290 if err := validateFileSystemDataSource(v.FileSystemDataSource); err != nil { 5291 invalidParams.AddNested("FileSystemDataSource", err.(smithy.InvalidParamsError)) 5292 } 5293 } 5294 if invalidParams.Len() > 0 { 5295 return invalidParams 5296 } else { 5297 return nil 5298 } 5299} 5300 5301func validateDebugHookConfig(v *types.DebugHookConfig) error { 5302 if v == nil { 5303 return nil 5304 } 5305 invalidParams := smithy.InvalidParamsError{Context: "DebugHookConfig"} 5306 if v.S3OutputPath == nil { 5307 invalidParams.Add(smithy.NewErrParamRequired("S3OutputPath")) 5308 } 5309 if invalidParams.Len() > 0 { 5310 return invalidParams 5311 } else { 5312 return nil 5313 } 5314} 5315 5316func validateDebugRuleConfiguration(v *types.DebugRuleConfiguration) error { 5317 if v == nil { 5318 return nil 5319 } 5320 invalidParams := smithy.InvalidParamsError{Context: "DebugRuleConfiguration"} 5321 if v.RuleConfigurationName == nil { 5322 invalidParams.Add(smithy.NewErrParamRequired("RuleConfigurationName")) 5323 } 5324 if v.RuleEvaluatorImage == nil { 5325 invalidParams.Add(smithy.NewErrParamRequired("RuleEvaluatorImage")) 5326 } 5327 if invalidParams.Len() > 0 { 5328 return invalidParams 5329 } else { 5330 return nil 5331 } 5332} 5333 5334func validateDebugRuleConfigurations(v []types.DebugRuleConfiguration) error { 5335 if v == nil { 5336 return nil 5337 } 5338 invalidParams := smithy.InvalidParamsError{Context: "DebugRuleConfigurations"} 5339 for i := range v { 5340 if err := validateDebugRuleConfiguration(&v[i]); err != nil { 5341 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5342 } 5343 } 5344 if invalidParams.Len() > 0 { 5345 return invalidParams 5346 } else { 5347 return nil 5348 } 5349} 5350 5351func validateDeploymentConfig(v *types.DeploymentConfig) error { 5352 if v == nil { 5353 return nil 5354 } 5355 invalidParams := smithy.InvalidParamsError{Context: "DeploymentConfig"} 5356 if v.BlueGreenUpdatePolicy == nil { 5357 invalidParams.Add(smithy.NewErrParamRequired("BlueGreenUpdatePolicy")) 5358 } else if v.BlueGreenUpdatePolicy != nil { 5359 if err := validateBlueGreenUpdatePolicy(v.BlueGreenUpdatePolicy); err != nil { 5360 invalidParams.AddNested("BlueGreenUpdatePolicy", err.(smithy.InvalidParamsError)) 5361 } 5362 } 5363 if invalidParams.Len() > 0 { 5364 return invalidParams 5365 } else { 5366 return nil 5367 } 5368} 5369 5370func validateDesiredWeightAndCapacity(v *types.DesiredWeightAndCapacity) error { 5371 if v == nil { 5372 return nil 5373 } 5374 invalidParams := smithy.InvalidParamsError{Context: "DesiredWeightAndCapacity"} 5375 if v.VariantName == nil { 5376 invalidParams.Add(smithy.NewErrParamRequired("VariantName")) 5377 } 5378 if invalidParams.Len() > 0 { 5379 return invalidParams 5380 } else { 5381 return nil 5382 } 5383} 5384 5385func validateDesiredWeightAndCapacityList(v []types.DesiredWeightAndCapacity) error { 5386 if v == nil { 5387 return nil 5388 } 5389 invalidParams := smithy.InvalidParamsError{Context: "DesiredWeightAndCapacityList"} 5390 for i := range v { 5391 if err := validateDesiredWeightAndCapacity(&v[i]); err != nil { 5392 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5393 } 5394 } 5395 if invalidParams.Len() > 0 { 5396 return invalidParams 5397 } else { 5398 return nil 5399 } 5400} 5401 5402func validateDevice(v *types.Device) error { 5403 if v == nil { 5404 return nil 5405 } 5406 invalidParams := smithy.InvalidParamsError{Context: "Device"} 5407 if v.DeviceName == nil { 5408 invalidParams.Add(smithy.NewErrParamRequired("DeviceName")) 5409 } 5410 if invalidParams.Len() > 0 { 5411 return invalidParams 5412 } else { 5413 return nil 5414 } 5415} 5416 5417func validateDevices(v []types.Device) error { 5418 if v == nil { 5419 return nil 5420 } 5421 invalidParams := smithy.InvalidParamsError{Context: "Devices"} 5422 for i := range v { 5423 if err := validateDevice(&v[i]); err != nil { 5424 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5425 } 5426 } 5427 if invalidParams.Len() > 0 { 5428 return invalidParams 5429 } else { 5430 return nil 5431 } 5432} 5433 5434func validateEdgeOutputConfig(v *types.EdgeOutputConfig) error { 5435 if v == nil { 5436 return nil 5437 } 5438 invalidParams := smithy.InvalidParamsError{Context: "EdgeOutputConfig"} 5439 if v.S3OutputLocation == nil { 5440 invalidParams.Add(smithy.NewErrParamRequired("S3OutputLocation")) 5441 } 5442 if invalidParams.Len() > 0 { 5443 return invalidParams 5444 } else { 5445 return nil 5446 } 5447} 5448 5449func validateEndpointInput(v *types.EndpointInput) error { 5450 if v == nil { 5451 return nil 5452 } 5453 invalidParams := smithy.InvalidParamsError{Context: "EndpointInput"} 5454 if v.EndpointName == nil { 5455 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 5456 } 5457 if v.LocalPath == nil { 5458 invalidParams.Add(smithy.NewErrParamRequired("LocalPath")) 5459 } 5460 if invalidParams.Len() > 0 { 5461 return invalidParams 5462 } else { 5463 return nil 5464 } 5465} 5466 5467func validateExplainability(v *types.Explainability) error { 5468 if v == nil { 5469 return nil 5470 } 5471 invalidParams := smithy.InvalidParamsError{Context: "Explainability"} 5472 if v.Report != nil { 5473 if err := validateMetricsSource(v.Report); err != nil { 5474 invalidParams.AddNested("Report", err.(smithy.InvalidParamsError)) 5475 } 5476 } 5477 if invalidParams.Len() > 0 { 5478 return invalidParams 5479 } else { 5480 return nil 5481 } 5482} 5483 5484func validateFileSystemDataSource(v *types.FileSystemDataSource) error { 5485 if v == nil { 5486 return nil 5487 } 5488 invalidParams := smithy.InvalidParamsError{Context: "FileSystemDataSource"} 5489 if v.FileSystemId == nil { 5490 invalidParams.Add(smithy.NewErrParamRequired("FileSystemId")) 5491 } 5492 if len(v.FileSystemAccessMode) == 0 { 5493 invalidParams.Add(smithy.NewErrParamRequired("FileSystemAccessMode")) 5494 } 5495 if len(v.FileSystemType) == 0 { 5496 invalidParams.Add(smithy.NewErrParamRequired("FileSystemType")) 5497 } 5498 if v.DirectoryPath == nil { 5499 invalidParams.Add(smithy.NewErrParamRequired("DirectoryPath")) 5500 } 5501 if invalidParams.Len() > 0 { 5502 return invalidParams 5503 } else { 5504 return nil 5505 } 5506} 5507 5508func validateFilter(v *types.Filter) error { 5509 if v == nil { 5510 return nil 5511 } 5512 invalidParams := smithy.InvalidParamsError{Context: "Filter"} 5513 if v.Name == nil { 5514 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5515 } 5516 if invalidParams.Len() > 0 { 5517 return invalidParams 5518 } else { 5519 return nil 5520 } 5521} 5522 5523func validateFilterList(v []types.Filter) error { 5524 if v == nil { 5525 return nil 5526 } 5527 invalidParams := smithy.InvalidParamsError{Context: "FilterList"} 5528 for i := range v { 5529 if err := validateFilter(&v[i]); err != nil { 5530 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5531 } 5532 } 5533 if invalidParams.Len() > 0 { 5534 return invalidParams 5535 } else { 5536 return nil 5537 } 5538} 5539 5540func validateFlowDefinitionOutputConfig(v *types.FlowDefinitionOutputConfig) error { 5541 if v == nil { 5542 return nil 5543 } 5544 invalidParams := smithy.InvalidParamsError{Context: "FlowDefinitionOutputConfig"} 5545 if v.S3OutputPath == nil { 5546 invalidParams.Add(smithy.NewErrParamRequired("S3OutputPath")) 5547 } 5548 if invalidParams.Len() > 0 { 5549 return invalidParams 5550 } else { 5551 return nil 5552 } 5553} 5554 5555func validateGitConfig(v *types.GitConfig) error { 5556 if v == nil { 5557 return nil 5558 } 5559 invalidParams := smithy.InvalidParamsError{Context: "GitConfig"} 5560 if v.RepositoryUrl == nil { 5561 invalidParams.Add(smithy.NewErrParamRequired("RepositoryUrl")) 5562 } 5563 if invalidParams.Len() > 0 { 5564 return invalidParams 5565 } else { 5566 return nil 5567 } 5568} 5569 5570func validateHumanLoopActivationConditionsConfig(v *types.HumanLoopActivationConditionsConfig) error { 5571 if v == nil { 5572 return nil 5573 } 5574 invalidParams := smithy.InvalidParamsError{Context: "HumanLoopActivationConditionsConfig"} 5575 if v.HumanLoopActivationConditions == nil { 5576 invalidParams.Add(smithy.NewErrParamRequired("HumanLoopActivationConditions")) 5577 } 5578 if invalidParams.Len() > 0 { 5579 return invalidParams 5580 } else { 5581 return nil 5582 } 5583} 5584 5585func validateHumanLoopActivationConfig(v *types.HumanLoopActivationConfig) error { 5586 if v == nil { 5587 return nil 5588 } 5589 invalidParams := smithy.InvalidParamsError{Context: "HumanLoopActivationConfig"} 5590 if v.HumanLoopActivationConditionsConfig == nil { 5591 invalidParams.Add(smithy.NewErrParamRequired("HumanLoopActivationConditionsConfig")) 5592 } else if v.HumanLoopActivationConditionsConfig != nil { 5593 if err := validateHumanLoopActivationConditionsConfig(v.HumanLoopActivationConditionsConfig); err != nil { 5594 invalidParams.AddNested("HumanLoopActivationConditionsConfig", err.(smithy.InvalidParamsError)) 5595 } 5596 } 5597 if invalidParams.Len() > 0 { 5598 return invalidParams 5599 } else { 5600 return nil 5601 } 5602} 5603 5604func validateHumanLoopConfig(v *types.HumanLoopConfig) error { 5605 if v == nil { 5606 return nil 5607 } 5608 invalidParams := smithy.InvalidParamsError{Context: "HumanLoopConfig"} 5609 if v.WorkteamArn == nil { 5610 invalidParams.Add(smithy.NewErrParamRequired("WorkteamArn")) 5611 } 5612 if v.HumanTaskUiArn == nil { 5613 invalidParams.Add(smithy.NewErrParamRequired("HumanTaskUiArn")) 5614 } 5615 if v.TaskTitle == nil { 5616 invalidParams.Add(smithy.NewErrParamRequired("TaskTitle")) 5617 } 5618 if v.TaskDescription == nil { 5619 invalidParams.Add(smithy.NewErrParamRequired("TaskDescription")) 5620 } 5621 if v.TaskCount == nil { 5622 invalidParams.Add(smithy.NewErrParamRequired("TaskCount")) 5623 } 5624 if invalidParams.Len() > 0 { 5625 return invalidParams 5626 } else { 5627 return nil 5628 } 5629} 5630 5631func validateHumanLoopRequestSource(v *types.HumanLoopRequestSource) error { 5632 if v == nil { 5633 return nil 5634 } 5635 invalidParams := smithy.InvalidParamsError{Context: "HumanLoopRequestSource"} 5636 if len(v.AwsManagedHumanLoopRequestSource) == 0 { 5637 invalidParams.Add(smithy.NewErrParamRequired("AwsManagedHumanLoopRequestSource")) 5638 } 5639 if invalidParams.Len() > 0 { 5640 return invalidParams 5641 } else { 5642 return nil 5643 } 5644} 5645 5646func validateHumanTaskConfig(v *types.HumanTaskConfig) error { 5647 if v == nil { 5648 return nil 5649 } 5650 invalidParams := smithy.InvalidParamsError{Context: "HumanTaskConfig"} 5651 if v.WorkteamArn == nil { 5652 invalidParams.Add(smithy.NewErrParamRequired("WorkteamArn")) 5653 } 5654 if v.UiConfig == nil { 5655 invalidParams.Add(smithy.NewErrParamRequired("UiConfig")) 5656 } 5657 if v.PreHumanTaskLambdaArn == nil { 5658 invalidParams.Add(smithy.NewErrParamRequired("PreHumanTaskLambdaArn")) 5659 } 5660 if v.TaskTitle == nil { 5661 invalidParams.Add(smithy.NewErrParamRequired("TaskTitle")) 5662 } 5663 if v.TaskDescription == nil { 5664 invalidParams.Add(smithy.NewErrParamRequired("TaskDescription")) 5665 } 5666 if v.NumberOfHumanWorkersPerDataObject == nil { 5667 invalidParams.Add(smithy.NewErrParamRequired("NumberOfHumanWorkersPerDataObject")) 5668 } 5669 if v.TaskTimeLimitInSeconds == nil { 5670 invalidParams.Add(smithy.NewErrParamRequired("TaskTimeLimitInSeconds")) 5671 } 5672 if v.AnnotationConsolidationConfig == nil { 5673 invalidParams.Add(smithy.NewErrParamRequired("AnnotationConsolidationConfig")) 5674 } else if v.AnnotationConsolidationConfig != nil { 5675 if err := validateAnnotationConsolidationConfig(v.AnnotationConsolidationConfig); err != nil { 5676 invalidParams.AddNested("AnnotationConsolidationConfig", err.(smithy.InvalidParamsError)) 5677 } 5678 } 5679 if invalidParams.Len() > 0 { 5680 return invalidParams 5681 } else { 5682 return nil 5683 } 5684} 5685 5686func validateHyperParameterAlgorithmSpecification(v *types.HyperParameterAlgorithmSpecification) error { 5687 if v == nil { 5688 return nil 5689 } 5690 invalidParams := smithy.InvalidParamsError{Context: "HyperParameterAlgorithmSpecification"} 5691 if len(v.TrainingInputMode) == 0 { 5692 invalidParams.Add(smithy.NewErrParamRequired("TrainingInputMode")) 5693 } 5694 if v.MetricDefinitions != nil { 5695 if err := validateMetricDefinitionList(v.MetricDefinitions); err != nil { 5696 invalidParams.AddNested("MetricDefinitions", err.(smithy.InvalidParamsError)) 5697 } 5698 } 5699 if invalidParams.Len() > 0 { 5700 return invalidParams 5701 } else { 5702 return nil 5703 } 5704} 5705 5706func validateHyperParameterSpecification(v *types.HyperParameterSpecification) error { 5707 if v == nil { 5708 return nil 5709 } 5710 invalidParams := smithy.InvalidParamsError{Context: "HyperParameterSpecification"} 5711 if v.Name == nil { 5712 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5713 } 5714 if len(v.Type) == 0 { 5715 invalidParams.Add(smithy.NewErrParamRequired("Type")) 5716 } 5717 if v.Range != nil { 5718 if err := validateParameterRange(v.Range); err != nil { 5719 invalidParams.AddNested("Range", err.(smithy.InvalidParamsError)) 5720 } 5721 } 5722 if invalidParams.Len() > 0 { 5723 return invalidParams 5724 } else { 5725 return nil 5726 } 5727} 5728 5729func validateHyperParameterSpecifications(v []types.HyperParameterSpecification) error { 5730 if v == nil { 5731 return nil 5732 } 5733 invalidParams := smithy.InvalidParamsError{Context: "HyperParameterSpecifications"} 5734 for i := range v { 5735 if err := validateHyperParameterSpecification(&v[i]); err != nil { 5736 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5737 } 5738 } 5739 if invalidParams.Len() > 0 { 5740 return invalidParams 5741 } else { 5742 return nil 5743 } 5744} 5745 5746func validateHyperParameterTrainingJobDefinition(v *types.HyperParameterTrainingJobDefinition) error { 5747 if v == nil { 5748 return nil 5749 } 5750 invalidParams := smithy.InvalidParamsError{Context: "HyperParameterTrainingJobDefinition"} 5751 if v.TuningObjective != nil { 5752 if err := validateHyperParameterTuningJobObjective(v.TuningObjective); err != nil { 5753 invalidParams.AddNested("TuningObjective", err.(smithy.InvalidParamsError)) 5754 } 5755 } 5756 if v.HyperParameterRanges != nil { 5757 if err := validateParameterRanges(v.HyperParameterRanges); err != nil { 5758 invalidParams.AddNested("HyperParameterRanges", err.(smithy.InvalidParamsError)) 5759 } 5760 } 5761 if v.AlgorithmSpecification == nil { 5762 invalidParams.Add(smithy.NewErrParamRequired("AlgorithmSpecification")) 5763 } else if v.AlgorithmSpecification != nil { 5764 if err := validateHyperParameterAlgorithmSpecification(v.AlgorithmSpecification); err != nil { 5765 invalidParams.AddNested("AlgorithmSpecification", err.(smithy.InvalidParamsError)) 5766 } 5767 } 5768 if v.RoleArn == nil { 5769 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 5770 } 5771 if v.InputDataConfig != nil { 5772 if err := validateInputDataConfig(v.InputDataConfig); err != nil { 5773 invalidParams.AddNested("InputDataConfig", err.(smithy.InvalidParamsError)) 5774 } 5775 } 5776 if v.VpcConfig != nil { 5777 if err := validateVpcConfig(v.VpcConfig); err != nil { 5778 invalidParams.AddNested("VpcConfig", err.(smithy.InvalidParamsError)) 5779 } 5780 } 5781 if v.OutputDataConfig == nil { 5782 invalidParams.Add(smithy.NewErrParamRequired("OutputDataConfig")) 5783 } else if v.OutputDataConfig != nil { 5784 if err := validateOutputDataConfig(v.OutputDataConfig); err != nil { 5785 invalidParams.AddNested("OutputDataConfig", err.(smithy.InvalidParamsError)) 5786 } 5787 } 5788 if v.ResourceConfig == nil { 5789 invalidParams.Add(smithy.NewErrParamRequired("ResourceConfig")) 5790 } else if v.ResourceConfig != nil { 5791 if err := validateResourceConfig(v.ResourceConfig); err != nil { 5792 invalidParams.AddNested("ResourceConfig", err.(smithy.InvalidParamsError)) 5793 } 5794 } 5795 if v.StoppingCondition == nil { 5796 invalidParams.Add(smithy.NewErrParamRequired("StoppingCondition")) 5797 } 5798 if v.CheckpointConfig != nil { 5799 if err := validateCheckpointConfig(v.CheckpointConfig); err != nil { 5800 invalidParams.AddNested("CheckpointConfig", err.(smithy.InvalidParamsError)) 5801 } 5802 } 5803 if invalidParams.Len() > 0 { 5804 return invalidParams 5805 } else { 5806 return nil 5807 } 5808} 5809 5810func validateHyperParameterTrainingJobDefinitions(v []types.HyperParameterTrainingJobDefinition) error { 5811 if v == nil { 5812 return nil 5813 } 5814 invalidParams := smithy.InvalidParamsError{Context: "HyperParameterTrainingJobDefinitions"} 5815 for i := range v { 5816 if err := validateHyperParameterTrainingJobDefinition(&v[i]); err != nil { 5817 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5818 } 5819 } 5820 if invalidParams.Len() > 0 { 5821 return invalidParams 5822 } else { 5823 return nil 5824 } 5825} 5826 5827func validateHyperParameterTuningJobConfig(v *types.HyperParameterTuningJobConfig) error { 5828 if v == nil { 5829 return nil 5830 } 5831 invalidParams := smithy.InvalidParamsError{Context: "HyperParameterTuningJobConfig"} 5832 if len(v.Strategy) == 0 { 5833 invalidParams.Add(smithy.NewErrParamRequired("Strategy")) 5834 } 5835 if v.HyperParameterTuningJobObjective != nil { 5836 if err := validateHyperParameterTuningJobObjective(v.HyperParameterTuningJobObjective); err != nil { 5837 invalidParams.AddNested("HyperParameterTuningJobObjective", err.(smithy.InvalidParamsError)) 5838 } 5839 } 5840 if v.ResourceLimits == nil { 5841 invalidParams.Add(smithy.NewErrParamRequired("ResourceLimits")) 5842 } else if v.ResourceLimits != nil { 5843 if err := validateResourceLimits(v.ResourceLimits); err != nil { 5844 invalidParams.AddNested("ResourceLimits", err.(smithy.InvalidParamsError)) 5845 } 5846 } 5847 if v.ParameterRanges != nil { 5848 if err := validateParameterRanges(v.ParameterRanges); err != nil { 5849 invalidParams.AddNested("ParameterRanges", err.(smithy.InvalidParamsError)) 5850 } 5851 } 5852 if v.TuningJobCompletionCriteria != nil { 5853 if err := validateTuningJobCompletionCriteria(v.TuningJobCompletionCriteria); err != nil { 5854 invalidParams.AddNested("TuningJobCompletionCriteria", err.(smithy.InvalidParamsError)) 5855 } 5856 } 5857 if invalidParams.Len() > 0 { 5858 return invalidParams 5859 } else { 5860 return nil 5861 } 5862} 5863 5864func validateHyperParameterTuningJobObjective(v *types.HyperParameterTuningJobObjective) error { 5865 if v == nil { 5866 return nil 5867 } 5868 invalidParams := smithy.InvalidParamsError{Context: "HyperParameterTuningJobObjective"} 5869 if len(v.Type) == 0 { 5870 invalidParams.Add(smithy.NewErrParamRequired("Type")) 5871 } 5872 if v.MetricName == nil { 5873 invalidParams.Add(smithy.NewErrParamRequired("MetricName")) 5874 } 5875 if invalidParams.Len() > 0 { 5876 return invalidParams 5877 } else { 5878 return nil 5879 } 5880} 5881 5882func validateHyperParameterTuningJobObjectives(v []types.HyperParameterTuningJobObjective) error { 5883 if v == nil { 5884 return nil 5885 } 5886 invalidParams := smithy.InvalidParamsError{Context: "HyperParameterTuningJobObjectives"} 5887 for i := range v { 5888 if err := validateHyperParameterTuningJobObjective(&v[i]); err != nil { 5889 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 5890 } 5891 } 5892 if invalidParams.Len() > 0 { 5893 return invalidParams 5894 } else { 5895 return nil 5896 } 5897} 5898 5899func validateHyperParameterTuningJobWarmStartConfig(v *types.HyperParameterTuningJobWarmStartConfig) error { 5900 if v == nil { 5901 return nil 5902 } 5903 invalidParams := smithy.InvalidParamsError{Context: "HyperParameterTuningJobWarmStartConfig"} 5904 if v.ParentHyperParameterTuningJobs == nil { 5905 invalidParams.Add(smithy.NewErrParamRequired("ParentHyperParameterTuningJobs")) 5906 } 5907 if len(v.WarmStartType) == 0 { 5908 invalidParams.Add(smithy.NewErrParamRequired("WarmStartType")) 5909 } 5910 if invalidParams.Len() > 0 { 5911 return invalidParams 5912 } else { 5913 return nil 5914 } 5915} 5916 5917func validateImageConfig(v *types.ImageConfig) error { 5918 if v == nil { 5919 return nil 5920 } 5921 invalidParams := smithy.InvalidParamsError{Context: "ImageConfig"} 5922 if len(v.RepositoryAccessMode) == 0 { 5923 invalidParams.Add(smithy.NewErrParamRequired("RepositoryAccessMode")) 5924 } 5925 if v.RepositoryAuthConfig != nil { 5926 if err := validateRepositoryAuthConfig(v.RepositoryAuthConfig); err != nil { 5927 invalidParams.AddNested("RepositoryAuthConfig", err.(smithy.InvalidParamsError)) 5928 } 5929 } 5930 if invalidParams.Len() > 0 { 5931 return invalidParams 5932 } else { 5933 return nil 5934 } 5935} 5936 5937func validateInferenceExecutionConfig(v *types.InferenceExecutionConfig) error { 5938 if v == nil { 5939 return nil 5940 } 5941 invalidParams := smithy.InvalidParamsError{Context: "InferenceExecutionConfig"} 5942 if len(v.Mode) == 0 { 5943 invalidParams.Add(smithy.NewErrParamRequired("Mode")) 5944 } 5945 if invalidParams.Len() > 0 { 5946 return invalidParams 5947 } else { 5948 return nil 5949 } 5950} 5951 5952func validateInferenceSpecification(v *types.InferenceSpecification) error { 5953 if v == nil { 5954 return nil 5955 } 5956 invalidParams := smithy.InvalidParamsError{Context: "InferenceSpecification"} 5957 if v.Containers == nil { 5958 invalidParams.Add(smithy.NewErrParamRequired("Containers")) 5959 } else if v.Containers != nil { 5960 if err := validateModelPackageContainerDefinitionList(v.Containers); err != nil { 5961 invalidParams.AddNested("Containers", err.(smithy.InvalidParamsError)) 5962 } 5963 } 5964 if v.SupportedContentTypes == nil { 5965 invalidParams.Add(smithy.NewErrParamRequired("SupportedContentTypes")) 5966 } 5967 if v.SupportedResponseMIMETypes == nil { 5968 invalidParams.Add(smithy.NewErrParamRequired("SupportedResponseMIMETypes")) 5969 } 5970 if invalidParams.Len() > 0 { 5971 return invalidParams 5972 } else { 5973 return nil 5974 } 5975} 5976 5977func validateInputConfig(v *types.InputConfig) error { 5978 if v == nil { 5979 return nil 5980 } 5981 invalidParams := smithy.InvalidParamsError{Context: "InputConfig"} 5982 if v.S3Uri == nil { 5983 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 5984 } 5985 if v.DataInputConfig == nil { 5986 invalidParams.Add(smithy.NewErrParamRequired("DataInputConfig")) 5987 } 5988 if len(v.Framework) == 0 { 5989 invalidParams.Add(smithy.NewErrParamRequired("Framework")) 5990 } 5991 if invalidParams.Len() > 0 { 5992 return invalidParams 5993 } else { 5994 return nil 5995 } 5996} 5997 5998func validateInputDataConfig(v []types.Channel) error { 5999 if v == nil { 6000 return nil 6001 } 6002 invalidParams := smithy.InvalidParamsError{Context: "InputDataConfig"} 6003 for i := range v { 6004 if err := validateChannel(&v[i]); err != nil { 6005 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6006 } 6007 } 6008 if invalidParams.Len() > 0 { 6009 return invalidParams 6010 } else { 6011 return nil 6012 } 6013} 6014 6015func validateIntegerParameterRange(v *types.IntegerParameterRange) error { 6016 if v == nil { 6017 return nil 6018 } 6019 invalidParams := smithy.InvalidParamsError{Context: "IntegerParameterRange"} 6020 if v.Name == nil { 6021 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6022 } 6023 if v.MinValue == nil { 6024 invalidParams.Add(smithy.NewErrParamRequired("MinValue")) 6025 } 6026 if v.MaxValue == nil { 6027 invalidParams.Add(smithy.NewErrParamRequired("MaxValue")) 6028 } 6029 if invalidParams.Len() > 0 { 6030 return invalidParams 6031 } else { 6032 return nil 6033 } 6034} 6035 6036func validateIntegerParameterRanges(v []types.IntegerParameterRange) error { 6037 if v == nil { 6038 return nil 6039 } 6040 invalidParams := smithy.InvalidParamsError{Context: "IntegerParameterRanges"} 6041 for i := range v { 6042 if err := validateIntegerParameterRange(&v[i]); err != nil { 6043 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6044 } 6045 } 6046 if invalidParams.Len() > 0 { 6047 return invalidParams 6048 } else { 6049 return nil 6050 } 6051} 6052 6053func validateIntegerParameterRangeSpecification(v *types.IntegerParameterRangeSpecification) error { 6054 if v == nil { 6055 return nil 6056 } 6057 invalidParams := smithy.InvalidParamsError{Context: "IntegerParameterRangeSpecification"} 6058 if v.MinValue == nil { 6059 invalidParams.Add(smithy.NewErrParamRequired("MinValue")) 6060 } 6061 if v.MaxValue == nil { 6062 invalidParams.Add(smithy.NewErrParamRequired("MaxValue")) 6063 } 6064 if invalidParams.Len() > 0 { 6065 return invalidParams 6066 } else { 6067 return nil 6068 } 6069} 6070 6071func validateKernelGatewayAppSettings(v *types.KernelGatewayAppSettings) error { 6072 if v == nil { 6073 return nil 6074 } 6075 invalidParams := smithy.InvalidParamsError{Context: "KernelGatewayAppSettings"} 6076 if v.CustomImages != nil { 6077 if err := validateCustomImages(v.CustomImages); err != nil { 6078 invalidParams.AddNested("CustomImages", err.(smithy.InvalidParamsError)) 6079 } 6080 } 6081 if invalidParams.Len() > 0 { 6082 return invalidParams 6083 } else { 6084 return nil 6085 } 6086} 6087 6088func validateKernelGatewayImageConfig(v *types.KernelGatewayImageConfig) error { 6089 if v == nil { 6090 return nil 6091 } 6092 invalidParams := smithy.InvalidParamsError{Context: "KernelGatewayImageConfig"} 6093 if v.KernelSpecs == nil { 6094 invalidParams.Add(smithy.NewErrParamRequired("KernelSpecs")) 6095 } else if v.KernelSpecs != nil { 6096 if err := validateKernelSpecs(v.KernelSpecs); err != nil { 6097 invalidParams.AddNested("KernelSpecs", err.(smithy.InvalidParamsError)) 6098 } 6099 } 6100 if invalidParams.Len() > 0 { 6101 return invalidParams 6102 } else { 6103 return nil 6104 } 6105} 6106 6107func validateKernelSpec(v *types.KernelSpec) error { 6108 if v == nil { 6109 return nil 6110 } 6111 invalidParams := smithy.InvalidParamsError{Context: "KernelSpec"} 6112 if v.Name == nil { 6113 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6114 } 6115 if invalidParams.Len() > 0 { 6116 return invalidParams 6117 } else { 6118 return nil 6119 } 6120} 6121 6122func validateKernelSpecs(v []types.KernelSpec) error { 6123 if v == nil { 6124 return nil 6125 } 6126 invalidParams := smithy.InvalidParamsError{Context: "KernelSpecs"} 6127 for i := range v { 6128 if err := validateKernelSpec(&v[i]); err != nil { 6129 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6130 } 6131 } 6132 if invalidParams.Len() > 0 { 6133 return invalidParams 6134 } else { 6135 return nil 6136 } 6137} 6138 6139func validateLabelingJobAlgorithmsConfig(v *types.LabelingJobAlgorithmsConfig) error { 6140 if v == nil { 6141 return nil 6142 } 6143 invalidParams := smithy.InvalidParamsError{Context: "LabelingJobAlgorithmsConfig"} 6144 if v.LabelingJobAlgorithmSpecificationArn == nil { 6145 invalidParams.Add(smithy.NewErrParamRequired("LabelingJobAlgorithmSpecificationArn")) 6146 } 6147 if invalidParams.Len() > 0 { 6148 return invalidParams 6149 } else { 6150 return nil 6151 } 6152} 6153 6154func validateLabelingJobDataSource(v *types.LabelingJobDataSource) error { 6155 if v == nil { 6156 return nil 6157 } 6158 invalidParams := smithy.InvalidParamsError{Context: "LabelingJobDataSource"} 6159 if v.S3DataSource != nil { 6160 if err := validateLabelingJobS3DataSource(v.S3DataSource); err != nil { 6161 invalidParams.AddNested("S3DataSource", err.(smithy.InvalidParamsError)) 6162 } 6163 } 6164 if v.SnsDataSource != nil { 6165 if err := validateLabelingJobSnsDataSource(v.SnsDataSource); err != nil { 6166 invalidParams.AddNested("SnsDataSource", err.(smithy.InvalidParamsError)) 6167 } 6168 } 6169 if invalidParams.Len() > 0 { 6170 return invalidParams 6171 } else { 6172 return nil 6173 } 6174} 6175 6176func validateLabelingJobInputConfig(v *types.LabelingJobInputConfig) error { 6177 if v == nil { 6178 return nil 6179 } 6180 invalidParams := smithy.InvalidParamsError{Context: "LabelingJobInputConfig"} 6181 if v.DataSource == nil { 6182 invalidParams.Add(smithy.NewErrParamRequired("DataSource")) 6183 } else if v.DataSource != nil { 6184 if err := validateLabelingJobDataSource(v.DataSource); err != nil { 6185 invalidParams.AddNested("DataSource", err.(smithy.InvalidParamsError)) 6186 } 6187 } 6188 if invalidParams.Len() > 0 { 6189 return invalidParams 6190 } else { 6191 return nil 6192 } 6193} 6194 6195func validateLabelingJobOutputConfig(v *types.LabelingJobOutputConfig) error { 6196 if v == nil { 6197 return nil 6198 } 6199 invalidParams := smithy.InvalidParamsError{Context: "LabelingJobOutputConfig"} 6200 if v.S3OutputPath == nil { 6201 invalidParams.Add(smithy.NewErrParamRequired("S3OutputPath")) 6202 } 6203 if invalidParams.Len() > 0 { 6204 return invalidParams 6205 } else { 6206 return nil 6207 } 6208} 6209 6210func validateLabelingJobS3DataSource(v *types.LabelingJobS3DataSource) error { 6211 if v == nil { 6212 return nil 6213 } 6214 invalidParams := smithy.InvalidParamsError{Context: "LabelingJobS3DataSource"} 6215 if v.ManifestS3Uri == nil { 6216 invalidParams.Add(smithy.NewErrParamRequired("ManifestS3Uri")) 6217 } 6218 if invalidParams.Len() > 0 { 6219 return invalidParams 6220 } else { 6221 return nil 6222 } 6223} 6224 6225func validateLabelingJobSnsDataSource(v *types.LabelingJobSnsDataSource) error { 6226 if v == nil { 6227 return nil 6228 } 6229 invalidParams := smithy.InvalidParamsError{Context: "LabelingJobSnsDataSource"} 6230 if v.SnsTopicArn == nil { 6231 invalidParams.Add(smithy.NewErrParamRequired("SnsTopicArn")) 6232 } 6233 if invalidParams.Len() > 0 { 6234 return invalidParams 6235 } else { 6236 return nil 6237 } 6238} 6239 6240func validateMemberDefinition(v *types.MemberDefinition) error { 6241 if v == nil { 6242 return nil 6243 } 6244 invalidParams := smithy.InvalidParamsError{Context: "MemberDefinition"} 6245 if v.CognitoMemberDefinition != nil { 6246 if err := validateCognitoMemberDefinition(v.CognitoMemberDefinition); err != nil { 6247 invalidParams.AddNested("CognitoMemberDefinition", err.(smithy.InvalidParamsError)) 6248 } 6249 } 6250 if v.OidcMemberDefinition != nil { 6251 if err := validateOidcMemberDefinition(v.OidcMemberDefinition); err != nil { 6252 invalidParams.AddNested("OidcMemberDefinition", err.(smithy.InvalidParamsError)) 6253 } 6254 } 6255 if invalidParams.Len() > 0 { 6256 return invalidParams 6257 } else { 6258 return nil 6259 } 6260} 6261 6262func validateMemberDefinitions(v []types.MemberDefinition) error { 6263 if v == nil { 6264 return nil 6265 } 6266 invalidParams := smithy.InvalidParamsError{Context: "MemberDefinitions"} 6267 for i := range v { 6268 if err := validateMemberDefinition(&v[i]); err != nil { 6269 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6270 } 6271 } 6272 if invalidParams.Len() > 0 { 6273 return invalidParams 6274 } else { 6275 return nil 6276 } 6277} 6278 6279func validateMetricDefinition(v *types.MetricDefinition) error { 6280 if v == nil { 6281 return nil 6282 } 6283 invalidParams := smithy.InvalidParamsError{Context: "MetricDefinition"} 6284 if v.Name == nil { 6285 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6286 } 6287 if v.Regex == nil { 6288 invalidParams.Add(smithy.NewErrParamRequired("Regex")) 6289 } 6290 if invalidParams.Len() > 0 { 6291 return invalidParams 6292 } else { 6293 return nil 6294 } 6295} 6296 6297func validateMetricDefinitionList(v []types.MetricDefinition) error { 6298 if v == nil { 6299 return nil 6300 } 6301 invalidParams := smithy.InvalidParamsError{Context: "MetricDefinitionList"} 6302 for i := range v { 6303 if err := validateMetricDefinition(&v[i]); err != nil { 6304 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6305 } 6306 } 6307 if invalidParams.Len() > 0 { 6308 return invalidParams 6309 } else { 6310 return nil 6311 } 6312} 6313 6314func validateMetricsSource(v *types.MetricsSource) error { 6315 if v == nil { 6316 return nil 6317 } 6318 invalidParams := smithy.InvalidParamsError{Context: "MetricsSource"} 6319 if v.ContentType == nil { 6320 invalidParams.Add(smithy.NewErrParamRequired("ContentType")) 6321 } 6322 if v.S3Uri == nil { 6323 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 6324 } 6325 if invalidParams.Len() > 0 { 6326 return invalidParams 6327 } else { 6328 return nil 6329 } 6330} 6331 6332func validateModelBiasAppSpecification(v *types.ModelBiasAppSpecification) error { 6333 if v == nil { 6334 return nil 6335 } 6336 invalidParams := smithy.InvalidParamsError{Context: "ModelBiasAppSpecification"} 6337 if v.ImageUri == nil { 6338 invalidParams.Add(smithy.NewErrParamRequired("ImageUri")) 6339 } 6340 if v.ConfigUri == nil { 6341 invalidParams.Add(smithy.NewErrParamRequired("ConfigUri")) 6342 } 6343 if invalidParams.Len() > 0 { 6344 return invalidParams 6345 } else { 6346 return nil 6347 } 6348} 6349 6350func validateModelBiasJobInput(v *types.ModelBiasJobInput) error { 6351 if v == nil { 6352 return nil 6353 } 6354 invalidParams := smithy.InvalidParamsError{Context: "ModelBiasJobInput"} 6355 if v.EndpointInput == nil { 6356 invalidParams.Add(smithy.NewErrParamRequired("EndpointInput")) 6357 } else if v.EndpointInput != nil { 6358 if err := validateEndpointInput(v.EndpointInput); err != nil { 6359 invalidParams.AddNested("EndpointInput", err.(smithy.InvalidParamsError)) 6360 } 6361 } 6362 if v.GroundTruthS3Input == nil { 6363 invalidParams.Add(smithy.NewErrParamRequired("GroundTruthS3Input")) 6364 } 6365 if invalidParams.Len() > 0 { 6366 return invalidParams 6367 } else { 6368 return nil 6369 } 6370} 6371 6372func validateModelDataQuality(v *types.ModelDataQuality) error { 6373 if v == nil { 6374 return nil 6375 } 6376 invalidParams := smithy.InvalidParamsError{Context: "ModelDataQuality"} 6377 if v.Statistics != nil { 6378 if err := validateMetricsSource(v.Statistics); err != nil { 6379 invalidParams.AddNested("Statistics", err.(smithy.InvalidParamsError)) 6380 } 6381 } 6382 if v.Constraints != nil { 6383 if err := validateMetricsSource(v.Constraints); err != nil { 6384 invalidParams.AddNested("Constraints", err.(smithy.InvalidParamsError)) 6385 } 6386 } 6387 if invalidParams.Len() > 0 { 6388 return invalidParams 6389 } else { 6390 return nil 6391 } 6392} 6393 6394func validateModelExplainabilityAppSpecification(v *types.ModelExplainabilityAppSpecification) error { 6395 if v == nil { 6396 return nil 6397 } 6398 invalidParams := smithy.InvalidParamsError{Context: "ModelExplainabilityAppSpecification"} 6399 if v.ImageUri == nil { 6400 invalidParams.Add(smithy.NewErrParamRequired("ImageUri")) 6401 } 6402 if v.ConfigUri == nil { 6403 invalidParams.Add(smithy.NewErrParamRequired("ConfigUri")) 6404 } 6405 if invalidParams.Len() > 0 { 6406 return invalidParams 6407 } else { 6408 return nil 6409 } 6410} 6411 6412func validateModelExplainabilityJobInput(v *types.ModelExplainabilityJobInput) error { 6413 if v == nil { 6414 return nil 6415 } 6416 invalidParams := smithy.InvalidParamsError{Context: "ModelExplainabilityJobInput"} 6417 if v.EndpointInput == nil { 6418 invalidParams.Add(smithy.NewErrParamRequired("EndpointInput")) 6419 } else if v.EndpointInput != nil { 6420 if err := validateEndpointInput(v.EndpointInput); err != nil { 6421 invalidParams.AddNested("EndpointInput", err.(smithy.InvalidParamsError)) 6422 } 6423 } 6424 if invalidParams.Len() > 0 { 6425 return invalidParams 6426 } else { 6427 return nil 6428 } 6429} 6430 6431func validateModelMetrics(v *types.ModelMetrics) error { 6432 if v == nil { 6433 return nil 6434 } 6435 invalidParams := smithy.InvalidParamsError{Context: "ModelMetrics"} 6436 if v.ModelQuality != nil { 6437 if err := validateModelQuality(v.ModelQuality); err != nil { 6438 invalidParams.AddNested("ModelQuality", err.(smithy.InvalidParamsError)) 6439 } 6440 } 6441 if v.ModelDataQuality != nil { 6442 if err := validateModelDataQuality(v.ModelDataQuality); err != nil { 6443 invalidParams.AddNested("ModelDataQuality", err.(smithy.InvalidParamsError)) 6444 } 6445 } 6446 if v.Bias != nil { 6447 if err := validateBias(v.Bias); err != nil { 6448 invalidParams.AddNested("Bias", err.(smithy.InvalidParamsError)) 6449 } 6450 } 6451 if v.Explainability != nil { 6452 if err := validateExplainability(v.Explainability); err != nil { 6453 invalidParams.AddNested("Explainability", err.(smithy.InvalidParamsError)) 6454 } 6455 } 6456 if invalidParams.Len() > 0 { 6457 return invalidParams 6458 } else { 6459 return nil 6460 } 6461} 6462 6463func validateModelPackageContainerDefinition(v *types.ModelPackageContainerDefinition) error { 6464 if v == nil { 6465 return nil 6466 } 6467 invalidParams := smithy.InvalidParamsError{Context: "ModelPackageContainerDefinition"} 6468 if v.Image == nil { 6469 invalidParams.Add(smithy.NewErrParamRequired("Image")) 6470 } 6471 if invalidParams.Len() > 0 { 6472 return invalidParams 6473 } else { 6474 return nil 6475 } 6476} 6477 6478func validateModelPackageContainerDefinitionList(v []types.ModelPackageContainerDefinition) error { 6479 if v == nil { 6480 return nil 6481 } 6482 invalidParams := smithy.InvalidParamsError{Context: "ModelPackageContainerDefinitionList"} 6483 for i := range v { 6484 if err := validateModelPackageContainerDefinition(&v[i]); err != nil { 6485 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6486 } 6487 } 6488 if invalidParams.Len() > 0 { 6489 return invalidParams 6490 } else { 6491 return nil 6492 } 6493} 6494 6495func validateModelPackageValidationProfile(v *types.ModelPackageValidationProfile) error { 6496 if v == nil { 6497 return nil 6498 } 6499 invalidParams := smithy.InvalidParamsError{Context: "ModelPackageValidationProfile"} 6500 if v.ProfileName == nil { 6501 invalidParams.Add(smithy.NewErrParamRequired("ProfileName")) 6502 } 6503 if v.TransformJobDefinition == nil { 6504 invalidParams.Add(smithy.NewErrParamRequired("TransformJobDefinition")) 6505 } else if v.TransformJobDefinition != nil { 6506 if err := validateTransformJobDefinition(v.TransformJobDefinition); err != nil { 6507 invalidParams.AddNested("TransformJobDefinition", err.(smithy.InvalidParamsError)) 6508 } 6509 } 6510 if invalidParams.Len() > 0 { 6511 return invalidParams 6512 } else { 6513 return nil 6514 } 6515} 6516 6517func validateModelPackageValidationProfiles(v []types.ModelPackageValidationProfile) error { 6518 if v == nil { 6519 return nil 6520 } 6521 invalidParams := smithy.InvalidParamsError{Context: "ModelPackageValidationProfiles"} 6522 for i := range v { 6523 if err := validateModelPackageValidationProfile(&v[i]); err != nil { 6524 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6525 } 6526 } 6527 if invalidParams.Len() > 0 { 6528 return invalidParams 6529 } else { 6530 return nil 6531 } 6532} 6533 6534func validateModelPackageValidationSpecification(v *types.ModelPackageValidationSpecification) error { 6535 if v == nil { 6536 return nil 6537 } 6538 invalidParams := smithy.InvalidParamsError{Context: "ModelPackageValidationSpecification"} 6539 if v.ValidationRole == nil { 6540 invalidParams.Add(smithy.NewErrParamRequired("ValidationRole")) 6541 } 6542 if v.ValidationProfiles == nil { 6543 invalidParams.Add(smithy.NewErrParamRequired("ValidationProfiles")) 6544 } else if v.ValidationProfiles != nil { 6545 if err := validateModelPackageValidationProfiles(v.ValidationProfiles); err != nil { 6546 invalidParams.AddNested("ValidationProfiles", err.(smithy.InvalidParamsError)) 6547 } 6548 } 6549 if invalidParams.Len() > 0 { 6550 return invalidParams 6551 } else { 6552 return nil 6553 } 6554} 6555 6556func validateModelQuality(v *types.ModelQuality) error { 6557 if v == nil { 6558 return nil 6559 } 6560 invalidParams := smithy.InvalidParamsError{Context: "ModelQuality"} 6561 if v.Statistics != nil { 6562 if err := validateMetricsSource(v.Statistics); err != nil { 6563 invalidParams.AddNested("Statistics", err.(smithy.InvalidParamsError)) 6564 } 6565 } 6566 if v.Constraints != nil { 6567 if err := validateMetricsSource(v.Constraints); err != nil { 6568 invalidParams.AddNested("Constraints", err.(smithy.InvalidParamsError)) 6569 } 6570 } 6571 if invalidParams.Len() > 0 { 6572 return invalidParams 6573 } else { 6574 return nil 6575 } 6576} 6577 6578func validateModelQualityAppSpecification(v *types.ModelQualityAppSpecification) error { 6579 if v == nil { 6580 return nil 6581 } 6582 invalidParams := smithy.InvalidParamsError{Context: "ModelQualityAppSpecification"} 6583 if v.ImageUri == nil { 6584 invalidParams.Add(smithy.NewErrParamRequired("ImageUri")) 6585 } 6586 if invalidParams.Len() > 0 { 6587 return invalidParams 6588 } else { 6589 return nil 6590 } 6591} 6592 6593func validateModelQualityJobInput(v *types.ModelQualityJobInput) error { 6594 if v == nil { 6595 return nil 6596 } 6597 invalidParams := smithy.InvalidParamsError{Context: "ModelQualityJobInput"} 6598 if v.EndpointInput == nil { 6599 invalidParams.Add(smithy.NewErrParamRequired("EndpointInput")) 6600 } else if v.EndpointInput != nil { 6601 if err := validateEndpointInput(v.EndpointInput); err != nil { 6602 invalidParams.AddNested("EndpointInput", err.(smithy.InvalidParamsError)) 6603 } 6604 } 6605 if v.GroundTruthS3Input == nil { 6606 invalidParams.Add(smithy.NewErrParamRequired("GroundTruthS3Input")) 6607 } 6608 if invalidParams.Len() > 0 { 6609 return invalidParams 6610 } else { 6611 return nil 6612 } 6613} 6614 6615func validateMonitoringAppSpecification(v *types.MonitoringAppSpecification) error { 6616 if v == nil { 6617 return nil 6618 } 6619 invalidParams := smithy.InvalidParamsError{Context: "MonitoringAppSpecification"} 6620 if v.ImageUri == nil { 6621 invalidParams.Add(smithy.NewErrParamRequired("ImageUri")) 6622 } 6623 if invalidParams.Len() > 0 { 6624 return invalidParams 6625 } else { 6626 return nil 6627 } 6628} 6629 6630func validateMonitoringClusterConfig(v *types.MonitoringClusterConfig) error { 6631 if v == nil { 6632 return nil 6633 } 6634 invalidParams := smithy.InvalidParamsError{Context: "MonitoringClusterConfig"} 6635 if v.InstanceCount == nil { 6636 invalidParams.Add(smithy.NewErrParamRequired("InstanceCount")) 6637 } 6638 if len(v.InstanceType) == 0 { 6639 invalidParams.Add(smithy.NewErrParamRequired("InstanceType")) 6640 } 6641 if v.VolumeSizeInGB == nil { 6642 invalidParams.Add(smithy.NewErrParamRequired("VolumeSizeInGB")) 6643 } 6644 if invalidParams.Len() > 0 { 6645 return invalidParams 6646 } else { 6647 return nil 6648 } 6649} 6650 6651func validateMonitoringInput(v *types.MonitoringInput) error { 6652 if v == nil { 6653 return nil 6654 } 6655 invalidParams := smithy.InvalidParamsError{Context: "MonitoringInput"} 6656 if v.EndpointInput == nil { 6657 invalidParams.Add(smithy.NewErrParamRequired("EndpointInput")) 6658 } else if v.EndpointInput != nil { 6659 if err := validateEndpointInput(v.EndpointInput); err != nil { 6660 invalidParams.AddNested("EndpointInput", err.(smithy.InvalidParamsError)) 6661 } 6662 } 6663 if invalidParams.Len() > 0 { 6664 return invalidParams 6665 } else { 6666 return nil 6667 } 6668} 6669 6670func validateMonitoringInputs(v []types.MonitoringInput) error { 6671 if v == nil { 6672 return nil 6673 } 6674 invalidParams := smithy.InvalidParamsError{Context: "MonitoringInputs"} 6675 for i := range v { 6676 if err := validateMonitoringInput(&v[i]); err != nil { 6677 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6678 } 6679 } 6680 if invalidParams.Len() > 0 { 6681 return invalidParams 6682 } else { 6683 return nil 6684 } 6685} 6686 6687func validateMonitoringJobDefinition(v *types.MonitoringJobDefinition) error { 6688 if v == nil { 6689 return nil 6690 } 6691 invalidParams := smithy.InvalidParamsError{Context: "MonitoringJobDefinition"} 6692 if v.MonitoringInputs == nil { 6693 invalidParams.Add(smithy.NewErrParamRequired("MonitoringInputs")) 6694 } else if v.MonitoringInputs != nil { 6695 if err := validateMonitoringInputs(v.MonitoringInputs); err != nil { 6696 invalidParams.AddNested("MonitoringInputs", err.(smithy.InvalidParamsError)) 6697 } 6698 } 6699 if v.MonitoringOutputConfig == nil { 6700 invalidParams.Add(smithy.NewErrParamRequired("MonitoringOutputConfig")) 6701 } else if v.MonitoringOutputConfig != nil { 6702 if err := validateMonitoringOutputConfig(v.MonitoringOutputConfig); err != nil { 6703 invalidParams.AddNested("MonitoringOutputConfig", err.(smithy.InvalidParamsError)) 6704 } 6705 } 6706 if v.MonitoringResources == nil { 6707 invalidParams.Add(smithy.NewErrParamRequired("MonitoringResources")) 6708 } else if v.MonitoringResources != nil { 6709 if err := validateMonitoringResources(v.MonitoringResources); err != nil { 6710 invalidParams.AddNested("MonitoringResources", err.(smithy.InvalidParamsError)) 6711 } 6712 } 6713 if v.MonitoringAppSpecification == nil { 6714 invalidParams.Add(smithy.NewErrParamRequired("MonitoringAppSpecification")) 6715 } else if v.MonitoringAppSpecification != nil { 6716 if err := validateMonitoringAppSpecification(v.MonitoringAppSpecification); err != nil { 6717 invalidParams.AddNested("MonitoringAppSpecification", err.(smithy.InvalidParamsError)) 6718 } 6719 } 6720 if v.StoppingCondition != nil { 6721 if err := validateMonitoringStoppingCondition(v.StoppingCondition); err != nil { 6722 invalidParams.AddNested("StoppingCondition", err.(smithy.InvalidParamsError)) 6723 } 6724 } 6725 if v.NetworkConfig != nil { 6726 if err := validateNetworkConfig(v.NetworkConfig); err != nil { 6727 invalidParams.AddNested("NetworkConfig", err.(smithy.InvalidParamsError)) 6728 } 6729 } 6730 if v.RoleArn == nil { 6731 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 6732 } 6733 if invalidParams.Len() > 0 { 6734 return invalidParams 6735 } else { 6736 return nil 6737 } 6738} 6739 6740func validateMonitoringNetworkConfig(v *types.MonitoringNetworkConfig) error { 6741 if v == nil { 6742 return nil 6743 } 6744 invalidParams := smithy.InvalidParamsError{Context: "MonitoringNetworkConfig"} 6745 if v.VpcConfig != nil { 6746 if err := validateVpcConfig(v.VpcConfig); err != nil { 6747 invalidParams.AddNested("VpcConfig", err.(smithy.InvalidParamsError)) 6748 } 6749 } 6750 if invalidParams.Len() > 0 { 6751 return invalidParams 6752 } else { 6753 return nil 6754 } 6755} 6756 6757func validateMonitoringOutput(v *types.MonitoringOutput) error { 6758 if v == nil { 6759 return nil 6760 } 6761 invalidParams := smithy.InvalidParamsError{Context: "MonitoringOutput"} 6762 if v.S3Output == nil { 6763 invalidParams.Add(smithy.NewErrParamRequired("S3Output")) 6764 } else if v.S3Output != nil { 6765 if err := validateMonitoringS3Output(v.S3Output); err != nil { 6766 invalidParams.AddNested("S3Output", err.(smithy.InvalidParamsError)) 6767 } 6768 } 6769 if invalidParams.Len() > 0 { 6770 return invalidParams 6771 } else { 6772 return nil 6773 } 6774} 6775 6776func validateMonitoringOutputConfig(v *types.MonitoringOutputConfig) error { 6777 if v == nil { 6778 return nil 6779 } 6780 invalidParams := smithy.InvalidParamsError{Context: "MonitoringOutputConfig"} 6781 if v.MonitoringOutputs == nil { 6782 invalidParams.Add(smithy.NewErrParamRequired("MonitoringOutputs")) 6783 } else if v.MonitoringOutputs != nil { 6784 if err := validateMonitoringOutputs(v.MonitoringOutputs); err != nil { 6785 invalidParams.AddNested("MonitoringOutputs", err.(smithy.InvalidParamsError)) 6786 } 6787 } 6788 if invalidParams.Len() > 0 { 6789 return invalidParams 6790 } else { 6791 return nil 6792 } 6793} 6794 6795func validateMonitoringOutputs(v []types.MonitoringOutput) error { 6796 if v == nil { 6797 return nil 6798 } 6799 invalidParams := smithy.InvalidParamsError{Context: "MonitoringOutputs"} 6800 for i := range v { 6801 if err := validateMonitoringOutput(&v[i]); err != nil { 6802 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6803 } 6804 } 6805 if invalidParams.Len() > 0 { 6806 return invalidParams 6807 } else { 6808 return nil 6809 } 6810} 6811 6812func validateMonitoringResources(v *types.MonitoringResources) error { 6813 if v == nil { 6814 return nil 6815 } 6816 invalidParams := smithy.InvalidParamsError{Context: "MonitoringResources"} 6817 if v.ClusterConfig == nil { 6818 invalidParams.Add(smithy.NewErrParamRequired("ClusterConfig")) 6819 } else if v.ClusterConfig != nil { 6820 if err := validateMonitoringClusterConfig(v.ClusterConfig); err != nil { 6821 invalidParams.AddNested("ClusterConfig", err.(smithy.InvalidParamsError)) 6822 } 6823 } 6824 if invalidParams.Len() > 0 { 6825 return invalidParams 6826 } else { 6827 return nil 6828 } 6829} 6830 6831func validateMonitoringS3Output(v *types.MonitoringS3Output) error { 6832 if v == nil { 6833 return nil 6834 } 6835 invalidParams := smithy.InvalidParamsError{Context: "MonitoringS3Output"} 6836 if v.S3Uri == nil { 6837 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 6838 } 6839 if v.LocalPath == nil { 6840 invalidParams.Add(smithy.NewErrParamRequired("LocalPath")) 6841 } 6842 if invalidParams.Len() > 0 { 6843 return invalidParams 6844 } else { 6845 return nil 6846 } 6847} 6848 6849func validateMonitoringScheduleConfig(v *types.MonitoringScheduleConfig) error { 6850 if v == nil { 6851 return nil 6852 } 6853 invalidParams := smithy.InvalidParamsError{Context: "MonitoringScheduleConfig"} 6854 if v.ScheduleConfig != nil { 6855 if err := validateScheduleConfig(v.ScheduleConfig); err != nil { 6856 invalidParams.AddNested("ScheduleConfig", err.(smithy.InvalidParamsError)) 6857 } 6858 } 6859 if v.MonitoringJobDefinition != nil { 6860 if err := validateMonitoringJobDefinition(v.MonitoringJobDefinition); err != nil { 6861 invalidParams.AddNested("MonitoringJobDefinition", err.(smithy.InvalidParamsError)) 6862 } 6863 } 6864 if invalidParams.Len() > 0 { 6865 return invalidParams 6866 } else { 6867 return nil 6868 } 6869} 6870 6871func validateMonitoringStoppingCondition(v *types.MonitoringStoppingCondition) error { 6872 if v == nil { 6873 return nil 6874 } 6875 invalidParams := smithy.InvalidParamsError{Context: "MonitoringStoppingCondition"} 6876 if invalidParams.Len() > 0 { 6877 return invalidParams 6878 } else { 6879 return nil 6880 } 6881} 6882 6883func validateNestedFilters(v *types.NestedFilters) error { 6884 if v == nil { 6885 return nil 6886 } 6887 invalidParams := smithy.InvalidParamsError{Context: "NestedFilters"} 6888 if v.NestedPropertyName == nil { 6889 invalidParams.Add(smithy.NewErrParamRequired("NestedPropertyName")) 6890 } 6891 if v.Filters == nil { 6892 invalidParams.Add(smithy.NewErrParamRequired("Filters")) 6893 } else if v.Filters != nil { 6894 if err := validateFilterList(v.Filters); err != nil { 6895 invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError)) 6896 } 6897 } 6898 if invalidParams.Len() > 0 { 6899 return invalidParams 6900 } else { 6901 return nil 6902 } 6903} 6904 6905func validateNestedFiltersList(v []types.NestedFilters) error { 6906 if v == nil { 6907 return nil 6908 } 6909 invalidParams := smithy.InvalidParamsError{Context: "NestedFiltersList"} 6910 for i := range v { 6911 if err := validateNestedFilters(&v[i]); err != nil { 6912 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 6913 } 6914 } 6915 if invalidParams.Len() > 0 { 6916 return invalidParams 6917 } else { 6918 return nil 6919 } 6920} 6921 6922func validateNetworkConfig(v *types.NetworkConfig) error { 6923 if v == nil { 6924 return nil 6925 } 6926 invalidParams := smithy.InvalidParamsError{Context: "NetworkConfig"} 6927 if v.VpcConfig != nil { 6928 if err := validateVpcConfig(v.VpcConfig); err != nil { 6929 invalidParams.AddNested("VpcConfig", err.(smithy.InvalidParamsError)) 6930 } 6931 } 6932 if invalidParams.Len() > 0 { 6933 return invalidParams 6934 } else { 6935 return nil 6936 } 6937} 6938 6939func validateOfflineStoreConfig(v *types.OfflineStoreConfig) error { 6940 if v == nil { 6941 return nil 6942 } 6943 invalidParams := smithy.InvalidParamsError{Context: "OfflineStoreConfig"} 6944 if v.S3StorageConfig == nil { 6945 invalidParams.Add(smithy.NewErrParamRequired("S3StorageConfig")) 6946 } else if v.S3StorageConfig != nil { 6947 if err := validateS3StorageConfig(v.S3StorageConfig); err != nil { 6948 invalidParams.AddNested("S3StorageConfig", err.(smithy.InvalidParamsError)) 6949 } 6950 } 6951 if v.DataCatalogConfig != nil { 6952 if err := validateDataCatalogConfig(v.DataCatalogConfig); err != nil { 6953 invalidParams.AddNested("DataCatalogConfig", err.(smithy.InvalidParamsError)) 6954 } 6955 } 6956 if invalidParams.Len() > 0 { 6957 return invalidParams 6958 } else { 6959 return nil 6960 } 6961} 6962 6963func validateOidcConfig(v *types.OidcConfig) error { 6964 if v == nil { 6965 return nil 6966 } 6967 invalidParams := smithy.InvalidParamsError{Context: "OidcConfig"} 6968 if v.ClientId == nil { 6969 invalidParams.Add(smithy.NewErrParamRequired("ClientId")) 6970 } 6971 if v.ClientSecret == nil { 6972 invalidParams.Add(smithy.NewErrParamRequired("ClientSecret")) 6973 } 6974 if v.Issuer == nil { 6975 invalidParams.Add(smithy.NewErrParamRequired("Issuer")) 6976 } 6977 if v.AuthorizationEndpoint == nil { 6978 invalidParams.Add(smithy.NewErrParamRequired("AuthorizationEndpoint")) 6979 } 6980 if v.TokenEndpoint == nil { 6981 invalidParams.Add(smithy.NewErrParamRequired("TokenEndpoint")) 6982 } 6983 if v.UserInfoEndpoint == nil { 6984 invalidParams.Add(smithy.NewErrParamRequired("UserInfoEndpoint")) 6985 } 6986 if v.LogoutEndpoint == nil { 6987 invalidParams.Add(smithy.NewErrParamRequired("LogoutEndpoint")) 6988 } 6989 if v.JwksUri == nil { 6990 invalidParams.Add(smithy.NewErrParamRequired("JwksUri")) 6991 } 6992 if invalidParams.Len() > 0 { 6993 return invalidParams 6994 } else { 6995 return nil 6996 } 6997} 6998 6999func validateOidcMemberDefinition(v *types.OidcMemberDefinition) error { 7000 if v == nil { 7001 return nil 7002 } 7003 invalidParams := smithy.InvalidParamsError{Context: "OidcMemberDefinition"} 7004 if v.Groups == nil { 7005 invalidParams.Add(smithy.NewErrParamRequired("Groups")) 7006 } 7007 if invalidParams.Len() > 0 { 7008 return invalidParams 7009 } else { 7010 return nil 7011 } 7012} 7013 7014func validateOutputConfig(v *types.OutputConfig) error { 7015 if v == nil { 7016 return nil 7017 } 7018 invalidParams := smithy.InvalidParamsError{Context: "OutputConfig"} 7019 if v.S3OutputLocation == nil { 7020 invalidParams.Add(smithy.NewErrParamRequired("S3OutputLocation")) 7021 } 7022 if v.TargetPlatform != nil { 7023 if err := validateTargetPlatform(v.TargetPlatform); err != nil { 7024 invalidParams.AddNested("TargetPlatform", err.(smithy.InvalidParamsError)) 7025 } 7026 } 7027 if invalidParams.Len() > 0 { 7028 return invalidParams 7029 } else { 7030 return nil 7031 } 7032} 7033 7034func validateOutputDataConfig(v *types.OutputDataConfig) error { 7035 if v == nil { 7036 return nil 7037 } 7038 invalidParams := smithy.InvalidParamsError{Context: "OutputDataConfig"} 7039 if v.S3OutputPath == nil { 7040 invalidParams.Add(smithy.NewErrParamRequired("S3OutputPath")) 7041 } 7042 if invalidParams.Len() > 0 { 7043 return invalidParams 7044 } else { 7045 return nil 7046 } 7047} 7048 7049func validateParameter(v *types.Parameter) error { 7050 if v == nil { 7051 return nil 7052 } 7053 invalidParams := smithy.InvalidParamsError{Context: "Parameter"} 7054 if v.Name == nil { 7055 invalidParams.Add(smithy.NewErrParamRequired("Name")) 7056 } 7057 if v.Value == nil { 7058 invalidParams.Add(smithy.NewErrParamRequired("Value")) 7059 } 7060 if invalidParams.Len() > 0 { 7061 return invalidParams 7062 } else { 7063 return nil 7064 } 7065} 7066 7067func validateParameterList(v []types.Parameter) error { 7068 if v == nil { 7069 return nil 7070 } 7071 invalidParams := smithy.InvalidParamsError{Context: "ParameterList"} 7072 for i := range v { 7073 if err := validateParameter(&v[i]); err != nil { 7074 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 7075 } 7076 } 7077 if invalidParams.Len() > 0 { 7078 return invalidParams 7079 } else { 7080 return nil 7081 } 7082} 7083 7084func validateParameterRange(v *types.ParameterRange) error { 7085 if v == nil { 7086 return nil 7087 } 7088 invalidParams := smithy.InvalidParamsError{Context: "ParameterRange"} 7089 if v.IntegerParameterRangeSpecification != nil { 7090 if err := validateIntegerParameterRangeSpecification(v.IntegerParameterRangeSpecification); err != nil { 7091 invalidParams.AddNested("IntegerParameterRangeSpecification", err.(smithy.InvalidParamsError)) 7092 } 7093 } 7094 if v.ContinuousParameterRangeSpecification != nil { 7095 if err := validateContinuousParameterRangeSpecification(v.ContinuousParameterRangeSpecification); err != nil { 7096 invalidParams.AddNested("ContinuousParameterRangeSpecification", err.(smithy.InvalidParamsError)) 7097 } 7098 } 7099 if v.CategoricalParameterRangeSpecification != nil { 7100 if err := validateCategoricalParameterRangeSpecification(v.CategoricalParameterRangeSpecification); err != nil { 7101 invalidParams.AddNested("CategoricalParameterRangeSpecification", err.(smithy.InvalidParamsError)) 7102 } 7103 } 7104 if invalidParams.Len() > 0 { 7105 return invalidParams 7106 } else { 7107 return nil 7108 } 7109} 7110 7111func validateParameterRanges(v *types.ParameterRanges) error { 7112 if v == nil { 7113 return nil 7114 } 7115 invalidParams := smithy.InvalidParamsError{Context: "ParameterRanges"} 7116 if v.IntegerParameterRanges != nil { 7117 if err := validateIntegerParameterRanges(v.IntegerParameterRanges); err != nil { 7118 invalidParams.AddNested("IntegerParameterRanges", err.(smithy.InvalidParamsError)) 7119 } 7120 } 7121 if v.ContinuousParameterRanges != nil { 7122 if err := validateContinuousParameterRanges(v.ContinuousParameterRanges); err != nil { 7123 invalidParams.AddNested("ContinuousParameterRanges", err.(smithy.InvalidParamsError)) 7124 } 7125 } 7126 if v.CategoricalParameterRanges != nil { 7127 if err := validateCategoricalParameterRanges(v.CategoricalParameterRanges); err != nil { 7128 invalidParams.AddNested("CategoricalParameterRanges", err.(smithy.InvalidParamsError)) 7129 } 7130 } 7131 if invalidParams.Len() > 0 { 7132 return invalidParams 7133 } else { 7134 return nil 7135 } 7136} 7137 7138func validateProcessingClusterConfig(v *types.ProcessingClusterConfig) error { 7139 if v == nil { 7140 return nil 7141 } 7142 invalidParams := smithy.InvalidParamsError{Context: "ProcessingClusterConfig"} 7143 if v.InstanceCount == nil { 7144 invalidParams.Add(smithy.NewErrParamRequired("InstanceCount")) 7145 } 7146 if len(v.InstanceType) == 0 { 7147 invalidParams.Add(smithy.NewErrParamRequired("InstanceType")) 7148 } 7149 if v.VolumeSizeInGB == nil { 7150 invalidParams.Add(smithy.NewErrParamRequired("VolumeSizeInGB")) 7151 } 7152 if invalidParams.Len() > 0 { 7153 return invalidParams 7154 } else { 7155 return nil 7156 } 7157} 7158 7159func validateProcessingFeatureStoreOutput(v *types.ProcessingFeatureStoreOutput) error { 7160 if v == nil { 7161 return nil 7162 } 7163 invalidParams := smithy.InvalidParamsError{Context: "ProcessingFeatureStoreOutput"} 7164 if v.FeatureGroupName == nil { 7165 invalidParams.Add(smithy.NewErrParamRequired("FeatureGroupName")) 7166 } 7167 if invalidParams.Len() > 0 { 7168 return invalidParams 7169 } else { 7170 return nil 7171 } 7172} 7173 7174func validateProcessingInput(v *types.ProcessingInput) error { 7175 if v == nil { 7176 return nil 7177 } 7178 invalidParams := smithy.InvalidParamsError{Context: "ProcessingInput"} 7179 if v.InputName == nil { 7180 invalidParams.Add(smithy.NewErrParamRequired("InputName")) 7181 } 7182 if v.S3Input != nil { 7183 if err := validateProcessingS3Input(v.S3Input); err != nil { 7184 invalidParams.AddNested("S3Input", err.(smithy.InvalidParamsError)) 7185 } 7186 } 7187 if v.DatasetDefinition != nil { 7188 if err := validateDatasetDefinition(v.DatasetDefinition); err != nil { 7189 invalidParams.AddNested("DatasetDefinition", err.(smithy.InvalidParamsError)) 7190 } 7191 } 7192 if invalidParams.Len() > 0 { 7193 return invalidParams 7194 } else { 7195 return nil 7196 } 7197} 7198 7199func validateProcessingInputs(v []types.ProcessingInput) error { 7200 if v == nil { 7201 return nil 7202 } 7203 invalidParams := smithy.InvalidParamsError{Context: "ProcessingInputs"} 7204 for i := range v { 7205 if err := validateProcessingInput(&v[i]); err != nil { 7206 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 7207 } 7208 } 7209 if invalidParams.Len() > 0 { 7210 return invalidParams 7211 } else { 7212 return nil 7213 } 7214} 7215 7216func validateProcessingOutput(v *types.ProcessingOutput) error { 7217 if v == nil { 7218 return nil 7219 } 7220 invalidParams := smithy.InvalidParamsError{Context: "ProcessingOutput"} 7221 if v.OutputName == nil { 7222 invalidParams.Add(smithy.NewErrParamRequired("OutputName")) 7223 } 7224 if v.S3Output != nil { 7225 if err := validateProcessingS3Output(v.S3Output); err != nil { 7226 invalidParams.AddNested("S3Output", err.(smithy.InvalidParamsError)) 7227 } 7228 } 7229 if v.FeatureStoreOutput != nil { 7230 if err := validateProcessingFeatureStoreOutput(v.FeatureStoreOutput); err != nil { 7231 invalidParams.AddNested("FeatureStoreOutput", err.(smithy.InvalidParamsError)) 7232 } 7233 } 7234 if invalidParams.Len() > 0 { 7235 return invalidParams 7236 } else { 7237 return nil 7238 } 7239} 7240 7241func validateProcessingOutputConfig(v *types.ProcessingOutputConfig) error { 7242 if v == nil { 7243 return nil 7244 } 7245 invalidParams := smithy.InvalidParamsError{Context: "ProcessingOutputConfig"} 7246 if v.Outputs == nil { 7247 invalidParams.Add(smithy.NewErrParamRequired("Outputs")) 7248 } else if v.Outputs != nil { 7249 if err := validateProcessingOutputs(v.Outputs); err != nil { 7250 invalidParams.AddNested("Outputs", err.(smithy.InvalidParamsError)) 7251 } 7252 } 7253 if invalidParams.Len() > 0 { 7254 return invalidParams 7255 } else { 7256 return nil 7257 } 7258} 7259 7260func validateProcessingOutputs(v []types.ProcessingOutput) error { 7261 if v == nil { 7262 return nil 7263 } 7264 invalidParams := smithy.InvalidParamsError{Context: "ProcessingOutputs"} 7265 for i := range v { 7266 if err := validateProcessingOutput(&v[i]); err != nil { 7267 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 7268 } 7269 } 7270 if invalidParams.Len() > 0 { 7271 return invalidParams 7272 } else { 7273 return nil 7274 } 7275} 7276 7277func validateProcessingResources(v *types.ProcessingResources) error { 7278 if v == nil { 7279 return nil 7280 } 7281 invalidParams := smithy.InvalidParamsError{Context: "ProcessingResources"} 7282 if v.ClusterConfig == nil { 7283 invalidParams.Add(smithy.NewErrParamRequired("ClusterConfig")) 7284 } else if v.ClusterConfig != nil { 7285 if err := validateProcessingClusterConfig(v.ClusterConfig); err != nil { 7286 invalidParams.AddNested("ClusterConfig", err.(smithy.InvalidParamsError)) 7287 } 7288 } 7289 if invalidParams.Len() > 0 { 7290 return invalidParams 7291 } else { 7292 return nil 7293 } 7294} 7295 7296func validateProcessingS3Input(v *types.ProcessingS3Input) error { 7297 if v == nil { 7298 return nil 7299 } 7300 invalidParams := smithy.InvalidParamsError{Context: "ProcessingS3Input"} 7301 if v.S3Uri == nil { 7302 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 7303 } 7304 if len(v.S3DataType) == 0 { 7305 invalidParams.Add(smithy.NewErrParamRequired("S3DataType")) 7306 } 7307 if invalidParams.Len() > 0 { 7308 return invalidParams 7309 } else { 7310 return nil 7311 } 7312} 7313 7314func validateProcessingS3Output(v *types.ProcessingS3Output) error { 7315 if v == nil { 7316 return nil 7317 } 7318 invalidParams := smithy.InvalidParamsError{Context: "ProcessingS3Output"} 7319 if v.S3Uri == nil { 7320 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 7321 } 7322 if v.LocalPath == nil { 7323 invalidParams.Add(smithy.NewErrParamRequired("LocalPath")) 7324 } 7325 if len(v.S3UploadMode) == 0 { 7326 invalidParams.Add(smithy.NewErrParamRequired("S3UploadMode")) 7327 } 7328 if invalidParams.Len() > 0 { 7329 return invalidParams 7330 } else { 7331 return nil 7332 } 7333} 7334 7335func validateProcessingStoppingCondition(v *types.ProcessingStoppingCondition) error { 7336 if v == nil { 7337 return nil 7338 } 7339 invalidParams := smithy.InvalidParamsError{Context: "ProcessingStoppingCondition"} 7340 if invalidParams.Len() > 0 { 7341 return invalidParams 7342 } else { 7343 return nil 7344 } 7345} 7346 7347func validateProductionVariant(v *types.ProductionVariant) error { 7348 if v == nil { 7349 return nil 7350 } 7351 invalidParams := smithy.InvalidParamsError{Context: "ProductionVariant"} 7352 if v.VariantName == nil { 7353 invalidParams.Add(smithy.NewErrParamRequired("VariantName")) 7354 } 7355 if v.ModelName == nil { 7356 invalidParams.Add(smithy.NewErrParamRequired("ModelName")) 7357 } 7358 if v.InitialInstanceCount == nil { 7359 invalidParams.Add(smithy.NewErrParamRequired("InitialInstanceCount")) 7360 } 7361 if len(v.InstanceType) == 0 { 7362 invalidParams.Add(smithy.NewErrParamRequired("InstanceType")) 7363 } 7364 if v.CoreDumpConfig != nil { 7365 if err := validateProductionVariantCoreDumpConfig(v.CoreDumpConfig); err != nil { 7366 invalidParams.AddNested("CoreDumpConfig", err.(smithy.InvalidParamsError)) 7367 } 7368 } 7369 if invalidParams.Len() > 0 { 7370 return invalidParams 7371 } else { 7372 return nil 7373 } 7374} 7375 7376func validateProductionVariantCoreDumpConfig(v *types.ProductionVariantCoreDumpConfig) error { 7377 if v == nil { 7378 return nil 7379 } 7380 invalidParams := smithy.InvalidParamsError{Context: "ProductionVariantCoreDumpConfig"} 7381 if v.DestinationS3Uri == nil { 7382 invalidParams.Add(smithy.NewErrParamRequired("DestinationS3Uri")) 7383 } 7384 if invalidParams.Len() > 0 { 7385 return invalidParams 7386 } else { 7387 return nil 7388 } 7389} 7390 7391func validateProductionVariantList(v []types.ProductionVariant) error { 7392 if v == nil { 7393 return nil 7394 } 7395 invalidParams := smithy.InvalidParamsError{Context: "ProductionVariantList"} 7396 for i := range v { 7397 if err := validateProductionVariant(&v[i]); err != nil { 7398 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 7399 } 7400 } 7401 if invalidParams.Len() > 0 { 7402 return invalidParams 7403 } else { 7404 return nil 7405 } 7406} 7407 7408func validateProfilerConfig(v *types.ProfilerConfig) error { 7409 if v == nil { 7410 return nil 7411 } 7412 invalidParams := smithy.InvalidParamsError{Context: "ProfilerConfig"} 7413 if v.S3OutputPath == nil { 7414 invalidParams.Add(smithy.NewErrParamRequired("S3OutputPath")) 7415 } 7416 if invalidParams.Len() > 0 { 7417 return invalidParams 7418 } else { 7419 return nil 7420 } 7421} 7422 7423func validateProfilerRuleConfiguration(v *types.ProfilerRuleConfiguration) error { 7424 if v == nil { 7425 return nil 7426 } 7427 invalidParams := smithy.InvalidParamsError{Context: "ProfilerRuleConfiguration"} 7428 if v.RuleConfigurationName == nil { 7429 invalidParams.Add(smithy.NewErrParamRequired("RuleConfigurationName")) 7430 } 7431 if v.RuleEvaluatorImage == nil { 7432 invalidParams.Add(smithy.NewErrParamRequired("RuleEvaluatorImage")) 7433 } 7434 if invalidParams.Len() > 0 { 7435 return invalidParams 7436 } else { 7437 return nil 7438 } 7439} 7440 7441func validateProfilerRuleConfigurations(v []types.ProfilerRuleConfiguration) error { 7442 if v == nil { 7443 return nil 7444 } 7445 invalidParams := smithy.InvalidParamsError{Context: "ProfilerRuleConfigurations"} 7446 for i := range v { 7447 if err := validateProfilerRuleConfiguration(&v[i]); err != nil { 7448 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 7449 } 7450 } 7451 if invalidParams.Len() > 0 { 7452 return invalidParams 7453 } else { 7454 return nil 7455 } 7456} 7457 7458func validatePropertyNameQuery(v *types.PropertyNameQuery) error { 7459 if v == nil { 7460 return nil 7461 } 7462 invalidParams := smithy.InvalidParamsError{Context: "PropertyNameQuery"} 7463 if v.PropertyNameHint == nil { 7464 invalidParams.Add(smithy.NewErrParamRequired("PropertyNameHint")) 7465 } 7466 if invalidParams.Len() > 0 { 7467 return invalidParams 7468 } else { 7469 return nil 7470 } 7471} 7472 7473func validateRedshiftDatasetDefinition(v *types.RedshiftDatasetDefinition) error { 7474 if v == nil { 7475 return nil 7476 } 7477 invalidParams := smithy.InvalidParamsError{Context: "RedshiftDatasetDefinition"} 7478 if v.ClusterId == nil { 7479 invalidParams.Add(smithy.NewErrParamRequired("ClusterId")) 7480 } 7481 if v.Database == nil { 7482 invalidParams.Add(smithy.NewErrParamRequired("Database")) 7483 } 7484 if v.DbUser == nil { 7485 invalidParams.Add(smithy.NewErrParamRequired("DbUser")) 7486 } 7487 if v.QueryString == nil { 7488 invalidParams.Add(smithy.NewErrParamRequired("QueryString")) 7489 } 7490 if v.ClusterRoleArn == nil { 7491 invalidParams.Add(smithy.NewErrParamRequired("ClusterRoleArn")) 7492 } 7493 if v.OutputS3Uri == nil { 7494 invalidParams.Add(smithy.NewErrParamRequired("OutputS3Uri")) 7495 } 7496 if len(v.OutputFormat) == 0 { 7497 invalidParams.Add(smithy.NewErrParamRequired("OutputFormat")) 7498 } 7499 if invalidParams.Len() > 0 { 7500 return invalidParams 7501 } else { 7502 return nil 7503 } 7504} 7505 7506func validateRenderableTask(v *types.RenderableTask) error { 7507 if v == nil { 7508 return nil 7509 } 7510 invalidParams := smithy.InvalidParamsError{Context: "RenderableTask"} 7511 if v.Input == nil { 7512 invalidParams.Add(smithy.NewErrParamRequired("Input")) 7513 } 7514 if invalidParams.Len() > 0 { 7515 return invalidParams 7516 } else { 7517 return nil 7518 } 7519} 7520 7521func validateRepositoryAuthConfig(v *types.RepositoryAuthConfig) error { 7522 if v == nil { 7523 return nil 7524 } 7525 invalidParams := smithy.InvalidParamsError{Context: "RepositoryAuthConfig"} 7526 if v.RepositoryCredentialsProviderArn == nil { 7527 invalidParams.Add(smithy.NewErrParamRequired("RepositoryCredentialsProviderArn")) 7528 } 7529 if invalidParams.Len() > 0 { 7530 return invalidParams 7531 } else { 7532 return nil 7533 } 7534} 7535 7536func validateResourceConfig(v *types.ResourceConfig) error { 7537 if v == nil { 7538 return nil 7539 } 7540 invalidParams := smithy.InvalidParamsError{Context: "ResourceConfig"} 7541 if len(v.InstanceType) == 0 { 7542 invalidParams.Add(smithy.NewErrParamRequired("InstanceType")) 7543 } 7544 if invalidParams.Len() > 0 { 7545 return invalidParams 7546 } else { 7547 return nil 7548 } 7549} 7550 7551func validateResourceLimits(v *types.ResourceLimits) error { 7552 if v == nil { 7553 return nil 7554 } 7555 invalidParams := smithy.InvalidParamsError{Context: "ResourceLimits"} 7556 if invalidParams.Len() > 0 { 7557 return invalidParams 7558 } else { 7559 return nil 7560 } 7561} 7562 7563func validateS3DataSource(v *types.S3DataSource) error { 7564 if v == nil { 7565 return nil 7566 } 7567 invalidParams := smithy.InvalidParamsError{Context: "S3DataSource"} 7568 if len(v.S3DataType) == 0 { 7569 invalidParams.Add(smithy.NewErrParamRequired("S3DataType")) 7570 } 7571 if v.S3Uri == nil { 7572 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 7573 } 7574 if invalidParams.Len() > 0 { 7575 return invalidParams 7576 } else { 7577 return nil 7578 } 7579} 7580 7581func validateS3StorageConfig(v *types.S3StorageConfig) error { 7582 if v == nil { 7583 return nil 7584 } 7585 invalidParams := smithy.InvalidParamsError{Context: "S3StorageConfig"} 7586 if v.S3Uri == nil { 7587 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 7588 } 7589 if invalidParams.Len() > 0 { 7590 return invalidParams 7591 } else { 7592 return nil 7593 } 7594} 7595 7596func validateScheduleConfig(v *types.ScheduleConfig) error { 7597 if v == nil { 7598 return nil 7599 } 7600 invalidParams := smithy.InvalidParamsError{Context: "ScheduleConfig"} 7601 if v.ScheduleExpression == nil { 7602 invalidParams.Add(smithy.NewErrParamRequired("ScheduleExpression")) 7603 } 7604 if invalidParams.Len() > 0 { 7605 return invalidParams 7606 } else { 7607 return nil 7608 } 7609} 7610 7611func validateSearchExpression(v *types.SearchExpression) error { 7612 if v == nil { 7613 return nil 7614 } 7615 invalidParams := smithy.InvalidParamsError{Context: "SearchExpression"} 7616 if v.Filters != nil { 7617 if err := validateFilterList(v.Filters); err != nil { 7618 invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError)) 7619 } 7620 } 7621 if v.NestedFilters != nil { 7622 if err := validateNestedFiltersList(v.NestedFilters); err != nil { 7623 invalidParams.AddNested("NestedFilters", err.(smithy.InvalidParamsError)) 7624 } 7625 } 7626 if v.SubExpressions != nil { 7627 if err := validateSearchExpressionList(v.SubExpressions); err != nil { 7628 invalidParams.AddNested("SubExpressions", err.(smithy.InvalidParamsError)) 7629 } 7630 } 7631 if invalidParams.Len() > 0 { 7632 return invalidParams 7633 } else { 7634 return nil 7635 } 7636} 7637 7638func validateSearchExpressionList(v []types.SearchExpression) error { 7639 if v == nil { 7640 return nil 7641 } 7642 invalidParams := smithy.InvalidParamsError{Context: "SearchExpressionList"} 7643 for i := range v { 7644 if err := validateSearchExpression(&v[i]); err != nil { 7645 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 7646 } 7647 } 7648 if invalidParams.Len() > 0 { 7649 return invalidParams 7650 } else { 7651 return nil 7652 } 7653} 7654 7655func validateServiceCatalogProvisioningDetails(v *types.ServiceCatalogProvisioningDetails) error { 7656 if v == nil { 7657 return nil 7658 } 7659 invalidParams := smithy.InvalidParamsError{Context: "ServiceCatalogProvisioningDetails"} 7660 if v.ProductId == nil { 7661 invalidParams.Add(smithy.NewErrParamRequired("ProductId")) 7662 } 7663 if v.ProvisioningArtifactId == nil { 7664 invalidParams.Add(smithy.NewErrParamRequired("ProvisioningArtifactId")) 7665 } 7666 if invalidParams.Len() > 0 { 7667 return invalidParams 7668 } else { 7669 return nil 7670 } 7671} 7672 7673func validateShuffleConfig(v *types.ShuffleConfig) error { 7674 if v == nil { 7675 return nil 7676 } 7677 invalidParams := smithy.InvalidParamsError{Context: "ShuffleConfig"} 7678 if invalidParams.Len() > 0 { 7679 return invalidParams 7680 } else { 7681 return nil 7682 } 7683} 7684 7685func validateSourceAlgorithm(v *types.SourceAlgorithm) error { 7686 if v == nil { 7687 return nil 7688 } 7689 invalidParams := smithy.InvalidParamsError{Context: "SourceAlgorithm"} 7690 if v.AlgorithmName == nil { 7691 invalidParams.Add(smithy.NewErrParamRequired("AlgorithmName")) 7692 } 7693 if invalidParams.Len() > 0 { 7694 return invalidParams 7695 } else { 7696 return nil 7697 } 7698} 7699 7700func validateSourceAlgorithmList(v []types.SourceAlgorithm) error { 7701 if v == nil { 7702 return nil 7703 } 7704 invalidParams := smithy.InvalidParamsError{Context: "SourceAlgorithmList"} 7705 for i := range v { 7706 if err := validateSourceAlgorithm(&v[i]); err != nil { 7707 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 7708 } 7709 } 7710 if invalidParams.Len() > 0 { 7711 return invalidParams 7712 } else { 7713 return nil 7714 } 7715} 7716 7717func validateSourceAlgorithmSpecification(v *types.SourceAlgorithmSpecification) error { 7718 if v == nil { 7719 return nil 7720 } 7721 invalidParams := smithy.InvalidParamsError{Context: "SourceAlgorithmSpecification"} 7722 if v.SourceAlgorithms == nil { 7723 invalidParams.Add(smithy.NewErrParamRequired("SourceAlgorithms")) 7724 } else if v.SourceAlgorithms != nil { 7725 if err := validateSourceAlgorithmList(v.SourceAlgorithms); err != nil { 7726 invalidParams.AddNested("SourceAlgorithms", err.(smithy.InvalidParamsError)) 7727 } 7728 } 7729 if invalidParams.Len() > 0 { 7730 return invalidParams 7731 } else { 7732 return nil 7733 } 7734} 7735 7736func validateSourceIpConfig(v *types.SourceIpConfig) error { 7737 if v == nil { 7738 return nil 7739 } 7740 invalidParams := smithy.InvalidParamsError{Context: "SourceIpConfig"} 7741 if v.Cidrs == nil { 7742 invalidParams.Add(smithy.NewErrParamRequired("Cidrs")) 7743 } 7744 if invalidParams.Len() > 0 { 7745 return invalidParams 7746 } else { 7747 return nil 7748 } 7749} 7750 7751func validateSuggestionQuery(v *types.SuggestionQuery) error { 7752 if v == nil { 7753 return nil 7754 } 7755 invalidParams := smithy.InvalidParamsError{Context: "SuggestionQuery"} 7756 if v.PropertyNameQuery != nil { 7757 if err := validatePropertyNameQuery(v.PropertyNameQuery); err != nil { 7758 invalidParams.AddNested("PropertyNameQuery", err.(smithy.InvalidParamsError)) 7759 } 7760 } 7761 if invalidParams.Len() > 0 { 7762 return invalidParams 7763 } else { 7764 return nil 7765 } 7766} 7767 7768func validateTag(v *types.Tag) error { 7769 if v == nil { 7770 return nil 7771 } 7772 invalidParams := smithy.InvalidParamsError{Context: "Tag"} 7773 if v.Key == nil { 7774 invalidParams.Add(smithy.NewErrParamRequired("Key")) 7775 } 7776 if v.Value == nil { 7777 invalidParams.Add(smithy.NewErrParamRequired("Value")) 7778 } 7779 if invalidParams.Len() > 0 { 7780 return invalidParams 7781 } else { 7782 return nil 7783 } 7784} 7785 7786func validateTagList(v []types.Tag) error { 7787 if v == nil { 7788 return nil 7789 } 7790 invalidParams := smithy.InvalidParamsError{Context: "TagList"} 7791 for i := range v { 7792 if err := validateTag(&v[i]); err != nil { 7793 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 7794 } 7795 } 7796 if invalidParams.Len() > 0 { 7797 return invalidParams 7798 } else { 7799 return nil 7800 } 7801} 7802 7803func validateTargetPlatform(v *types.TargetPlatform) error { 7804 if v == nil { 7805 return nil 7806 } 7807 invalidParams := smithy.InvalidParamsError{Context: "TargetPlatform"} 7808 if len(v.Os) == 0 { 7809 invalidParams.Add(smithy.NewErrParamRequired("Os")) 7810 } 7811 if len(v.Arch) == 0 { 7812 invalidParams.Add(smithy.NewErrParamRequired("Arch")) 7813 } 7814 if invalidParams.Len() > 0 { 7815 return invalidParams 7816 } else { 7817 return nil 7818 } 7819} 7820 7821func validateTensorBoardOutputConfig(v *types.TensorBoardOutputConfig) error { 7822 if v == nil { 7823 return nil 7824 } 7825 invalidParams := smithy.InvalidParamsError{Context: "TensorBoardOutputConfig"} 7826 if v.S3OutputPath == nil { 7827 invalidParams.Add(smithy.NewErrParamRequired("S3OutputPath")) 7828 } 7829 if invalidParams.Len() > 0 { 7830 return invalidParams 7831 } else { 7832 return nil 7833 } 7834} 7835 7836func validateTrafficRoutingConfig(v *types.TrafficRoutingConfig) error { 7837 if v == nil { 7838 return nil 7839 } 7840 invalidParams := smithy.InvalidParamsError{Context: "TrafficRoutingConfig"} 7841 if len(v.Type) == 0 { 7842 invalidParams.Add(smithy.NewErrParamRequired("Type")) 7843 } 7844 if v.WaitIntervalInSeconds == nil { 7845 invalidParams.Add(smithy.NewErrParamRequired("WaitIntervalInSeconds")) 7846 } 7847 if v.CanarySize != nil { 7848 if err := validateCapacitySize(v.CanarySize); err != nil { 7849 invalidParams.AddNested("CanarySize", err.(smithy.InvalidParamsError)) 7850 } 7851 } 7852 if invalidParams.Len() > 0 { 7853 return invalidParams 7854 } else { 7855 return nil 7856 } 7857} 7858 7859func validateTrainingJobDefinition(v *types.TrainingJobDefinition) error { 7860 if v == nil { 7861 return nil 7862 } 7863 invalidParams := smithy.InvalidParamsError{Context: "TrainingJobDefinition"} 7864 if len(v.TrainingInputMode) == 0 { 7865 invalidParams.Add(smithy.NewErrParamRequired("TrainingInputMode")) 7866 } 7867 if v.InputDataConfig == nil { 7868 invalidParams.Add(smithy.NewErrParamRequired("InputDataConfig")) 7869 } else if v.InputDataConfig != nil { 7870 if err := validateInputDataConfig(v.InputDataConfig); err != nil { 7871 invalidParams.AddNested("InputDataConfig", err.(smithy.InvalidParamsError)) 7872 } 7873 } 7874 if v.OutputDataConfig == nil { 7875 invalidParams.Add(smithy.NewErrParamRequired("OutputDataConfig")) 7876 } else if v.OutputDataConfig != nil { 7877 if err := validateOutputDataConfig(v.OutputDataConfig); err != nil { 7878 invalidParams.AddNested("OutputDataConfig", err.(smithy.InvalidParamsError)) 7879 } 7880 } 7881 if v.ResourceConfig == nil { 7882 invalidParams.Add(smithy.NewErrParamRequired("ResourceConfig")) 7883 } else if v.ResourceConfig != nil { 7884 if err := validateResourceConfig(v.ResourceConfig); err != nil { 7885 invalidParams.AddNested("ResourceConfig", err.(smithy.InvalidParamsError)) 7886 } 7887 } 7888 if v.StoppingCondition == nil { 7889 invalidParams.Add(smithy.NewErrParamRequired("StoppingCondition")) 7890 } 7891 if invalidParams.Len() > 0 { 7892 return invalidParams 7893 } else { 7894 return nil 7895 } 7896} 7897 7898func validateTrainingSpecification(v *types.TrainingSpecification) error { 7899 if v == nil { 7900 return nil 7901 } 7902 invalidParams := smithy.InvalidParamsError{Context: "TrainingSpecification"} 7903 if v.TrainingImage == nil { 7904 invalidParams.Add(smithy.NewErrParamRequired("TrainingImage")) 7905 } 7906 if v.SupportedHyperParameters != nil { 7907 if err := validateHyperParameterSpecifications(v.SupportedHyperParameters); err != nil { 7908 invalidParams.AddNested("SupportedHyperParameters", err.(smithy.InvalidParamsError)) 7909 } 7910 } 7911 if v.SupportedTrainingInstanceTypes == nil { 7912 invalidParams.Add(smithy.NewErrParamRequired("SupportedTrainingInstanceTypes")) 7913 } 7914 if v.MetricDefinitions != nil { 7915 if err := validateMetricDefinitionList(v.MetricDefinitions); err != nil { 7916 invalidParams.AddNested("MetricDefinitions", err.(smithy.InvalidParamsError)) 7917 } 7918 } 7919 if v.TrainingChannels == nil { 7920 invalidParams.Add(smithy.NewErrParamRequired("TrainingChannels")) 7921 } else if v.TrainingChannels != nil { 7922 if err := validateChannelSpecifications(v.TrainingChannels); err != nil { 7923 invalidParams.AddNested("TrainingChannels", err.(smithy.InvalidParamsError)) 7924 } 7925 } 7926 if v.SupportedTuningJobObjectiveMetrics != nil { 7927 if err := validateHyperParameterTuningJobObjectives(v.SupportedTuningJobObjectiveMetrics); err != nil { 7928 invalidParams.AddNested("SupportedTuningJobObjectiveMetrics", err.(smithy.InvalidParamsError)) 7929 } 7930 } 7931 if invalidParams.Len() > 0 { 7932 return invalidParams 7933 } else { 7934 return nil 7935 } 7936} 7937 7938func validateTransformDataSource(v *types.TransformDataSource) error { 7939 if v == nil { 7940 return nil 7941 } 7942 invalidParams := smithy.InvalidParamsError{Context: "TransformDataSource"} 7943 if v.S3DataSource == nil { 7944 invalidParams.Add(smithy.NewErrParamRequired("S3DataSource")) 7945 } else if v.S3DataSource != nil { 7946 if err := validateTransformS3DataSource(v.S3DataSource); err != nil { 7947 invalidParams.AddNested("S3DataSource", err.(smithy.InvalidParamsError)) 7948 } 7949 } 7950 if invalidParams.Len() > 0 { 7951 return invalidParams 7952 } else { 7953 return nil 7954 } 7955} 7956 7957func validateTransformInput(v *types.TransformInput) error { 7958 if v == nil { 7959 return nil 7960 } 7961 invalidParams := smithy.InvalidParamsError{Context: "TransformInput"} 7962 if v.DataSource == nil { 7963 invalidParams.Add(smithy.NewErrParamRequired("DataSource")) 7964 } else if v.DataSource != nil { 7965 if err := validateTransformDataSource(v.DataSource); err != nil { 7966 invalidParams.AddNested("DataSource", err.(smithy.InvalidParamsError)) 7967 } 7968 } 7969 if invalidParams.Len() > 0 { 7970 return invalidParams 7971 } else { 7972 return nil 7973 } 7974} 7975 7976func validateTransformJobDefinition(v *types.TransformJobDefinition) error { 7977 if v == nil { 7978 return nil 7979 } 7980 invalidParams := smithy.InvalidParamsError{Context: "TransformJobDefinition"} 7981 if v.TransformInput == nil { 7982 invalidParams.Add(smithy.NewErrParamRequired("TransformInput")) 7983 } else if v.TransformInput != nil { 7984 if err := validateTransformInput(v.TransformInput); err != nil { 7985 invalidParams.AddNested("TransformInput", err.(smithy.InvalidParamsError)) 7986 } 7987 } 7988 if v.TransformOutput == nil { 7989 invalidParams.Add(smithy.NewErrParamRequired("TransformOutput")) 7990 } else if v.TransformOutput != nil { 7991 if err := validateTransformOutput(v.TransformOutput); err != nil { 7992 invalidParams.AddNested("TransformOutput", err.(smithy.InvalidParamsError)) 7993 } 7994 } 7995 if v.TransformResources == nil { 7996 invalidParams.Add(smithy.NewErrParamRequired("TransformResources")) 7997 } else if v.TransformResources != nil { 7998 if err := validateTransformResources(v.TransformResources); err != nil { 7999 invalidParams.AddNested("TransformResources", err.(smithy.InvalidParamsError)) 8000 } 8001 } 8002 if invalidParams.Len() > 0 { 8003 return invalidParams 8004 } else { 8005 return nil 8006 } 8007} 8008 8009func validateTransformOutput(v *types.TransformOutput) error { 8010 if v == nil { 8011 return nil 8012 } 8013 invalidParams := smithy.InvalidParamsError{Context: "TransformOutput"} 8014 if v.S3OutputPath == nil { 8015 invalidParams.Add(smithy.NewErrParamRequired("S3OutputPath")) 8016 } 8017 if invalidParams.Len() > 0 { 8018 return invalidParams 8019 } else { 8020 return nil 8021 } 8022} 8023 8024func validateTransformResources(v *types.TransformResources) error { 8025 if v == nil { 8026 return nil 8027 } 8028 invalidParams := smithy.InvalidParamsError{Context: "TransformResources"} 8029 if len(v.InstanceType) == 0 { 8030 invalidParams.Add(smithy.NewErrParamRequired("InstanceType")) 8031 } 8032 if v.InstanceCount == nil { 8033 invalidParams.Add(smithy.NewErrParamRequired("InstanceCount")) 8034 } 8035 if invalidParams.Len() > 0 { 8036 return invalidParams 8037 } else { 8038 return nil 8039 } 8040} 8041 8042func validateTransformS3DataSource(v *types.TransformS3DataSource) error { 8043 if v == nil { 8044 return nil 8045 } 8046 invalidParams := smithy.InvalidParamsError{Context: "TransformS3DataSource"} 8047 if len(v.S3DataType) == 0 { 8048 invalidParams.Add(smithy.NewErrParamRequired("S3DataType")) 8049 } 8050 if v.S3Uri == nil { 8051 invalidParams.Add(smithy.NewErrParamRequired("S3Uri")) 8052 } 8053 if invalidParams.Len() > 0 { 8054 return invalidParams 8055 } else { 8056 return nil 8057 } 8058} 8059 8060func validateTrialComponentArtifact(v *types.TrialComponentArtifact) error { 8061 if v == nil { 8062 return nil 8063 } 8064 invalidParams := smithy.InvalidParamsError{Context: "TrialComponentArtifact"} 8065 if v.Value == nil { 8066 invalidParams.Add(smithy.NewErrParamRequired("Value")) 8067 } 8068 if invalidParams.Len() > 0 { 8069 return invalidParams 8070 } else { 8071 return nil 8072 } 8073} 8074 8075func validateTrialComponentArtifacts(v map[string]types.TrialComponentArtifact) error { 8076 if v == nil { 8077 return nil 8078 } 8079 invalidParams := smithy.InvalidParamsError{Context: "TrialComponentArtifacts"} 8080 for key := range v { 8081 value := v[key] 8082 if err := validateTrialComponentArtifact(&value); err != nil { 8083 invalidParams.AddNested(fmt.Sprintf("[%q]", key), err.(smithy.InvalidParamsError)) 8084 } 8085 } 8086 if invalidParams.Len() > 0 { 8087 return invalidParams 8088 } else { 8089 return nil 8090 } 8091} 8092 8093func validateTuningJobCompletionCriteria(v *types.TuningJobCompletionCriteria) error { 8094 if v == nil { 8095 return nil 8096 } 8097 invalidParams := smithy.InvalidParamsError{Context: "TuningJobCompletionCriteria"} 8098 if v.TargetObjectiveMetricValue == nil { 8099 invalidParams.Add(smithy.NewErrParamRequired("TargetObjectiveMetricValue")) 8100 } 8101 if invalidParams.Len() > 0 { 8102 return invalidParams 8103 } else { 8104 return nil 8105 } 8106} 8107 8108func validateUiTemplate(v *types.UiTemplate) error { 8109 if v == nil { 8110 return nil 8111 } 8112 invalidParams := smithy.InvalidParamsError{Context: "UiTemplate"} 8113 if v.Content == nil { 8114 invalidParams.Add(smithy.NewErrParamRequired("Content")) 8115 } 8116 if invalidParams.Len() > 0 { 8117 return invalidParams 8118 } else { 8119 return nil 8120 } 8121} 8122 8123func validateUserSettings(v *types.UserSettings) error { 8124 if v == nil { 8125 return nil 8126 } 8127 invalidParams := smithy.InvalidParamsError{Context: "UserSettings"} 8128 if v.KernelGatewayAppSettings != nil { 8129 if err := validateKernelGatewayAppSettings(v.KernelGatewayAppSettings); err != nil { 8130 invalidParams.AddNested("KernelGatewayAppSettings", err.(smithy.InvalidParamsError)) 8131 } 8132 } 8133 if invalidParams.Len() > 0 { 8134 return invalidParams 8135 } else { 8136 return nil 8137 } 8138} 8139 8140func validateVariantProperty(v *types.VariantProperty) error { 8141 if v == nil { 8142 return nil 8143 } 8144 invalidParams := smithy.InvalidParamsError{Context: "VariantProperty"} 8145 if len(v.VariantPropertyType) == 0 { 8146 invalidParams.Add(smithy.NewErrParamRequired("VariantPropertyType")) 8147 } 8148 if invalidParams.Len() > 0 { 8149 return invalidParams 8150 } else { 8151 return nil 8152 } 8153} 8154 8155func validateVariantPropertyList(v []types.VariantProperty) error { 8156 if v == nil { 8157 return nil 8158 } 8159 invalidParams := smithy.InvalidParamsError{Context: "VariantPropertyList"} 8160 for i := range v { 8161 if err := validateVariantProperty(&v[i]); err != nil { 8162 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 8163 } 8164 } 8165 if invalidParams.Len() > 0 { 8166 return invalidParams 8167 } else { 8168 return nil 8169 } 8170} 8171 8172func validateVpcConfig(v *types.VpcConfig) error { 8173 if v == nil { 8174 return nil 8175 } 8176 invalidParams := smithy.InvalidParamsError{Context: "VpcConfig"} 8177 if v.SecurityGroupIds == nil { 8178 invalidParams.Add(smithy.NewErrParamRequired("SecurityGroupIds")) 8179 } 8180 if v.Subnets == nil { 8181 invalidParams.Add(smithy.NewErrParamRequired("Subnets")) 8182 } 8183 if invalidParams.Len() > 0 { 8184 return invalidParams 8185 } else { 8186 return nil 8187 } 8188} 8189 8190func validateOpAddAssociationInput(v *AddAssociationInput) error { 8191 if v == nil { 8192 return nil 8193 } 8194 invalidParams := smithy.InvalidParamsError{Context: "AddAssociationInput"} 8195 if v.SourceArn == nil { 8196 invalidParams.Add(smithy.NewErrParamRequired("SourceArn")) 8197 } 8198 if v.DestinationArn == nil { 8199 invalidParams.Add(smithy.NewErrParamRequired("DestinationArn")) 8200 } 8201 if invalidParams.Len() > 0 { 8202 return invalidParams 8203 } else { 8204 return nil 8205 } 8206} 8207 8208func validateOpAddTagsInput(v *AddTagsInput) error { 8209 if v == nil { 8210 return nil 8211 } 8212 invalidParams := smithy.InvalidParamsError{Context: "AddTagsInput"} 8213 if v.ResourceArn == nil { 8214 invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) 8215 } 8216 if v.Tags == nil { 8217 invalidParams.Add(smithy.NewErrParamRequired("Tags")) 8218 } else if v.Tags != nil { 8219 if err := validateTagList(v.Tags); err != nil { 8220 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8221 } 8222 } 8223 if invalidParams.Len() > 0 { 8224 return invalidParams 8225 } else { 8226 return nil 8227 } 8228} 8229 8230func validateOpAssociateTrialComponentInput(v *AssociateTrialComponentInput) error { 8231 if v == nil { 8232 return nil 8233 } 8234 invalidParams := smithy.InvalidParamsError{Context: "AssociateTrialComponentInput"} 8235 if v.TrialComponentName == nil { 8236 invalidParams.Add(smithy.NewErrParamRequired("TrialComponentName")) 8237 } 8238 if v.TrialName == nil { 8239 invalidParams.Add(smithy.NewErrParamRequired("TrialName")) 8240 } 8241 if invalidParams.Len() > 0 { 8242 return invalidParams 8243 } else { 8244 return nil 8245 } 8246} 8247 8248func validateOpCreateActionInput(v *CreateActionInput) error { 8249 if v == nil { 8250 return nil 8251 } 8252 invalidParams := smithy.InvalidParamsError{Context: "CreateActionInput"} 8253 if v.ActionName == nil { 8254 invalidParams.Add(smithy.NewErrParamRequired("ActionName")) 8255 } 8256 if v.Source == nil { 8257 invalidParams.Add(smithy.NewErrParamRequired("Source")) 8258 } else if v.Source != nil { 8259 if err := validateActionSource(v.Source); err != nil { 8260 invalidParams.AddNested("Source", err.(smithy.InvalidParamsError)) 8261 } 8262 } 8263 if v.ActionType == nil { 8264 invalidParams.Add(smithy.NewErrParamRequired("ActionType")) 8265 } 8266 if v.Tags != nil { 8267 if err := validateTagList(v.Tags); err != nil { 8268 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8269 } 8270 } 8271 if invalidParams.Len() > 0 { 8272 return invalidParams 8273 } else { 8274 return nil 8275 } 8276} 8277 8278func validateOpCreateAlgorithmInput(v *CreateAlgorithmInput) error { 8279 if v == nil { 8280 return nil 8281 } 8282 invalidParams := smithy.InvalidParamsError{Context: "CreateAlgorithmInput"} 8283 if v.AlgorithmName == nil { 8284 invalidParams.Add(smithy.NewErrParamRequired("AlgorithmName")) 8285 } 8286 if v.TrainingSpecification == nil { 8287 invalidParams.Add(smithy.NewErrParamRequired("TrainingSpecification")) 8288 } else if v.TrainingSpecification != nil { 8289 if err := validateTrainingSpecification(v.TrainingSpecification); err != nil { 8290 invalidParams.AddNested("TrainingSpecification", err.(smithy.InvalidParamsError)) 8291 } 8292 } 8293 if v.InferenceSpecification != nil { 8294 if err := validateInferenceSpecification(v.InferenceSpecification); err != nil { 8295 invalidParams.AddNested("InferenceSpecification", err.(smithy.InvalidParamsError)) 8296 } 8297 } 8298 if v.ValidationSpecification != nil { 8299 if err := validateAlgorithmValidationSpecification(v.ValidationSpecification); err != nil { 8300 invalidParams.AddNested("ValidationSpecification", err.(smithy.InvalidParamsError)) 8301 } 8302 } 8303 if v.Tags != nil { 8304 if err := validateTagList(v.Tags); err != nil { 8305 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8306 } 8307 } 8308 if invalidParams.Len() > 0 { 8309 return invalidParams 8310 } else { 8311 return nil 8312 } 8313} 8314 8315func validateOpCreateAppImageConfigInput(v *CreateAppImageConfigInput) error { 8316 if v == nil { 8317 return nil 8318 } 8319 invalidParams := smithy.InvalidParamsError{Context: "CreateAppImageConfigInput"} 8320 if v.AppImageConfigName == nil { 8321 invalidParams.Add(smithy.NewErrParamRequired("AppImageConfigName")) 8322 } 8323 if v.Tags != nil { 8324 if err := validateTagList(v.Tags); err != nil { 8325 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8326 } 8327 } 8328 if v.KernelGatewayImageConfig != nil { 8329 if err := validateKernelGatewayImageConfig(v.KernelGatewayImageConfig); err != nil { 8330 invalidParams.AddNested("KernelGatewayImageConfig", err.(smithy.InvalidParamsError)) 8331 } 8332 } 8333 if invalidParams.Len() > 0 { 8334 return invalidParams 8335 } else { 8336 return nil 8337 } 8338} 8339 8340func validateOpCreateAppInput(v *CreateAppInput) error { 8341 if v == nil { 8342 return nil 8343 } 8344 invalidParams := smithy.InvalidParamsError{Context: "CreateAppInput"} 8345 if v.DomainId == nil { 8346 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 8347 } 8348 if v.UserProfileName == nil { 8349 invalidParams.Add(smithy.NewErrParamRequired("UserProfileName")) 8350 } 8351 if len(v.AppType) == 0 { 8352 invalidParams.Add(smithy.NewErrParamRequired("AppType")) 8353 } 8354 if v.AppName == nil { 8355 invalidParams.Add(smithy.NewErrParamRequired("AppName")) 8356 } 8357 if v.Tags != nil { 8358 if err := validateTagList(v.Tags); err != nil { 8359 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8360 } 8361 } 8362 if invalidParams.Len() > 0 { 8363 return invalidParams 8364 } else { 8365 return nil 8366 } 8367} 8368 8369func validateOpCreateArtifactInput(v *CreateArtifactInput) error { 8370 if v == nil { 8371 return nil 8372 } 8373 invalidParams := smithy.InvalidParamsError{Context: "CreateArtifactInput"} 8374 if v.Source == nil { 8375 invalidParams.Add(smithy.NewErrParamRequired("Source")) 8376 } else if v.Source != nil { 8377 if err := validateArtifactSource(v.Source); err != nil { 8378 invalidParams.AddNested("Source", err.(smithy.InvalidParamsError)) 8379 } 8380 } 8381 if v.ArtifactType == nil { 8382 invalidParams.Add(smithy.NewErrParamRequired("ArtifactType")) 8383 } 8384 if v.Tags != nil { 8385 if err := validateTagList(v.Tags); err != nil { 8386 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8387 } 8388 } 8389 if invalidParams.Len() > 0 { 8390 return invalidParams 8391 } else { 8392 return nil 8393 } 8394} 8395 8396func validateOpCreateAutoMLJobInput(v *CreateAutoMLJobInput) error { 8397 if v == nil { 8398 return nil 8399 } 8400 invalidParams := smithy.InvalidParamsError{Context: "CreateAutoMLJobInput"} 8401 if v.AutoMLJobName == nil { 8402 invalidParams.Add(smithy.NewErrParamRequired("AutoMLJobName")) 8403 } 8404 if v.InputDataConfig == nil { 8405 invalidParams.Add(smithy.NewErrParamRequired("InputDataConfig")) 8406 } else if v.InputDataConfig != nil { 8407 if err := validateAutoMLInputDataConfig(v.InputDataConfig); err != nil { 8408 invalidParams.AddNested("InputDataConfig", err.(smithy.InvalidParamsError)) 8409 } 8410 } 8411 if v.OutputDataConfig == nil { 8412 invalidParams.Add(smithy.NewErrParamRequired("OutputDataConfig")) 8413 } else if v.OutputDataConfig != nil { 8414 if err := validateAutoMLOutputDataConfig(v.OutputDataConfig); err != nil { 8415 invalidParams.AddNested("OutputDataConfig", err.(smithy.InvalidParamsError)) 8416 } 8417 } 8418 if v.AutoMLJobObjective != nil { 8419 if err := validateAutoMLJobObjective(v.AutoMLJobObjective); err != nil { 8420 invalidParams.AddNested("AutoMLJobObjective", err.(smithy.InvalidParamsError)) 8421 } 8422 } 8423 if v.AutoMLJobConfig != nil { 8424 if err := validateAutoMLJobConfig(v.AutoMLJobConfig); err != nil { 8425 invalidParams.AddNested("AutoMLJobConfig", err.(smithy.InvalidParamsError)) 8426 } 8427 } 8428 if v.RoleArn == nil { 8429 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 8430 } 8431 if v.Tags != nil { 8432 if err := validateTagList(v.Tags); err != nil { 8433 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8434 } 8435 } 8436 if invalidParams.Len() > 0 { 8437 return invalidParams 8438 } else { 8439 return nil 8440 } 8441} 8442 8443func validateOpCreateCodeRepositoryInput(v *CreateCodeRepositoryInput) error { 8444 if v == nil { 8445 return nil 8446 } 8447 invalidParams := smithy.InvalidParamsError{Context: "CreateCodeRepositoryInput"} 8448 if v.CodeRepositoryName == nil { 8449 invalidParams.Add(smithy.NewErrParamRequired("CodeRepositoryName")) 8450 } 8451 if v.GitConfig == nil { 8452 invalidParams.Add(smithy.NewErrParamRequired("GitConfig")) 8453 } else if v.GitConfig != nil { 8454 if err := validateGitConfig(v.GitConfig); err != nil { 8455 invalidParams.AddNested("GitConfig", err.(smithy.InvalidParamsError)) 8456 } 8457 } 8458 if v.Tags != nil { 8459 if err := validateTagList(v.Tags); err != nil { 8460 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8461 } 8462 } 8463 if invalidParams.Len() > 0 { 8464 return invalidParams 8465 } else { 8466 return nil 8467 } 8468} 8469 8470func validateOpCreateCompilationJobInput(v *CreateCompilationJobInput) error { 8471 if v == nil { 8472 return nil 8473 } 8474 invalidParams := smithy.InvalidParamsError{Context: "CreateCompilationJobInput"} 8475 if v.CompilationJobName == nil { 8476 invalidParams.Add(smithy.NewErrParamRequired("CompilationJobName")) 8477 } 8478 if v.RoleArn == nil { 8479 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 8480 } 8481 if v.InputConfig == nil { 8482 invalidParams.Add(smithy.NewErrParamRequired("InputConfig")) 8483 } else if v.InputConfig != nil { 8484 if err := validateInputConfig(v.InputConfig); err != nil { 8485 invalidParams.AddNested("InputConfig", err.(smithy.InvalidParamsError)) 8486 } 8487 } 8488 if v.OutputConfig == nil { 8489 invalidParams.Add(smithy.NewErrParamRequired("OutputConfig")) 8490 } else if v.OutputConfig != nil { 8491 if err := validateOutputConfig(v.OutputConfig); err != nil { 8492 invalidParams.AddNested("OutputConfig", err.(smithy.InvalidParamsError)) 8493 } 8494 } 8495 if v.StoppingCondition == nil { 8496 invalidParams.Add(smithy.NewErrParamRequired("StoppingCondition")) 8497 } 8498 if v.Tags != nil { 8499 if err := validateTagList(v.Tags); err != nil { 8500 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8501 } 8502 } 8503 if invalidParams.Len() > 0 { 8504 return invalidParams 8505 } else { 8506 return nil 8507 } 8508} 8509 8510func validateOpCreateContextInput(v *CreateContextInput) error { 8511 if v == nil { 8512 return nil 8513 } 8514 invalidParams := smithy.InvalidParamsError{Context: "CreateContextInput"} 8515 if v.ContextName == nil { 8516 invalidParams.Add(smithy.NewErrParamRequired("ContextName")) 8517 } 8518 if v.Source == nil { 8519 invalidParams.Add(smithy.NewErrParamRequired("Source")) 8520 } else if v.Source != nil { 8521 if err := validateContextSource(v.Source); err != nil { 8522 invalidParams.AddNested("Source", err.(smithy.InvalidParamsError)) 8523 } 8524 } 8525 if v.ContextType == nil { 8526 invalidParams.Add(smithy.NewErrParamRequired("ContextType")) 8527 } 8528 if v.Tags != nil { 8529 if err := validateTagList(v.Tags); err != nil { 8530 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8531 } 8532 } 8533 if invalidParams.Len() > 0 { 8534 return invalidParams 8535 } else { 8536 return nil 8537 } 8538} 8539 8540func validateOpCreateDataQualityJobDefinitionInput(v *CreateDataQualityJobDefinitionInput) error { 8541 if v == nil { 8542 return nil 8543 } 8544 invalidParams := smithy.InvalidParamsError{Context: "CreateDataQualityJobDefinitionInput"} 8545 if v.JobDefinitionName == nil { 8546 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 8547 } 8548 if v.DataQualityAppSpecification == nil { 8549 invalidParams.Add(smithy.NewErrParamRequired("DataQualityAppSpecification")) 8550 } else if v.DataQualityAppSpecification != nil { 8551 if err := validateDataQualityAppSpecification(v.DataQualityAppSpecification); err != nil { 8552 invalidParams.AddNested("DataQualityAppSpecification", err.(smithy.InvalidParamsError)) 8553 } 8554 } 8555 if v.DataQualityJobInput == nil { 8556 invalidParams.Add(smithy.NewErrParamRequired("DataQualityJobInput")) 8557 } else if v.DataQualityJobInput != nil { 8558 if err := validateDataQualityJobInput(v.DataQualityJobInput); err != nil { 8559 invalidParams.AddNested("DataQualityJobInput", err.(smithy.InvalidParamsError)) 8560 } 8561 } 8562 if v.DataQualityJobOutputConfig == nil { 8563 invalidParams.Add(smithy.NewErrParamRequired("DataQualityJobOutputConfig")) 8564 } else if v.DataQualityJobOutputConfig != nil { 8565 if err := validateMonitoringOutputConfig(v.DataQualityJobOutputConfig); err != nil { 8566 invalidParams.AddNested("DataQualityJobOutputConfig", err.(smithy.InvalidParamsError)) 8567 } 8568 } 8569 if v.JobResources == nil { 8570 invalidParams.Add(smithy.NewErrParamRequired("JobResources")) 8571 } else if v.JobResources != nil { 8572 if err := validateMonitoringResources(v.JobResources); err != nil { 8573 invalidParams.AddNested("JobResources", err.(smithy.InvalidParamsError)) 8574 } 8575 } 8576 if v.NetworkConfig != nil { 8577 if err := validateMonitoringNetworkConfig(v.NetworkConfig); err != nil { 8578 invalidParams.AddNested("NetworkConfig", err.(smithy.InvalidParamsError)) 8579 } 8580 } 8581 if v.RoleArn == nil { 8582 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 8583 } 8584 if v.StoppingCondition != nil { 8585 if err := validateMonitoringStoppingCondition(v.StoppingCondition); err != nil { 8586 invalidParams.AddNested("StoppingCondition", err.(smithy.InvalidParamsError)) 8587 } 8588 } 8589 if v.Tags != nil { 8590 if err := validateTagList(v.Tags); err != nil { 8591 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8592 } 8593 } 8594 if invalidParams.Len() > 0 { 8595 return invalidParams 8596 } else { 8597 return nil 8598 } 8599} 8600 8601func validateOpCreateDeviceFleetInput(v *CreateDeviceFleetInput) error { 8602 if v == nil { 8603 return nil 8604 } 8605 invalidParams := smithy.InvalidParamsError{Context: "CreateDeviceFleetInput"} 8606 if v.DeviceFleetName == nil { 8607 invalidParams.Add(smithy.NewErrParamRequired("DeviceFleetName")) 8608 } 8609 if v.OutputConfig == nil { 8610 invalidParams.Add(smithy.NewErrParamRequired("OutputConfig")) 8611 } else if v.OutputConfig != nil { 8612 if err := validateEdgeOutputConfig(v.OutputConfig); err != nil { 8613 invalidParams.AddNested("OutputConfig", err.(smithy.InvalidParamsError)) 8614 } 8615 } 8616 if v.Tags != nil { 8617 if err := validateTagList(v.Tags); err != nil { 8618 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8619 } 8620 } 8621 if invalidParams.Len() > 0 { 8622 return invalidParams 8623 } else { 8624 return nil 8625 } 8626} 8627 8628func validateOpCreateDomainInput(v *CreateDomainInput) error { 8629 if v == nil { 8630 return nil 8631 } 8632 invalidParams := smithy.InvalidParamsError{Context: "CreateDomainInput"} 8633 if v.DomainName == nil { 8634 invalidParams.Add(smithy.NewErrParamRequired("DomainName")) 8635 } 8636 if len(v.AuthMode) == 0 { 8637 invalidParams.Add(smithy.NewErrParamRequired("AuthMode")) 8638 } 8639 if v.DefaultUserSettings == nil { 8640 invalidParams.Add(smithy.NewErrParamRequired("DefaultUserSettings")) 8641 } else if v.DefaultUserSettings != nil { 8642 if err := validateUserSettings(v.DefaultUserSettings); err != nil { 8643 invalidParams.AddNested("DefaultUserSettings", err.(smithy.InvalidParamsError)) 8644 } 8645 } 8646 if v.SubnetIds == nil { 8647 invalidParams.Add(smithy.NewErrParamRequired("SubnetIds")) 8648 } 8649 if v.VpcId == nil { 8650 invalidParams.Add(smithy.NewErrParamRequired("VpcId")) 8651 } 8652 if v.Tags != nil { 8653 if err := validateTagList(v.Tags); err != nil { 8654 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8655 } 8656 } 8657 if invalidParams.Len() > 0 { 8658 return invalidParams 8659 } else { 8660 return nil 8661 } 8662} 8663 8664func validateOpCreateEdgePackagingJobInput(v *CreateEdgePackagingJobInput) error { 8665 if v == nil { 8666 return nil 8667 } 8668 invalidParams := smithy.InvalidParamsError{Context: "CreateEdgePackagingJobInput"} 8669 if v.EdgePackagingJobName == nil { 8670 invalidParams.Add(smithy.NewErrParamRequired("EdgePackagingJobName")) 8671 } 8672 if v.CompilationJobName == nil { 8673 invalidParams.Add(smithy.NewErrParamRequired("CompilationJobName")) 8674 } 8675 if v.ModelName == nil { 8676 invalidParams.Add(smithy.NewErrParamRequired("ModelName")) 8677 } 8678 if v.ModelVersion == nil { 8679 invalidParams.Add(smithy.NewErrParamRequired("ModelVersion")) 8680 } 8681 if v.RoleArn == nil { 8682 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 8683 } 8684 if v.OutputConfig == nil { 8685 invalidParams.Add(smithy.NewErrParamRequired("OutputConfig")) 8686 } else if v.OutputConfig != nil { 8687 if err := validateEdgeOutputConfig(v.OutputConfig); err != nil { 8688 invalidParams.AddNested("OutputConfig", err.(smithy.InvalidParamsError)) 8689 } 8690 } 8691 if v.Tags != nil { 8692 if err := validateTagList(v.Tags); err != nil { 8693 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8694 } 8695 } 8696 if invalidParams.Len() > 0 { 8697 return invalidParams 8698 } else { 8699 return nil 8700 } 8701} 8702 8703func validateOpCreateEndpointConfigInput(v *CreateEndpointConfigInput) error { 8704 if v == nil { 8705 return nil 8706 } 8707 invalidParams := smithy.InvalidParamsError{Context: "CreateEndpointConfigInput"} 8708 if v.EndpointConfigName == nil { 8709 invalidParams.Add(smithy.NewErrParamRequired("EndpointConfigName")) 8710 } 8711 if v.ProductionVariants == nil { 8712 invalidParams.Add(smithy.NewErrParamRequired("ProductionVariants")) 8713 } else if v.ProductionVariants != nil { 8714 if err := validateProductionVariantList(v.ProductionVariants); err != nil { 8715 invalidParams.AddNested("ProductionVariants", err.(smithy.InvalidParamsError)) 8716 } 8717 } 8718 if v.DataCaptureConfig != nil { 8719 if err := validateDataCaptureConfig(v.DataCaptureConfig); err != nil { 8720 invalidParams.AddNested("DataCaptureConfig", err.(smithy.InvalidParamsError)) 8721 } 8722 } 8723 if v.Tags != nil { 8724 if err := validateTagList(v.Tags); err != nil { 8725 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8726 } 8727 } 8728 if invalidParams.Len() > 0 { 8729 return invalidParams 8730 } else { 8731 return nil 8732 } 8733} 8734 8735func validateOpCreateEndpointInput(v *CreateEndpointInput) error { 8736 if v == nil { 8737 return nil 8738 } 8739 invalidParams := smithy.InvalidParamsError{Context: "CreateEndpointInput"} 8740 if v.EndpointName == nil { 8741 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 8742 } 8743 if v.EndpointConfigName == nil { 8744 invalidParams.Add(smithy.NewErrParamRequired("EndpointConfigName")) 8745 } 8746 if v.Tags != nil { 8747 if err := validateTagList(v.Tags); err != nil { 8748 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8749 } 8750 } 8751 if invalidParams.Len() > 0 { 8752 return invalidParams 8753 } else { 8754 return nil 8755 } 8756} 8757 8758func validateOpCreateExperimentInput(v *CreateExperimentInput) error { 8759 if v == nil { 8760 return nil 8761 } 8762 invalidParams := smithy.InvalidParamsError{Context: "CreateExperimentInput"} 8763 if v.ExperimentName == nil { 8764 invalidParams.Add(smithy.NewErrParamRequired("ExperimentName")) 8765 } 8766 if v.Tags != nil { 8767 if err := validateTagList(v.Tags); err != nil { 8768 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8769 } 8770 } 8771 if invalidParams.Len() > 0 { 8772 return invalidParams 8773 } else { 8774 return nil 8775 } 8776} 8777 8778func validateOpCreateFeatureGroupInput(v *CreateFeatureGroupInput) error { 8779 if v == nil { 8780 return nil 8781 } 8782 invalidParams := smithy.InvalidParamsError{Context: "CreateFeatureGroupInput"} 8783 if v.FeatureGroupName == nil { 8784 invalidParams.Add(smithy.NewErrParamRequired("FeatureGroupName")) 8785 } 8786 if v.RecordIdentifierFeatureName == nil { 8787 invalidParams.Add(smithy.NewErrParamRequired("RecordIdentifierFeatureName")) 8788 } 8789 if v.EventTimeFeatureName == nil { 8790 invalidParams.Add(smithy.NewErrParamRequired("EventTimeFeatureName")) 8791 } 8792 if v.FeatureDefinitions == nil { 8793 invalidParams.Add(smithy.NewErrParamRequired("FeatureDefinitions")) 8794 } 8795 if v.OfflineStoreConfig != nil { 8796 if err := validateOfflineStoreConfig(v.OfflineStoreConfig); err != nil { 8797 invalidParams.AddNested("OfflineStoreConfig", err.(smithy.InvalidParamsError)) 8798 } 8799 } 8800 if v.Tags != nil { 8801 if err := validateTagList(v.Tags); err != nil { 8802 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8803 } 8804 } 8805 if invalidParams.Len() > 0 { 8806 return invalidParams 8807 } else { 8808 return nil 8809 } 8810} 8811 8812func validateOpCreateFlowDefinitionInput(v *CreateFlowDefinitionInput) error { 8813 if v == nil { 8814 return nil 8815 } 8816 invalidParams := smithy.InvalidParamsError{Context: "CreateFlowDefinitionInput"} 8817 if v.FlowDefinitionName == nil { 8818 invalidParams.Add(smithy.NewErrParamRequired("FlowDefinitionName")) 8819 } 8820 if v.HumanLoopRequestSource != nil { 8821 if err := validateHumanLoopRequestSource(v.HumanLoopRequestSource); err != nil { 8822 invalidParams.AddNested("HumanLoopRequestSource", err.(smithy.InvalidParamsError)) 8823 } 8824 } 8825 if v.HumanLoopActivationConfig != nil { 8826 if err := validateHumanLoopActivationConfig(v.HumanLoopActivationConfig); err != nil { 8827 invalidParams.AddNested("HumanLoopActivationConfig", err.(smithy.InvalidParamsError)) 8828 } 8829 } 8830 if v.HumanLoopConfig == nil { 8831 invalidParams.Add(smithy.NewErrParamRequired("HumanLoopConfig")) 8832 } else if v.HumanLoopConfig != nil { 8833 if err := validateHumanLoopConfig(v.HumanLoopConfig); err != nil { 8834 invalidParams.AddNested("HumanLoopConfig", err.(smithy.InvalidParamsError)) 8835 } 8836 } 8837 if v.OutputConfig == nil { 8838 invalidParams.Add(smithy.NewErrParamRequired("OutputConfig")) 8839 } else if v.OutputConfig != nil { 8840 if err := validateFlowDefinitionOutputConfig(v.OutputConfig); err != nil { 8841 invalidParams.AddNested("OutputConfig", err.(smithy.InvalidParamsError)) 8842 } 8843 } 8844 if v.RoleArn == nil { 8845 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 8846 } 8847 if v.Tags != nil { 8848 if err := validateTagList(v.Tags); err != nil { 8849 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8850 } 8851 } 8852 if invalidParams.Len() > 0 { 8853 return invalidParams 8854 } else { 8855 return nil 8856 } 8857} 8858 8859func validateOpCreateHumanTaskUiInput(v *CreateHumanTaskUiInput) error { 8860 if v == nil { 8861 return nil 8862 } 8863 invalidParams := smithy.InvalidParamsError{Context: "CreateHumanTaskUiInput"} 8864 if v.HumanTaskUiName == nil { 8865 invalidParams.Add(smithy.NewErrParamRequired("HumanTaskUiName")) 8866 } 8867 if v.UiTemplate == nil { 8868 invalidParams.Add(smithy.NewErrParamRequired("UiTemplate")) 8869 } else if v.UiTemplate != nil { 8870 if err := validateUiTemplate(v.UiTemplate); err != nil { 8871 invalidParams.AddNested("UiTemplate", err.(smithy.InvalidParamsError)) 8872 } 8873 } 8874 if v.Tags != nil { 8875 if err := validateTagList(v.Tags); err != nil { 8876 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8877 } 8878 } 8879 if invalidParams.Len() > 0 { 8880 return invalidParams 8881 } else { 8882 return nil 8883 } 8884} 8885 8886func validateOpCreateHyperParameterTuningJobInput(v *CreateHyperParameterTuningJobInput) error { 8887 if v == nil { 8888 return nil 8889 } 8890 invalidParams := smithy.InvalidParamsError{Context: "CreateHyperParameterTuningJobInput"} 8891 if v.HyperParameterTuningJobName == nil { 8892 invalidParams.Add(smithy.NewErrParamRequired("HyperParameterTuningJobName")) 8893 } 8894 if v.HyperParameterTuningJobConfig == nil { 8895 invalidParams.Add(smithy.NewErrParamRequired("HyperParameterTuningJobConfig")) 8896 } else if v.HyperParameterTuningJobConfig != nil { 8897 if err := validateHyperParameterTuningJobConfig(v.HyperParameterTuningJobConfig); err != nil { 8898 invalidParams.AddNested("HyperParameterTuningJobConfig", err.(smithy.InvalidParamsError)) 8899 } 8900 } 8901 if v.TrainingJobDefinition != nil { 8902 if err := validateHyperParameterTrainingJobDefinition(v.TrainingJobDefinition); err != nil { 8903 invalidParams.AddNested("TrainingJobDefinition", err.(smithy.InvalidParamsError)) 8904 } 8905 } 8906 if v.TrainingJobDefinitions != nil { 8907 if err := validateHyperParameterTrainingJobDefinitions(v.TrainingJobDefinitions); err != nil { 8908 invalidParams.AddNested("TrainingJobDefinitions", err.(smithy.InvalidParamsError)) 8909 } 8910 } 8911 if v.WarmStartConfig != nil { 8912 if err := validateHyperParameterTuningJobWarmStartConfig(v.WarmStartConfig); err != nil { 8913 invalidParams.AddNested("WarmStartConfig", err.(smithy.InvalidParamsError)) 8914 } 8915 } 8916 if v.Tags != nil { 8917 if err := validateTagList(v.Tags); err != nil { 8918 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8919 } 8920 } 8921 if invalidParams.Len() > 0 { 8922 return invalidParams 8923 } else { 8924 return nil 8925 } 8926} 8927 8928func validateOpCreateImageInput(v *CreateImageInput) error { 8929 if v == nil { 8930 return nil 8931 } 8932 invalidParams := smithy.InvalidParamsError{Context: "CreateImageInput"} 8933 if v.ImageName == nil { 8934 invalidParams.Add(smithy.NewErrParamRequired("ImageName")) 8935 } 8936 if v.RoleArn == nil { 8937 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 8938 } 8939 if v.Tags != nil { 8940 if err := validateTagList(v.Tags); err != nil { 8941 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 8942 } 8943 } 8944 if invalidParams.Len() > 0 { 8945 return invalidParams 8946 } else { 8947 return nil 8948 } 8949} 8950 8951func validateOpCreateImageVersionInput(v *CreateImageVersionInput) error { 8952 if v == nil { 8953 return nil 8954 } 8955 invalidParams := smithy.InvalidParamsError{Context: "CreateImageVersionInput"} 8956 if v.BaseImage == nil { 8957 invalidParams.Add(smithy.NewErrParamRequired("BaseImage")) 8958 } 8959 if v.ClientToken == nil { 8960 invalidParams.Add(smithy.NewErrParamRequired("ClientToken")) 8961 } 8962 if v.ImageName == nil { 8963 invalidParams.Add(smithy.NewErrParamRequired("ImageName")) 8964 } 8965 if invalidParams.Len() > 0 { 8966 return invalidParams 8967 } else { 8968 return nil 8969 } 8970} 8971 8972func validateOpCreateLabelingJobInput(v *CreateLabelingJobInput) error { 8973 if v == nil { 8974 return nil 8975 } 8976 invalidParams := smithy.InvalidParamsError{Context: "CreateLabelingJobInput"} 8977 if v.LabelingJobName == nil { 8978 invalidParams.Add(smithy.NewErrParamRequired("LabelingJobName")) 8979 } 8980 if v.LabelAttributeName == nil { 8981 invalidParams.Add(smithy.NewErrParamRequired("LabelAttributeName")) 8982 } 8983 if v.InputConfig == nil { 8984 invalidParams.Add(smithy.NewErrParamRequired("InputConfig")) 8985 } else if v.InputConfig != nil { 8986 if err := validateLabelingJobInputConfig(v.InputConfig); err != nil { 8987 invalidParams.AddNested("InputConfig", err.(smithy.InvalidParamsError)) 8988 } 8989 } 8990 if v.OutputConfig == nil { 8991 invalidParams.Add(smithy.NewErrParamRequired("OutputConfig")) 8992 } else if v.OutputConfig != nil { 8993 if err := validateLabelingJobOutputConfig(v.OutputConfig); err != nil { 8994 invalidParams.AddNested("OutputConfig", err.(smithy.InvalidParamsError)) 8995 } 8996 } 8997 if v.RoleArn == nil { 8998 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 8999 } 9000 if v.LabelingJobAlgorithmsConfig != nil { 9001 if err := validateLabelingJobAlgorithmsConfig(v.LabelingJobAlgorithmsConfig); err != nil { 9002 invalidParams.AddNested("LabelingJobAlgorithmsConfig", err.(smithy.InvalidParamsError)) 9003 } 9004 } 9005 if v.HumanTaskConfig == nil { 9006 invalidParams.Add(smithy.NewErrParamRequired("HumanTaskConfig")) 9007 } else if v.HumanTaskConfig != nil { 9008 if err := validateHumanTaskConfig(v.HumanTaskConfig); err != nil { 9009 invalidParams.AddNested("HumanTaskConfig", err.(smithy.InvalidParamsError)) 9010 } 9011 } 9012 if v.Tags != nil { 9013 if err := validateTagList(v.Tags); err != nil { 9014 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9015 } 9016 } 9017 if invalidParams.Len() > 0 { 9018 return invalidParams 9019 } else { 9020 return nil 9021 } 9022} 9023 9024func validateOpCreateModelBiasJobDefinitionInput(v *CreateModelBiasJobDefinitionInput) error { 9025 if v == nil { 9026 return nil 9027 } 9028 invalidParams := smithy.InvalidParamsError{Context: "CreateModelBiasJobDefinitionInput"} 9029 if v.JobDefinitionName == nil { 9030 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 9031 } 9032 if v.ModelBiasAppSpecification == nil { 9033 invalidParams.Add(smithy.NewErrParamRequired("ModelBiasAppSpecification")) 9034 } else if v.ModelBiasAppSpecification != nil { 9035 if err := validateModelBiasAppSpecification(v.ModelBiasAppSpecification); err != nil { 9036 invalidParams.AddNested("ModelBiasAppSpecification", err.(smithy.InvalidParamsError)) 9037 } 9038 } 9039 if v.ModelBiasJobInput == nil { 9040 invalidParams.Add(smithy.NewErrParamRequired("ModelBiasJobInput")) 9041 } else if v.ModelBiasJobInput != nil { 9042 if err := validateModelBiasJobInput(v.ModelBiasJobInput); err != nil { 9043 invalidParams.AddNested("ModelBiasJobInput", err.(smithy.InvalidParamsError)) 9044 } 9045 } 9046 if v.ModelBiasJobOutputConfig == nil { 9047 invalidParams.Add(smithy.NewErrParamRequired("ModelBiasJobOutputConfig")) 9048 } else if v.ModelBiasJobOutputConfig != nil { 9049 if err := validateMonitoringOutputConfig(v.ModelBiasJobOutputConfig); err != nil { 9050 invalidParams.AddNested("ModelBiasJobOutputConfig", err.(smithy.InvalidParamsError)) 9051 } 9052 } 9053 if v.JobResources == nil { 9054 invalidParams.Add(smithy.NewErrParamRequired("JobResources")) 9055 } else if v.JobResources != nil { 9056 if err := validateMonitoringResources(v.JobResources); err != nil { 9057 invalidParams.AddNested("JobResources", err.(smithy.InvalidParamsError)) 9058 } 9059 } 9060 if v.NetworkConfig != nil { 9061 if err := validateMonitoringNetworkConfig(v.NetworkConfig); err != nil { 9062 invalidParams.AddNested("NetworkConfig", err.(smithy.InvalidParamsError)) 9063 } 9064 } 9065 if v.RoleArn == nil { 9066 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 9067 } 9068 if v.StoppingCondition != nil { 9069 if err := validateMonitoringStoppingCondition(v.StoppingCondition); err != nil { 9070 invalidParams.AddNested("StoppingCondition", err.(smithy.InvalidParamsError)) 9071 } 9072 } 9073 if v.Tags != nil { 9074 if err := validateTagList(v.Tags); err != nil { 9075 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9076 } 9077 } 9078 if invalidParams.Len() > 0 { 9079 return invalidParams 9080 } else { 9081 return nil 9082 } 9083} 9084 9085func validateOpCreateModelExplainabilityJobDefinitionInput(v *CreateModelExplainabilityJobDefinitionInput) error { 9086 if v == nil { 9087 return nil 9088 } 9089 invalidParams := smithy.InvalidParamsError{Context: "CreateModelExplainabilityJobDefinitionInput"} 9090 if v.JobDefinitionName == nil { 9091 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 9092 } 9093 if v.ModelExplainabilityAppSpecification == nil { 9094 invalidParams.Add(smithy.NewErrParamRequired("ModelExplainabilityAppSpecification")) 9095 } else if v.ModelExplainabilityAppSpecification != nil { 9096 if err := validateModelExplainabilityAppSpecification(v.ModelExplainabilityAppSpecification); err != nil { 9097 invalidParams.AddNested("ModelExplainabilityAppSpecification", err.(smithy.InvalidParamsError)) 9098 } 9099 } 9100 if v.ModelExplainabilityJobInput == nil { 9101 invalidParams.Add(smithy.NewErrParamRequired("ModelExplainabilityJobInput")) 9102 } else if v.ModelExplainabilityJobInput != nil { 9103 if err := validateModelExplainabilityJobInput(v.ModelExplainabilityJobInput); err != nil { 9104 invalidParams.AddNested("ModelExplainabilityJobInput", err.(smithy.InvalidParamsError)) 9105 } 9106 } 9107 if v.ModelExplainabilityJobOutputConfig == nil { 9108 invalidParams.Add(smithy.NewErrParamRequired("ModelExplainabilityJobOutputConfig")) 9109 } else if v.ModelExplainabilityJobOutputConfig != nil { 9110 if err := validateMonitoringOutputConfig(v.ModelExplainabilityJobOutputConfig); err != nil { 9111 invalidParams.AddNested("ModelExplainabilityJobOutputConfig", err.(smithy.InvalidParamsError)) 9112 } 9113 } 9114 if v.JobResources == nil { 9115 invalidParams.Add(smithy.NewErrParamRequired("JobResources")) 9116 } else if v.JobResources != nil { 9117 if err := validateMonitoringResources(v.JobResources); err != nil { 9118 invalidParams.AddNested("JobResources", err.(smithy.InvalidParamsError)) 9119 } 9120 } 9121 if v.NetworkConfig != nil { 9122 if err := validateMonitoringNetworkConfig(v.NetworkConfig); err != nil { 9123 invalidParams.AddNested("NetworkConfig", err.(smithy.InvalidParamsError)) 9124 } 9125 } 9126 if v.RoleArn == nil { 9127 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 9128 } 9129 if v.StoppingCondition != nil { 9130 if err := validateMonitoringStoppingCondition(v.StoppingCondition); err != nil { 9131 invalidParams.AddNested("StoppingCondition", err.(smithy.InvalidParamsError)) 9132 } 9133 } 9134 if v.Tags != nil { 9135 if err := validateTagList(v.Tags); err != nil { 9136 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9137 } 9138 } 9139 if invalidParams.Len() > 0 { 9140 return invalidParams 9141 } else { 9142 return nil 9143 } 9144} 9145 9146func validateOpCreateModelInput(v *CreateModelInput) error { 9147 if v == nil { 9148 return nil 9149 } 9150 invalidParams := smithy.InvalidParamsError{Context: "CreateModelInput"} 9151 if v.ModelName == nil { 9152 invalidParams.Add(smithy.NewErrParamRequired("ModelName")) 9153 } 9154 if v.PrimaryContainer != nil { 9155 if err := validateContainerDefinition(v.PrimaryContainer); err != nil { 9156 invalidParams.AddNested("PrimaryContainer", err.(smithy.InvalidParamsError)) 9157 } 9158 } 9159 if v.Containers != nil { 9160 if err := validateContainerDefinitionList(v.Containers); err != nil { 9161 invalidParams.AddNested("Containers", err.(smithy.InvalidParamsError)) 9162 } 9163 } 9164 if v.InferenceExecutionConfig != nil { 9165 if err := validateInferenceExecutionConfig(v.InferenceExecutionConfig); err != nil { 9166 invalidParams.AddNested("InferenceExecutionConfig", err.(smithy.InvalidParamsError)) 9167 } 9168 } 9169 if v.ExecutionRoleArn == nil { 9170 invalidParams.Add(smithy.NewErrParamRequired("ExecutionRoleArn")) 9171 } 9172 if v.Tags != nil { 9173 if err := validateTagList(v.Tags); err != nil { 9174 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9175 } 9176 } 9177 if v.VpcConfig != nil { 9178 if err := validateVpcConfig(v.VpcConfig); err != nil { 9179 invalidParams.AddNested("VpcConfig", err.(smithy.InvalidParamsError)) 9180 } 9181 } 9182 if invalidParams.Len() > 0 { 9183 return invalidParams 9184 } else { 9185 return nil 9186 } 9187} 9188 9189func validateOpCreateModelPackageGroupInput(v *CreateModelPackageGroupInput) error { 9190 if v == nil { 9191 return nil 9192 } 9193 invalidParams := smithy.InvalidParamsError{Context: "CreateModelPackageGroupInput"} 9194 if v.ModelPackageGroupName == nil { 9195 invalidParams.Add(smithy.NewErrParamRequired("ModelPackageGroupName")) 9196 } 9197 if v.Tags != nil { 9198 if err := validateTagList(v.Tags); err != nil { 9199 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9200 } 9201 } 9202 if invalidParams.Len() > 0 { 9203 return invalidParams 9204 } else { 9205 return nil 9206 } 9207} 9208 9209func validateOpCreateModelPackageInput(v *CreateModelPackageInput) error { 9210 if v == nil { 9211 return nil 9212 } 9213 invalidParams := smithy.InvalidParamsError{Context: "CreateModelPackageInput"} 9214 if v.InferenceSpecification != nil { 9215 if err := validateInferenceSpecification(v.InferenceSpecification); err != nil { 9216 invalidParams.AddNested("InferenceSpecification", err.(smithy.InvalidParamsError)) 9217 } 9218 } 9219 if v.ValidationSpecification != nil { 9220 if err := validateModelPackageValidationSpecification(v.ValidationSpecification); err != nil { 9221 invalidParams.AddNested("ValidationSpecification", err.(smithy.InvalidParamsError)) 9222 } 9223 } 9224 if v.SourceAlgorithmSpecification != nil { 9225 if err := validateSourceAlgorithmSpecification(v.SourceAlgorithmSpecification); err != nil { 9226 invalidParams.AddNested("SourceAlgorithmSpecification", err.(smithy.InvalidParamsError)) 9227 } 9228 } 9229 if v.Tags != nil { 9230 if err := validateTagList(v.Tags); err != nil { 9231 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9232 } 9233 } 9234 if v.ModelMetrics != nil { 9235 if err := validateModelMetrics(v.ModelMetrics); err != nil { 9236 invalidParams.AddNested("ModelMetrics", err.(smithy.InvalidParamsError)) 9237 } 9238 } 9239 if invalidParams.Len() > 0 { 9240 return invalidParams 9241 } else { 9242 return nil 9243 } 9244} 9245 9246func validateOpCreateModelQualityJobDefinitionInput(v *CreateModelQualityJobDefinitionInput) error { 9247 if v == nil { 9248 return nil 9249 } 9250 invalidParams := smithy.InvalidParamsError{Context: "CreateModelQualityJobDefinitionInput"} 9251 if v.JobDefinitionName == nil { 9252 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 9253 } 9254 if v.ModelQualityAppSpecification == nil { 9255 invalidParams.Add(smithy.NewErrParamRequired("ModelQualityAppSpecification")) 9256 } else if v.ModelQualityAppSpecification != nil { 9257 if err := validateModelQualityAppSpecification(v.ModelQualityAppSpecification); err != nil { 9258 invalidParams.AddNested("ModelQualityAppSpecification", err.(smithy.InvalidParamsError)) 9259 } 9260 } 9261 if v.ModelQualityJobInput == nil { 9262 invalidParams.Add(smithy.NewErrParamRequired("ModelQualityJobInput")) 9263 } else if v.ModelQualityJobInput != nil { 9264 if err := validateModelQualityJobInput(v.ModelQualityJobInput); err != nil { 9265 invalidParams.AddNested("ModelQualityJobInput", err.(smithy.InvalidParamsError)) 9266 } 9267 } 9268 if v.ModelQualityJobOutputConfig == nil { 9269 invalidParams.Add(smithy.NewErrParamRequired("ModelQualityJobOutputConfig")) 9270 } else if v.ModelQualityJobOutputConfig != nil { 9271 if err := validateMonitoringOutputConfig(v.ModelQualityJobOutputConfig); err != nil { 9272 invalidParams.AddNested("ModelQualityJobOutputConfig", err.(smithy.InvalidParamsError)) 9273 } 9274 } 9275 if v.JobResources == nil { 9276 invalidParams.Add(smithy.NewErrParamRequired("JobResources")) 9277 } else if v.JobResources != nil { 9278 if err := validateMonitoringResources(v.JobResources); err != nil { 9279 invalidParams.AddNested("JobResources", err.(smithy.InvalidParamsError)) 9280 } 9281 } 9282 if v.NetworkConfig != nil { 9283 if err := validateMonitoringNetworkConfig(v.NetworkConfig); err != nil { 9284 invalidParams.AddNested("NetworkConfig", err.(smithy.InvalidParamsError)) 9285 } 9286 } 9287 if v.RoleArn == nil { 9288 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 9289 } 9290 if v.StoppingCondition != nil { 9291 if err := validateMonitoringStoppingCondition(v.StoppingCondition); err != nil { 9292 invalidParams.AddNested("StoppingCondition", err.(smithy.InvalidParamsError)) 9293 } 9294 } 9295 if v.Tags != nil { 9296 if err := validateTagList(v.Tags); err != nil { 9297 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9298 } 9299 } 9300 if invalidParams.Len() > 0 { 9301 return invalidParams 9302 } else { 9303 return nil 9304 } 9305} 9306 9307func validateOpCreateMonitoringScheduleInput(v *CreateMonitoringScheduleInput) error { 9308 if v == nil { 9309 return nil 9310 } 9311 invalidParams := smithy.InvalidParamsError{Context: "CreateMonitoringScheduleInput"} 9312 if v.MonitoringScheduleName == nil { 9313 invalidParams.Add(smithy.NewErrParamRequired("MonitoringScheduleName")) 9314 } 9315 if v.MonitoringScheduleConfig == nil { 9316 invalidParams.Add(smithy.NewErrParamRequired("MonitoringScheduleConfig")) 9317 } else if v.MonitoringScheduleConfig != nil { 9318 if err := validateMonitoringScheduleConfig(v.MonitoringScheduleConfig); err != nil { 9319 invalidParams.AddNested("MonitoringScheduleConfig", err.(smithy.InvalidParamsError)) 9320 } 9321 } 9322 if v.Tags != nil { 9323 if err := validateTagList(v.Tags); err != nil { 9324 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9325 } 9326 } 9327 if invalidParams.Len() > 0 { 9328 return invalidParams 9329 } else { 9330 return nil 9331 } 9332} 9333 9334func validateOpCreateNotebookInstanceInput(v *CreateNotebookInstanceInput) error { 9335 if v == nil { 9336 return nil 9337 } 9338 invalidParams := smithy.InvalidParamsError{Context: "CreateNotebookInstanceInput"} 9339 if v.NotebookInstanceName == nil { 9340 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceName")) 9341 } 9342 if len(v.InstanceType) == 0 { 9343 invalidParams.Add(smithy.NewErrParamRequired("InstanceType")) 9344 } 9345 if v.RoleArn == nil { 9346 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 9347 } 9348 if v.Tags != nil { 9349 if err := validateTagList(v.Tags); err != nil { 9350 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9351 } 9352 } 9353 if invalidParams.Len() > 0 { 9354 return invalidParams 9355 } else { 9356 return nil 9357 } 9358} 9359 9360func validateOpCreateNotebookInstanceLifecycleConfigInput(v *CreateNotebookInstanceLifecycleConfigInput) error { 9361 if v == nil { 9362 return nil 9363 } 9364 invalidParams := smithy.InvalidParamsError{Context: "CreateNotebookInstanceLifecycleConfigInput"} 9365 if v.NotebookInstanceLifecycleConfigName == nil { 9366 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceLifecycleConfigName")) 9367 } 9368 if invalidParams.Len() > 0 { 9369 return invalidParams 9370 } else { 9371 return nil 9372 } 9373} 9374 9375func validateOpCreatePipelineInput(v *CreatePipelineInput) error { 9376 if v == nil { 9377 return nil 9378 } 9379 invalidParams := smithy.InvalidParamsError{Context: "CreatePipelineInput"} 9380 if v.PipelineName == nil { 9381 invalidParams.Add(smithy.NewErrParamRequired("PipelineName")) 9382 } 9383 if v.PipelineDefinition == nil { 9384 invalidParams.Add(smithy.NewErrParamRequired("PipelineDefinition")) 9385 } 9386 if v.ClientRequestToken == nil { 9387 invalidParams.Add(smithy.NewErrParamRequired("ClientRequestToken")) 9388 } 9389 if v.RoleArn == nil { 9390 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 9391 } 9392 if v.Tags != nil { 9393 if err := validateTagList(v.Tags); err != nil { 9394 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9395 } 9396 } 9397 if invalidParams.Len() > 0 { 9398 return invalidParams 9399 } else { 9400 return nil 9401 } 9402} 9403 9404func validateOpCreatePresignedDomainUrlInput(v *CreatePresignedDomainUrlInput) error { 9405 if v == nil { 9406 return nil 9407 } 9408 invalidParams := smithy.InvalidParamsError{Context: "CreatePresignedDomainUrlInput"} 9409 if v.DomainId == nil { 9410 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 9411 } 9412 if v.UserProfileName == nil { 9413 invalidParams.Add(smithy.NewErrParamRequired("UserProfileName")) 9414 } 9415 if invalidParams.Len() > 0 { 9416 return invalidParams 9417 } else { 9418 return nil 9419 } 9420} 9421 9422func validateOpCreatePresignedNotebookInstanceUrlInput(v *CreatePresignedNotebookInstanceUrlInput) error { 9423 if v == nil { 9424 return nil 9425 } 9426 invalidParams := smithy.InvalidParamsError{Context: "CreatePresignedNotebookInstanceUrlInput"} 9427 if v.NotebookInstanceName == nil { 9428 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceName")) 9429 } 9430 if invalidParams.Len() > 0 { 9431 return invalidParams 9432 } else { 9433 return nil 9434 } 9435} 9436 9437func validateOpCreateProcessingJobInput(v *CreateProcessingJobInput) error { 9438 if v == nil { 9439 return nil 9440 } 9441 invalidParams := smithy.InvalidParamsError{Context: "CreateProcessingJobInput"} 9442 if v.ProcessingInputs != nil { 9443 if err := validateProcessingInputs(v.ProcessingInputs); err != nil { 9444 invalidParams.AddNested("ProcessingInputs", err.(smithy.InvalidParamsError)) 9445 } 9446 } 9447 if v.ProcessingOutputConfig != nil { 9448 if err := validateProcessingOutputConfig(v.ProcessingOutputConfig); err != nil { 9449 invalidParams.AddNested("ProcessingOutputConfig", err.(smithy.InvalidParamsError)) 9450 } 9451 } 9452 if v.ProcessingJobName == nil { 9453 invalidParams.Add(smithy.NewErrParamRequired("ProcessingJobName")) 9454 } 9455 if v.ProcessingResources == nil { 9456 invalidParams.Add(smithy.NewErrParamRequired("ProcessingResources")) 9457 } else if v.ProcessingResources != nil { 9458 if err := validateProcessingResources(v.ProcessingResources); err != nil { 9459 invalidParams.AddNested("ProcessingResources", err.(smithy.InvalidParamsError)) 9460 } 9461 } 9462 if v.StoppingCondition != nil { 9463 if err := validateProcessingStoppingCondition(v.StoppingCondition); err != nil { 9464 invalidParams.AddNested("StoppingCondition", err.(smithy.InvalidParamsError)) 9465 } 9466 } 9467 if v.AppSpecification == nil { 9468 invalidParams.Add(smithy.NewErrParamRequired("AppSpecification")) 9469 } else if v.AppSpecification != nil { 9470 if err := validateAppSpecification(v.AppSpecification); err != nil { 9471 invalidParams.AddNested("AppSpecification", err.(smithy.InvalidParamsError)) 9472 } 9473 } 9474 if v.NetworkConfig != nil { 9475 if err := validateNetworkConfig(v.NetworkConfig); err != nil { 9476 invalidParams.AddNested("NetworkConfig", err.(smithy.InvalidParamsError)) 9477 } 9478 } 9479 if v.RoleArn == nil { 9480 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 9481 } 9482 if v.Tags != nil { 9483 if err := validateTagList(v.Tags); err != nil { 9484 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9485 } 9486 } 9487 if invalidParams.Len() > 0 { 9488 return invalidParams 9489 } else { 9490 return nil 9491 } 9492} 9493 9494func validateOpCreateProjectInput(v *CreateProjectInput) error { 9495 if v == nil { 9496 return nil 9497 } 9498 invalidParams := smithy.InvalidParamsError{Context: "CreateProjectInput"} 9499 if v.ProjectName == nil { 9500 invalidParams.Add(smithy.NewErrParamRequired("ProjectName")) 9501 } 9502 if v.ServiceCatalogProvisioningDetails == nil { 9503 invalidParams.Add(smithy.NewErrParamRequired("ServiceCatalogProvisioningDetails")) 9504 } else if v.ServiceCatalogProvisioningDetails != nil { 9505 if err := validateServiceCatalogProvisioningDetails(v.ServiceCatalogProvisioningDetails); err != nil { 9506 invalidParams.AddNested("ServiceCatalogProvisioningDetails", err.(smithy.InvalidParamsError)) 9507 } 9508 } 9509 if v.Tags != nil { 9510 if err := validateTagList(v.Tags); err != nil { 9511 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9512 } 9513 } 9514 if invalidParams.Len() > 0 { 9515 return invalidParams 9516 } else { 9517 return nil 9518 } 9519} 9520 9521func validateOpCreateTrainingJobInput(v *CreateTrainingJobInput) error { 9522 if v == nil { 9523 return nil 9524 } 9525 invalidParams := smithy.InvalidParamsError{Context: "CreateTrainingJobInput"} 9526 if v.TrainingJobName == nil { 9527 invalidParams.Add(smithy.NewErrParamRequired("TrainingJobName")) 9528 } 9529 if v.AlgorithmSpecification == nil { 9530 invalidParams.Add(smithy.NewErrParamRequired("AlgorithmSpecification")) 9531 } else if v.AlgorithmSpecification != nil { 9532 if err := validateAlgorithmSpecification(v.AlgorithmSpecification); err != nil { 9533 invalidParams.AddNested("AlgorithmSpecification", err.(smithy.InvalidParamsError)) 9534 } 9535 } 9536 if v.RoleArn == nil { 9537 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 9538 } 9539 if v.InputDataConfig != nil { 9540 if err := validateInputDataConfig(v.InputDataConfig); err != nil { 9541 invalidParams.AddNested("InputDataConfig", err.(smithy.InvalidParamsError)) 9542 } 9543 } 9544 if v.OutputDataConfig == nil { 9545 invalidParams.Add(smithy.NewErrParamRequired("OutputDataConfig")) 9546 } else if v.OutputDataConfig != nil { 9547 if err := validateOutputDataConfig(v.OutputDataConfig); err != nil { 9548 invalidParams.AddNested("OutputDataConfig", err.(smithy.InvalidParamsError)) 9549 } 9550 } 9551 if v.ResourceConfig == nil { 9552 invalidParams.Add(smithy.NewErrParamRequired("ResourceConfig")) 9553 } else if v.ResourceConfig != nil { 9554 if err := validateResourceConfig(v.ResourceConfig); err != nil { 9555 invalidParams.AddNested("ResourceConfig", err.(smithy.InvalidParamsError)) 9556 } 9557 } 9558 if v.VpcConfig != nil { 9559 if err := validateVpcConfig(v.VpcConfig); err != nil { 9560 invalidParams.AddNested("VpcConfig", err.(smithy.InvalidParamsError)) 9561 } 9562 } 9563 if v.StoppingCondition == nil { 9564 invalidParams.Add(smithy.NewErrParamRequired("StoppingCondition")) 9565 } 9566 if v.Tags != nil { 9567 if err := validateTagList(v.Tags); err != nil { 9568 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9569 } 9570 } 9571 if v.CheckpointConfig != nil { 9572 if err := validateCheckpointConfig(v.CheckpointConfig); err != nil { 9573 invalidParams.AddNested("CheckpointConfig", err.(smithy.InvalidParamsError)) 9574 } 9575 } 9576 if v.DebugHookConfig != nil { 9577 if err := validateDebugHookConfig(v.DebugHookConfig); err != nil { 9578 invalidParams.AddNested("DebugHookConfig", err.(smithy.InvalidParamsError)) 9579 } 9580 } 9581 if v.DebugRuleConfigurations != nil { 9582 if err := validateDebugRuleConfigurations(v.DebugRuleConfigurations); err != nil { 9583 invalidParams.AddNested("DebugRuleConfigurations", err.(smithy.InvalidParamsError)) 9584 } 9585 } 9586 if v.TensorBoardOutputConfig != nil { 9587 if err := validateTensorBoardOutputConfig(v.TensorBoardOutputConfig); err != nil { 9588 invalidParams.AddNested("TensorBoardOutputConfig", err.(smithy.InvalidParamsError)) 9589 } 9590 } 9591 if v.ProfilerConfig != nil { 9592 if err := validateProfilerConfig(v.ProfilerConfig); err != nil { 9593 invalidParams.AddNested("ProfilerConfig", err.(smithy.InvalidParamsError)) 9594 } 9595 } 9596 if v.ProfilerRuleConfigurations != nil { 9597 if err := validateProfilerRuleConfigurations(v.ProfilerRuleConfigurations); err != nil { 9598 invalidParams.AddNested("ProfilerRuleConfigurations", err.(smithy.InvalidParamsError)) 9599 } 9600 } 9601 if invalidParams.Len() > 0 { 9602 return invalidParams 9603 } else { 9604 return nil 9605 } 9606} 9607 9608func validateOpCreateTransformJobInput(v *CreateTransformJobInput) error { 9609 if v == nil { 9610 return nil 9611 } 9612 invalidParams := smithy.InvalidParamsError{Context: "CreateTransformJobInput"} 9613 if v.TransformJobName == nil { 9614 invalidParams.Add(smithy.NewErrParamRequired("TransformJobName")) 9615 } 9616 if v.ModelName == nil { 9617 invalidParams.Add(smithy.NewErrParamRequired("ModelName")) 9618 } 9619 if v.TransformInput == nil { 9620 invalidParams.Add(smithy.NewErrParamRequired("TransformInput")) 9621 } else if v.TransformInput != nil { 9622 if err := validateTransformInput(v.TransformInput); err != nil { 9623 invalidParams.AddNested("TransformInput", err.(smithy.InvalidParamsError)) 9624 } 9625 } 9626 if v.TransformOutput == nil { 9627 invalidParams.Add(smithy.NewErrParamRequired("TransformOutput")) 9628 } else if v.TransformOutput != nil { 9629 if err := validateTransformOutput(v.TransformOutput); err != nil { 9630 invalidParams.AddNested("TransformOutput", err.(smithy.InvalidParamsError)) 9631 } 9632 } 9633 if v.TransformResources == nil { 9634 invalidParams.Add(smithy.NewErrParamRequired("TransformResources")) 9635 } else if v.TransformResources != nil { 9636 if err := validateTransformResources(v.TransformResources); err != nil { 9637 invalidParams.AddNested("TransformResources", err.(smithy.InvalidParamsError)) 9638 } 9639 } 9640 if v.Tags != nil { 9641 if err := validateTagList(v.Tags); err != nil { 9642 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9643 } 9644 } 9645 if invalidParams.Len() > 0 { 9646 return invalidParams 9647 } else { 9648 return nil 9649 } 9650} 9651 9652func validateOpCreateTrialComponentInput(v *CreateTrialComponentInput) error { 9653 if v == nil { 9654 return nil 9655 } 9656 invalidParams := smithy.InvalidParamsError{Context: "CreateTrialComponentInput"} 9657 if v.TrialComponentName == nil { 9658 invalidParams.Add(smithy.NewErrParamRequired("TrialComponentName")) 9659 } 9660 if v.InputArtifacts != nil { 9661 if err := validateTrialComponentArtifacts(v.InputArtifacts); err != nil { 9662 invalidParams.AddNested("InputArtifacts", err.(smithy.InvalidParamsError)) 9663 } 9664 } 9665 if v.OutputArtifacts != nil { 9666 if err := validateTrialComponentArtifacts(v.OutputArtifacts); err != nil { 9667 invalidParams.AddNested("OutputArtifacts", err.(smithy.InvalidParamsError)) 9668 } 9669 } 9670 if v.Tags != nil { 9671 if err := validateTagList(v.Tags); err != nil { 9672 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9673 } 9674 } 9675 if invalidParams.Len() > 0 { 9676 return invalidParams 9677 } else { 9678 return nil 9679 } 9680} 9681 9682func validateOpCreateTrialInput(v *CreateTrialInput) error { 9683 if v == nil { 9684 return nil 9685 } 9686 invalidParams := smithy.InvalidParamsError{Context: "CreateTrialInput"} 9687 if v.TrialName == nil { 9688 invalidParams.Add(smithy.NewErrParamRequired("TrialName")) 9689 } 9690 if v.ExperimentName == nil { 9691 invalidParams.Add(smithy.NewErrParamRequired("ExperimentName")) 9692 } 9693 if v.Tags != nil { 9694 if err := validateTagList(v.Tags); err != nil { 9695 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9696 } 9697 } 9698 if invalidParams.Len() > 0 { 9699 return invalidParams 9700 } else { 9701 return nil 9702 } 9703} 9704 9705func validateOpCreateUserProfileInput(v *CreateUserProfileInput) error { 9706 if v == nil { 9707 return nil 9708 } 9709 invalidParams := smithy.InvalidParamsError{Context: "CreateUserProfileInput"} 9710 if v.DomainId == nil { 9711 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 9712 } 9713 if v.UserProfileName == nil { 9714 invalidParams.Add(smithy.NewErrParamRequired("UserProfileName")) 9715 } 9716 if v.Tags != nil { 9717 if err := validateTagList(v.Tags); err != nil { 9718 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9719 } 9720 } 9721 if v.UserSettings != nil { 9722 if err := validateUserSettings(v.UserSettings); err != nil { 9723 invalidParams.AddNested("UserSettings", err.(smithy.InvalidParamsError)) 9724 } 9725 } 9726 if invalidParams.Len() > 0 { 9727 return invalidParams 9728 } else { 9729 return nil 9730 } 9731} 9732 9733func validateOpCreateWorkforceInput(v *CreateWorkforceInput) error { 9734 if v == nil { 9735 return nil 9736 } 9737 invalidParams := smithy.InvalidParamsError{Context: "CreateWorkforceInput"} 9738 if v.CognitoConfig != nil { 9739 if err := validateCognitoConfig(v.CognitoConfig); err != nil { 9740 invalidParams.AddNested("CognitoConfig", err.(smithy.InvalidParamsError)) 9741 } 9742 } 9743 if v.OidcConfig != nil { 9744 if err := validateOidcConfig(v.OidcConfig); err != nil { 9745 invalidParams.AddNested("OidcConfig", err.(smithy.InvalidParamsError)) 9746 } 9747 } 9748 if v.SourceIpConfig != nil { 9749 if err := validateSourceIpConfig(v.SourceIpConfig); err != nil { 9750 invalidParams.AddNested("SourceIpConfig", err.(smithy.InvalidParamsError)) 9751 } 9752 } 9753 if v.WorkforceName == nil { 9754 invalidParams.Add(smithy.NewErrParamRequired("WorkforceName")) 9755 } 9756 if v.Tags != nil { 9757 if err := validateTagList(v.Tags); err != nil { 9758 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9759 } 9760 } 9761 if invalidParams.Len() > 0 { 9762 return invalidParams 9763 } else { 9764 return nil 9765 } 9766} 9767 9768func validateOpCreateWorkteamInput(v *CreateWorkteamInput) error { 9769 if v == nil { 9770 return nil 9771 } 9772 invalidParams := smithy.InvalidParamsError{Context: "CreateWorkteamInput"} 9773 if v.WorkteamName == nil { 9774 invalidParams.Add(smithy.NewErrParamRequired("WorkteamName")) 9775 } 9776 if v.MemberDefinitions == nil { 9777 invalidParams.Add(smithy.NewErrParamRequired("MemberDefinitions")) 9778 } else if v.MemberDefinitions != nil { 9779 if err := validateMemberDefinitions(v.MemberDefinitions); err != nil { 9780 invalidParams.AddNested("MemberDefinitions", err.(smithy.InvalidParamsError)) 9781 } 9782 } 9783 if v.Description == nil { 9784 invalidParams.Add(smithy.NewErrParamRequired("Description")) 9785 } 9786 if v.Tags != nil { 9787 if err := validateTagList(v.Tags); err != nil { 9788 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 9789 } 9790 } 9791 if invalidParams.Len() > 0 { 9792 return invalidParams 9793 } else { 9794 return nil 9795 } 9796} 9797 9798func validateOpDeleteActionInput(v *DeleteActionInput) error { 9799 if v == nil { 9800 return nil 9801 } 9802 invalidParams := smithy.InvalidParamsError{Context: "DeleteActionInput"} 9803 if v.ActionName == nil { 9804 invalidParams.Add(smithy.NewErrParamRequired("ActionName")) 9805 } 9806 if invalidParams.Len() > 0 { 9807 return invalidParams 9808 } else { 9809 return nil 9810 } 9811} 9812 9813func validateOpDeleteAlgorithmInput(v *DeleteAlgorithmInput) error { 9814 if v == nil { 9815 return nil 9816 } 9817 invalidParams := smithy.InvalidParamsError{Context: "DeleteAlgorithmInput"} 9818 if v.AlgorithmName == nil { 9819 invalidParams.Add(smithy.NewErrParamRequired("AlgorithmName")) 9820 } 9821 if invalidParams.Len() > 0 { 9822 return invalidParams 9823 } else { 9824 return nil 9825 } 9826} 9827 9828func validateOpDeleteAppImageConfigInput(v *DeleteAppImageConfigInput) error { 9829 if v == nil { 9830 return nil 9831 } 9832 invalidParams := smithy.InvalidParamsError{Context: "DeleteAppImageConfigInput"} 9833 if v.AppImageConfigName == nil { 9834 invalidParams.Add(smithy.NewErrParamRequired("AppImageConfigName")) 9835 } 9836 if invalidParams.Len() > 0 { 9837 return invalidParams 9838 } else { 9839 return nil 9840 } 9841} 9842 9843func validateOpDeleteAppInput(v *DeleteAppInput) error { 9844 if v == nil { 9845 return nil 9846 } 9847 invalidParams := smithy.InvalidParamsError{Context: "DeleteAppInput"} 9848 if v.DomainId == nil { 9849 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 9850 } 9851 if v.UserProfileName == nil { 9852 invalidParams.Add(smithy.NewErrParamRequired("UserProfileName")) 9853 } 9854 if len(v.AppType) == 0 { 9855 invalidParams.Add(smithy.NewErrParamRequired("AppType")) 9856 } 9857 if v.AppName == nil { 9858 invalidParams.Add(smithy.NewErrParamRequired("AppName")) 9859 } 9860 if invalidParams.Len() > 0 { 9861 return invalidParams 9862 } else { 9863 return nil 9864 } 9865} 9866 9867func validateOpDeleteArtifactInput(v *DeleteArtifactInput) error { 9868 if v == nil { 9869 return nil 9870 } 9871 invalidParams := smithy.InvalidParamsError{Context: "DeleteArtifactInput"} 9872 if v.Source != nil { 9873 if err := validateArtifactSource(v.Source); err != nil { 9874 invalidParams.AddNested("Source", err.(smithy.InvalidParamsError)) 9875 } 9876 } 9877 if invalidParams.Len() > 0 { 9878 return invalidParams 9879 } else { 9880 return nil 9881 } 9882} 9883 9884func validateOpDeleteAssociationInput(v *DeleteAssociationInput) error { 9885 if v == nil { 9886 return nil 9887 } 9888 invalidParams := smithy.InvalidParamsError{Context: "DeleteAssociationInput"} 9889 if v.SourceArn == nil { 9890 invalidParams.Add(smithy.NewErrParamRequired("SourceArn")) 9891 } 9892 if v.DestinationArn == nil { 9893 invalidParams.Add(smithy.NewErrParamRequired("DestinationArn")) 9894 } 9895 if invalidParams.Len() > 0 { 9896 return invalidParams 9897 } else { 9898 return nil 9899 } 9900} 9901 9902func validateOpDeleteCodeRepositoryInput(v *DeleteCodeRepositoryInput) error { 9903 if v == nil { 9904 return nil 9905 } 9906 invalidParams := smithy.InvalidParamsError{Context: "DeleteCodeRepositoryInput"} 9907 if v.CodeRepositoryName == nil { 9908 invalidParams.Add(smithy.NewErrParamRequired("CodeRepositoryName")) 9909 } 9910 if invalidParams.Len() > 0 { 9911 return invalidParams 9912 } else { 9913 return nil 9914 } 9915} 9916 9917func validateOpDeleteContextInput(v *DeleteContextInput) error { 9918 if v == nil { 9919 return nil 9920 } 9921 invalidParams := smithy.InvalidParamsError{Context: "DeleteContextInput"} 9922 if v.ContextName == nil { 9923 invalidParams.Add(smithy.NewErrParamRequired("ContextName")) 9924 } 9925 if invalidParams.Len() > 0 { 9926 return invalidParams 9927 } else { 9928 return nil 9929 } 9930} 9931 9932func validateOpDeleteDataQualityJobDefinitionInput(v *DeleteDataQualityJobDefinitionInput) error { 9933 if v == nil { 9934 return nil 9935 } 9936 invalidParams := smithy.InvalidParamsError{Context: "DeleteDataQualityJobDefinitionInput"} 9937 if v.JobDefinitionName == nil { 9938 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 9939 } 9940 if invalidParams.Len() > 0 { 9941 return invalidParams 9942 } else { 9943 return nil 9944 } 9945} 9946 9947func validateOpDeleteDeviceFleetInput(v *DeleteDeviceFleetInput) error { 9948 if v == nil { 9949 return nil 9950 } 9951 invalidParams := smithy.InvalidParamsError{Context: "DeleteDeviceFleetInput"} 9952 if v.DeviceFleetName == nil { 9953 invalidParams.Add(smithy.NewErrParamRequired("DeviceFleetName")) 9954 } 9955 if invalidParams.Len() > 0 { 9956 return invalidParams 9957 } else { 9958 return nil 9959 } 9960} 9961 9962func validateOpDeleteDomainInput(v *DeleteDomainInput) error { 9963 if v == nil { 9964 return nil 9965 } 9966 invalidParams := smithy.InvalidParamsError{Context: "DeleteDomainInput"} 9967 if v.DomainId == nil { 9968 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 9969 } 9970 if invalidParams.Len() > 0 { 9971 return invalidParams 9972 } else { 9973 return nil 9974 } 9975} 9976 9977func validateOpDeleteEndpointConfigInput(v *DeleteEndpointConfigInput) error { 9978 if v == nil { 9979 return nil 9980 } 9981 invalidParams := smithy.InvalidParamsError{Context: "DeleteEndpointConfigInput"} 9982 if v.EndpointConfigName == nil { 9983 invalidParams.Add(smithy.NewErrParamRequired("EndpointConfigName")) 9984 } 9985 if invalidParams.Len() > 0 { 9986 return invalidParams 9987 } else { 9988 return nil 9989 } 9990} 9991 9992func validateOpDeleteEndpointInput(v *DeleteEndpointInput) error { 9993 if v == nil { 9994 return nil 9995 } 9996 invalidParams := smithy.InvalidParamsError{Context: "DeleteEndpointInput"} 9997 if v.EndpointName == nil { 9998 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 9999 } 10000 if invalidParams.Len() > 0 { 10001 return invalidParams 10002 } else { 10003 return nil 10004 } 10005} 10006 10007func validateOpDeleteExperimentInput(v *DeleteExperimentInput) error { 10008 if v == nil { 10009 return nil 10010 } 10011 invalidParams := smithy.InvalidParamsError{Context: "DeleteExperimentInput"} 10012 if v.ExperimentName == nil { 10013 invalidParams.Add(smithy.NewErrParamRequired("ExperimentName")) 10014 } 10015 if invalidParams.Len() > 0 { 10016 return invalidParams 10017 } else { 10018 return nil 10019 } 10020} 10021 10022func validateOpDeleteFeatureGroupInput(v *DeleteFeatureGroupInput) error { 10023 if v == nil { 10024 return nil 10025 } 10026 invalidParams := smithy.InvalidParamsError{Context: "DeleteFeatureGroupInput"} 10027 if v.FeatureGroupName == nil { 10028 invalidParams.Add(smithy.NewErrParamRequired("FeatureGroupName")) 10029 } 10030 if invalidParams.Len() > 0 { 10031 return invalidParams 10032 } else { 10033 return nil 10034 } 10035} 10036 10037func validateOpDeleteFlowDefinitionInput(v *DeleteFlowDefinitionInput) error { 10038 if v == nil { 10039 return nil 10040 } 10041 invalidParams := smithy.InvalidParamsError{Context: "DeleteFlowDefinitionInput"} 10042 if v.FlowDefinitionName == nil { 10043 invalidParams.Add(smithy.NewErrParamRequired("FlowDefinitionName")) 10044 } 10045 if invalidParams.Len() > 0 { 10046 return invalidParams 10047 } else { 10048 return nil 10049 } 10050} 10051 10052func validateOpDeleteHumanTaskUiInput(v *DeleteHumanTaskUiInput) error { 10053 if v == nil { 10054 return nil 10055 } 10056 invalidParams := smithy.InvalidParamsError{Context: "DeleteHumanTaskUiInput"} 10057 if v.HumanTaskUiName == nil { 10058 invalidParams.Add(smithy.NewErrParamRequired("HumanTaskUiName")) 10059 } 10060 if invalidParams.Len() > 0 { 10061 return invalidParams 10062 } else { 10063 return nil 10064 } 10065} 10066 10067func validateOpDeleteImageInput(v *DeleteImageInput) error { 10068 if v == nil { 10069 return nil 10070 } 10071 invalidParams := smithy.InvalidParamsError{Context: "DeleteImageInput"} 10072 if v.ImageName == nil { 10073 invalidParams.Add(smithy.NewErrParamRequired("ImageName")) 10074 } 10075 if invalidParams.Len() > 0 { 10076 return invalidParams 10077 } else { 10078 return nil 10079 } 10080} 10081 10082func validateOpDeleteImageVersionInput(v *DeleteImageVersionInput) error { 10083 if v == nil { 10084 return nil 10085 } 10086 invalidParams := smithy.InvalidParamsError{Context: "DeleteImageVersionInput"} 10087 if v.ImageName == nil { 10088 invalidParams.Add(smithy.NewErrParamRequired("ImageName")) 10089 } 10090 if v.Version == nil { 10091 invalidParams.Add(smithy.NewErrParamRequired("Version")) 10092 } 10093 if invalidParams.Len() > 0 { 10094 return invalidParams 10095 } else { 10096 return nil 10097 } 10098} 10099 10100func validateOpDeleteModelBiasJobDefinitionInput(v *DeleteModelBiasJobDefinitionInput) error { 10101 if v == nil { 10102 return nil 10103 } 10104 invalidParams := smithy.InvalidParamsError{Context: "DeleteModelBiasJobDefinitionInput"} 10105 if v.JobDefinitionName == nil { 10106 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 10107 } 10108 if invalidParams.Len() > 0 { 10109 return invalidParams 10110 } else { 10111 return nil 10112 } 10113} 10114 10115func validateOpDeleteModelExplainabilityJobDefinitionInput(v *DeleteModelExplainabilityJobDefinitionInput) error { 10116 if v == nil { 10117 return nil 10118 } 10119 invalidParams := smithy.InvalidParamsError{Context: "DeleteModelExplainabilityJobDefinitionInput"} 10120 if v.JobDefinitionName == nil { 10121 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 10122 } 10123 if invalidParams.Len() > 0 { 10124 return invalidParams 10125 } else { 10126 return nil 10127 } 10128} 10129 10130func validateOpDeleteModelInput(v *DeleteModelInput) error { 10131 if v == nil { 10132 return nil 10133 } 10134 invalidParams := smithy.InvalidParamsError{Context: "DeleteModelInput"} 10135 if v.ModelName == nil { 10136 invalidParams.Add(smithy.NewErrParamRequired("ModelName")) 10137 } 10138 if invalidParams.Len() > 0 { 10139 return invalidParams 10140 } else { 10141 return nil 10142 } 10143} 10144 10145func validateOpDeleteModelPackageGroupInput(v *DeleteModelPackageGroupInput) error { 10146 if v == nil { 10147 return nil 10148 } 10149 invalidParams := smithy.InvalidParamsError{Context: "DeleteModelPackageGroupInput"} 10150 if v.ModelPackageGroupName == nil { 10151 invalidParams.Add(smithy.NewErrParamRequired("ModelPackageGroupName")) 10152 } 10153 if invalidParams.Len() > 0 { 10154 return invalidParams 10155 } else { 10156 return nil 10157 } 10158} 10159 10160func validateOpDeleteModelPackageGroupPolicyInput(v *DeleteModelPackageGroupPolicyInput) error { 10161 if v == nil { 10162 return nil 10163 } 10164 invalidParams := smithy.InvalidParamsError{Context: "DeleteModelPackageGroupPolicyInput"} 10165 if v.ModelPackageGroupName == nil { 10166 invalidParams.Add(smithy.NewErrParamRequired("ModelPackageGroupName")) 10167 } 10168 if invalidParams.Len() > 0 { 10169 return invalidParams 10170 } else { 10171 return nil 10172 } 10173} 10174 10175func validateOpDeleteModelPackageInput(v *DeleteModelPackageInput) error { 10176 if v == nil { 10177 return nil 10178 } 10179 invalidParams := smithy.InvalidParamsError{Context: "DeleteModelPackageInput"} 10180 if v.ModelPackageName == nil { 10181 invalidParams.Add(smithy.NewErrParamRequired("ModelPackageName")) 10182 } 10183 if invalidParams.Len() > 0 { 10184 return invalidParams 10185 } else { 10186 return nil 10187 } 10188} 10189 10190func validateOpDeleteModelQualityJobDefinitionInput(v *DeleteModelQualityJobDefinitionInput) error { 10191 if v == nil { 10192 return nil 10193 } 10194 invalidParams := smithy.InvalidParamsError{Context: "DeleteModelQualityJobDefinitionInput"} 10195 if v.JobDefinitionName == nil { 10196 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 10197 } 10198 if invalidParams.Len() > 0 { 10199 return invalidParams 10200 } else { 10201 return nil 10202 } 10203} 10204 10205func validateOpDeleteMonitoringScheduleInput(v *DeleteMonitoringScheduleInput) error { 10206 if v == nil { 10207 return nil 10208 } 10209 invalidParams := smithy.InvalidParamsError{Context: "DeleteMonitoringScheduleInput"} 10210 if v.MonitoringScheduleName == nil { 10211 invalidParams.Add(smithy.NewErrParamRequired("MonitoringScheduleName")) 10212 } 10213 if invalidParams.Len() > 0 { 10214 return invalidParams 10215 } else { 10216 return nil 10217 } 10218} 10219 10220func validateOpDeleteNotebookInstanceInput(v *DeleteNotebookInstanceInput) error { 10221 if v == nil { 10222 return nil 10223 } 10224 invalidParams := smithy.InvalidParamsError{Context: "DeleteNotebookInstanceInput"} 10225 if v.NotebookInstanceName == nil { 10226 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceName")) 10227 } 10228 if invalidParams.Len() > 0 { 10229 return invalidParams 10230 } else { 10231 return nil 10232 } 10233} 10234 10235func validateOpDeleteNotebookInstanceLifecycleConfigInput(v *DeleteNotebookInstanceLifecycleConfigInput) error { 10236 if v == nil { 10237 return nil 10238 } 10239 invalidParams := smithy.InvalidParamsError{Context: "DeleteNotebookInstanceLifecycleConfigInput"} 10240 if v.NotebookInstanceLifecycleConfigName == nil { 10241 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceLifecycleConfigName")) 10242 } 10243 if invalidParams.Len() > 0 { 10244 return invalidParams 10245 } else { 10246 return nil 10247 } 10248} 10249 10250func validateOpDeletePipelineInput(v *DeletePipelineInput) error { 10251 if v == nil { 10252 return nil 10253 } 10254 invalidParams := smithy.InvalidParamsError{Context: "DeletePipelineInput"} 10255 if v.PipelineName == nil { 10256 invalidParams.Add(smithy.NewErrParamRequired("PipelineName")) 10257 } 10258 if v.ClientRequestToken == nil { 10259 invalidParams.Add(smithy.NewErrParamRequired("ClientRequestToken")) 10260 } 10261 if invalidParams.Len() > 0 { 10262 return invalidParams 10263 } else { 10264 return nil 10265 } 10266} 10267 10268func validateOpDeleteProjectInput(v *DeleteProjectInput) error { 10269 if v == nil { 10270 return nil 10271 } 10272 invalidParams := smithy.InvalidParamsError{Context: "DeleteProjectInput"} 10273 if v.ProjectName == nil { 10274 invalidParams.Add(smithy.NewErrParamRequired("ProjectName")) 10275 } 10276 if invalidParams.Len() > 0 { 10277 return invalidParams 10278 } else { 10279 return nil 10280 } 10281} 10282 10283func validateOpDeleteTagsInput(v *DeleteTagsInput) error { 10284 if v == nil { 10285 return nil 10286 } 10287 invalidParams := smithy.InvalidParamsError{Context: "DeleteTagsInput"} 10288 if v.ResourceArn == nil { 10289 invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) 10290 } 10291 if v.TagKeys == nil { 10292 invalidParams.Add(smithy.NewErrParamRequired("TagKeys")) 10293 } 10294 if invalidParams.Len() > 0 { 10295 return invalidParams 10296 } else { 10297 return nil 10298 } 10299} 10300 10301func validateOpDeleteTrialComponentInput(v *DeleteTrialComponentInput) error { 10302 if v == nil { 10303 return nil 10304 } 10305 invalidParams := smithy.InvalidParamsError{Context: "DeleteTrialComponentInput"} 10306 if v.TrialComponentName == nil { 10307 invalidParams.Add(smithy.NewErrParamRequired("TrialComponentName")) 10308 } 10309 if invalidParams.Len() > 0 { 10310 return invalidParams 10311 } else { 10312 return nil 10313 } 10314} 10315 10316func validateOpDeleteTrialInput(v *DeleteTrialInput) error { 10317 if v == nil { 10318 return nil 10319 } 10320 invalidParams := smithy.InvalidParamsError{Context: "DeleteTrialInput"} 10321 if v.TrialName == nil { 10322 invalidParams.Add(smithy.NewErrParamRequired("TrialName")) 10323 } 10324 if invalidParams.Len() > 0 { 10325 return invalidParams 10326 } else { 10327 return nil 10328 } 10329} 10330 10331func validateOpDeleteUserProfileInput(v *DeleteUserProfileInput) error { 10332 if v == nil { 10333 return nil 10334 } 10335 invalidParams := smithy.InvalidParamsError{Context: "DeleteUserProfileInput"} 10336 if v.DomainId == nil { 10337 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 10338 } 10339 if v.UserProfileName == nil { 10340 invalidParams.Add(smithy.NewErrParamRequired("UserProfileName")) 10341 } 10342 if invalidParams.Len() > 0 { 10343 return invalidParams 10344 } else { 10345 return nil 10346 } 10347} 10348 10349func validateOpDeleteWorkforceInput(v *DeleteWorkforceInput) error { 10350 if v == nil { 10351 return nil 10352 } 10353 invalidParams := smithy.InvalidParamsError{Context: "DeleteWorkforceInput"} 10354 if v.WorkforceName == nil { 10355 invalidParams.Add(smithy.NewErrParamRequired("WorkforceName")) 10356 } 10357 if invalidParams.Len() > 0 { 10358 return invalidParams 10359 } else { 10360 return nil 10361 } 10362} 10363 10364func validateOpDeleteWorkteamInput(v *DeleteWorkteamInput) error { 10365 if v == nil { 10366 return nil 10367 } 10368 invalidParams := smithy.InvalidParamsError{Context: "DeleteWorkteamInput"} 10369 if v.WorkteamName == nil { 10370 invalidParams.Add(smithy.NewErrParamRequired("WorkteamName")) 10371 } 10372 if invalidParams.Len() > 0 { 10373 return invalidParams 10374 } else { 10375 return nil 10376 } 10377} 10378 10379func validateOpDeregisterDevicesInput(v *DeregisterDevicesInput) error { 10380 if v == nil { 10381 return nil 10382 } 10383 invalidParams := smithy.InvalidParamsError{Context: "DeregisterDevicesInput"} 10384 if v.DeviceFleetName == nil { 10385 invalidParams.Add(smithy.NewErrParamRequired("DeviceFleetName")) 10386 } 10387 if v.DeviceNames == nil { 10388 invalidParams.Add(smithy.NewErrParamRequired("DeviceNames")) 10389 } 10390 if invalidParams.Len() > 0 { 10391 return invalidParams 10392 } else { 10393 return nil 10394 } 10395} 10396 10397func validateOpDescribeActionInput(v *DescribeActionInput) error { 10398 if v == nil { 10399 return nil 10400 } 10401 invalidParams := smithy.InvalidParamsError{Context: "DescribeActionInput"} 10402 if v.ActionName == nil { 10403 invalidParams.Add(smithy.NewErrParamRequired("ActionName")) 10404 } 10405 if invalidParams.Len() > 0 { 10406 return invalidParams 10407 } else { 10408 return nil 10409 } 10410} 10411 10412func validateOpDescribeAlgorithmInput(v *DescribeAlgorithmInput) error { 10413 if v == nil { 10414 return nil 10415 } 10416 invalidParams := smithy.InvalidParamsError{Context: "DescribeAlgorithmInput"} 10417 if v.AlgorithmName == nil { 10418 invalidParams.Add(smithy.NewErrParamRequired("AlgorithmName")) 10419 } 10420 if invalidParams.Len() > 0 { 10421 return invalidParams 10422 } else { 10423 return nil 10424 } 10425} 10426 10427func validateOpDescribeAppImageConfigInput(v *DescribeAppImageConfigInput) error { 10428 if v == nil { 10429 return nil 10430 } 10431 invalidParams := smithy.InvalidParamsError{Context: "DescribeAppImageConfigInput"} 10432 if v.AppImageConfigName == nil { 10433 invalidParams.Add(smithy.NewErrParamRequired("AppImageConfigName")) 10434 } 10435 if invalidParams.Len() > 0 { 10436 return invalidParams 10437 } else { 10438 return nil 10439 } 10440} 10441 10442func validateOpDescribeAppInput(v *DescribeAppInput) error { 10443 if v == nil { 10444 return nil 10445 } 10446 invalidParams := smithy.InvalidParamsError{Context: "DescribeAppInput"} 10447 if v.DomainId == nil { 10448 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 10449 } 10450 if v.UserProfileName == nil { 10451 invalidParams.Add(smithy.NewErrParamRequired("UserProfileName")) 10452 } 10453 if len(v.AppType) == 0 { 10454 invalidParams.Add(smithy.NewErrParamRequired("AppType")) 10455 } 10456 if v.AppName == nil { 10457 invalidParams.Add(smithy.NewErrParamRequired("AppName")) 10458 } 10459 if invalidParams.Len() > 0 { 10460 return invalidParams 10461 } else { 10462 return nil 10463 } 10464} 10465 10466func validateOpDescribeArtifactInput(v *DescribeArtifactInput) error { 10467 if v == nil { 10468 return nil 10469 } 10470 invalidParams := smithy.InvalidParamsError{Context: "DescribeArtifactInput"} 10471 if v.ArtifactArn == nil { 10472 invalidParams.Add(smithy.NewErrParamRequired("ArtifactArn")) 10473 } 10474 if invalidParams.Len() > 0 { 10475 return invalidParams 10476 } else { 10477 return nil 10478 } 10479} 10480 10481func validateOpDescribeAutoMLJobInput(v *DescribeAutoMLJobInput) error { 10482 if v == nil { 10483 return nil 10484 } 10485 invalidParams := smithy.InvalidParamsError{Context: "DescribeAutoMLJobInput"} 10486 if v.AutoMLJobName == nil { 10487 invalidParams.Add(smithy.NewErrParamRequired("AutoMLJobName")) 10488 } 10489 if invalidParams.Len() > 0 { 10490 return invalidParams 10491 } else { 10492 return nil 10493 } 10494} 10495 10496func validateOpDescribeCodeRepositoryInput(v *DescribeCodeRepositoryInput) error { 10497 if v == nil { 10498 return nil 10499 } 10500 invalidParams := smithy.InvalidParamsError{Context: "DescribeCodeRepositoryInput"} 10501 if v.CodeRepositoryName == nil { 10502 invalidParams.Add(smithy.NewErrParamRequired("CodeRepositoryName")) 10503 } 10504 if invalidParams.Len() > 0 { 10505 return invalidParams 10506 } else { 10507 return nil 10508 } 10509} 10510 10511func validateOpDescribeCompilationJobInput(v *DescribeCompilationJobInput) error { 10512 if v == nil { 10513 return nil 10514 } 10515 invalidParams := smithy.InvalidParamsError{Context: "DescribeCompilationJobInput"} 10516 if v.CompilationJobName == nil { 10517 invalidParams.Add(smithy.NewErrParamRequired("CompilationJobName")) 10518 } 10519 if invalidParams.Len() > 0 { 10520 return invalidParams 10521 } else { 10522 return nil 10523 } 10524} 10525 10526func validateOpDescribeContextInput(v *DescribeContextInput) error { 10527 if v == nil { 10528 return nil 10529 } 10530 invalidParams := smithy.InvalidParamsError{Context: "DescribeContextInput"} 10531 if v.ContextName == nil { 10532 invalidParams.Add(smithy.NewErrParamRequired("ContextName")) 10533 } 10534 if invalidParams.Len() > 0 { 10535 return invalidParams 10536 } else { 10537 return nil 10538 } 10539} 10540 10541func validateOpDescribeDataQualityJobDefinitionInput(v *DescribeDataQualityJobDefinitionInput) error { 10542 if v == nil { 10543 return nil 10544 } 10545 invalidParams := smithy.InvalidParamsError{Context: "DescribeDataQualityJobDefinitionInput"} 10546 if v.JobDefinitionName == nil { 10547 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 10548 } 10549 if invalidParams.Len() > 0 { 10550 return invalidParams 10551 } else { 10552 return nil 10553 } 10554} 10555 10556func validateOpDescribeDeviceFleetInput(v *DescribeDeviceFleetInput) error { 10557 if v == nil { 10558 return nil 10559 } 10560 invalidParams := smithy.InvalidParamsError{Context: "DescribeDeviceFleetInput"} 10561 if v.DeviceFleetName == nil { 10562 invalidParams.Add(smithy.NewErrParamRequired("DeviceFleetName")) 10563 } 10564 if invalidParams.Len() > 0 { 10565 return invalidParams 10566 } else { 10567 return nil 10568 } 10569} 10570 10571func validateOpDescribeDeviceInput(v *DescribeDeviceInput) error { 10572 if v == nil { 10573 return nil 10574 } 10575 invalidParams := smithy.InvalidParamsError{Context: "DescribeDeviceInput"} 10576 if v.DeviceName == nil { 10577 invalidParams.Add(smithy.NewErrParamRequired("DeviceName")) 10578 } 10579 if v.DeviceFleetName == nil { 10580 invalidParams.Add(smithy.NewErrParamRequired("DeviceFleetName")) 10581 } 10582 if invalidParams.Len() > 0 { 10583 return invalidParams 10584 } else { 10585 return nil 10586 } 10587} 10588 10589func validateOpDescribeDomainInput(v *DescribeDomainInput) error { 10590 if v == nil { 10591 return nil 10592 } 10593 invalidParams := smithy.InvalidParamsError{Context: "DescribeDomainInput"} 10594 if v.DomainId == nil { 10595 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 10596 } 10597 if invalidParams.Len() > 0 { 10598 return invalidParams 10599 } else { 10600 return nil 10601 } 10602} 10603 10604func validateOpDescribeEdgePackagingJobInput(v *DescribeEdgePackagingJobInput) error { 10605 if v == nil { 10606 return nil 10607 } 10608 invalidParams := smithy.InvalidParamsError{Context: "DescribeEdgePackagingJobInput"} 10609 if v.EdgePackagingJobName == nil { 10610 invalidParams.Add(smithy.NewErrParamRequired("EdgePackagingJobName")) 10611 } 10612 if invalidParams.Len() > 0 { 10613 return invalidParams 10614 } else { 10615 return nil 10616 } 10617} 10618 10619func validateOpDescribeEndpointConfigInput(v *DescribeEndpointConfigInput) error { 10620 if v == nil { 10621 return nil 10622 } 10623 invalidParams := smithy.InvalidParamsError{Context: "DescribeEndpointConfigInput"} 10624 if v.EndpointConfigName == nil { 10625 invalidParams.Add(smithy.NewErrParamRequired("EndpointConfigName")) 10626 } 10627 if invalidParams.Len() > 0 { 10628 return invalidParams 10629 } else { 10630 return nil 10631 } 10632} 10633 10634func validateOpDescribeEndpointInput(v *DescribeEndpointInput) error { 10635 if v == nil { 10636 return nil 10637 } 10638 invalidParams := smithy.InvalidParamsError{Context: "DescribeEndpointInput"} 10639 if v.EndpointName == nil { 10640 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 10641 } 10642 if invalidParams.Len() > 0 { 10643 return invalidParams 10644 } else { 10645 return nil 10646 } 10647} 10648 10649func validateOpDescribeExperimentInput(v *DescribeExperimentInput) error { 10650 if v == nil { 10651 return nil 10652 } 10653 invalidParams := smithy.InvalidParamsError{Context: "DescribeExperimentInput"} 10654 if v.ExperimentName == nil { 10655 invalidParams.Add(smithy.NewErrParamRequired("ExperimentName")) 10656 } 10657 if invalidParams.Len() > 0 { 10658 return invalidParams 10659 } else { 10660 return nil 10661 } 10662} 10663 10664func validateOpDescribeFeatureGroupInput(v *DescribeFeatureGroupInput) error { 10665 if v == nil { 10666 return nil 10667 } 10668 invalidParams := smithy.InvalidParamsError{Context: "DescribeFeatureGroupInput"} 10669 if v.FeatureGroupName == nil { 10670 invalidParams.Add(smithy.NewErrParamRequired("FeatureGroupName")) 10671 } 10672 if invalidParams.Len() > 0 { 10673 return invalidParams 10674 } else { 10675 return nil 10676 } 10677} 10678 10679func validateOpDescribeFlowDefinitionInput(v *DescribeFlowDefinitionInput) error { 10680 if v == nil { 10681 return nil 10682 } 10683 invalidParams := smithy.InvalidParamsError{Context: "DescribeFlowDefinitionInput"} 10684 if v.FlowDefinitionName == nil { 10685 invalidParams.Add(smithy.NewErrParamRequired("FlowDefinitionName")) 10686 } 10687 if invalidParams.Len() > 0 { 10688 return invalidParams 10689 } else { 10690 return nil 10691 } 10692} 10693 10694func validateOpDescribeHumanTaskUiInput(v *DescribeHumanTaskUiInput) error { 10695 if v == nil { 10696 return nil 10697 } 10698 invalidParams := smithy.InvalidParamsError{Context: "DescribeHumanTaskUiInput"} 10699 if v.HumanTaskUiName == nil { 10700 invalidParams.Add(smithy.NewErrParamRequired("HumanTaskUiName")) 10701 } 10702 if invalidParams.Len() > 0 { 10703 return invalidParams 10704 } else { 10705 return nil 10706 } 10707} 10708 10709func validateOpDescribeHyperParameterTuningJobInput(v *DescribeHyperParameterTuningJobInput) error { 10710 if v == nil { 10711 return nil 10712 } 10713 invalidParams := smithy.InvalidParamsError{Context: "DescribeHyperParameterTuningJobInput"} 10714 if v.HyperParameterTuningJobName == nil { 10715 invalidParams.Add(smithy.NewErrParamRequired("HyperParameterTuningJobName")) 10716 } 10717 if invalidParams.Len() > 0 { 10718 return invalidParams 10719 } else { 10720 return nil 10721 } 10722} 10723 10724func validateOpDescribeImageInput(v *DescribeImageInput) error { 10725 if v == nil { 10726 return nil 10727 } 10728 invalidParams := smithy.InvalidParamsError{Context: "DescribeImageInput"} 10729 if v.ImageName == nil { 10730 invalidParams.Add(smithy.NewErrParamRequired("ImageName")) 10731 } 10732 if invalidParams.Len() > 0 { 10733 return invalidParams 10734 } else { 10735 return nil 10736 } 10737} 10738 10739func validateOpDescribeImageVersionInput(v *DescribeImageVersionInput) error { 10740 if v == nil { 10741 return nil 10742 } 10743 invalidParams := smithy.InvalidParamsError{Context: "DescribeImageVersionInput"} 10744 if v.ImageName == nil { 10745 invalidParams.Add(smithy.NewErrParamRequired("ImageName")) 10746 } 10747 if invalidParams.Len() > 0 { 10748 return invalidParams 10749 } else { 10750 return nil 10751 } 10752} 10753 10754func validateOpDescribeLabelingJobInput(v *DescribeLabelingJobInput) error { 10755 if v == nil { 10756 return nil 10757 } 10758 invalidParams := smithy.InvalidParamsError{Context: "DescribeLabelingJobInput"} 10759 if v.LabelingJobName == nil { 10760 invalidParams.Add(smithy.NewErrParamRequired("LabelingJobName")) 10761 } 10762 if invalidParams.Len() > 0 { 10763 return invalidParams 10764 } else { 10765 return nil 10766 } 10767} 10768 10769func validateOpDescribeModelBiasJobDefinitionInput(v *DescribeModelBiasJobDefinitionInput) error { 10770 if v == nil { 10771 return nil 10772 } 10773 invalidParams := smithy.InvalidParamsError{Context: "DescribeModelBiasJobDefinitionInput"} 10774 if v.JobDefinitionName == nil { 10775 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 10776 } 10777 if invalidParams.Len() > 0 { 10778 return invalidParams 10779 } else { 10780 return nil 10781 } 10782} 10783 10784func validateOpDescribeModelExplainabilityJobDefinitionInput(v *DescribeModelExplainabilityJobDefinitionInput) error { 10785 if v == nil { 10786 return nil 10787 } 10788 invalidParams := smithy.InvalidParamsError{Context: "DescribeModelExplainabilityJobDefinitionInput"} 10789 if v.JobDefinitionName == nil { 10790 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 10791 } 10792 if invalidParams.Len() > 0 { 10793 return invalidParams 10794 } else { 10795 return nil 10796 } 10797} 10798 10799func validateOpDescribeModelInput(v *DescribeModelInput) error { 10800 if v == nil { 10801 return nil 10802 } 10803 invalidParams := smithy.InvalidParamsError{Context: "DescribeModelInput"} 10804 if v.ModelName == nil { 10805 invalidParams.Add(smithy.NewErrParamRequired("ModelName")) 10806 } 10807 if invalidParams.Len() > 0 { 10808 return invalidParams 10809 } else { 10810 return nil 10811 } 10812} 10813 10814func validateOpDescribeModelPackageGroupInput(v *DescribeModelPackageGroupInput) error { 10815 if v == nil { 10816 return nil 10817 } 10818 invalidParams := smithy.InvalidParamsError{Context: "DescribeModelPackageGroupInput"} 10819 if v.ModelPackageGroupName == nil { 10820 invalidParams.Add(smithy.NewErrParamRequired("ModelPackageGroupName")) 10821 } 10822 if invalidParams.Len() > 0 { 10823 return invalidParams 10824 } else { 10825 return nil 10826 } 10827} 10828 10829func validateOpDescribeModelPackageInput(v *DescribeModelPackageInput) error { 10830 if v == nil { 10831 return nil 10832 } 10833 invalidParams := smithy.InvalidParamsError{Context: "DescribeModelPackageInput"} 10834 if v.ModelPackageName == nil { 10835 invalidParams.Add(smithy.NewErrParamRequired("ModelPackageName")) 10836 } 10837 if invalidParams.Len() > 0 { 10838 return invalidParams 10839 } else { 10840 return nil 10841 } 10842} 10843 10844func validateOpDescribeModelQualityJobDefinitionInput(v *DescribeModelQualityJobDefinitionInput) error { 10845 if v == nil { 10846 return nil 10847 } 10848 invalidParams := smithy.InvalidParamsError{Context: "DescribeModelQualityJobDefinitionInput"} 10849 if v.JobDefinitionName == nil { 10850 invalidParams.Add(smithy.NewErrParamRequired("JobDefinitionName")) 10851 } 10852 if invalidParams.Len() > 0 { 10853 return invalidParams 10854 } else { 10855 return nil 10856 } 10857} 10858 10859func validateOpDescribeMonitoringScheduleInput(v *DescribeMonitoringScheduleInput) error { 10860 if v == nil { 10861 return nil 10862 } 10863 invalidParams := smithy.InvalidParamsError{Context: "DescribeMonitoringScheduleInput"} 10864 if v.MonitoringScheduleName == nil { 10865 invalidParams.Add(smithy.NewErrParamRequired("MonitoringScheduleName")) 10866 } 10867 if invalidParams.Len() > 0 { 10868 return invalidParams 10869 } else { 10870 return nil 10871 } 10872} 10873 10874func validateOpDescribeNotebookInstanceInput(v *DescribeNotebookInstanceInput) error { 10875 if v == nil { 10876 return nil 10877 } 10878 invalidParams := smithy.InvalidParamsError{Context: "DescribeNotebookInstanceInput"} 10879 if v.NotebookInstanceName == nil { 10880 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceName")) 10881 } 10882 if invalidParams.Len() > 0 { 10883 return invalidParams 10884 } else { 10885 return nil 10886 } 10887} 10888 10889func validateOpDescribeNotebookInstanceLifecycleConfigInput(v *DescribeNotebookInstanceLifecycleConfigInput) error { 10890 if v == nil { 10891 return nil 10892 } 10893 invalidParams := smithy.InvalidParamsError{Context: "DescribeNotebookInstanceLifecycleConfigInput"} 10894 if v.NotebookInstanceLifecycleConfigName == nil { 10895 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceLifecycleConfigName")) 10896 } 10897 if invalidParams.Len() > 0 { 10898 return invalidParams 10899 } else { 10900 return nil 10901 } 10902} 10903 10904func validateOpDescribePipelineDefinitionForExecutionInput(v *DescribePipelineDefinitionForExecutionInput) error { 10905 if v == nil { 10906 return nil 10907 } 10908 invalidParams := smithy.InvalidParamsError{Context: "DescribePipelineDefinitionForExecutionInput"} 10909 if v.PipelineExecutionArn == nil { 10910 invalidParams.Add(smithy.NewErrParamRequired("PipelineExecutionArn")) 10911 } 10912 if invalidParams.Len() > 0 { 10913 return invalidParams 10914 } else { 10915 return nil 10916 } 10917} 10918 10919func validateOpDescribePipelineExecutionInput(v *DescribePipelineExecutionInput) error { 10920 if v == nil { 10921 return nil 10922 } 10923 invalidParams := smithy.InvalidParamsError{Context: "DescribePipelineExecutionInput"} 10924 if v.PipelineExecutionArn == nil { 10925 invalidParams.Add(smithy.NewErrParamRequired("PipelineExecutionArn")) 10926 } 10927 if invalidParams.Len() > 0 { 10928 return invalidParams 10929 } else { 10930 return nil 10931 } 10932} 10933 10934func validateOpDescribePipelineInput(v *DescribePipelineInput) error { 10935 if v == nil { 10936 return nil 10937 } 10938 invalidParams := smithy.InvalidParamsError{Context: "DescribePipelineInput"} 10939 if v.PipelineName == nil { 10940 invalidParams.Add(smithy.NewErrParamRequired("PipelineName")) 10941 } 10942 if invalidParams.Len() > 0 { 10943 return invalidParams 10944 } else { 10945 return nil 10946 } 10947} 10948 10949func validateOpDescribeProcessingJobInput(v *DescribeProcessingJobInput) error { 10950 if v == nil { 10951 return nil 10952 } 10953 invalidParams := smithy.InvalidParamsError{Context: "DescribeProcessingJobInput"} 10954 if v.ProcessingJobName == nil { 10955 invalidParams.Add(smithy.NewErrParamRequired("ProcessingJobName")) 10956 } 10957 if invalidParams.Len() > 0 { 10958 return invalidParams 10959 } else { 10960 return nil 10961 } 10962} 10963 10964func validateOpDescribeProjectInput(v *DescribeProjectInput) error { 10965 if v == nil { 10966 return nil 10967 } 10968 invalidParams := smithy.InvalidParamsError{Context: "DescribeProjectInput"} 10969 if v.ProjectName == nil { 10970 invalidParams.Add(smithy.NewErrParamRequired("ProjectName")) 10971 } 10972 if invalidParams.Len() > 0 { 10973 return invalidParams 10974 } else { 10975 return nil 10976 } 10977} 10978 10979func validateOpDescribeSubscribedWorkteamInput(v *DescribeSubscribedWorkteamInput) error { 10980 if v == nil { 10981 return nil 10982 } 10983 invalidParams := smithy.InvalidParamsError{Context: "DescribeSubscribedWorkteamInput"} 10984 if v.WorkteamArn == nil { 10985 invalidParams.Add(smithy.NewErrParamRequired("WorkteamArn")) 10986 } 10987 if invalidParams.Len() > 0 { 10988 return invalidParams 10989 } else { 10990 return nil 10991 } 10992} 10993 10994func validateOpDescribeTrainingJobInput(v *DescribeTrainingJobInput) error { 10995 if v == nil { 10996 return nil 10997 } 10998 invalidParams := smithy.InvalidParamsError{Context: "DescribeTrainingJobInput"} 10999 if v.TrainingJobName == nil { 11000 invalidParams.Add(smithy.NewErrParamRequired("TrainingJobName")) 11001 } 11002 if invalidParams.Len() > 0 { 11003 return invalidParams 11004 } else { 11005 return nil 11006 } 11007} 11008 11009func validateOpDescribeTransformJobInput(v *DescribeTransformJobInput) error { 11010 if v == nil { 11011 return nil 11012 } 11013 invalidParams := smithy.InvalidParamsError{Context: "DescribeTransformJobInput"} 11014 if v.TransformJobName == nil { 11015 invalidParams.Add(smithy.NewErrParamRequired("TransformJobName")) 11016 } 11017 if invalidParams.Len() > 0 { 11018 return invalidParams 11019 } else { 11020 return nil 11021 } 11022} 11023 11024func validateOpDescribeTrialComponentInput(v *DescribeTrialComponentInput) error { 11025 if v == nil { 11026 return nil 11027 } 11028 invalidParams := smithy.InvalidParamsError{Context: "DescribeTrialComponentInput"} 11029 if v.TrialComponentName == nil { 11030 invalidParams.Add(smithy.NewErrParamRequired("TrialComponentName")) 11031 } 11032 if invalidParams.Len() > 0 { 11033 return invalidParams 11034 } else { 11035 return nil 11036 } 11037} 11038 11039func validateOpDescribeTrialInput(v *DescribeTrialInput) error { 11040 if v == nil { 11041 return nil 11042 } 11043 invalidParams := smithy.InvalidParamsError{Context: "DescribeTrialInput"} 11044 if v.TrialName == nil { 11045 invalidParams.Add(smithy.NewErrParamRequired("TrialName")) 11046 } 11047 if invalidParams.Len() > 0 { 11048 return invalidParams 11049 } else { 11050 return nil 11051 } 11052} 11053 11054func validateOpDescribeUserProfileInput(v *DescribeUserProfileInput) error { 11055 if v == nil { 11056 return nil 11057 } 11058 invalidParams := smithy.InvalidParamsError{Context: "DescribeUserProfileInput"} 11059 if v.DomainId == nil { 11060 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 11061 } 11062 if v.UserProfileName == nil { 11063 invalidParams.Add(smithy.NewErrParamRequired("UserProfileName")) 11064 } 11065 if invalidParams.Len() > 0 { 11066 return invalidParams 11067 } else { 11068 return nil 11069 } 11070} 11071 11072func validateOpDescribeWorkforceInput(v *DescribeWorkforceInput) error { 11073 if v == nil { 11074 return nil 11075 } 11076 invalidParams := smithy.InvalidParamsError{Context: "DescribeWorkforceInput"} 11077 if v.WorkforceName == nil { 11078 invalidParams.Add(smithy.NewErrParamRequired("WorkforceName")) 11079 } 11080 if invalidParams.Len() > 0 { 11081 return invalidParams 11082 } else { 11083 return nil 11084 } 11085} 11086 11087func validateOpDescribeWorkteamInput(v *DescribeWorkteamInput) error { 11088 if v == nil { 11089 return nil 11090 } 11091 invalidParams := smithy.InvalidParamsError{Context: "DescribeWorkteamInput"} 11092 if v.WorkteamName == nil { 11093 invalidParams.Add(smithy.NewErrParamRequired("WorkteamName")) 11094 } 11095 if invalidParams.Len() > 0 { 11096 return invalidParams 11097 } else { 11098 return nil 11099 } 11100} 11101 11102func validateOpDisassociateTrialComponentInput(v *DisassociateTrialComponentInput) error { 11103 if v == nil { 11104 return nil 11105 } 11106 invalidParams := smithy.InvalidParamsError{Context: "DisassociateTrialComponentInput"} 11107 if v.TrialComponentName == nil { 11108 invalidParams.Add(smithy.NewErrParamRequired("TrialComponentName")) 11109 } 11110 if v.TrialName == nil { 11111 invalidParams.Add(smithy.NewErrParamRequired("TrialName")) 11112 } 11113 if invalidParams.Len() > 0 { 11114 return invalidParams 11115 } else { 11116 return nil 11117 } 11118} 11119 11120func validateOpGetDeviceFleetReportInput(v *GetDeviceFleetReportInput) error { 11121 if v == nil { 11122 return nil 11123 } 11124 invalidParams := smithy.InvalidParamsError{Context: "GetDeviceFleetReportInput"} 11125 if v.DeviceFleetName == nil { 11126 invalidParams.Add(smithy.NewErrParamRequired("DeviceFleetName")) 11127 } 11128 if invalidParams.Len() > 0 { 11129 return invalidParams 11130 } else { 11131 return nil 11132 } 11133} 11134 11135func validateOpGetModelPackageGroupPolicyInput(v *GetModelPackageGroupPolicyInput) error { 11136 if v == nil { 11137 return nil 11138 } 11139 invalidParams := smithy.InvalidParamsError{Context: "GetModelPackageGroupPolicyInput"} 11140 if v.ModelPackageGroupName == nil { 11141 invalidParams.Add(smithy.NewErrParamRequired("ModelPackageGroupName")) 11142 } 11143 if invalidParams.Len() > 0 { 11144 return invalidParams 11145 } else { 11146 return nil 11147 } 11148} 11149 11150func validateOpGetSearchSuggestionsInput(v *GetSearchSuggestionsInput) error { 11151 if v == nil { 11152 return nil 11153 } 11154 invalidParams := smithy.InvalidParamsError{Context: "GetSearchSuggestionsInput"} 11155 if len(v.Resource) == 0 { 11156 invalidParams.Add(smithy.NewErrParamRequired("Resource")) 11157 } 11158 if v.SuggestionQuery != nil { 11159 if err := validateSuggestionQuery(v.SuggestionQuery); err != nil { 11160 invalidParams.AddNested("SuggestionQuery", err.(smithy.InvalidParamsError)) 11161 } 11162 } 11163 if invalidParams.Len() > 0 { 11164 return invalidParams 11165 } else { 11166 return nil 11167 } 11168} 11169 11170func validateOpListCandidatesForAutoMLJobInput(v *ListCandidatesForAutoMLJobInput) error { 11171 if v == nil { 11172 return nil 11173 } 11174 invalidParams := smithy.InvalidParamsError{Context: "ListCandidatesForAutoMLJobInput"} 11175 if v.AutoMLJobName == nil { 11176 invalidParams.Add(smithy.NewErrParamRequired("AutoMLJobName")) 11177 } 11178 if invalidParams.Len() > 0 { 11179 return invalidParams 11180 } else { 11181 return nil 11182 } 11183} 11184 11185func validateOpListImageVersionsInput(v *ListImageVersionsInput) error { 11186 if v == nil { 11187 return nil 11188 } 11189 invalidParams := smithy.InvalidParamsError{Context: "ListImageVersionsInput"} 11190 if v.ImageName == nil { 11191 invalidParams.Add(smithy.NewErrParamRequired("ImageName")) 11192 } 11193 if invalidParams.Len() > 0 { 11194 return invalidParams 11195 } else { 11196 return nil 11197 } 11198} 11199 11200func validateOpListLabelingJobsForWorkteamInput(v *ListLabelingJobsForWorkteamInput) error { 11201 if v == nil { 11202 return nil 11203 } 11204 invalidParams := smithy.InvalidParamsError{Context: "ListLabelingJobsForWorkteamInput"} 11205 if v.WorkteamArn == nil { 11206 invalidParams.Add(smithy.NewErrParamRequired("WorkteamArn")) 11207 } 11208 if invalidParams.Len() > 0 { 11209 return invalidParams 11210 } else { 11211 return nil 11212 } 11213} 11214 11215func validateOpListPipelineExecutionsInput(v *ListPipelineExecutionsInput) error { 11216 if v == nil { 11217 return nil 11218 } 11219 invalidParams := smithy.InvalidParamsError{Context: "ListPipelineExecutionsInput"} 11220 if v.PipelineName == nil { 11221 invalidParams.Add(smithy.NewErrParamRequired("PipelineName")) 11222 } 11223 if invalidParams.Len() > 0 { 11224 return invalidParams 11225 } else { 11226 return nil 11227 } 11228} 11229 11230func validateOpListPipelineParametersForExecutionInput(v *ListPipelineParametersForExecutionInput) error { 11231 if v == nil { 11232 return nil 11233 } 11234 invalidParams := smithy.InvalidParamsError{Context: "ListPipelineParametersForExecutionInput"} 11235 if v.PipelineExecutionArn == nil { 11236 invalidParams.Add(smithy.NewErrParamRequired("PipelineExecutionArn")) 11237 } 11238 if invalidParams.Len() > 0 { 11239 return invalidParams 11240 } else { 11241 return nil 11242 } 11243} 11244 11245func validateOpListTagsInput(v *ListTagsInput) error { 11246 if v == nil { 11247 return nil 11248 } 11249 invalidParams := smithy.InvalidParamsError{Context: "ListTagsInput"} 11250 if v.ResourceArn == nil { 11251 invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) 11252 } 11253 if invalidParams.Len() > 0 { 11254 return invalidParams 11255 } else { 11256 return nil 11257 } 11258} 11259 11260func validateOpListTrainingJobsForHyperParameterTuningJobInput(v *ListTrainingJobsForHyperParameterTuningJobInput) error { 11261 if v == nil { 11262 return nil 11263 } 11264 invalidParams := smithy.InvalidParamsError{Context: "ListTrainingJobsForHyperParameterTuningJobInput"} 11265 if v.HyperParameterTuningJobName == nil { 11266 invalidParams.Add(smithy.NewErrParamRequired("HyperParameterTuningJobName")) 11267 } 11268 if invalidParams.Len() > 0 { 11269 return invalidParams 11270 } else { 11271 return nil 11272 } 11273} 11274 11275func validateOpPutModelPackageGroupPolicyInput(v *PutModelPackageGroupPolicyInput) error { 11276 if v == nil { 11277 return nil 11278 } 11279 invalidParams := smithy.InvalidParamsError{Context: "PutModelPackageGroupPolicyInput"} 11280 if v.ModelPackageGroupName == nil { 11281 invalidParams.Add(smithy.NewErrParamRequired("ModelPackageGroupName")) 11282 } 11283 if v.ResourcePolicy == nil { 11284 invalidParams.Add(smithy.NewErrParamRequired("ResourcePolicy")) 11285 } 11286 if invalidParams.Len() > 0 { 11287 return invalidParams 11288 } else { 11289 return nil 11290 } 11291} 11292 11293func validateOpRegisterDevicesInput(v *RegisterDevicesInput) error { 11294 if v == nil { 11295 return nil 11296 } 11297 invalidParams := smithy.InvalidParamsError{Context: "RegisterDevicesInput"} 11298 if v.DeviceFleetName == nil { 11299 invalidParams.Add(smithy.NewErrParamRequired("DeviceFleetName")) 11300 } 11301 if v.Devices == nil { 11302 invalidParams.Add(smithy.NewErrParamRequired("Devices")) 11303 } else if v.Devices != nil { 11304 if err := validateDevices(v.Devices); err != nil { 11305 invalidParams.AddNested("Devices", err.(smithy.InvalidParamsError)) 11306 } 11307 } 11308 if v.Tags != nil { 11309 if err := validateTagList(v.Tags); err != nil { 11310 invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) 11311 } 11312 } 11313 if invalidParams.Len() > 0 { 11314 return invalidParams 11315 } else { 11316 return nil 11317 } 11318} 11319 11320func validateOpRenderUiTemplateInput(v *RenderUiTemplateInput) error { 11321 if v == nil { 11322 return nil 11323 } 11324 invalidParams := smithy.InvalidParamsError{Context: "RenderUiTemplateInput"} 11325 if v.UiTemplate != nil { 11326 if err := validateUiTemplate(v.UiTemplate); err != nil { 11327 invalidParams.AddNested("UiTemplate", err.(smithy.InvalidParamsError)) 11328 } 11329 } 11330 if v.Task == nil { 11331 invalidParams.Add(smithy.NewErrParamRequired("Task")) 11332 } else if v.Task != nil { 11333 if err := validateRenderableTask(v.Task); err != nil { 11334 invalidParams.AddNested("Task", err.(smithy.InvalidParamsError)) 11335 } 11336 } 11337 if v.RoleArn == nil { 11338 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 11339 } 11340 if invalidParams.Len() > 0 { 11341 return invalidParams 11342 } else { 11343 return nil 11344 } 11345} 11346 11347func validateOpSearchInput(v *SearchInput) error { 11348 if v == nil { 11349 return nil 11350 } 11351 invalidParams := smithy.InvalidParamsError{Context: "SearchInput"} 11352 if len(v.Resource) == 0 { 11353 invalidParams.Add(smithy.NewErrParamRequired("Resource")) 11354 } 11355 if v.SearchExpression != nil { 11356 if err := validateSearchExpression(v.SearchExpression); err != nil { 11357 invalidParams.AddNested("SearchExpression", err.(smithy.InvalidParamsError)) 11358 } 11359 } 11360 if invalidParams.Len() > 0 { 11361 return invalidParams 11362 } else { 11363 return nil 11364 } 11365} 11366 11367func validateOpStartMonitoringScheduleInput(v *StartMonitoringScheduleInput) error { 11368 if v == nil { 11369 return nil 11370 } 11371 invalidParams := smithy.InvalidParamsError{Context: "StartMonitoringScheduleInput"} 11372 if v.MonitoringScheduleName == nil { 11373 invalidParams.Add(smithy.NewErrParamRequired("MonitoringScheduleName")) 11374 } 11375 if invalidParams.Len() > 0 { 11376 return invalidParams 11377 } else { 11378 return nil 11379 } 11380} 11381 11382func validateOpStartNotebookInstanceInput(v *StartNotebookInstanceInput) error { 11383 if v == nil { 11384 return nil 11385 } 11386 invalidParams := smithy.InvalidParamsError{Context: "StartNotebookInstanceInput"} 11387 if v.NotebookInstanceName == nil { 11388 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceName")) 11389 } 11390 if invalidParams.Len() > 0 { 11391 return invalidParams 11392 } else { 11393 return nil 11394 } 11395} 11396 11397func validateOpStartPipelineExecutionInput(v *StartPipelineExecutionInput) error { 11398 if v == nil { 11399 return nil 11400 } 11401 invalidParams := smithy.InvalidParamsError{Context: "StartPipelineExecutionInput"} 11402 if v.PipelineName == nil { 11403 invalidParams.Add(smithy.NewErrParamRequired("PipelineName")) 11404 } 11405 if v.PipelineParameters != nil { 11406 if err := validateParameterList(v.PipelineParameters); err != nil { 11407 invalidParams.AddNested("PipelineParameters", err.(smithy.InvalidParamsError)) 11408 } 11409 } 11410 if v.ClientRequestToken == nil { 11411 invalidParams.Add(smithy.NewErrParamRequired("ClientRequestToken")) 11412 } 11413 if invalidParams.Len() > 0 { 11414 return invalidParams 11415 } else { 11416 return nil 11417 } 11418} 11419 11420func validateOpStopAutoMLJobInput(v *StopAutoMLJobInput) error { 11421 if v == nil { 11422 return nil 11423 } 11424 invalidParams := smithy.InvalidParamsError{Context: "StopAutoMLJobInput"} 11425 if v.AutoMLJobName == nil { 11426 invalidParams.Add(smithy.NewErrParamRequired("AutoMLJobName")) 11427 } 11428 if invalidParams.Len() > 0 { 11429 return invalidParams 11430 } else { 11431 return nil 11432 } 11433} 11434 11435func validateOpStopCompilationJobInput(v *StopCompilationJobInput) error { 11436 if v == nil { 11437 return nil 11438 } 11439 invalidParams := smithy.InvalidParamsError{Context: "StopCompilationJobInput"} 11440 if v.CompilationJobName == nil { 11441 invalidParams.Add(smithy.NewErrParamRequired("CompilationJobName")) 11442 } 11443 if invalidParams.Len() > 0 { 11444 return invalidParams 11445 } else { 11446 return nil 11447 } 11448} 11449 11450func validateOpStopEdgePackagingJobInput(v *StopEdgePackagingJobInput) error { 11451 if v == nil { 11452 return nil 11453 } 11454 invalidParams := smithy.InvalidParamsError{Context: "StopEdgePackagingJobInput"} 11455 if v.EdgePackagingJobName == nil { 11456 invalidParams.Add(smithy.NewErrParamRequired("EdgePackagingJobName")) 11457 } 11458 if invalidParams.Len() > 0 { 11459 return invalidParams 11460 } else { 11461 return nil 11462 } 11463} 11464 11465func validateOpStopHyperParameterTuningJobInput(v *StopHyperParameterTuningJobInput) error { 11466 if v == nil { 11467 return nil 11468 } 11469 invalidParams := smithy.InvalidParamsError{Context: "StopHyperParameterTuningJobInput"} 11470 if v.HyperParameterTuningJobName == nil { 11471 invalidParams.Add(smithy.NewErrParamRequired("HyperParameterTuningJobName")) 11472 } 11473 if invalidParams.Len() > 0 { 11474 return invalidParams 11475 } else { 11476 return nil 11477 } 11478} 11479 11480func validateOpStopLabelingJobInput(v *StopLabelingJobInput) error { 11481 if v == nil { 11482 return nil 11483 } 11484 invalidParams := smithy.InvalidParamsError{Context: "StopLabelingJobInput"} 11485 if v.LabelingJobName == nil { 11486 invalidParams.Add(smithy.NewErrParamRequired("LabelingJobName")) 11487 } 11488 if invalidParams.Len() > 0 { 11489 return invalidParams 11490 } else { 11491 return nil 11492 } 11493} 11494 11495func validateOpStopMonitoringScheduleInput(v *StopMonitoringScheduleInput) error { 11496 if v == nil { 11497 return nil 11498 } 11499 invalidParams := smithy.InvalidParamsError{Context: "StopMonitoringScheduleInput"} 11500 if v.MonitoringScheduleName == nil { 11501 invalidParams.Add(smithy.NewErrParamRequired("MonitoringScheduleName")) 11502 } 11503 if invalidParams.Len() > 0 { 11504 return invalidParams 11505 } else { 11506 return nil 11507 } 11508} 11509 11510func validateOpStopNotebookInstanceInput(v *StopNotebookInstanceInput) error { 11511 if v == nil { 11512 return nil 11513 } 11514 invalidParams := smithy.InvalidParamsError{Context: "StopNotebookInstanceInput"} 11515 if v.NotebookInstanceName == nil { 11516 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceName")) 11517 } 11518 if invalidParams.Len() > 0 { 11519 return invalidParams 11520 } else { 11521 return nil 11522 } 11523} 11524 11525func validateOpStopPipelineExecutionInput(v *StopPipelineExecutionInput) error { 11526 if v == nil { 11527 return nil 11528 } 11529 invalidParams := smithy.InvalidParamsError{Context: "StopPipelineExecutionInput"} 11530 if v.PipelineExecutionArn == nil { 11531 invalidParams.Add(smithy.NewErrParamRequired("PipelineExecutionArn")) 11532 } 11533 if v.ClientRequestToken == nil { 11534 invalidParams.Add(smithy.NewErrParamRequired("ClientRequestToken")) 11535 } 11536 if invalidParams.Len() > 0 { 11537 return invalidParams 11538 } else { 11539 return nil 11540 } 11541} 11542 11543func validateOpStopProcessingJobInput(v *StopProcessingJobInput) error { 11544 if v == nil { 11545 return nil 11546 } 11547 invalidParams := smithy.InvalidParamsError{Context: "StopProcessingJobInput"} 11548 if v.ProcessingJobName == nil { 11549 invalidParams.Add(smithy.NewErrParamRequired("ProcessingJobName")) 11550 } 11551 if invalidParams.Len() > 0 { 11552 return invalidParams 11553 } else { 11554 return nil 11555 } 11556} 11557 11558func validateOpStopTrainingJobInput(v *StopTrainingJobInput) error { 11559 if v == nil { 11560 return nil 11561 } 11562 invalidParams := smithy.InvalidParamsError{Context: "StopTrainingJobInput"} 11563 if v.TrainingJobName == nil { 11564 invalidParams.Add(smithy.NewErrParamRequired("TrainingJobName")) 11565 } 11566 if invalidParams.Len() > 0 { 11567 return invalidParams 11568 } else { 11569 return nil 11570 } 11571} 11572 11573func validateOpStopTransformJobInput(v *StopTransformJobInput) error { 11574 if v == nil { 11575 return nil 11576 } 11577 invalidParams := smithy.InvalidParamsError{Context: "StopTransformJobInput"} 11578 if v.TransformJobName == nil { 11579 invalidParams.Add(smithy.NewErrParamRequired("TransformJobName")) 11580 } 11581 if invalidParams.Len() > 0 { 11582 return invalidParams 11583 } else { 11584 return nil 11585 } 11586} 11587 11588func validateOpUpdateActionInput(v *UpdateActionInput) error { 11589 if v == nil { 11590 return nil 11591 } 11592 invalidParams := smithy.InvalidParamsError{Context: "UpdateActionInput"} 11593 if v.ActionName == nil { 11594 invalidParams.Add(smithy.NewErrParamRequired("ActionName")) 11595 } 11596 if invalidParams.Len() > 0 { 11597 return invalidParams 11598 } else { 11599 return nil 11600 } 11601} 11602 11603func validateOpUpdateAppImageConfigInput(v *UpdateAppImageConfigInput) error { 11604 if v == nil { 11605 return nil 11606 } 11607 invalidParams := smithy.InvalidParamsError{Context: "UpdateAppImageConfigInput"} 11608 if v.AppImageConfigName == nil { 11609 invalidParams.Add(smithy.NewErrParamRequired("AppImageConfigName")) 11610 } 11611 if v.KernelGatewayImageConfig != nil { 11612 if err := validateKernelGatewayImageConfig(v.KernelGatewayImageConfig); err != nil { 11613 invalidParams.AddNested("KernelGatewayImageConfig", err.(smithy.InvalidParamsError)) 11614 } 11615 } 11616 if invalidParams.Len() > 0 { 11617 return invalidParams 11618 } else { 11619 return nil 11620 } 11621} 11622 11623func validateOpUpdateArtifactInput(v *UpdateArtifactInput) error { 11624 if v == nil { 11625 return nil 11626 } 11627 invalidParams := smithy.InvalidParamsError{Context: "UpdateArtifactInput"} 11628 if v.ArtifactArn == nil { 11629 invalidParams.Add(smithy.NewErrParamRequired("ArtifactArn")) 11630 } 11631 if invalidParams.Len() > 0 { 11632 return invalidParams 11633 } else { 11634 return nil 11635 } 11636} 11637 11638func validateOpUpdateCodeRepositoryInput(v *UpdateCodeRepositoryInput) error { 11639 if v == nil { 11640 return nil 11641 } 11642 invalidParams := smithy.InvalidParamsError{Context: "UpdateCodeRepositoryInput"} 11643 if v.CodeRepositoryName == nil { 11644 invalidParams.Add(smithy.NewErrParamRequired("CodeRepositoryName")) 11645 } 11646 if invalidParams.Len() > 0 { 11647 return invalidParams 11648 } else { 11649 return nil 11650 } 11651} 11652 11653func validateOpUpdateContextInput(v *UpdateContextInput) error { 11654 if v == nil { 11655 return nil 11656 } 11657 invalidParams := smithy.InvalidParamsError{Context: "UpdateContextInput"} 11658 if v.ContextName == nil { 11659 invalidParams.Add(smithy.NewErrParamRequired("ContextName")) 11660 } 11661 if invalidParams.Len() > 0 { 11662 return invalidParams 11663 } else { 11664 return nil 11665 } 11666} 11667 11668func validateOpUpdateDeviceFleetInput(v *UpdateDeviceFleetInput) error { 11669 if v == nil { 11670 return nil 11671 } 11672 invalidParams := smithy.InvalidParamsError{Context: "UpdateDeviceFleetInput"} 11673 if v.DeviceFleetName == nil { 11674 invalidParams.Add(smithy.NewErrParamRequired("DeviceFleetName")) 11675 } 11676 if v.OutputConfig == nil { 11677 invalidParams.Add(smithy.NewErrParamRequired("OutputConfig")) 11678 } else if v.OutputConfig != nil { 11679 if err := validateEdgeOutputConfig(v.OutputConfig); err != nil { 11680 invalidParams.AddNested("OutputConfig", err.(smithy.InvalidParamsError)) 11681 } 11682 } 11683 if invalidParams.Len() > 0 { 11684 return invalidParams 11685 } else { 11686 return nil 11687 } 11688} 11689 11690func validateOpUpdateDevicesInput(v *UpdateDevicesInput) error { 11691 if v == nil { 11692 return nil 11693 } 11694 invalidParams := smithy.InvalidParamsError{Context: "UpdateDevicesInput"} 11695 if v.DeviceFleetName == nil { 11696 invalidParams.Add(smithy.NewErrParamRequired("DeviceFleetName")) 11697 } 11698 if v.Devices == nil { 11699 invalidParams.Add(smithy.NewErrParamRequired("Devices")) 11700 } else if v.Devices != nil { 11701 if err := validateDevices(v.Devices); err != nil { 11702 invalidParams.AddNested("Devices", err.(smithy.InvalidParamsError)) 11703 } 11704 } 11705 if invalidParams.Len() > 0 { 11706 return invalidParams 11707 } else { 11708 return nil 11709 } 11710} 11711 11712func validateOpUpdateDomainInput(v *UpdateDomainInput) error { 11713 if v == nil { 11714 return nil 11715 } 11716 invalidParams := smithy.InvalidParamsError{Context: "UpdateDomainInput"} 11717 if v.DomainId == nil { 11718 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 11719 } 11720 if v.DefaultUserSettings != nil { 11721 if err := validateUserSettings(v.DefaultUserSettings); err != nil { 11722 invalidParams.AddNested("DefaultUserSettings", err.(smithy.InvalidParamsError)) 11723 } 11724 } 11725 if invalidParams.Len() > 0 { 11726 return invalidParams 11727 } else { 11728 return nil 11729 } 11730} 11731 11732func validateOpUpdateEndpointInput(v *UpdateEndpointInput) error { 11733 if v == nil { 11734 return nil 11735 } 11736 invalidParams := smithy.InvalidParamsError{Context: "UpdateEndpointInput"} 11737 if v.EndpointName == nil { 11738 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 11739 } 11740 if v.EndpointConfigName == nil { 11741 invalidParams.Add(smithy.NewErrParamRequired("EndpointConfigName")) 11742 } 11743 if v.ExcludeRetainedVariantProperties != nil { 11744 if err := validateVariantPropertyList(v.ExcludeRetainedVariantProperties); err != nil { 11745 invalidParams.AddNested("ExcludeRetainedVariantProperties", err.(smithy.InvalidParamsError)) 11746 } 11747 } 11748 if v.DeploymentConfig != nil { 11749 if err := validateDeploymentConfig(v.DeploymentConfig); err != nil { 11750 invalidParams.AddNested("DeploymentConfig", err.(smithy.InvalidParamsError)) 11751 } 11752 } 11753 if invalidParams.Len() > 0 { 11754 return invalidParams 11755 } else { 11756 return nil 11757 } 11758} 11759 11760func validateOpUpdateEndpointWeightsAndCapacitiesInput(v *UpdateEndpointWeightsAndCapacitiesInput) error { 11761 if v == nil { 11762 return nil 11763 } 11764 invalidParams := smithy.InvalidParamsError{Context: "UpdateEndpointWeightsAndCapacitiesInput"} 11765 if v.EndpointName == nil { 11766 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 11767 } 11768 if v.DesiredWeightsAndCapacities == nil { 11769 invalidParams.Add(smithy.NewErrParamRequired("DesiredWeightsAndCapacities")) 11770 } else if v.DesiredWeightsAndCapacities != nil { 11771 if err := validateDesiredWeightAndCapacityList(v.DesiredWeightsAndCapacities); err != nil { 11772 invalidParams.AddNested("DesiredWeightsAndCapacities", err.(smithy.InvalidParamsError)) 11773 } 11774 } 11775 if invalidParams.Len() > 0 { 11776 return invalidParams 11777 } else { 11778 return nil 11779 } 11780} 11781 11782func validateOpUpdateExperimentInput(v *UpdateExperimentInput) error { 11783 if v == nil { 11784 return nil 11785 } 11786 invalidParams := smithy.InvalidParamsError{Context: "UpdateExperimentInput"} 11787 if v.ExperimentName == nil { 11788 invalidParams.Add(smithy.NewErrParamRequired("ExperimentName")) 11789 } 11790 if invalidParams.Len() > 0 { 11791 return invalidParams 11792 } else { 11793 return nil 11794 } 11795} 11796 11797func validateOpUpdateImageInput(v *UpdateImageInput) error { 11798 if v == nil { 11799 return nil 11800 } 11801 invalidParams := smithy.InvalidParamsError{Context: "UpdateImageInput"} 11802 if v.ImageName == nil { 11803 invalidParams.Add(smithy.NewErrParamRequired("ImageName")) 11804 } 11805 if invalidParams.Len() > 0 { 11806 return invalidParams 11807 } else { 11808 return nil 11809 } 11810} 11811 11812func validateOpUpdateModelPackageInput(v *UpdateModelPackageInput) error { 11813 if v == nil { 11814 return nil 11815 } 11816 invalidParams := smithy.InvalidParamsError{Context: "UpdateModelPackageInput"} 11817 if v.ModelPackageArn == nil { 11818 invalidParams.Add(smithy.NewErrParamRequired("ModelPackageArn")) 11819 } 11820 if len(v.ModelApprovalStatus) == 0 { 11821 invalidParams.Add(smithy.NewErrParamRequired("ModelApprovalStatus")) 11822 } 11823 if invalidParams.Len() > 0 { 11824 return invalidParams 11825 } else { 11826 return nil 11827 } 11828} 11829 11830func validateOpUpdateMonitoringScheduleInput(v *UpdateMonitoringScheduleInput) error { 11831 if v == nil { 11832 return nil 11833 } 11834 invalidParams := smithy.InvalidParamsError{Context: "UpdateMonitoringScheduleInput"} 11835 if v.MonitoringScheduleName == nil { 11836 invalidParams.Add(smithy.NewErrParamRequired("MonitoringScheduleName")) 11837 } 11838 if v.MonitoringScheduleConfig == nil { 11839 invalidParams.Add(smithy.NewErrParamRequired("MonitoringScheduleConfig")) 11840 } else if v.MonitoringScheduleConfig != nil { 11841 if err := validateMonitoringScheduleConfig(v.MonitoringScheduleConfig); err != nil { 11842 invalidParams.AddNested("MonitoringScheduleConfig", err.(smithy.InvalidParamsError)) 11843 } 11844 } 11845 if invalidParams.Len() > 0 { 11846 return invalidParams 11847 } else { 11848 return nil 11849 } 11850} 11851 11852func validateOpUpdateNotebookInstanceInput(v *UpdateNotebookInstanceInput) error { 11853 if v == nil { 11854 return nil 11855 } 11856 invalidParams := smithy.InvalidParamsError{Context: "UpdateNotebookInstanceInput"} 11857 if v.NotebookInstanceName == nil { 11858 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceName")) 11859 } 11860 if invalidParams.Len() > 0 { 11861 return invalidParams 11862 } else { 11863 return nil 11864 } 11865} 11866 11867func validateOpUpdateNotebookInstanceLifecycleConfigInput(v *UpdateNotebookInstanceLifecycleConfigInput) error { 11868 if v == nil { 11869 return nil 11870 } 11871 invalidParams := smithy.InvalidParamsError{Context: "UpdateNotebookInstanceLifecycleConfigInput"} 11872 if v.NotebookInstanceLifecycleConfigName == nil { 11873 invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceLifecycleConfigName")) 11874 } 11875 if invalidParams.Len() > 0 { 11876 return invalidParams 11877 } else { 11878 return nil 11879 } 11880} 11881 11882func validateOpUpdatePipelineExecutionInput(v *UpdatePipelineExecutionInput) error { 11883 if v == nil { 11884 return nil 11885 } 11886 invalidParams := smithy.InvalidParamsError{Context: "UpdatePipelineExecutionInput"} 11887 if v.PipelineExecutionArn == nil { 11888 invalidParams.Add(smithy.NewErrParamRequired("PipelineExecutionArn")) 11889 } 11890 if invalidParams.Len() > 0 { 11891 return invalidParams 11892 } else { 11893 return nil 11894 } 11895} 11896 11897func validateOpUpdatePipelineInput(v *UpdatePipelineInput) error { 11898 if v == nil { 11899 return nil 11900 } 11901 invalidParams := smithy.InvalidParamsError{Context: "UpdatePipelineInput"} 11902 if v.PipelineName == nil { 11903 invalidParams.Add(smithy.NewErrParamRequired("PipelineName")) 11904 } 11905 if invalidParams.Len() > 0 { 11906 return invalidParams 11907 } else { 11908 return nil 11909 } 11910} 11911 11912func validateOpUpdateTrainingJobInput(v *UpdateTrainingJobInput) error { 11913 if v == nil { 11914 return nil 11915 } 11916 invalidParams := smithy.InvalidParamsError{Context: "UpdateTrainingJobInput"} 11917 if v.TrainingJobName == nil { 11918 invalidParams.Add(smithy.NewErrParamRequired("TrainingJobName")) 11919 } 11920 if v.ProfilerRuleConfigurations != nil { 11921 if err := validateProfilerRuleConfigurations(v.ProfilerRuleConfigurations); err != nil { 11922 invalidParams.AddNested("ProfilerRuleConfigurations", err.(smithy.InvalidParamsError)) 11923 } 11924 } 11925 if invalidParams.Len() > 0 { 11926 return invalidParams 11927 } else { 11928 return nil 11929 } 11930} 11931 11932func validateOpUpdateTrialComponentInput(v *UpdateTrialComponentInput) error { 11933 if v == nil { 11934 return nil 11935 } 11936 invalidParams := smithy.InvalidParamsError{Context: "UpdateTrialComponentInput"} 11937 if v.TrialComponentName == nil { 11938 invalidParams.Add(smithy.NewErrParamRequired("TrialComponentName")) 11939 } 11940 if v.InputArtifacts != nil { 11941 if err := validateTrialComponentArtifacts(v.InputArtifacts); err != nil { 11942 invalidParams.AddNested("InputArtifacts", err.(smithy.InvalidParamsError)) 11943 } 11944 } 11945 if v.OutputArtifacts != nil { 11946 if err := validateTrialComponentArtifacts(v.OutputArtifacts); err != nil { 11947 invalidParams.AddNested("OutputArtifacts", err.(smithy.InvalidParamsError)) 11948 } 11949 } 11950 if invalidParams.Len() > 0 { 11951 return invalidParams 11952 } else { 11953 return nil 11954 } 11955} 11956 11957func validateOpUpdateTrialInput(v *UpdateTrialInput) error { 11958 if v == nil { 11959 return nil 11960 } 11961 invalidParams := smithy.InvalidParamsError{Context: "UpdateTrialInput"} 11962 if v.TrialName == nil { 11963 invalidParams.Add(smithy.NewErrParamRequired("TrialName")) 11964 } 11965 if invalidParams.Len() > 0 { 11966 return invalidParams 11967 } else { 11968 return nil 11969 } 11970} 11971 11972func validateOpUpdateUserProfileInput(v *UpdateUserProfileInput) error { 11973 if v == nil { 11974 return nil 11975 } 11976 invalidParams := smithy.InvalidParamsError{Context: "UpdateUserProfileInput"} 11977 if v.DomainId == nil { 11978 invalidParams.Add(smithy.NewErrParamRequired("DomainId")) 11979 } 11980 if v.UserProfileName == nil { 11981 invalidParams.Add(smithy.NewErrParamRequired("UserProfileName")) 11982 } 11983 if v.UserSettings != nil { 11984 if err := validateUserSettings(v.UserSettings); err != nil { 11985 invalidParams.AddNested("UserSettings", err.(smithy.InvalidParamsError)) 11986 } 11987 } 11988 if invalidParams.Len() > 0 { 11989 return invalidParams 11990 } else { 11991 return nil 11992 } 11993} 11994 11995func validateOpUpdateWorkforceInput(v *UpdateWorkforceInput) error { 11996 if v == nil { 11997 return nil 11998 } 11999 invalidParams := smithy.InvalidParamsError{Context: "UpdateWorkforceInput"} 12000 if v.WorkforceName == nil { 12001 invalidParams.Add(smithy.NewErrParamRequired("WorkforceName")) 12002 } 12003 if v.SourceIpConfig != nil { 12004 if err := validateSourceIpConfig(v.SourceIpConfig); err != nil { 12005 invalidParams.AddNested("SourceIpConfig", err.(smithy.InvalidParamsError)) 12006 } 12007 } 12008 if v.OidcConfig != nil { 12009 if err := validateOidcConfig(v.OidcConfig); err != nil { 12010 invalidParams.AddNested("OidcConfig", err.(smithy.InvalidParamsError)) 12011 } 12012 } 12013 if invalidParams.Len() > 0 { 12014 return invalidParams 12015 } else { 12016 return nil 12017 } 12018} 12019 12020func validateOpUpdateWorkteamInput(v *UpdateWorkteamInput) error { 12021 if v == nil { 12022 return nil 12023 } 12024 invalidParams := smithy.InvalidParamsError{Context: "UpdateWorkteamInput"} 12025 if v.WorkteamName == nil { 12026 invalidParams.Add(smithy.NewErrParamRequired("WorkteamName")) 12027 } 12028 if v.MemberDefinitions != nil { 12029 if err := validateMemberDefinitions(v.MemberDefinitions); err != nil { 12030 invalidParams.AddNested("MemberDefinitions", err.(smithy.InvalidParamsError)) 12031 } 12032 } 12033 if invalidParams.Len() > 0 { 12034 return invalidParams 12035 } else { 12036 return nil 12037 } 12038} 12039