1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package glue 4 5import ( 6 "context" 7 "fmt" 8 "github.com/aws/aws-sdk-go-v2/service/glue/types" 9 smithy "github.com/aws/smithy-go" 10 "github.com/aws/smithy-go/middleware" 11) 12 13type validateOpBatchCreatePartition struct { 14} 15 16func (*validateOpBatchCreatePartition) ID() string { 17 return "OperationInputValidation" 18} 19 20func (m *validateOpBatchCreatePartition) 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.(*BatchCreatePartitionInput) 24 if !ok { 25 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 26 } 27 if err := validateOpBatchCreatePartitionInput(input); err != nil { 28 return out, metadata, err 29 } 30 return next.HandleInitialize(ctx, in) 31} 32 33type validateOpBatchDeleteConnection struct { 34} 35 36func (*validateOpBatchDeleteConnection) ID() string { 37 return "OperationInputValidation" 38} 39 40func (m *validateOpBatchDeleteConnection) 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.(*BatchDeleteConnectionInput) 44 if !ok { 45 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 46 } 47 if err := validateOpBatchDeleteConnectionInput(input); err != nil { 48 return out, metadata, err 49 } 50 return next.HandleInitialize(ctx, in) 51} 52 53type validateOpBatchDeletePartition struct { 54} 55 56func (*validateOpBatchDeletePartition) ID() string { 57 return "OperationInputValidation" 58} 59 60func (m *validateOpBatchDeletePartition) 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.(*BatchDeletePartitionInput) 64 if !ok { 65 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 66 } 67 if err := validateOpBatchDeletePartitionInput(input); err != nil { 68 return out, metadata, err 69 } 70 return next.HandleInitialize(ctx, in) 71} 72 73type validateOpBatchDeleteTable struct { 74} 75 76func (*validateOpBatchDeleteTable) ID() string { 77 return "OperationInputValidation" 78} 79 80func (m *validateOpBatchDeleteTable) 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.(*BatchDeleteTableInput) 84 if !ok { 85 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 86 } 87 if err := validateOpBatchDeleteTableInput(input); err != nil { 88 return out, metadata, err 89 } 90 return next.HandleInitialize(ctx, in) 91} 92 93type validateOpBatchDeleteTableVersion struct { 94} 95 96func (*validateOpBatchDeleteTableVersion) ID() string { 97 return "OperationInputValidation" 98} 99 100func (m *validateOpBatchDeleteTableVersion) 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.(*BatchDeleteTableVersionInput) 104 if !ok { 105 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 106 } 107 if err := validateOpBatchDeleteTableVersionInput(input); err != nil { 108 return out, metadata, err 109 } 110 return next.HandleInitialize(ctx, in) 111} 112 113type validateOpBatchGetBlueprints struct { 114} 115 116func (*validateOpBatchGetBlueprints) ID() string { 117 return "OperationInputValidation" 118} 119 120func (m *validateOpBatchGetBlueprints) 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.(*BatchGetBlueprintsInput) 124 if !ok { 125 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 126 } 127 if err := validateOpBatchGetBlueprintsInput(input); err != nil { 128 return out, metadata, err 129 } 130 return next.HandleInitialize(ctx, in) 131} 132 133type validateOpBatchGetCrawlers struct { 134} 135 136func (*validateOpBatchGetCrawlers) ID() string { 137 return "OperationInputValidation" 138} 139 140func (m *validateOpBatchGetCrawlers) 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.(*BatchGetCrawlersInput) 144 if !ok { 145 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 146 } 147 if err := validateOpBatchGetCrawlersInput(input); err != nil { 148 return out, metadata, err 149 } 150 return next.HandleInitialize(ctx, in) 151} 152 153type validateOpBatchGetDevEndpoints struct { 154} 155 156func (*validateOpBatchGetDevEndpoints) ID() string { 157 return "OperationInputValidation" 158} 159 160func (m *validateOpBatchGetDevEndpoints) 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.(*BatchGetDevEndpointsInput) 164 if !ok { 165 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 166 } 167 if err := validateOpBatchGetDevEndpointsInput(input); err != nil { 168 return out, metadata, err 169 } 170 return next.HandleInitialize(ctx, in) 171} 172 173type validateOpBatchGetJobs struct { 174} 175 176func (*validateOpBatchGetJobs) ID() string { 177 return "OperationInputValidation" 178} 179 180func (m *validateOpBatchGetJobs) 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.(*BatchGetJobsInput) 184 if !ok { 185 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 186 } 187 if err := validateOpBatchGetJobsInput(input); err != nil { 188 return out, metadata, err 189 } 190 return next.HandleInitialize(ctx, in) 191} 192 193type validateOpBatchGetPartition struct { 194} 195 196func (*validateOpBatchGetPartition) ID() string { 197 return "OperationInputValidation" 198} 199 200func (m *validateOpBatchGetPartition) 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.(*BatchGetPartitionInput) 204 if !ok { 205 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 206 } 207 if err := validateOpBatchGetPartitionInput(input); err != nil { 208 return out, metadata, err 209 } 210 return next.HandleInitialize(ctx, in) 211} 212 213type validateOpBatchGetTriggers struct { 214} 215 216func (*validateOpBatchGetTriggers) ID() string { 217 return "OperationInputValidation" 218} 219 220func (m *validateOpBatchGetTriggers) 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.(*BatchGetTriggersInput) 224 if !ok { 225 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 226 } 227 if err := validateOpBatchGetTriggersInput(input); err != nil { 228 return out, metadata, err 229 } 230 return next.HandleInitialize(ctx, in) 231} 232 233type validateOpBatchGetWorkflows struct { 234} 235 236func (*validateOpBatchGetWorkflows) ID() string { 237 return "OperationInputValidation" 238} 239 240func (m *validateOpBatchGetWorkflows) 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.(*BatchGetWorkflowsInput) 244 if !ok { 245 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 246 } 247 if err := validateOpBatchGetWorkflowsInput(input); err != nil { 248 return out, metadata, err 249 } 250 return next.HandleInitialize(ctx, in) 251} 252 253type validateOpBatchStopJobRun struct { 254} 255 256func (*validateOpBatchStopJobRun) ID() string { 257 return "OperationInputValidation" 258} 259 260func (m *validateOpBatchStopJobRun) 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.(*BatchStopJobRunInput) 264 if !ok { 265 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 266 } 267 if err := validateOpBatchStopJobRunInput(input); err != nil { 268 return out, metadata, err 269 } 270 return next.HandleInitialize(ctx, in) 271} 272 273type validateOpBatchUpdatePartition struct { 274} 275 276func (*validateOpBatchUpdatePartition) ID() string { 277 return "OperationInputValidation" 278} 279 280func (m *validateOpBatchUpdatePartition) 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.(*BatchUpdatePartitionInput) 284 if !ok { 285 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 286 } 287 if err := validateOpBatchUpdatePartitionInput(input); err != nil { 288 return out, metadata, err 289 } 290 return next.HandleInitialize(ctx, in) 291} 292 293type validateOpCancelMLTaskRun struct { 294} 295 296func (*validateOpCancelMLTaskRun) ID() string { 297 return "OperationInputValidation" 298} 299 300func (m *validateOpCancelMLTaskRun) 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.(*CancelMLTaskRunInput) 304 if !ok { 305 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 306 } 307 if err := validateOpCancelMLTaskRunInput(input); err != nil { 308 return out, metadata, err 309 } 310 return next.HandleInitialize(ctx, in) 311} 312 313type validateOpCheckSchemaVersionValidity struct { 314} 315 316func (*validateOpCheckSchemaVersionValidity) ID() string { 317 return "OperationInputValidation" 318} 319 320func (m *validateOpCheckSchemaVersionValidity) 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.(*CheckSchemaVersionValidityInput) 324 if !ok { 325 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 326 } 327 if err := validateOpCheckSchemaVersionValidityInput(input); err != nil { 328 return out, metadata, err 329 } 330 return next.HandleInitialize(ctx, in) 331} 332 333type validateOpCreateBlueprint struct { 334} 335 336func (*validateOpCreateBlueprint) ID() string { 337 return "OperationInputValidation" 338} 339 340func (m *validateOpCreateBlueprint) 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.(*CreateBlueprintInput) 344 if !ok { 345 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 346 } 347 if err := validateOpCreateBlueprintInput(input); err != nil { 348 return out, metadata, err 349 } 350 return next.HandleInitialize(ctx, in) 351} 352 353type validateOpCreateClassifier struct { 354} 355 356func (*validateOpCreateClassifier) ID() string { 357 return "OperationInputValidation" 358} 359 360func (m *validateOpCreateClassifier) 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.(*CreateClassifierInput) 364 if !ok { 365 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 366 } 367 if err := validateOpCreateClassifierInput(input); err != nil { 368 return out, metadata, err 369 } 370 return next.HandleInitialize(ctx, in) 371} 372 373type validateOpCreateConnection struct { 374} 375 376func (*validateOpCreateConnection) ID() string { 377 return "OperationInputValidation" 378} 379 380func (m *validateOpCreateConnection) 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.(*CreateConnectionInput) 384 if !ok { 385 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 386 } 387 if err := validateOpCreateConnectionInput(input); err != nil { 388 return out, metadata, err 389 } 390 return next.HandleInitialize(ctx, in) 391} 392 393type validateOpCreateCrawler struct { 394} 395 396func (*validateOpCreateCrawler) ID() string { 397 return "OperationInputValidation" 398} 399 400func (m *validateOpCreateCrawler) 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.(*CreateCrawlerInput) 404 if !ok { 405 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 406 } 407 if err := validateOpCreateCrawlerInput(input); err != nil { 408 return out, metadata, err 409 } 410 return next.HandleInitialize(ctx, in) 411} 412 413type validateOpCreateDatabase struct { 414} 415 416func (*validateOpCreateDatabase) ID() string { 417 return "OperationInputValidation" 418} 419 420func (m *validateOpCreateDatabase) 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.(*CreateDatabaseInput) 424 if !ok { 425 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 426 } 427 if err := validateOpCreateDatabaseInput(input); err != nil { 428 return out, metadata, err 429 } 430 return next.HandleInitialize(ctx, in) 431} 432 433type validateOpCreateDevEndpoint struct { 434} 435 436func (*validateOpCreateDevEndpoint) ID() string { 437 return "OperationInputValidation" 438} 439 440func (m *validateOpCreateDevEndpoint) 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.(*CreateDevEndpointInput) 444 if !ok { 445 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 446 } 447 if err := validateOpCreateDevEndpointInput(input); err != nil { 448 return out, metadata, err 449 } 450 return next.HandleInitialize(ctx, in) 451} 452 453type validateOpCreateJob struct { 454} 455 456func (*validateOpCreateJob) ID() string { 457 return "OperationInputValidation" 458} 459 460func (m *validateOpCreateJob) 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.(*CreateJobInput) 464 if !ok { 465 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 466 } 467 if err := validateOpCreateJobInput(input); err != nil { 468 return out, metadata, err 469 } 470 return next.HandleInitialize(ctx, in) 471} 472 473type validateOpCreateMLTransform struct { 474} 475 476func (*validateOpCreateMLTransform) ID() string { 477 return "OperationInputValidation" 478} 479 480func (m *validateOpCreateMLTransform) 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.(*CreateMLTransformInput) 484 if !ok { 485 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 486 } 487 if err := validateOpCreateMLTransformInput(input); err != nil { 488 return out, metadata, err 489 } 490 return next.HandleInitialize(ctx, in) 491} 492 493type validateOpCreatePartitionIndex struct { 494} 495 496func (*validateOpCreatePartitionIndex) ID() string { 497 return "OperationInputValidation" 498} 499 500func (m *validateOpCreatePartitionIndex) 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.(*CreatePartitionIndexInput) 504 if !ok { 505 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 506 } 507 if err := validateOpCreatePartitionIndexInput(input); err != nil { 508 return out, metadata, err 509 } 510 return next.HandleInitialize(ctx, in) 511} 512 513type validateOpCreatePartition struct { 514} 515 516func (*validateOpCreatePartition) ID() string { 517 return "OperationInputValidation" 518} 519 520func (m *validateOpCreatePartition) 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.(*CreatePartitionInput) 524 if !ok { 525 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 526 } 527 if err := validateOpCreatePartitionInput(input); err != nil { 528 return out, metadata, err 529 } 530 return next.HandleInitialize(ctx, in) 531} 532 533type validateOpCreateRegistry struct { 534} 535 536func (*validateOpCreateRegistry) ID() string { 537 return "OperationInputValidation" 538} 539 540func (m *validateOpCreateRegistry) 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.(*CreateRegistryInput) 544 if !ok { 545 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 546 } 547 if err := validateOpCreateRegistryInput(input); err != nil { 548 return out, metadata, err 549 } 550 return next.HandleInitialize(ctx, in) 551} 552 553type validateOpCreateSchema struct { 554} 555 556func (*validateOpCreateSchema) ID() string { 557 return "OperationInputValidation" 558} 559 560func (m *validateOpCreateSchema) 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.(*CreateSchemaInput) 564 if !ok { 565 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 566 } 567 if err := validateOpCreateSchemaInput(input); err != nil { 568 return out, metadata, err 569 } 570 return next.HandleInitialize(ctx, in) 571} 572 573type validateOpCreateScript struct { 574} 575 576func (*validateOpCreateScript) ID() string { 577 return "OperationInputValidation" 578} 579 580func (m *validateOpCreateScript) 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.(*CreateScriptInput) 584 if !ok { 585 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 586 } 587 if err := validateOpCreateScriptInput(input); err != nil { 588 return out, metadata, err 589 } 590 return next.HandleInitialize(ctx, in) 591} 592 593type validateOpCreateSecurityConfiguration struct { 594} 595 596func (*validateOpCreateSecurityConfiguration) ID() string { 597 return "OperationInputValidation" 598} 599 600func (m *validateOpCreateSecurityConfiguration) 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.(*CreateSecurityConfigurationInput) 604 if !ok { 605 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 606 } 607 if err := validateOpCreateSecurityConfigurationInput(input); err != nil { 608 return out, metadata, err 609 } 610 return next.HandleInitialize(ctx, in) 611} 612 613type validateOpCreateTable struct { 614} 615 616func (*validateOpCreateTable) ID() string { 617 return "OperationInputValidation" 618} 619 620func (m *validateOpCreateTable) 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.(*CreateTableInput) 624 if !ok { 625 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 626 } 627 if err := validateOpCreateTableInput(input); err != nil { 628 return out, metadata, err 629 } 630 return next.HandleInitialize(ctx, in) 631} 632 633type validateOpCreateTrigger struct { 634} 635 636func (*validateOpCreateTrigger) ID() string { 637 return "OperationInputValidation" 638} 639 640func (m *validateOpCreateTrigger) 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.(*CreateTriggerInput) 644 if !ok { 645 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 646 } 647 if err := validateOpCreateTriggerInput(input); err != nil { 648 return out, metadata, err 649 } 650 return next.HandleInitialize(ctx, in) 651} 652 653type validateOpCreateUserDefinedFunction struct { 654} 655 656func (*validateOpCreateUserDefinedFunction) ID() string { 657 return "OperationInputValidation" 658} 659 660func (m *validateOpCreateUserDefinedFunction) 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.(*CreateUserDefinedFunctionInput) 664 if !ok { 665 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 666 } 667 if err := validateOpCreateUserDefinedFunctionInput(input); err != nil { 668 return out, metadata, err 669 } 670 return next.HandleInitialize(ctx, in) 671} 672 673type validateOpCreateWorkflow struct { 674} 675 676func (*validateOpCreateWorkflow) ID() string { 677 return "OperationInputValidation" 678} 679 680func (m *validateOpCreateWorkflow) 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.(*CreateWorkflowInput) 684 if !ok { 685 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 686 } 687 if err := validateOpCreateWorkflowInput(input); err != nil { 688 return out, metadata, err 689 } 690 return next.HandleInitialize(ctx, in) 691} 692 693type validateOpDeleteBlueprint struct { 694} 695 696func (*validateOpDeleteBlueprint) ID() string { 697 return "OperationInputValidation" 698} 699 700func (m *validateOpDeleteBlueprint) 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.(*DeleteBlueprintInput) 704 if !ok { 705 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 706 } 707 if err := validateOpDeleteBlueprintInput(input); err != nil { 708 return out, metadata, err 709 } 710 return next.HandleInitialize(ctx, in) 711} 712 713type validateOpDeleteClassifier struct { 714} 715 716func (*validateOpDeleteClassifier) ID() string { 717 return "OperationInputValidation" 718} 719 720func (m *validateOpDeleteClassifier) 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.(*DeleteClassifierInput) 724 if !ok { 725 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 726 } 727 if err := validateOpDeleteClassifierInput(input); err != nil { 728 return out, metadata, err 729 } 730 return next.HandleInitialize(ctx, in) 731} 732 733type validateOpDeleteColumnStatisticsForPartition struct { 734} 735 736func (*validateOpDeleteColumnStatisticsForPartition) ID() string { 737 return "OperationInputValidation" 738} 739 740func (m *validateOpDeleteColumnStatisticsForPartition) 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.(*DeleteColumnStatisticsForPartitionInput) 744 if !ok { 745 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 746 } 747 if err := validateOpDeleteColumnStatisticsForPartitionInput(input); err != nil { 748 return out, metadata, err 749 } 750 return next.HandleInitialize(ctx, in) 751} 752 753type validateOpDeleteColumnStatisticsForTable struct { 754} 755 756func (*validateOpDeleteColumnStatisticsForTable) ID() string { 757 return "OperationInputValidation" 758} 759 760func (m *validateOpDeleteColumnStatisticsForTable) 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.(*DeleteColumnStatisticsForTableInput) 764 if !ok { 765 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 766 } 767 if err := validateOpDeleteColumnStatisticsForTableInput(input); err != nil { 768 return out, metadata, err 769 } 770 return next.HandleInitialize(ctx, in) 771} 772 773type validateOpDeleteConnection struct { 774} 775 776func (*validateOpDeleteConnection) ID() string { 777 return "OperationInputValidation" 778} 779 780func (m *validateOpDeleteConnection) 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.(*DeleteConnectionInput) 784 if !ok { 785 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 786 } 787 if err := validateOpDeleteConnectionInput(input); err != nil { 788 return out, metadata, err 789 } 790 return next.HandleInitialize(ctx, in) 791} 792 793type validateOpDeleteCrawler struct { 794} 795 796func (*validateOpDeleteCrawler) ID() string { 797 return "OperationInputValidation" 798} 799 800func (m *validateOpDeleteCrawler) 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.(*DeleteCrawlerInput) 804 if !ok { 805 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 806 } 807 if err := validateOpDeleteCrawlerInput(input); err != nil { 808 return out, metadata, err 809 } 810 return next.HandleInitialize(ctx, in) 811} 812 813type validateOpDeleteDatabase struct { 814} 815 816func (*validateOpDeleteDatabase) ID() string { 817 return "OperationInputValidation" 818} 819 820func (m *validateOpDeleteDatabase) 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.(*DeleteDatabaseInput) 824 if !ok { 825 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 826 } 827 if err := validateOpDeleteDatabaseInput(input); err != nil { 828 return out, metadata, err 829 } 830 return next.HandleInitialize(ctx, in) 831} 832 833type validateOpDeleteDevEndpoint struct { 834} 835 836func (*validateOpDeleteDevEndpoint) ID() string { 837 return "OperationInputValidation" 838} 839 840func (m *validateOpDeleteDevEndpoint) 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.(*DeleteDevEndpointInput) 844 if !ok { 845 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 846 } 847 if err := validateOpDeleteDevEndpointInput(input); err != nil { 848 return out, metadata, err 849 } 850 return next.HandleInitialize(ctx, in) 851} 852 853type validateOpDeleteJob struct { 854} 855 856func (*validateOpDeleteJob) ID() string { 857 return "OperationInputValidation" 858} 859 860func (m *validateOpDeleteJob) 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.(*DeleteJobInput) 864 if !ok { 865 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 866 } 867 if err := validateOpDeleteJobInput(input); err != nil { 868 return out, metadata, err 869 } 870 return next.HandleInitialize(ctx, in) 871} 872 873type validateOpDeleteMLTransform struct { 874} 875 876func (*validateOpDeleteMLTransform) ID() string { 877 return "OperationInputValidation" 878} 879 880func (m *validateOpDeleteMLTransform) 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.(*DeleteMLTransformInput) 884 if !ok { 885 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 886 } 887 if err := validateOpDeleteMLTransformInput(input); err != nil { 888 return out, metadata, err 889 } 890 return next.HandleInitialize(ctx, in) 891} 892 893type validateOpDeletePartitionIndex struct { 894} 895 896func (*validateOpDeletePartitionIndex) ID() string { 897 return "OperationInputValidation" 898} 899 900func (m *validateOpDeletePartitionIndex) 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.(*DeletePartitionIndexInput) 904 if !ok { 905 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 906 } 907 if err := validateOpDeletePartitionIndexInput(input); err != nil { 908 return out, metadata, err 909 } 910 return next.HandleInitialize(ctx, in) 911} 912 913type validateOpDeletePartition struct { 914} 915 916func (*validateOpDeletePartition) ID() string { 917 return "OperationInputValidation" 918} 919 920func (m *validateOpDeletePartition) 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.(*DeletePartitionInput) 924 if !ok { 925 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 926 } 927 if err := validateOpDeletePartitionInput(input); err != nil { 928 return out, metadata, err 929 } 930 return next.HandleInitialize(ctx, in) 931} 932 933type validateOpDeleteRegistry struct { 934} 935 936func (*validateOpDeleteRegistry) ID() string { 937 return "OperationInputValidation" 938} 939 940func (m *validateOpDeleteRegistry) 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.(*DeleteRegistryInput) 944 if !ok { 945 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 946 } 947 if err := validateOpDeleteRegistryInput(input); err != nil { 948 return out, metadata, err 949 } 950 return next.HandleInitialize(ctx, in) 951} 952 953type validateOpDeleteSchema struct { 954} 955 956func (*validateOpDeleteSchema) ID() string { 957 return "OperationInputValidation" 958} 959 960func (m *validateOpDeleteSchema) 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.(*DeleteSchemaInput) 964 if !ok { 965 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 966 } 967 if err := validateOpDeleteSchemaInput(input); err != nil { 968 return out, metadata, err 969 } 970 return next.HandleInitialize(ctx, in) 971} 972 973type validateOpDeleteSchemaVersions struct { 974} 975 976func (*validateOpDeleteSchemaVersions) ID() string { 977 return "OperationInputValidation" 978} 979 980func (m *validateOpDeleteSchemaVersions) 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.(*DeleteSchemaVersionsInput) 984 if !ok { 985 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 986 } 987 if err := validateOpDeleteSchemaVersionsInput(input); err != nil { 988 return out, metadata, err 989 } 990 return next.HandleInitialize(ctx, in) 991} 992 993type validateOpDeleteSecurityConfiguration struct { 994} 995 996func (*validateOpDeleteSecurityConfiguration) ID() string { 997 return "OperationInputValidation" 998} 999 1000func (m *validateOpDeleteSecurityConfiguration) 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.(*DeleteSecurityConfigurationInput) 1004 if !ok { 1005 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1006 } 1007 if err := validateOpDeleteSecurityConfigurationInput(input); err != nil { 1008 return out, metadata, err 1009 } 1010 return next.HandleInitialize(ctx, in) 1011} 1012 1013type validateOpDeleteTable struct { 1014} 1015 1016func (*validateOpDeleteTable) ID() string { 1017 return "OperationInputValidation" 1018} 1019 1020func (m *validateOpDeleteTable) 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.(*DeleteTableInput) 1024 if !ok { 1025 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1026 } 1027 if err := validateOpDeleteTableInput(input); err != nil { 1028 return out, metadata, err 1029 } 1030 return next.HandleInitialize(ctx, in) 1031} 1032 1033type validateOpDeleteTableVersion struct { 1034} 1035 1036func (*validateOpDeleteTableVersion) ID() string { 1037 return "OperationInputValidation" 1038} 1039 1040func (m *validateOpDeleteTableVersion) 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.(*DeleteTableVersionInput) 1044 if !ok { 1045 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1046 } 1047 if err := validateOpDeleteTableVersionInput(input); err != nil { 1048 return out, metadata, err 1049 } 1050 return next.HandleInitialize(ctx, in) 1051} 1052 1053type validateOpDeleteTrigger struct { 1054} 1055 1056func (*validateOpDeleteTrigger) ID() string { 1057 return "OperationInputValidation" 1058} 1059 1060func (m *validateOpDeleteTrigger) 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.(*DeleteTriggerInput) 1064 if !ok { 1065 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1066 } 1067 if err := validateOpDeleteTriggerInput(input); err != nil { 1068 return out, metadata, err 1069 } 1070 return next.HandleInitialize(ctx, in) 1071} 1072 1073type validateOpDeleteUserDefinedFunction struct { 1074} 1075 1076func (*validateOpDeleteUserDefinedFunction) ID() string { 1077 return "OperationInputValidation" 1078} 1079 1080func (m *validateOpDeleteUserDefinedFunction) 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.(*DeleteUserDefinedFunctionInput) 1084 if !ok { 1085 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1086 } 1087 if err := validateOpDeleteUserDefinedFunctionInput(input); err != nil { 1088 return out, metadata, err 1089 } 1090 return next.HandleInitialize(ctx, in) 1091} 1092 1093type validateOpDeleteWorkflow struct { 1094} 1095 1096func (*validateOpDeleteWorkflow) ID() string { 1097 return "OperationInputValidation" 1098} 1099 1100func (m *validateOpDeleteWorkflow) 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.(*DeleteWorkflowInput) 1104 if !ok { 1105 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1106 } 1107 if err := validateOpDeleteWorkflowInput(input); err != nil { 1108 return out, metadata, err 1109 } 1110 return next.HandleInitialize(ctx, in) 1111} 1112 1113type validateOpGetBlueprint struct { 1114} 1115 1116func (*validateOpGetBlueprint) ID() string { 1117 return "OperationInputValidation" 1118} 1119 1120func (m *validateOpGetBlueprint) 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.(*GetBlueprintInput) 1124 if !ok { 1125 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1126 } 1127 if err := validateOpGetBlueprintInput(input); err != nil { 1128 return out, metadata, err 1129 } 1130 return next.HandleInitialize(ctx, in) 1131} 1132 1133type validateOpGetBlueprintRun struct { 1134} 1135 1136func (*validateOpGetBlueprintRun) ID() string { 1137 return "OperationInputValidation" 1138} 1139 1140func (m *validateOpGetBlueprintRun) 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.(*GetBlueprintRunInput) 1144 if !ok { 1145 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1146 } 1147 if err := validateOpGetBlueprintRunInput(input); err != nil { 1148 return out, metadata, err 1149 } 1150 return next.HandleInitialize(ctx, in) 1151} 1152 1153type validateOpGetBlueprintRuns struct { 1154} 1155 1156func (*validateOpGetBlueprintRuns) ID() string { 1157 return "OperationInputValidation" 1158} 1159 1160func (m *validateOpGetBlueprintRuns) 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.(*GetBlueprintRunsInput) 1164 if !ok { 1165 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1166 } 1167 if err := validateOpGetBlueprintRunsInput(input); err != nil { 1168 return out, metadata, err 1169 } 1170 return next.HandleInitialize(ctx, in) 1171} 1172 1173type validateOpGetClassifier struct { 1174} 1175 1176func (*validateOpGetClassifier) ID() string { 1177 return "OperationInputValidation" 1178} 1179 1180func (m *validateOpGetClassifier) 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.(*GetClassifierInput) 1184 if !ok { 1185 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1186 } 1187 if err := validateOpGetClassifierInput(input); err != nil { 1188 return out, metadata, err 1189 } 1190 return next.HandleInitialize(ctx, in) 1191} 1192 1193type validateOpGetColumnStatisticsForPartition struct { 1194} 1195 1196func (*validateOpGetColumnStatisticsForPartition) ID() string { 1197 return "OperationInputValidation" 1198} 1199 1200func (m *validateOpGetColumnStatisticsForPartition) 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.(*GetColumnStatisticsForPartitionInput) 1204 if !ok { 1205 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1206 } 1207 if err := validateOpGetColumnStatisticsForPartitionInput(input); err != nil { 1208 return out, metadata, err 1209 } 1210 return next.HandleInitialize(ctx, in) 1211} 1212 1213type validateOpGetColumnStatisticsForTable struct { 1214} 1215 1216func (*validateOpGetColumnStatisticsForTable) ID() string { 1217 return "OperationInputValidation" 1218} 1219 1220func (m *validateOpGetColumnStatisticsForTable) 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.(*GetColumnStatisticsForTableInput) 1224 if !ok { 1225 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1226 } 1227 if err := validateOpGetColumnStatisticsForTableInput(input); err != nil { 1228 return out, metadata, err 1229 } 1230 return next.HandleInitialize(ctx, in) 1231} 1232 1233type validateOpGetConnection struct { 1234} 1235 1236func (*validateOpGetConnection) ID() string { 1237 return "OperationInputValidation" 1238} 1239 1240func (m *validateOpGetConnection) 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.(*GetConnectionInput) 1244 if !ok { 1245 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1246 } 1247 if err := validateOpGetConnectionInput(input); err != nil { 1248 return out, metadata, err 1249 } 1250 return next.HandleInitialize(ctx, in) 1251} 1252 1253type validateOpGetCrawler struct { 1254} 1255 1256func (*validateOpGetCrawler) ID() string { 1257 return "OperationInputValidation" 1258} 1259 1260func (m *validateOpGetCrawler) 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.(*GetCrawlerInput) 1264 if !ok { 1265 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1266 } 1267 if err := validateOpGetCrawlerInput(input); err != nil { 1268 return out, metadata, err 1269 } 1270 return next.HandleInitialize(ctx, in) 1271} 1272 1273type validateOpGetDatabase struct { 1274} 1275 1276func (*validateOpGetDatabase) ID() string { 1277 return "OperationInputValidation" 1278} 1279 1280func (m *validateOpGetDatabase) 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.(*GetDatabaseInput) 1284 if !ok { 1285 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1286 } 1287 if err := validateOpGetDatabaseInput(input); err != nil { 1288 return out, metadata, err 1289 } 1290 return next.HandleInitialize(ctx, in) 1291} 1292 1293type validateOpGetDevEndpoint struct { 1294} 1295 1296func (*validateOpGetDevEndpoint) ID() string { 1297 return "OperationInputValidation" 1298} 1299 1300func (m *validateOpGetDevEndpoint) 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.(*GetDevEndpointInput) 1304 if !ok { 1305 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1306 } 1307 if err := validateOpGetDevEndpointInput(input); err != nil { 1308 return out, metadata, err 1309 } 1310 return next.HandleInitialize(ctx, in) 1311} 1312 1313type validateOpGetJobBookmark struct { 1314} 1315 1316func (*validateOpGetJobBookmark) ID() string { 1317 return "OperationInputValidation" 1318} 1319 1320func (m *validateOpGetJobBookmark) 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.(*GetJobBookmarkInput) 1324 if !ok { 1325 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1326 } 1327 if err := validateOpGetJobBookmarkInput(input); err != nil { 1328 return out, metadata, err 1329 } 1330 return next.HandleInitialize(ctx, in) 1331} 1332 1333type validateOpGetJob struct { 1334} 1335 1336func (*validateOpGetJob) ID() string { 1337 return "OperationInputValidation" 1338} 1339 1340func (m *validateOpGetJob) 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.(*GetJobInput) 1344 if !ok { 1345 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1346 } 1347 if err := validateOpGetJobInput(input); err != nil { 1348 return out, metadata, err 1349 } 1350 return next.HandleInitialize(ctx, in) 1351} 1352 1353type validateOpGetJobRun struct { 1354} 1355 1356func (*validateOpGetJobRun) ID() string { 1357 return "OperationInputValidation" 1358} 1359 1360func (m *validateOpGetJobRun) 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.(*GetJobRunInput) 1364 if !ok { 1365 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1366 } 1367 if err := validateOpGetJobRunInput(input); err != nil { 1368 return out, metadata, err 1369 } 1370 return next.HandleInitialize(ctx, in) 1371} 1372 1373type validateOpGetJobRuns struct { 1374} 1375 1376func (*validateOpGetJobRuns) ID() string { 1377 return "OperationInputValidation" 1378} 1379 1380func (m *validateOpGetJobRuns) 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.(*GetJobRunsInput) 1384 if !ok { 1385 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1386 } 1387 if err := validateOpGetJobRunsInput(input); err != nil { 1388 return out, metadata, err 1389 } 1390 return next.HandleInitialize(ctx, in) 1391} 1392 1393type validateOpGetMapping struct { 1394} 1395 1396func (*validateOpGetMapping) ID() string { 1397 return "OperationInputValidation" 1398} 1399 1400func (m *validateOpGetMapping) 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.(*GetMappingInput) 1404 if !ok { 1405 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1406 } 1407 if err := validateOpGetMappingInput(input); err != nil { 1408 return out, metadata, err 1409 } 1410 return next.HandleInitialize(ctx, in) 1411} 1412 1413type validateOpGetMLTaskRun struct { 1414} 1415 1416func (*validateOpGetMLTaskRun) ID() string { 1417 return "OperationInputValidation" 1418} 1419 1420func (m *validateOpGetMLTaskRun) 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.(*GetMLTaskRunInput) 1424 if !ok { 1425 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1426 } 1427 if err := validateOpGetMLTaskRunInput(input); err != nil { 1428 return out, metadata, err 1429 } 1430 return next.HandleInitialize(ctx, in) 1431} 1432 1433type validateOpGetMLTaskRuns struct { 1434} 1435 1436func (*validateOpGetMLTaskRuns) ID() string { 1437 return "OperationInputValidation" 1438} 1439 1440func (m *validateOpGetMLTaskRuns) 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.(*GetMLTaskRunsInput) 1444 if !ok { 1445 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1446 } 1447 if err := validateOpGetMLTaskRunsInput(input); err != nil { 1448 return out, metadata, err 1449 } 1450 return next.HandleInitialize(ctx, in) 1451} 1452 1453type validateOpGetMLTransform struct { 1454} 1455 1456func (*validateOpGetMLTransform) ID() string { 1457 return "OperationInputValidation" 1458} 1459 1460func (m *validateOpGetMLTransform) 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.(*GetMLTransformInput) 1464 if !ok { 1465 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1466 } 1467 if err := validateOpGetMLTransformInput(input); err != nil { 1468 return out, metadata, err 1469 } 1470 return next.HandleInitialize(ctx, in) 1471} 1472 1473type validateOpGetMLTransforms struct { 1474} 1475 1476func (*validateOpGetMLTransforms) ID() string { 1477 return "OperationInputValidation" 1478} 1479 1480func (m *validateOpGetMLTransforms) 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.(*GetMLTransformsInput) 1484 if !ok { 1485 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1486 } 1487 if err := validateOpGetMLTransformsInput(input); err != nil { 1488 return out, metadata, err 1489 } 1490 return next.HandleInitialize(ctx, in) 1491} 1492 1493type validateOpGetPartitionIndexes struct { 1494} 1495 1496func (*validateOpGetPartitionIndexes) ID() string { 1497 return "OperationInputValidation" 1498} 1499 1500func (m *validateOpGetPartitionIndexes) 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.(*GetPartitionIndexesInput) 1504 if !ok { 1505 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1506 } 1507 if err := validateOpGetPartitionIndexesInput(input); err != nil { 1508 return out, metadata, err 1509 } 1510 return next.HandleInitialize(ctx, in) 1511} 1512 1513type validateOpGetPartition struct { 1514} 1515 1516func (*validateOpGetPartition) ID() string { 1517 return "OperationInputValidation" 1518} 1519 1520func (m *validateOpGetPartition) 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.(*GetPartitionInput) 1524 if !ok { 1525 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1526 } 1527 if err := validateOpGetPartitionInput(input); err != nil { 1528 return out, metadata, err 1529 } 1530 return next.HandleInitialize(ctx, in) 1531} 1532 1533type validateOpGetPartitions struct { 1534} 1535 1536func (*validateOpGetPartitions) ID() string { 1537 return "OperationInputValidation" 1538} 1539 1540func (m *validateOpGetPartitions) 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.(*GetPartitionsInput) 1544 if !ok { 1545 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1546 } 1547 if err := validateOpGetPartitionsInput(input); err != nil { 1548 return out, metadata, err 1549 } 1550 return next.HandleInitialize(ctx, in) 1551} 1552 1553type validateOpGetPlan struct { 1554} 1555 1556func (*validateOpGetPlan) ID() string { 1557 return "OperationInputValidation" 1558} 1559 1560func (m *validateOpGetPlan) 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.(*GetPlanInput) 1564 if !ok { 1565 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1566 } 1567 if err := validateOpGetPlanInput(input); err != nil { 1568 return out, metadata, err 1569 } 1570 return next.HandleInitialize(ctx, in) 1571} 1572 1573type validateOpGetRegistry struct { 1574} 1575 1576func (*validateOpGetRegistry) ID() string { 1577 return "OperationInputValidation" 1578} 1579 1580func (m *validateOpGetRegistry) 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.(*GetRegistryInput) 1584 if !ok { 1585 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1586 } 1587 if err := validateOpGetRegistryInput(input); err != nil { 1588 return out, metadata, err 1589 } 1590 return next.HandleInitialize(ctx, in) 1591} 1592 1593type validateOpGetSchemaByDefinition struct { 1594} 1595 1596func (*validateOpGetSchemaByDefinition) ID() string { 1597 return "OperationInputValidation" 1598} 1599 1600func (m *validateOpGetSchemaByDefinition) 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.(*GetSchemaByDefinitionInput) 1604 if !ok { 1605 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1606 } 1607 if err := validateOpGetSchemaByDefinitionInput(input); err != nil { 1608 return out, metadata, err 1609 } 1610 return next.HandleInitialize(ctx, in) 1611} 1612 1613type validateOpGetSchema struct { 1614} 1615 1616func (*validateOpGetSchema) ID() string { 1617 return "OperationInputValidation" 1618} 1619 1620func (m *validateOpGetSchema) 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.(*GetSchemaInput) 1624 if !ok { 1625 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1626 } 1627 if err := validateOpGetSchemaInput(input); err != nil { 1628 return out, metadata, err 1629 } 1630 return next.HandleInitialize(ctx, in) 1631} 1632 1633type validateOpGetSchemaVersionsDiff struct { 1634} 1635 1636func (*validateOpGetSchemaVersionsDiff) ID() string { 1637 return "OperationInputValidation" 1638} 1639 1640func (m *validateOpGetSchemaVersionsDiff) 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.(*GetSchemaVersionsDiffInput) 1644 if !ok { 1645 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1646 } 1647 if err := validateOpGetSchemaVersionsDiffInput(input); err != nil { 1648 return out, metadata, err 1649 } 1650 return next.HandleInitialize(ctx, in) 1651} 1652 1653type validateOpGetSecurityConfiguration struct { 1654} 1655 1656func (*validateOpGetSecurityConfiguration) ID() string { 1657 return "OperationInputValidation" 1658} 1659 1660func (m *validateOpGetSecurityConfiguration) 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.(*GetSecurityConfigurationInput) 1664 if !ok { 1665 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1666 } 1667 if err := validateOpGetSecurityConfigurationInput(input); err != nil { 1668 return out, metadata, err 1669 } 1670 return next.HandleInitialize(ctx, in) 1671} 1672 1673type validateOpGetTable struct { 1674} 1675 1676func (*validateOpGetTable) ID() string { 1677 return "OperationInputValidation" 1678} 1679 1680func (m *validateOpGetTable) 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.(*GetTableInput) 1684 if !ok { 1685 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1686 } 1687 if err := validateOpGetTableInput(input); err != nil { 1688 return out, metadata, err 1689 } 1690 return next.HandleInitialize(ctx, in) 1691} 1692 1693type validateOpGetTables struct { 1694} 1695 1696func (*validateOpGetTables) ID() string { 1697 return "OperationInputValidation" 1698} 1699 1700func (m *validateOpGetTables) 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.(*GetTablesInput) 1704 if !ok { 1705 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1706 } 1707 if err := validateOpGetTablesInput(input); err != nil { 1708 return out, metadata, err 1709 } 1710 return next.HandleInitialize(ctx, in) 1711} 1712 1713type validateOpGetTableVersion struct { 1714} 1715 1716func (*validateOpGetTableVersion) ID() string { 1717 return "OperationInputValidation" 1718} 1719 1720func (m *validateOpGetTableVersion) 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.(*GetTableVersionInput) 1724 if !ok { 1725 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1726 } 1727 if err := validateOpGetTableVersionInput(input); err != nil { 1728 return out, metadata, err 1729 } 1730 return next.HandleInitialize(ctx, in) 1731} 1732 1733type validateOpGetTableVersions struct { 1734} 1735 1736func (*validateOpGetTableVersions) ID() string { 1737 return "OperationInputValidation" 1738} 1739 1740func (m *validateOpGetTableVersions) 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.(*GetTableVersionsInput) 1744 if !ok { 1745 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1746 } 1747 if err := validateOpGetTableVersionsInput(input); err != nil { 1748 return out, metadata, err 1749 } 1750 return next.HandleInitialize(ctx, in) 1751} 1752 1753type validateOpGetTags struct { 1754} 1755 1756func (*validateOpGetTags) ID() string { 1757 return "OperationInputValidation" 1758} 1759 1760func (m *validateOpGetTags) 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.(*GetTagsInput) 1764 if !ok { 1765 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1766 } 1767 if err := validateOpGetTagsInput(input); err != nil { 1768 return out, metadata, err 1769 } 1770 return next.HandleInitialize(ctx, in) 1771} 1772 1773type validateOpGetTrigger struct { 1774} 1775 1776func (*validateOpGetTrigger) ID() string { 1777 return "OperationInputValidation" 1778} 1779 1780func (m *validateOpGetTrigger) 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.(*GetTriggerInput) 1784 if !ok { 1785 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1786 } 1787 if err := validateOpGetTriggerInput(input); err != nil { 1788 return out, metadata, err 1789 } 1790 return next.HandleInitialize(ctx, in) 1791} 1792 1793type validateOpGetUserDefinedFunction struct { 1794} 1795 1796func (*validateOpGetUserDefinedFunction) ID() string { 1797 return "OperationInputValidation" 1798} 1799 1800func (m *validateOpGetUserDefinedFunction) 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.(*GetUserDefinedFunctionInput) 1804 if !ok { 1805 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1806 } 1807 if err := validateOpGetUserDefinedFunctionInput(input); err != nil { 1808 return out, metadata, err 1809 } 1810 return next.HandleInitialize(ctx, in) 1811} 1812 1813type validateOpGetUserDefinedFunctions struct { 1814} 1815 1816func (*validateOpGetUserDefinedFunctions) ID() string { 1817 return "OperationInputValidation" 1818} 1819 1820func (m *validateOpGetUserDefinedFunctions) 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.(*GetUserDefinedFunctionsInput) 1824 if !ok { 1825 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1826 } 1827 if err := validateOpGetUserDefinedFunctionsInput(input); err != nil { 1828 return out, metadata, err 1829 } 1830 return next.HandleInitialize(ctx, in) 1831} 1832 1833type validateOpGetWorkflow struct { 1834} 1835 1836func (*validateOpGetWorkflow) ID() string { 1837 return "OperationInputValidation" 1838} 1839 1840func (m *validateOpGetWorkflow) 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.(*GetWorkflowInput) 1844 if !ok { 1845 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1846 } 1847 if err := validateOpGetWorkflowInput(input); err != nil { 1848 return out, metadata, err 1849 } 1850 return next.HandleInitialize(ctx, in) 1851} 1852 1853type validateOpGetWorkflowRun struct { 1854} 1855 1856func (*validateOpGetWorkflowRun) ID() string { 1857 return "OperationInputValidation" 1858} 1859 1860func (m *validateOpGetWorkflowRun) 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.(*GetWorkflowRunInput) 1864 if !ok { 1865 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1866 } 1867 if err := validateOpGetWorkflowRunInput(input); err != nil { 1868 return out, metadata, err 1869 } 1870 return next.HandleInitialize(ctx, in) 1871} 1872 1873type validateOpGetWorkflowRunProperties struct { 1874} 1875 1876func (*validateOpGetWorkflowRunProperties) ID() string { 1877 return "OperationInputValidation" 1878} 1879 1880func (m *validateOpGetWorkflowRunProperties) 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.(*GetWorkflowRunPropertiesInput) 1884 if !ok { 1885 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1886 } 1887 if err := validateOpGetWorkflowRunPropertiesInput(input); err != nil { 1888 return out, metadata, err 1889 } 1890 return next.HandleInitialize(ctx, in) 1891} 1892 1893type validateOpGetWorkflowRuns struct { 1894} 1895 1896func (*validateOpGetWorkflowRuns) ID() string { 1897 return "OperationInputValidation" 1898} 1899 1900func (m *validateOpGetWorkflowRuns) 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.(*GetWorkflowRunsInput) 1904 if !ok { 1905 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1906 } 1907 if err := validateOpGetWorkflowRunsInput(input); err != nil { 1908 return out, metadata, err 1909 } 1910 return next.HandleInitialize(ctx, in) 1911} 1912 1913type validateOpListMLTransforms struct { 1914} 1915 1916func (*validateOpListMLTransforms) ID() string { 1917 return "OperationInputValidation" 1918} 1919 1920func (m *validateOpListMLTransforms) 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.(*ListMLTransformsInput) 1924 if !ok { 1925 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1926 } 1927 if err := validateOpListMLTransformsInput(input); err != nil { 1928 return out, metadata, err 1929 } 1930 return next.HandleInitialize(ctx, in) 1931} 1932 1933type validateOpListSchemaVersions struct { 1934} 1935 1936func (*validateOpListSchemaVersions) ID() string { 1937 return "OperationInputValidation" 1938} 1939 1940func (m *validateOpListSchemaVersions) 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.(*ListSchemaVersionsInput) 1944 if !ok { 1945 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1946 } 1947 if err := validateOpListSchemaVersionsInput(input); err != nil { 1948 return out, metadata, err 1949 } 1950 return next.HandleInitialize(ctx, in) 1951} 1952 1953type validateOpPutDataCatalogEncryptionSettings struct { 1954} 1955 1956func (*validateOpPutDataCatalogEncryptionSettings) ID() string { 1957 return "OperationInputValidation" 1958} 1959 1960func (m *validateOpPutDataCatalogEncryptionSettings) 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.(*PutDataCatalogEncryptionSettingsInput) 1964 if !ok { 1965 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1966 } 1967 if err := validateOpPutDataCatalogEncryptionSettingsInput(input); err != nil { 1968 return out, metadata, err 1969 } 1970 return next.HandleInitialize(ctx, in) 1971} 1972 1973type validateOpPutResourcePolicy struct { 1974} 1975 1976func (*validateOpPutResourcePolicy) ID() string { 1977 return "OperationInputValidation" 1978} 1979 1980func (m *validateOpPutResourcePolicy) 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.(*PutResourcePolicyInput) 1984 if !ok { 1985 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 1986 } 1987 if err := validateOpPutResourcePolicyInput(input); err != nil { 1988 return out, metadata, err 1989 } 1990 return next.HandleInitialize(ctx, in) 1991} 1992 1993type validateOpPutSchemaVersionMetadata struct { 1994} 1995 1996func (*validateOpPutSchemaVersionMetadata) ID() string { 1997 return "OperationInputValidation" 1998} 1999 2000func (m *validateOpPutSchemaVersionMetadata) 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.(*PutSchemaVersionMetadataInput) 2004 if !ok { 2005 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2006 } 2007 if err := validateOpPutSchemaVersionMetadataInput(input); err != nil { 2008 return out, metadata, err 2009 } 2010 return next.HandleInitialize(ctx, in) 2011} 2012 2013type validateOpPutWorkflowRunProperties struct { 2014} 2015 2016func (*validateOpPutWorkflowRunProperties) ID() string { 2017 return "OperationInputValidation" 2018} 2019 2020func (m *validateOpPutWorkflowRunProperties) 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.(*PutWorkflowRunPropertiesInput) 2024 if !ok { 2025 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2026 } 2027 if err := validateOpPutWorkflowRunPropertiesInput(input); err != nil { 2028 return out, metadata, err 2029 } 2030 return next.HandleInitialize(ctx, in) 2031} 2032 2033type validateOpRegisterSchemaVersion struct { 2034} 2035 2036func (*validateOpRegisterSchemaVersion) ID() string { 2037 return "OperationInputValidation" 2038} 2039 2040func (m *validateOpRegisterSchemaVersion) 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.(*RegisterSchemaVersionInput) 2044 if !ok { 2045 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2046 } 2047 if err := validateOpRegisterSchemaVersionInput(input); err != nil { 2048 return out, metadata, err 2049 } 2050 return next.HandleInitialize(ctx, in) 2051} 2052 2053type validateOpRemoveSchemaVersionMetadata struct { 2054} 2055 2056func (*validateOpRemoveSchemaVersionMetadata) ID() string { 2057 return "OperationInputValidation" 2058} 2059 2060func (m *validateOpRemoveSchemaVersionMetadata) 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.(*RemoveSchemaVersionMetadataInput) 2064 if !ok { 2065 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2066 } 2067 if err := validateOpRemoveSchemaVersionMetadataInput(input); err != nil { 2068 return out, metadata, err 2069 } 2070 return next.HandleInitialize(ctx, in) 2071} 2072 2073type validateOpResetJobBookmark struct { 2074} 2075 2076func (*validateOpResetJobBookmark) ID() string { 2077 return "OperationInputValidation" 2078} 2079 2080func (m *validateOpResetJobBookmark) 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.(*ResetJobBookmarkInput) 2084 if !ok { 2085 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2086 } 2087 if err := validateOpResetJobBookmarkInput(input); err != nil { 2088 return out, metadata, err 2089 } 2090 return next.HandleInitialize(ctx, in) 2091} 2092 2093type validateOpResumeWorkflowRun struct { 2094} 2095 2096func (*validateOpResumeWorkflowRun) ID() string { 2097 return "OperationInputValidation" 2098} 2099 2100func (m *validateOpResumeWorkflowRun) 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.(*ResumeWorkflowRunInput) 2104 if !ok { 2105 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2106 } 2107 if err := validateOpResumeWorkflowRunInput(input); err != nil { 2108 return out, metadata, err 2109 } 2110 return next.HandleInitialize(ctx, in) 2111} 2112 2113type validateOpStartBlueprintRun struct { 2114} 2115 2116func (*validateOpStartBlueprintRun) ID() string { 2117 return "OperationInputValidation" 2118} 2119 2120func (m *validateOpStartBlueprintRun) 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.(*StartBlueprintRunInput) 2124 if !ok { 2125 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2126 } 2127 if err := validateOpStartBlueprintRunInput(input); err != nil { 2128 return out, metadata, err 2129 } 2130 return next.HandleInitialize(ctx, in) 2131} 2132 2133type validateOpStartCrawler struct { 2134} 2135 2136func (*validateOpStartCrawler) ID() string { 2137 return "OperationInputValidation" 2138} 2139 2140func (m *validateOpStartCrawler) 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.(*StartCrawlerInput) 2144 if !ok { 2145 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2146 } 2147 if err := validateOpStartCrawlerInput(input); err != nil { 2148 return out, metadata, err 2149 } 2150 return next.HandleInitialize(ctx, in) 2151} 2152 2153type validateOpStartCrawlerSchedule struct { 2154} 2155 2156func (*validateOpStartCrawlerSchedule) ID() string { 2157 return "OperationInputValidation" 2158} 2159 2160func (m *validateOpStartCrawlerSchedule) 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.(*StartCrawlerScheduleInput) 2164 if !ok { 2165 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2166 } 2167 if err := validateOpStartCrawlerScheduleInput(input); err != nil { 2168 return out, metadata, err 2169 } 2170 return next.HandleInitialize(ctx, in) 2171} 2172 2173type validateOpStartExportLabelsTaskRun struct { 2174} 2175 2176func (*validateOpStartExportLabelsTaskRun) ID() string { 2177 return "OperationInputValidation" 2178} 2179 2180func (m *validateOpStartExportLabelsTaskRun) 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.(*StartExportLabelsTaskRunInput) 2184 if !ok { 2185 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2186 } 2187 if err := validateOpStartExportLabelsTaskRunInput(input); err != nil { 2188 return out, metadata, err 2189 } 2190 return next.HandleInitialize(ctx, in) 2191} 2192 2193type validateOpStartImportLabelsTaskRun struct { 2194} 2195 2196func (*validateOpStartImportLabelsTaskRun) ID() string { 2197 return "OperationInputValidation" 2198} 2199 2200func (m *validateOpStartImportLabelsTaskRun) 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.(*StartImportLabelsTaskRunInput) 2204 if !ok { 2205 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2206 } 2207 if err := validateOpStartImportLabelsTaskRunInput(input); err != nil { 2208 return out, metadata, err 2209 } 2210 return next.HandleInitialize(ctx, in) 2211} 2212 2213type validateOpStartJobRun struct { 2214} 2215 2216func (*validateOpStartJobRun) ID() string { 2217 return "OperationInputValidation" 2218} 2219 2220func (m *validateOpStartJobRun) 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.(*StartJobRunInput) 2224 if !ok { 2225 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2226 } 2227 if err := validateOpStartJobRunInput(input); err != nil { 2228 return out, metadata, err 2229 } 2230 return next.HandleInitialize(ctx, in) 2231} 2232 2233type validateOpStartMLEvaluationTaskRun struct { 2234} 2235 2236func (*validateOpStartMLEvaluationTaskRun) ID() string { 2237 return "OperationInputValidation" 2238} 2239 2240func (m *validateOpStartMLEvaluationTaskRun) 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.(*StartMLEvaluationTaskRunInput) 2244 if !ok { 2245 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2246 } 2247 if err := validateOpStartMLEvaluationTaskRunInput(input); err != nil { 2248 return out, metadata, err 2249 } 2250 return next.HandleInitialize(ctx, in) 2251} 2252 2253type validateOpStartMLLabelingSetGenerationTaskRun struct { 2254} 2255 2256func (*validateOpStartMLLabelingSetGenerationTaskRun) ID() string { 2257 return "OperationInputValidation" 2258} 2259 2260func (m *validateOpStartMLLabelingSetGenerationTaskRun) 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.(*StartMLLabelingSetGenerationTaskRunInput) 2264 if !ok { 2265 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2266 } 2267 if err := validateOpStartMLLabelingSetGenerationTaskRunInput(input); err != nil { 2268 return out, metadata, err 2269 } 2270 return next.HandleInitialize(ctx, in) 2271} 2272 2273type validateOpStartTrigger struct { 2274} 2275 2276func (*validateOpStartTrigger) ID() string { 2277 return "OperationInputValidation" 2278} 2279 2280func (m *validateOpStartTrigger) 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.(*StartTriggerInput) 2284 if !ok { 2285 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2286 } 2287 if err := validateOpStartTriggerInput(input); err != nil { 2288 return out, metadata, err 2289 } 2290 return next.HandleInitialize(ctx, in) 2291} 2292 2293type validateOpStartWorkflowRun struct { 2294} 2295 2296func (*validateOpStartWorkflowRun) ID() string { 2297 return "OperationInputValidation" 2298} 2299 2300func (m *validateOpStartWorkflowRun) 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.(*StartWorkflowRunInput) 2304 if !ok { 2305 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2306 } 2307 if err := validateOpStartWorkflowRunInput(input); err != nil { 2308 return out, metadata, err 2309 } 2310 return next.HandleInitialize(ctx, in) 2311} 2312 2313type validateOpStopCrawler struct { 2314} 2315 2316func (*validateOpStopCrawler) ID() string { 2317 return "OperationInputValidation" 2318} 2319 2320func (m *validateOpStopCrawler) 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.(*StopCrawlerInput) 2324 if !ok { 2325 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2326 } 2327 if err := validateOpStopCrawlerInput(input); err != nil { 2328 return out, metadata, err 2329 } 2330 return next.HandleInitialize(ctx, in) 2331} 2332 2333type validateOpStopCrawlerSchedule struct { 2334} 2335 2336func (*validateOpStopCrawlerSchedule) ID() string { 2337 return "OperationInputValidation" 2338} 2339 2340func (m *validateOpStopCrawlerSchedule) 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.(*StopCrawlerScheduleInput) 2344 if !ok { 2345 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2346 } 2347 if err := validateOpStopCrawlerScheduleInput(input); err != nil { 2348 return out, metadata, err 2349 } 2350 return next.HandleInitialize(ctx, in) 2351} 2352 2353type validateOpStopTrigger struct { 2354} 2355 2356func (*validateOpStopTrigger) ID() string { 2357 return "OperationInputValidation" 2358} 2359 2360func (m *validateOpStopTrigger) 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.(*StopTriggerInput) 2364 if !ok { 2365 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2366 } 2367 if err := validateOpStopTriggerInput(input); err != nil { 2368 return out, metadata, err 2369 } 2370 return next.HandleInitialize(ctx, in) 2371} 2372 2373type validateOpStopWorkflowRun struct { 2374} 2375 2376func (*validateOpStopWorkflowRun) ID() string { 2377 return "OperationInputValidation" 2378} 2379 2380func (m *validateOpStopWorkflowRun) 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.(*StopWorkflowRunInput) 2384 if !ok { 2385 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2386 } 2387 if err := validateOpStopWorkflowRunInput(input); err != nil { 2388 return out, metadata, err 2389 } 2390 return next.HandleInitialize(ctx, in) 2391} 2392 2393type validateOpTagResource struct { 2394} 2395 2396func (*validateOpTagResource) ID() string { 2397 return "OperationInputValidation" 2398} 2399 2400func (m *validateOpTagResource) 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.(*TagResourceInput) 2404 if !ok { 2405 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2406 } 2407 if err := validateOpTagResourceInput(input); err != nil { 2408 return out, metadata, err 2409 } 2410 return next.HandleInitialize(ctx, in) 2411} 2412 2413type validateOpUntagResource struct { 2414} 2415 2416func (*validateOpUntagResource) ID() string { 2417 return "OperationInputValidation" 2418} 2419 2420func (m *validateOpUntagResource) 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.(*UntagResourceInput) 2424 if !ok { 2425 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2426 } 2427 if err := validateOpUntagResourceInput(input); err != nil { 2428 return out, metadata, err 2429 } 2430 return next.HandleInitialize(ctx, in) 2431} 2432 2433type validateOpUpdateBlueprint struct { 2434} 2435 2436func (*validateOpUpdateBlueprint) ID() string { 2437 return "OperationInputValidation" 2438} 2439 2440func (m *validateOpUpdateBlueprint) 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.(*UpdateBlueprintInput) 2444 if !ok { 2445 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2446 } 2447 if err := validateOpUpdateBlueprintInput(input); err != nil { 2448 return out, metadata, err 2449 } 2450 return next.HandleInitialize(ctx, in) 2451} 2452 2453type validateOpUpdateClassifier struct { 2454} 2455 2456func (*validateOpUpdateClassifier) ID() string { 2457 return "OperationInputValidation" 2458} 2459 2460func (m *validateOpUpdateClassifier) 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.(*UpdateClassifierInput) 2464 if !ok { 2465 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2466 } 2467 if err := validateOpUpdateClassifierInput(input); err != nil { 2468 return out, metadata, err 2469 } 2470 return next.HandleInitialize(ctx, in) 2471} 2472 2473type validateOpUpdateColumnStatisticsForPartition struct { 2474} 2475 2476func (*validateOpUpdateColumnStatisticsForPartition) ID() string { 2477 return "OperationInputValidation" 2478} 2479 2480func (m *validateOpUpdateColumnStatisticsForPartition) 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.(*UpdateColumnStatisticsForPartitionInput) 2484 if !ok { 2485 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2486 } 2487 if err := validateOpUpdateColumnStatisticsForPartitionInput(input); err != nil { 2488 return out, metadata, err 2489 } 2490 return next.HandleInitialize(ctx, in) 2491} 2492 2493type validateOpUpdateColumnStatisticsForTable struct { 2494} 2495 2496func (*validateOpUpdateColumnStatisticsForTable) ID() string { 2497 return "OperationInputValidation" 2498} 2499 2500func (m *validateOpUpdateColumnStatisticsForTable) 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.(*UpdateColumnStatisticsForTableInput) 2504 if !ok { 2505 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2506 } 2507 if err := validateOpUpdateColumnStatisticsForTableInput(input); err != nil { 2508 return out, metadata, err 2509 } 2510 return next.HandleInitialize(ctx, in) 2511} 2512 2513type validateOpUpdateConnection struct { 2514} 2515 2516func (*validateOpUpdateConnection) ID() string { 2517 return "OperationInputValidation" 2518} 2519 2520func (m *validateOpUpdateConnection) 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.(*UpdateConnectionInput) 2524 if !ok { 2525 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2526 } 2527 if err := validateOpUpdateConnectionInput(input); err != nil { 2528 return out, metadata, err 2529 } 2530 return next.HandleInitialize(ctx, in) 2531} 2532 2533type validateOpUpdateCrawler struct { 2534} 2535 2536func (*validateOpUpdateCrawler) ID() string { 2537 return "OperationInputValidation" 2538} 2539 2540func (m *validateOpUpdateCrawler) 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.(*UpdateCrawlerInput) 2544 if !ok { 2545 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2546 } 2547 if err := validateOpUpdateCrawlerInput(input); err != nil { 2548 return out, metadata, err 2549 } 2550 return next.HandleInitialize(ctx, in) 2551} 2552 2553type validateOpUpdateCrawlerSchedule struct { 2554} 2555 2556func (*validateOpUpdateCrawlerSchedule) ID() string { 2557 return "OperationInputValidation" 2558} 2559 2560func (m *validateOpUpdateCrawlerSchedule) 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.(*UpdateCrawlerScheduleInput) 2564 if !ok { 2565 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2566 } 2567 if err := validateOpUpdateCrawlerScheduleInput(input); err != nil { 2568 return out, metadata, err 2569 } 2570 return next.HandleInitialize(ctx, in) 2571} 2572 2573type validateOpUpdateDatabase struct { 2574} 2575 2576func (*validateOpUpdateDatabase) ID() string { 2577 return "OperationInputValidation" 2578} 2579 2580func (m *validateOpUpdateDatabase) 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.(*UpdateDatabaseInput) 2584 if !ok { 2585 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2586 } 2587 if err := validateOpUpdateDatabaseInput(input); err != nil { 2588 return out, metadata, err 2589 } 2590 return next.HandleInitialize(ctx, in) 2591} 2592 2593type validateOpUpdateDevEndpoint struct { 2594} 2595 2596func (*validateOpUpdateDevEndpoint) ID() string { 2597 return "OperationInputValidation" 2598} 2599 2600func (m *validateOpUpdateDevEndpoint) 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.(*UpdateDevEndpointInput) 2604 if !ok { 2605 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2606 } 2607 if err := validateOpUpdateDevEndpointInput(input); err != nil { 2608 return out, metadata, err 2609 } 2610 return next.HandleInitialize(ctx, in) 2611} 2612 2613type validateOpUpdateJob struct { 2614} 2615 2616func (*validateOpUpdateJob) ID() string { 2617 return "OperationInputValidation" 2618} 2619 2620func (m *validateOpUpdateJob) 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.(*UpdateJobInput) 2624 if !ok { 2625 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2626 } 2627 if err := validateOpUpdateJobInput(input); err != nil { 2628 return out, metadata, err 2629 } 2630 return next.HandleInitialize(ctx, in) 2631} 2632 2633type validateOpUpdateMLTransform struct { 2634} 2635 2636func (*validateOpUpdateMLTransform) ID() string { 2637 return "OperationInputValidation" 2638} 2639 2640func (m *validateOpUpdateMLTransform) 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.(*UpdateMLTransformInput) 2644 if !ok { 2645 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2646 } 2647 if err := validateOpUpdateMLTransformInput(input); err != nil { 2648 return out, metadata, err 2649 } 2650 return next.HandleInitialize(ctx, in) 2651} 2652 2653type validateOpUpdatePartition struct { 2654} 2655 2656func (*validateOpUpdatePartition) ID() string { 2657 return "OperationInputValidation" 2658} 2659 2660func (m *validateOpUpdatePartition) 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.(*UpdatePartitionInput) 2664 if !ok { 2665 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2666 } 2667 if err := validateOpUpdatePartitionInput(input); err != nil { 2668 return out, metadata, err 2669 } 2670 return next.HandleInitialize(ctx, in) 2671} 2672 2673type validateOpUpdateRegistry struct { 2674} 2675 2676func (*validateOpUpdateRegistry) ID() string { 2677 return "OperationInputValidation" 2678} 2679 2680func (m *validateOpUpdateRegistry) 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.(*UpdateRegistryInput) 2684 if !ok { 2685 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2686 } 2687 if err := validateOpUpdateRegistryInput(input); err != nil { 2688 return out, metadata, err 2689 } 2690 return next.HandleInitialize(ctx, in) 2691} 2692 2693type validateOpUpdateSchema struct { 2694} 2695 2696func (*validateOpUpdateSchema) ID() string { 2697 return "OperationInputValidation" 2698} 2699 2700func (m *validateOpUpdateSchema) 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.(*UpdateSchemaInput) 2704 if !ok { 2705 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2706 } 2707 if err := validateOpUpdateSchemaInput(input); err != nil { 2708 return out, metadata, err 2709 } 2710 return next.HandleInitialize(ctx, in) 2711} 2712 2713type validateOpUpdateTable struct { 2714} 2715 2716func (*validateOpUpdateTable) ID() string { 2717 return "OperationInputValidation" 2718} 2719 2720func (m *validateOpUpdateTable) 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.(*UpdateTableInput) 2724 if !ok { 2725 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2726 } 2727 if err := validateOpUpdateTableInput(input); err != nil { 2728 return out, metadata, err 2729 } 2730 return next.HandleInitialize(ctx, in) 2731} 2732 2733type validateOpUpdateTrigger struct { 2734} 2735 2736func (*validateOpUpdateTrigger) ID() string { 2737 return "OperationInputValidation" 2738} 2739 2740func (m *validateOpUpdateTrigger) 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.(*UpdateTriggerInput) 2744 if !ok { 2745 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2746 } 2747 if err := validateOpUpdateTriggerInput(input); err != nil { 2748 return out, metadata, err 2749 } 2750 return next.HandleInitialize(ctx, in) 2751} 2752 2753type validateOpUpdateUserDefinedFunction struct { 2754} 2755 2756func (*validateOpUpdateUserDefinedFunction) ID() string { 2757 return "OperationInputValidation" 2758} 2759 2760func (m *validateOpUpdateUserDefinedFunction) 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.(*UpdateUserDefinedFunctionInput) 2764 if !ok { 2765 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2766 } 2767 if err := validateOpUpdateUserDefinedFunctionInput(input); err != nil { 2768 return out, metadata, err 2769 } 2770 return next.HandleInitialize(ctx, in) 2771} 2772 2773type validateOpUpdateWorkflow struct { 2774} 2775 2776func (*validateOpUpdateWorkflow) ID() string { 2777 return "OperationInputValidation" 2778} 2779 2780func (m *validateOpUpdateWorkflow) 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.(*UpdateWorkflowInput) 2784 if !ok { 2785 return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) 2786 } 2787 if err := validateOpUpdateWorkflowInput(input); err != nil { 2788 return out, metadata, err 2789 } 2790 return next.HandleInitialize(ctx, in) 2791} 2792 2793func addOpBatchCreatePartitionValidationMiddleware(stack *middleware.Stack) error { 2794 return stack.Initialize.Add(&validateOpBatchCreatePartition{}, middleware.After) 2795} 2796 2797func addOpBatchDeleteConnectionValidationMiddleware(stack *middleware.Stack) error { 2798 return stack.Initialize.Add(&validateOpBatchDeleteConnection{}, middleware.After) 2799} 2800 2801func addOpBatchDeletePartitionValidationMiddleware(stack *middleware.Stack) error { 2802 return stack.Initialize.Add(&validateOpBatchDeletePartition{}, middleware.After) 2803} 2804 2805func addOpBatchDeleteTableValidationMiddleware(stack *middleware.Stack) error { 2806 return stack.Initialize.Add(&validateOpBatchDeleteTable{}, middleware.After) 2807} 2808 2809func addOpBatchDeleteTableVersionValidationMiddleware(stack *middleware.Stack) error { 2810 return stack.Initialize.Add(&validateOpBatchDeleteTableVersion{}, middleware.After) 2811} 2812 2813func addOpBatchGetBlueprintsValidationMiddleware(stack *middleware.Stack) error { 2814 return stack.Initialize.Add(&validateOpBatchGetBlueprints{}, middleware.After) 2815} 2816 2817func addOpBatchGetCrawlersValidationMiddleware(stack *middleware.Stack) error { 2818 return stack.Initialize.Add(&validateOpBatchGetCrawlers{}, middleware.After) 2819} 2820 2821func addOpBatchGetDevEndpointsValidationMiddleware(stack *middleware.Stack) error { 2822 return stack.Initialize.Add(&validateOpBatchGetDevEndpoints{}, middleware.After) 2823} 2824 2825func addOpBatchGetJobsValidationMiddleware(stack *middleware.Stack) error { 2826 return stack.Initialize.Add(&validateOpBatchGetJobs{}, middleware.After) 2827} 2828 2829func addOpBatchGetPartitionValidationMiddleware(stack *middleware.Stack) error { 2830 return stack.Initialize.Add(&validateOpBatchGetPartition{}, middleware.After) 2831} 2832 2833func addOpBatchGetTriggersValidationMiddleware(stack *middleware.Stack) error { 2834 return stack.Initialize.Add(&validateOpBatchGetTriggers{}, middleware.After) 2835} 2836 2837func addOpBatchGetWorkflowsValidationMiddleware(stack *middleware.Stack) error { 2838 return stack.Initialize.Add(&validateOpBatchGetWorkflows{}, middleware.After) 2839} 2840 2841func addOpBatchStopJobRunValidationMiddleware(stack *middleware.Stack) error { 2842 return stack.Initialize.Add(&validateOpBatchStopJobRun{}, middleware.After) 2843} 2844 2845func addOpBatchUpdatePartitionValidationMiddleware(stack *middleware.Stack) error { 2846 return stack.Initialize.Add(&validateOpBatchUpdatePartition{}, middleware.After) 2847} 2848 2849func addOpCancelMLTaskRunValidationMiddleware(stack *middleware.Stack) error { 2850 return stack.Initialize.Add(&validateOpCancelMLTaskRun{}, middleware.After) 2851} 2852 2853func addOpCheckSchemaVersionValidityValidationMiddleware(stack *middleware.Stack) error { 2854 return stack.Initialize.Add(&validateOpCheckSchemaVersionValidity{}, middleware.After) 2855} 2856 2857func addOpCreateBlueprintValidationMiddleware(stack *middleware.Stack) error { 2858 return stack.Initialize.Add(&validateOpCreateBlueprint{}, middleware.After) 2859} 2860 2861func addOpCreateClassifierValidationMiddleware(stack *middleware.Stack) error { 2862 return stack.Initialize.Add(&validateOpCreateClassifier{}, middleware.After) 2863} 2864 2865func addOpCreateConnectionValidationMiddleware(stack *middleware.Stack) error { 2866 return stack.Initialize.Add(&validateOpCreateConnection{}, middleware.After) 2867} 2868 2869func addOpCreateCrawlerValidationMiddleware(stack *middleware.Stack) error { 2870 return stack.Initialize.Add(&validateOpCreateCrawler{}, middleware.After) 2871} 2872 2873func addOpCreateDatabaseValidationMiddleware(stack *middleware.Stack) error { 2874 return stack.Initialize.Add(&validateOpCreateDatabase{}, middleware.After) 2875} 2876 2877func addOpCreateDevEndpointValidationMiddleware(stack *middleware.Stack) error { 2878 return stack.Initialize.Add(&validateOpCreateDevEndpoint{}, middleware.After) 2879} 2880 2881func addOpCreateJobValidationMiddleware(stack *middleware.Stack) error { 2882 return stack.Initialize.Add(&validateOpCreateJob{}, middleware.After) 2883} 2884 2885func addOpCreateMLTransformValidationMiddleware(stack *middleware.Stack) error { 2886 return stack.Initialize.Add(&validateOpCreateMLTransform{}, middleware.After) 2887} 2888 2889func addOpCreatePartitionIndexValidationMiddleware(stack *middleware.Stack) error { 2890 return stack.Initialize.Add(&validateOpCreatePartitionIndex{}, middleware.After) 2891} 2892 2893func addOpCreatePartitionValidationMiddleware(stack *middleware.Stack) error { 2894 return stack.Initialize.Add(&validateOpCreatePartition{}, middleware.After) 2895} 2896 2897func addOpCreateRegistryValidationMiddleware(stack *middleware.Stack) error { 2898 return stack.Initialize.Add(&validateOpCreateRegistry{}, middleware.After) 2899} 2900 2901func addOpCreateSchemaValidationMiddleware(stack *middleware.Stack) error { 2902 return stack.Initialize.Add(&validateOpCreateSchema{}, middleware.After) 2903} 2904 2905func addOpCreateScriptValidationMiddleware(stack *middleware.Stack) error { 2906 return stack.Initialize.Add(&validateOpCreateScript{}, middleware.After) 2907} 2908 2909func addOpCreateSecurityConfigurationValidationMiddleware(stack *middleware.Stack) error { 2910 return stack.Initialize.Add(&validateOpCreateSecurityConfiguration{}, middleware.After) 2911} 2912 2913func addOpCreateTableValidationMiddleware(stack *middleware.Stack) error { 2914 return stack.Initialize.Add(&validateOpCreateTable{}, middleware.After) 2915} 2916 2917func addOpCreateTriggerValidationMiddleware(stack *middleware.Stack) error { 2918 return stack.Initialize.Add(&validateOpCreateTrigger{}, middleware.After) 2919} 2920 2921func addOpCreateUserDefinedFunctionValidationMiddleware(stack *middleware.Stack) error { 2922 return stack.Initialize.Add(&validateOpCreateUserDefinedFunction{}, middleware.After) 2923} 2924 2925func addOpCreateWorkflowValidationMiddleware(stack *middleware.Stack) error { 2926 return stack.Initialize.Add(&validateOpCreateWorkflow{}, middleware.After) 2927} 2928 2929func addOpDeleteBlueprintValidationMiddleware(stack *middleware.Stack) error { 2930 return stack.Initialize.Add(&validateOpDeleteBlueprint{}, middleware.After) 2931} 2932 2933func addOpDeleteClassifierValidationMiddleware(stack *middleware.Stack) error { 2934 return stack.Initialize.Add(&validateOpDeleteClassifier{}, middleware.After) 2935} 2936 2937func addOpDeleteColumnStatisticsForPartitionValidationMiddleware(stack *middleware.Stack) error { 2938 return stack.Initialize.Add(&validateOpDeleteColumnStatisticsForPartition{}, middleware.After) 2939} 2940 2941func addOpDeleteColumnStatisticsForTableValidationMiddleware(stack *middleware.Stack) error { 2942 return stack.Initialize.Add(&validateOpDeleteColumnStatisticsForTable{}, middleware.After) 2943} 2944 2945func addOpDeleteConnectionValidationMiddleware(stack *middleware.Stack) error { 2946 return stack.Initialize.Add(&validateOpDeleteConnection{}, middleware.After) 2947} 2948 2949func addOpDeleteCrawlerValidationMiddleware(stack *middleware.Stack) error { 2950 return stack.Initialize.Add(&validateOpDeleteCrawler{}, middleware.After) 2951} 2952 2953func addOpDeleteDatabaseValidationMiddleware(stack *middleware.Stack) error { 2954 return stack.Initialize.Add(&validateOpDeleteDatabase{}, middleware.After) 2955} 2956 2957func addOpDeleteDevEndpointValidationMiddleware(stack *middleware.Stack) error { 2958 return stack.Initialize.Add(&validateOpDeleteDevEndpoint{}, middleware.After) 2959} 2960 2961func addOpDeleteJobValidationMiddleware(stack *middleware.Stack) error { 2962 return stack.Initialize.Add(&validateOpDeleteJob{}, middleware.After) 2963} 2964 2965func addOpDeleteMLTransformValidationMiddleware(stack *middleware.Stack) error { 2966 return stack.Initialize.Add(&validateOpDeleteMLTransform{}, middleware.After) 2967} 2968 2969func addOpDeletePartitionIndexValidationMiddleware(stack *middleware.Stack) error { 2970 return stack.Initialize.Add(&validateOpDeletePartitionIndex{}, middleware.After) 2971} 2972 2973func addOpDeletePartitionValidationMiddleware(stack *middleware.Stack) error { 2974 return stack.Initialize.Add(&validateOpDeletePartition{}, middleware.After) 2975} 2976 2977func addOpDeleteRegistryValidationMiddleware(stack *middleware.Stack) error { 2978 return stack.Initialize.Add(&validateOpDeleteRegistry{}, middleware.After) 2979} 2980 2981func addOpDeleteSchemaValidationMiddleware(stack *middleware.Stack) error { 2982 return stack.Initialize.Add(&validateOpDeleteSchema{}, middleware.After) 2983} 2984 2985func addOpDeleteSchemaVersionsValidationMiddleware(stack *middleware.Stack) error { 2986 return stack.Initialize.Add(&validateOpDeleteSchemaVersions{}, middleware.After) 2987} 2988 2989func addOpDeleteSecurityConfigurationValidationMiddleware(stack *middleware.Stack) error { 2990 return stack.Initialize.Add(&validateOpDeleteSecurityConfiguration{}, middleware.After) 2991} 2992 2993func addOpDeleteTableValidationMiddleware(stack *middleware.Stack) error { 2994 return stack.Initialize.Add(&validateOpDeleteTable{}, middleware.After) 2995} 2996 2997func addOpDeleteTableVersionValidationMiddleware(stack *middleware.Stack) error { 2998 return stack.Initialize.Add(&validateOpDeleteTableVersion{}, middleware.After) 2999} 3000 3001func addOpDeleteTriggerValidationMiddleware(stack *middleware.Stack) error { 3002 return stack.Initialize.Add(&validateOpDeleteTrigger{}, middleware.After) 3003} 3004 3005func addOpDeleteUserDefinedFunctionValidationMiddleware(stack *middleware.Stack) error { 3006 return stack.Initialize.Add(&validateOpDeleteUserDefinedFunction{}, middleware.After) 3007} 3008 3009func addOpDeleteWorkflowValidationMiddleware(stack *middleware.Stack) error { 3010 return stack.Initialize.Add(&validateOpDeleteWorkflow{}, middleware.After) 3011} 3012 3013func addOpGetBlueprintValidationMiddleware(stack *middleware.Stack) error { 3014 return stack.Initialize.Add(&validateOpGetBlueprint{}, middleware.After) 3015} 3016 3017func addOpGetBlueprintRunValidationMiddleware(stack *middleware.Stack) error { 3018 return stack.Initialize.Add(&validateOpGetBlueprintRun{}, middleware.After) 3019} 3020 3021func addOpGetBlueprintRunsValidationMiddleware(stack *middleware.Stack) error { 3022 return stack.Initialize.Add(&validateOpGetBlueprintRuns{}, middleware.After) 3023} 3024 3025func addOpGetClassifierValidationMiddleware(stack *middleware.Stack) error { 3026 return stack.Initialize.Add(&validateOpGetClassifier{}, middleware.After) 3027} 3028 3029func addOpGetColumnStatisticsForPartitionValidationMiddleware(stack *middleware.Stack) error { 3030 return stack.Initialize.Add(&validateOpGetColumnStatisticsForPartition{}, middleware.After) 3031} 3032 3033func addOpGetColumnStatisticsForTableValidationMiddleware(stack *middleware.Stack) error { 3034 return stack.Initialize.Add(&validateOpGetColumnStatisticsForTable{}, middleware.After) 3035} 3036 3037func addOpGetConnectionValidationMiddleware(stack *middleware.Stack) error { 3038 return stack.Initialize.Add(&validateOpGetConnection{}, middleware.After) 3039} 3040 3041func addOpGetCrawlerValidationMiddleware(stack *middleware.Stack) error { 3042 return stack.Initialize.Add(&validateOpGetCrawler{}, middleware.After) 3043} 3044 3045func addOpGetDatabaseValidationMiddleware(stack *middleware.Stack) error { 3046 return stack.Initialize.Add(&validateOpGetDatabase{}, middleware.After) 3047} 3048 3049func addOpGetDevEndpointValidationMiddleware(stack *middleware.Stack) error { 3050 return stack.Initialize.Add(&validateOpGetDevEndpoint{}, middleware.After) 3051} 3052 3053func addOpGetJobBookmarkValidationMiddleware(stack *middleware.Stack) error { 3054 return stack.Initialize.Add(&validateOpGetJobBookmark{}, middleware.After) 3055} 3056 3057func addOpGetJobValidationMiddleware(stack *middleware.Stack) error { 3058 return stack.Initialize.Add(&validateOpGetJob{}, middleware.After) 3059} 3060 3061func addOpGetJobRunValidationMiddleware(stack *middleware.Stack) error { 3062 return stack.Initialize.Add(&validateOpGetJobRun{}, middleware.After) 3063} 3064 3065func addOpGetJobRunsValidationMiddleware(stack *middleware.Stack) error { 3066 return stack.Initialize.Add(&validateOpGetJobRuns{}, middleware.After) 3067} 3068 3069func addOpGetMappingValidationMiddleware(stack *middleware.Stack) error { 3070 return stack.Initialize.Add(&validateOpGetMapping{}, middleware.After) 3071} 3072 3073func addOpGetMLTaskRunValidationMiddleware(stack *middleware.Stack) error { 3074 return stack.Initialize.Add(&validateOpGetMLTaskRun{}, middleware.After) 3075} 3076 3077func addOpGetMLTaskRunsValidationMiddleware(stack *middleware.Stack) error { 3078 return stack.Initialize.Add(&validateOpGetMLTaskRuns{}, middleware.After) 3079} 3080 3081func addOpGetMLTransformValidationMiddleware(stack *middleware.Stack) error { 3082 return stack.Initialize.Add(&validateOpGetMLTransform{}, middleware.After) 3083} 3084 3085func addOpGetMLTransformsValidationMiddleware(stack *middleware.Stack) error { 3086 return stack.Initialize.Add(&validateOpGetMLTransforms{}, middleware.After) 3087} 3088 3089func addOpGetPartitionIndexesValidationMiddleware(stack *middleware.Stack) error { 3090 return stack.Initialize.Add(&validateOpGetPartitionIndexes{}, middleware.After) 3091} 3092 3093func addOpGetPartitionValidationMiddleware(stack *middleware.Stack) error { 3094 return stack.Initialize.Add(&validateOpGetPartition{}, middleware.After) 3095} 3096 3097func addOpGetPartitionsValidationMiddleware(stack *middleware.Stack) error { 3098 return stack.Initialize.Add(&validateOpGetPartitions{}, middleware.After) 3099} 3100 3101func addOpGetPlanValidationMiddleware(stack *middleware.Stack) error { 3102 return stack.Initialize.Add(&validateOpGetPlan{}, middleware.After) 3103} 3104 3105func addOpGetRegistryValidationMiddleware(stack *middleware.Stack) error { 3106 return stack.Initialize.Add(&validateOpGetRegistry{}, middleware.After) 3107} 3108 3109func addOpGetSchemaByDefinitionValidationMiddleware(stack *middleware.Stack) error { 3110 return stack.Initialize.Add(&validateOpGetSchemaByDefinition{}, middleware.After) 3111} 3112 3113func addOpGetSchemaValidationMiddleware(stack *middleware.Stack) error { 3114 return stack.Initialize.Add(&validateOpGetSchema{}, middleware.After) 3115} 3116 3117func addOpGetSchemaVersionsDiffValidationMiddleware(stack *middleware.Stack) error { 3118 return stack.Initialize.Add(&validateOpGetSchemaVersionsDiff{}, middleware.After) 3119} 3120 3121func addOpGetSecurityConfigurationValidationMiddleware(stack *middleware.Stack) error { 3122 return stack.Initialize.Add(&validateOpGetSecurityConfiguration{}, middleware.After) 3123} 3124 3125func addOpGetTableValidationMiddleware(stack *middleware.Stack) error { 3126 return stack.Initialize.Add(&validateOpGetTable{}, middleware.After) 3127} 3128 3129func addOpGetTablesValidationMiddleware(stack *middleware.Stack) error { 3130 return stack.Initialize.Add(&validateOpGetTables{}, middleware.After) 3131} 3132 3133func addOpGetTableVersionValidationMiddleware(stack *middleware.Stack) error { 3134 return stack.Initialize.Add(&validateOpGetTableVersion{}, middleware.After) 3135} 3136 3137func addOpGetTableVersionsValidationMiddleware(stack *middleware.Stack) error { 3138 return stack.Initialize.Add(&validateOpGetTableVersions{}, middleware.After) 3139} 3140 3141func addOpGetTagsValidationMiddleware(stack *middleware.Stack) error { 3142 return stack.Initialize.Add(&validateOpGetTags{}, middleware.After) 3143} 3144 3145func addOpGetTriggerValidationMiddleware(stack *middleware.Stack) error { 3146 return stack.Initialize.Add(&validateOpGetTrigger{}, middleware.After) 3147} 3148 3149func addOpGetUserDefinedFunctionValidationMiddleware(stack *middleware.Stack) error { 3150 return stack.Initialize.Add(&validateOpGetUserDefinedFunction{}, middleware.After) 3151} 3152 3153func addOpGetUserDefinedFunctionsValidationMiddleware(stack *middleware.Stack) error { 3154 return stack.Initialize.Add(&validateOpGetUserDefinedFunctions{}, middleware.After) 3155} 3156 3157func addOpGetWorkflowValidationMiddleware(stack *middleware.Stack) error { 3158 return stack.Initialize.Add(&validateOpGetWorkflow{}, middleware.After) 3159} 3160 3161func addOpGetWorkflowRunValidationMiddleware(stack *middleware.Stack) error { 3162 return stack.Initialize.Add(&validateOpGetWorkflowRun{}, middleware.After) 3163} 3164 3165func addOpGetWorkflowRunPropertiesValidationMiddleware(stack *middleware.Stack) error { 3166 return stack.Initialize.Add(&validateOpGetWorkflowRunProperties{}, middleware.After) 3167} 3168 3169func addOpGetWorkflowRunsValidationMiddleware(stack *middleware.Stack) error { 3170 return stack.Initialize.Add(&validateOpGetWorkflowRuns{}, middleware.After) 3171} 3172 3173func addOpListMLTransformsValidationMiddleware(stack *middleware.Stack) error { 3174 return stack.Initialize.Add(&validateOpListMLTransforms{}, middleware.After) 3175} 3176 3177func addOpListSchemaVersionsValidationMiddleware(stack *middleware.Stack) error { 3178 return stack.Initialize.Add(&validateOpListSchemaVersions{}, middleware.After) 3179} 3180 3181func addOpPutDataCatalogEncryptionSettingsValidationMiddleware(stack *middleware.Stack) error { 3182 return stack.Initialize.Add(&validateOpPutDataCatalogEncryptionSettings{}, middleware.After) 3183} 3184 3185func addOpPutResourcePolicyValidationMiddleware(stack *middleware.Stack) error { 3186 return stack.Initialize.Add(&validateOpPutResourcePolicy{}, middleware.After) 3187} 3188 3189func addOpPutSchemaVersionMetadataValidationMiddleware(stack *middleware.Stack) error { 3190 return stack.Initialize.Add(&validateOpPutSchemaVersionMetadata{}, middleware.After) 3191} 3192 3193func addOpPutWorkflowRunPropertiesValidationMiddleware(stack *middleware.Stack) error { 3194 return stack.Initialize.Add(&validateOpPutWorkflowRunProperties{}, middleware.After) 3195} 3196 3197func addOpRegisterSchemaVersionValidationMiddleware(stack *middleware.Stack) error { 3198 return stack.Initialize.Add(&validateOpRegisterSchemaVersion{}, middleware.After) 3199} 3200 3201func addOpRemoveSchemaVersionMetadataValidationMiddleware(stack *middleware.Stack) error { 3202 return stack.Initialize.Add(&validateOpRemoveSchemaVersionMetadata{}, middleware.After) 3203} 3204 3205func addOpResetJobBookmarkValidationMiddleware(stack *middleware.Stack) error { 3206 return stack.Initialize.Add(&validateOpResetJobBookmark{}, middleware.After) 3207} 3208 3209func addOpResumeWorkflowRunValidationMiddleware(stack *middleware.Stack) error { 3210 return stack.Initialize.Add(&validateOpResumeWorkflowRun{}, middleware.After) 3211} 3212 3213func addOpStartBlueprintRunValidationMiddleware(stack *middleware.Stack) error { 3214 return stack.Initialize.Add(&validateOpStartBlueprintRun{}, middleware.After) 3215} 3216 3217func addOpStartCrawlerValidationMiddleware(stack *middleware.Stack) error { 3218 return stack.Initialize.Add(&validateOpStartCrawler{}, middleware.After) 3219} 3220 3221func addOpStartCrawlerScheduleValidationMiddleware(stack *middleware.Stack) error { 3222 return stack.Initialize.Add(&validateOpStartCrawlerSchedule{}, middleware.After) 3223} 3224 3225func addOpStartExportLabelsTaskRunValidationMiddleware(stack *middleware.Stack) error { 3226 return stack.Initialize.Add(&validateOpStartExportLabelsTaskRun{}, middleware.After) 3227} 3228 3229func addOpStartImportLabelsTaskRunValidationMiddleware(stack *middleware.Stack) error { 3230 return stack.Initialize.Add(&validateOpStartImportLabelsTaskRun{}, middleware.After) 3231} 3232 3233func addOpStartJobRunValidationMiddleware(stack *middleware.Stack) error { 3234 return stack.Initialize.Add(&validateOpStartJobRun{}, middleware.After) 3235} 3236 3237func addOpStartMLEvaluationTaskRunValidationMiddleware(stack *middleware.Stack) error { 3238 return stack.Initialize.Add(&validateOpStartMLEvaluationTaskRun{}, middleware.After) 3239} 3240 3241func addOpStartMLLabelingSetGenerationTaskRunValidationMiddleware(stack *middleware.Stack) error { 3242 return stack.Initialize.Add(&validateOpStartMLLabelingSetGenerationTaskRun{}, middleware.After) 3243} 3244 3245func addOpStartTriggerValidationMiddleware(stack *middleware.Stack) error { 3246 return stack.Initialize.Add(&validateOpStartTrigger{}, middleware.After) 3247} 3248 3249func addOpStartWorkflowRunValidationMiddleware(stack *middleware.Stack) error { 3250 return stack.Initialize.Add(&validateOpStartWorkflowRun{}, middleware.After) 3251} 3252 3253func addOpStopCrawlerValidationMiddleware(stack *middleware.Stack) error { 3254 return stack.Initialize.Add(&validateOpStopCrawler{}, middleware.After) 3255} 3256 3257func addOpStopCrawlerScheduleValidationMiddleware(stack *middleware.Stack) error { 3258 return stack.Initialize.Add(&validateOpStopCrawlerSchedule{}, middleware.After) 3259} 3260 3261func addOpStopTriggerValidationMiddleware(stack *middleware.Stack) error { 3262 return stack.Initialize.Add(&validateOpStopTrigger{}, middleware.After) 3263} 3264 3265func addOpStopWorkflowRunValidationMiddleware(stack *middleware.Stack) error { 3266 return stack.Initialize.Add(&validateOpStopWorkflowRun{}, middleware.After) 3267} 3268 3269func addOpTagResourceValidationMiddleware(stack *middleware.Stack) error { 3270 return stack.Initialize.Add(&validateOpTagResource{}, middleware.After) 3271} 3272 3273func addOpUntagResourceValidationMiddleware(stack *middleware.Stack) error { 3274 return stack.Initialize.Add(&validateOpUntagResource{}, middleware.After) 3275} 3276 3277func addOpUpdateBlueprintValidationMiddleware(stack *middleware.Stack) error { 3278 return stack.Initialize.Add(&validateOpUpdateBlueprint{}, middleware.After) 3279} 3280 3281func addOpUpdateClassifierValidationMiddleware(stack *middleware.Stack) error { 3282 return stack.Initialize.Add(&validateOpUpdateClassifier{}, middleware.After) 3283} 3284 3285func addOpUpdateColumnStatisticsForPartitionValidationMiddleware(stack *middleware.Stack) error { 3286 return stack.Initialize.Add(&validateOpUpdateColumnStatisticsForPartition{}, middleware.After) 3287} 3288 3289func addOpUpdateColumnStatisticsForTableValidationMiddleware(stack *middleware.Stack) error { 3290 return stack.Initialize.Add(&validateOpUpdateColumnStatisticsForTable{}, middleware.After) 3291} 3292 3293func addOpUpdateConnectionValidationMiddleware(stack *middleware.Stack) error { 3294 return stack.Initialize.Add(&validateOpUpdateConnection{}, middleware.After) 3295} 3296 3297func addOpUpdateCrawlerValidationMiddleware(stack *middleware.Stack) error { 3298 return stack.Initialize.Add(&validateOpUpdateCrawler{}, middleware.After) 3299} 3300 3301func addOpUpdateCrawlerScheduleValidationMiddleware(stack *middleware.Stack) error { 3302 return stack.Initialize.Add(&validateOpUpdateCrawlerSchedule{}, middleware.After) 3303} 3304 3305func addOpUpdateDatabaseValidationMiddleware(stack *middleware.Stack) error { 3306 return stack.Initialize.Add(&validateOpUpdateDatabase{}, middleware.After) 3307} 3308 3309func addOpUpdateDevEndpointValidationMiddleware(stack *middleware.Stack) error { 3310 return stack.Initialize.Add(&validateOpUpdateDevEndpoint{}, middleware.After) 3311} 3312 3313func addOpUpdateJobValidationMiddleware(stack *middleware.Stack) error { 3314 return stack.Initialize.Add(&validateOpUpdateJob{}, middleware.After) 3315} 3316 3317func addOpUpdateMLTransformValidationMiddleware(stack *middleware.Stack) error { 3318 return stack.Initialize.Add(&validateOpUpdateMLTransform{}, middleware.After) 3319} 3320 3321func addOpUpdatePartitionValidationMiddleware(stack *middleware.Stack) error { 3322 return stack.Initialize.Add(&validateOpUpdatePartition{}, middleware.After) 3323} 3324 3325func addOpUpdateRegistryValidationMiddleware(stack *middleware.Stack) error { 3326 return stack.Initialize.Add(&validateOpUpdateRegistry{}, middleware.After) 3327} 3328 3329func addOpUpdateSchemaValidationMiddleware(stack *middleware.Stack) error { 3330 return stack.Initialize.Add(&validateOpUpdateSchema{}, middleware.After) 3331} 3332 3333func addOpUpdateTableValidationMiddleware(stack *middleware.Stack) error { 3334 return stack.Initialize.Add(&validateOpUpdateTable{}, middleware.After) 3335} 3336 3337func addOpUpdateTriggerValidationMiddleware(stack *middleware.Stack) error { 3338 return stack.Initialize.Add(&validateOpUpdateTrigger{}, middleware.After) 3339} 3340 3341func addOpUpdateUserDefinedFunctionValidationMiddleware(stack *middleware.Stack) error { 3342 return stack.Initialize.Add(&validateOpUpdateUserDefinedFunction{}, middleware.After) 3343} 3344 3345func addOpUpdateWorkflowValidationMiddleware(stack *middleware.Stack) error { 3346 return stack.Initialize.Add(&validateOpUpdateWorkflow{}, middleware.After) 3347} 3348 3349func validateBatchDeletePartitionValueList(v []types.PartitionValueList) error { 3350 if v == nil { 3351 return nil 3352 } 3353 invalidParams := smithy.InvalidParamsError{Context: "BatchDeletePartitionValueList"} 3354 for i := range v { 3355 if err := validatePartitionValueList(&v[i]); err != nil { 3356 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 3357 } 3358 } 3359 if invalidParams.Len() > 0 { 3360 return invalidParams 3361 } else { 3362 return nil 3363 } 3364} 3365 3366func validateBatchGetPartitionValueList(v []types.PartitionValueList) error { 3367 if v == nil { 3368 return nil 3369 } 3370 invalidParams := smithy.InvalidParamsError{Context: "BatchGetPartitionValueList"} 3371 for i := range v { 3372 if err := validatePartitionValueList(&v[i]); err != nil { 3373 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 3374 } 3375 } 3376 if invalidParams.Len() > 0 { 3377 return invalidParams 3378 } else { 3379 return nil 3380 } 3381} 3382 3383func validateBatchUpdatePartitionRequestEntry(v *types.BatchUpdatePartitionRequestEntry) error { 3384 if v == nil { 3385 return nil 3386 } 3387 invalidParams := smithy.InvalidParamsError{Context: "BatchUpdatePartitionRequestEntry"} 3388 if v.PartitionValueList == nil { 3389 invalidParams.Add(smithy.NewErrParamRequired("PartitionValueList")) 3390 } 3391 if v.PartitionInput == nil { 3392 invalidParams.Add(smithy.NewErrParamRequired("PartitionInput")) 3393 } else if v.PartitionInput != nil { 3394 if err := validatePartitionInput(v.PartitionInput); err != nil { 3395 invalidParams.AddNested("PartitionInput", err.(smithy.InvalidParamsError)) 3396 } 3397 } 3398 if invalidParams.Len() > 0 { 3399 return invalidParams 3400 } else { 3401 return nil 3402 } 3403} 3404 3405func validateBatchUpdatePartitionRequestEntryList(v []types.BatchUpdatePartitionRequestEntry) error { 3406 if v == nil { 3407 return nil 3408 } 3409 invalidParams := smithy.InvalidParamsError{Context: "BatchUpdatePartitionRequestEntryList"} 3410 for i := range v { 3411 if err := validateBatchUpdatePartitionRequestEntry(&v[i]); err != nil { 3412 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 3413 } 3414 } 3415 if invalidParams.Len() > 0 { 3416 return invalidParams 3417 } else { 3418 return nil 3419 } 3420} 3421 3422func validateBinaryColumnStatisticsData(v *types.BinaryColumnStatisticsData) error { 3423 if v == nil { 3424 return nil 3425 } 3426 invalidParams := smithy.InvalidParamsError{Context: "BinaryColumnStatisticsData"} 3427 if invalidParams.Len() > 0 { 3428 return invalidParams 3429 } else { 3430 return nil 3431 } 3432} 3433 3434func validateBooleanColumnStatisticsData(v *types.BooleanColumnStatisticsData) error { 3435 if v == nil { 3436 return nil 3437 } 3438 invalidParams := smithy.InvalidParamsError{Context: "BooleanColumnStatisticsData"} 3439 if invalidParams.Len() > 0 { 3440 return invalidParams 3441 } else { 3442 return nil 3443 } 3444} 3445 3446func validateCatalogEntries(v []types.CatalogEntry) error { 3447 if v == nil { 3448 return nil 3449 } 3450 invalidParams := smithy.InvalidParamsError{Context: "CatalogEntries"} 3451 for i := range v { 3452 if err := validateCatalogEntry(&v[i]); err != nil { 3453 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 3454 } 3455 } 3456 if invalidParams.Len() > 0 { 3457 return invalidParams 3458 } else { 3459 return nil 3460 } 3461} 3462 3463func validateCatalogEntry(v *types.CatalogEntry) error { 3464 if v == nil { 3465 return nil 3466 } 3467 invalidParams := smithy.InvalidParamsError{Context: "CatalogEntry"} 3468 if v.DatabaseName == nil { 3469 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 3470 } 3471 if v.TableName == nil { 3472 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 3473 } 3474 if invalidParams.Len() > 0 { 3475 return invalidParams 3476 } else { 3477 return nil 3478 } 3479} 3480 3481func validateCatalogTarget(v *types.CatalogTarget) error { 3482 if v == nil { 3483 return nil 3484 } 3485 invalidParams := smithy.InvalidParamsError{Context: "CatalogTarget"} 3486 if v.DatabaseName == nil { 3487 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 3488 } 3489 if v.Tables == nil { 3490 invalidParams.Add(smithy.NewErrParamRequired("Tables")) 3491 } 3492 if invalidParams.Len() > 0 { 3493 return invalidParams 3494 } else { 3495 return nil 3496 } 3497} 3498 3499func validateCatalogTargetList(v []types.CatalogTarget) error { 3500 if v == nil { 3501 return nil 3502 } 3503 invalidParams := smithy.InvalidParamsError{Context: "CatalogTargetList"} 3504 for i := range v { 3505 if err := validateCatalogTarget(&v[i]); err != nil { 3506 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 3507 } 3508 } 3509 if invalidParams.Len() > 0 { 3510 return invalidParams 3511 } else { 3512 return nil 3513 } 3514} 3515 3516func validateCodeGenEdge(v *types.CodeGenEdge) error { 3517 if v == nil { 3518 return nil 3519 } 3520 invalidParams := smithy.InvalidParamsError{Context: "CodeGenEdge"} 3521 if v.Source == nil { 3522 invalidParams.Add(smithy.NewErrParamRequired("Source")) 3523 } 3524 if v.Target == nil { 3525 invalidParams.Add(smithy.NewErrParamRequired("Target")) 3526 } 3527 if invalidParams.Len() > 0 { 3528 return invalidParams 3529 } else { 3530 return nil 3531 } 3532} 3533 3534func validateCodeGenNode(v *types.CodeGenNode) error { 3535 if v == nil { 3536 return nil 3537 } 3538 invalidParams := smithy.InvalidParamsError{Context: "CodeGenNode"} 3539 if v.Id == nil { 3540 invalidParams.Add(smithy.NewErrParamRequired("Id")) 3541 } 3542 if v.NodeType == nil { 3543 invalidParams.Add(smithy.NewErrParamRequired("NodeType")) 3544 } 3545 if v.Args == nil { 3546 invalidParams.Add(smithy.NewErrParamRequired("Args")) 3547 } else if v.Args != nil { 3548 if err := validateCodeGenNodeArgs(v.Args); err != nil { 3549 invalidParams.AddNested("Args", err.(smithy.InvalidParamsError)) 3550 } 3551 } 3552 if invalidParams.Len() > 0 { 3553 return invalidParams 3554 } else { 3555 return nil 3556 } 3557} 3558 3559func validateCodeGenNodeArg(v *types.CodeGenNodeArg) error { 3560 if v == nil { 3561 return nil 3562 } 3563 invalidParams := smithy.InvalidParamsError{Context: "CodeGenNodeArg"} 3564 if v.Name == nil { 3565 invalidParams.Add(smithy.NewErrParamRequired("Name")) 3566 } 3567 if v.Value == nil { 3568 invalidParams.Add(smithy.NewErrParamRequired("Value")) 3569 } 3570 if invalidParams.Len() > 0 { 3571 return invalidParams 3572 } else { 3573 return nil 3574 } 3575} 3576 3577func validateCodeGenNodeArgs(v []types.CodeGenNodeArg) error { 3578 if v == nil { 3579 return nil 3580 } 3581 invalidParams := smithy.InvalidParamsError{Context: "CodeGenNodeArgs"} 3582 for i := range v { 3583 if err := validateCodeGenNodeArg(&v[i]); err != nil { 3584 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 3585 } 3586 } 3587 if invalidParams.Len() > 0 { 3588 return invalidParams 3589 } else { 3590 return nil 3591 } 3592} 3593 3594func validateColumn(v *types.Column) error { 3595 if v == nil { 3596 return nil 3597 } 3598 invalidParams := smithy.InvalidParamsError{Context: "Column"} 3599 if v.Name == nil { 3600 invalidParams.Add(smithy.NewErrParamRequired("Name")) 3601 } 3602 if invalidParams.Len() > 0 { 3603 return invalidParams 3604 } else { 3605 return nil 3606 } 3607} 3608 3609func validateColumnList(v []types.Column) error { 3610 if v == nil { 3611 return nil 3612 } 3613 invalidParams := smithy.InvalidParamsError{Context: "ColumnList"} 3614 for i := range v { 3615 if err := validateColumn(&v[i]); err != nil { 3616 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 3617 } 3618 } 3619 if invalidParams.Len() > 0 { 3620 return invalidParams 3621 } else { 3622 return nil 3623 } 3624} 3625 3626func validateColumnStatistics(v *types.ColumnStatistics) error { 3627 if v == nil { 3628 return nil 3629 } 3630 invalidParams := smithy.InvalidParamsError{Context: "ColumnStatistics"} 3631 if v.ColumnName == nil { 3632 invalidParams.Add(smithy.NewErrParamRequired("ColumnName")) 3633 } 3634 if v.ColumnType == nil { 3635 invalidParams.Add(smithy.NewErrParamRequired("ColumnType")) 3636 } 3637 if v.AnalyzedTime == nil { 3638 invalidParams.Add(smithy.NewErrParamRequired("AnalyzedTime")) 3639 } 3640 if v.StatisticsData == nil { 3641 invalidParams.Add(smithy.NewErrParamRequired("StatisticsData")) 3642 } else if v.StatisticsData != nil { 3643 if err := validateColumnStatisticsData(v.StatisticsData); err != nil { 3644 invalidParams.AddNested("StatisticsData", err.(smithy.InvalidParamsError)) 3645 } 3646 } 3647 if invalidParams.Len() > 0 { 3648 return invalidParams 3649 } else { 3650 return nil 3651 } 3652} 3653 3654func validateColumnStatisticsData(v *types.ColumnStatisticsData) error { 3655 if v == nil { 3656 return nil 3657 } 3658 invalidParams := smithy.InvalidParamsError{Context: "ColumnStatisticsData"} 3659 if len(v.Type) == 0 { 3660 invalidParams.Add(smithy.NewErrParamRequired("Type")) 3661 } 3662 if v.BooleanColumnStatisticsData != nil { 3663 if err := validateBooleanColumnStatisticsData(v.BooleanColumnStatisticsData); err != nil { 3664 invalidParams.AddNested("BooleanColumnStatisticsData", err.(smithy.InvalidParamsError)) 3665 } 3666 } 3667 if v.DateColumnStatisticsData != nil { 3668 if err := validateDateColumnStatisticsData(v.DateColumnStatisticsData); err != nil { 3669 invalidParams.AddNested("DateColumnStatisticsData", err.(smithy.InvalidParamsError)) 3670 } 3671 } 3672 if v.DecimalColumnStatisticsData != nil { 3673 if err := validateDecimalColumnStatisticsData(v.DecimalColumnStatisticsData); err != nil { 3674 invalidParams.AddNested("DecimalColumnStatisticsData", err.(smithy.InvalidParamsError)) 3675 } 3676 } 3677 if v.DoubleColumnStatisticsData != nil { 3678 if err := validateDoubleColumnStatisticsData(v.DoubleColumnStatisticsData); err != nil { 3679 invalidParams.AddNested("DoubleColumnStatisticsData", err.(smithy.InvalidParamsError)) 3680 } 3681 } 3682 if v.LongColumnStatisticsData != nil { 3683 if err := validateLongColumnStatisticsData(v.LongColumnStatisticsData); err != nil { 3684 invalidParams.AddNested("LongColumnStatisticsData", err.(smithy.InvalidParamsError)) 3685 } 3686 } 3687 if v.StringColumnStatisticsData != nil { 3688 if err := validateStringColumnStatisticsData(v.StringColumnStatisticsData); err != nil { 3689 invalidParams.AddNested("StringColumnStatisticsData", err.(smithy.InvalidParamsError)) 3690 } 3691 } 3692 if v.BinaryColumnStatisticsData != nil { 3693 if err := validateBinaryColumnStatisticsData(v.BinaryColumnStatisticsData); err != nil { 3694 invalidParams.AddNested("BinaryColumnStatisticsData", err.(smithy.InvalidParamsError)) 3695 } 3696 } 3697 if invalidParams.Len() > 0 { 3698 return invalidParams 3699 } else { 3700 return nil 3701 } 3702} 3703 3704func validateConnectionInput(v *types.ConnectionInput) error { 3705 if v == nil { 3706 return nil 3707 } 3708 invalidParams := smithy.InvalidParamsError{Context: "ConnectionInput"} 3709 if v.Name == nil { 3710 invalidParams.Add(smithy.NewErrParamRequired("Name")) 3711 } 3712 if len(v.ConnectionType) == 0 { 3713 invalidParams.Add(smithy.NewErrParamRequired("ConnectionType")) 3714 } 3715 if v.ConnectionProperties == nil { 3716 invalidParams.Add(smithy.NewErrParamRequired("ConnectionProperties")) 3717 } 3718 if invalidParams.Len() > 0 { 3719 return invalidParams 3720 } else { 3721 return nil 3722 } 3723} 3724 3725func validateConnectionPasswordEncryption(v *types.ConnectionPasswordEncryption) error { 3726 if v == nil { 3727 return nil 3728 } 3729 invalidParams := smithy.InvalidParamsError{Context: "ConnectionPasswordEncryption"} 3730 if invalidParams.Len() > 0 { 3731 return invalidParams 3732 } else { 3733 return nil 3734 } 3735} 3736 3737func validateCrawlerTargets(v *types.CrawlerTargets) error { 3738 if v == nil { 3739 return nil 3740 } 3741 invalidParams := smithy.InvalidParamsError{Context: "CrawlerTargets"} 3742 if v.CatalogTargets != nil { 3743 if err := validateCatalogTargetList(v.CatalogTargets); err != nil { 3744 invalidParams.AddNested("CatalogTargets", err.(smithy.InvalidParamsError)) 3745 } 3746 } 3747 if invalidParams.Len() > 0 { 3748 return invalidParams 3749 } else { 3750 return nil 3751 } 3752} 3753 3754func validateCreateCsvClassifierRequest(v *types.CreateCsvClassifierRequest) error { 3755 if v == nil { 3756 return nil 3757 } 3758 invalidParams := smithy.InvalidParamsError{Context: "CreateCsvClassifierRequest"} 3759 if v.Name == nil { 3760 invalidParams.Add(smithy.NewErrParamRequired("Name")) 3761 } 3762 if invalidParams.Len() > 0 { 3763 return invalidParams 3764 } else { 3765 return nil 3766 } 3767} 3768 3769func validateCreateGrokClassifierRequest(v *types.CreateGrokClassifierRequest) error { 3770 if v == nil { 3771 return nil 3772 } 3773 invalidParams := smithy.InvalidParamsError{Context: "CreateGrokClassifierRequest"} 3774 if v.Classification == nil { 3775 invalidParams.Add(smithy.NewErrParamRequired("Classification")) 3776 } 3777 if v.Name == nil { 3778 invalidParams.Add(smithy.NewErrParamRequired("Name")) 3779 } 3780 if v.GrokPattern == nil { 3781 invalidParams.Add(smithy.NewErrParamRequired("GrokPattern")) 3782 } 3783 if invalidParams.Len() > 0 { 3784 return invalidParams 3785 } else { 3786 return nil 3787 } 3788} 3789 3790func validateCreateJsonClassifierRequest(v *types.CreateJsonClassifierRequest) error { 3791 if v == nil { 3792 return nil 3793 } 3794 invalidParams := smithy.InvalidParamsError{Context: "CreateJsonClassifierRequest"} 3795 if v.Name == nil { 3796 invalidParams.Add(smithy.NewErrParamRequired("Name")) 3797 } 3798 if v.JsonPath == nil { 3799 invalidParams.Add(smithy.NewErrParamRequired("JsonPath")) 3800 } 3801 if invalidParams.Len() > 0 { 3802 return invalidParams 3803 } else { 3804 return nil 3805 } 3806} 3807 3808func validateCreateXMLClassifierRequest(v *types.CreateXMLClassifierRequest) error { 3809 if v == nil { 3810 return nil 3811 } 3812 invalidParams := smithy.InvalidParamsError{Context: "CreateXMLClassifierRequest"} 3813 if v.Classification == nil { 3814 invalidParams.Add(smithy.NewErrParamRequired("Classification")) 3815 } 3816 if v.Name == nil { 3817 invalidParams.Add(smithy.NewErrParamRequired("Name")) 3818 } 3819 if invalidParams.Len() > 0 { 3820 return invalidParams 3821 } else { 3822 return nil 3823 } 3824} 3825 3826func validateDagEdges(v []types.CodeGenEdge) error { 3827 if v == nil { 3828 return nil 3829 } 3830 invalidParams := smithy.InvalidParamsError{Context: "DagEdges"} 3831 for i := range v { 3832 if err := validateCodeGenEdge(&v[i]); err != nil { 3833 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 3834 } 3835 } 3836 if invalidParams.Len() > 0 { 3837 return invalidParams 3838 } else { 3839 return nil 3840 } 3841} 3842 3843func validateDagNodes(v []types.CodeGenNode) error { 3844 if v == nil { 3845 return nil 3846 } 3847 invalidParams := smithy.InvalidParamsError{Context: "DagNodes"} 3848 for i := range v { 3849 if err := validateCodeGenNode(&v[i]); err != nil { 3850 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 3851 } 3852 } 3853 if invalidParams.Len() > 0 { 3854 return invalidParams 3855 } else { 3856 return nil 3857 } 3858} 3859 3860func validateDatabaseInput(v *types.DatabaseInput) error { 3861 if v == nil { 3862 return nil 3863 } 3864 invalidParams := smithy.InvalidParamsError{Context: "DatabaseInput"} 3865 if v.Name == nil { 3866 invalidParams.Add(smithy.NewErrParamRequired("Name")) 3867 } 3868 if invalidParams.Len() > 0 { 3869 return invalidParams 3870 } else { 3871 return nil 3872 } 3873} 3874 3875func validateDataCatalogEncryptionSettings(v *types.DataCatalogEncryptionSettings) error { 3876 if v == nil { 3877 return nil 3878 } 3879 invalidParams := smithy.InvalidParamsError{Context: "DataCatalogEncryptionSettings"} 3880 if v.EncryptionAtRest != nil { 3881 if err := validateEncryptionAtRest(v.EncryptionAtRest); err != nil { 3882 invalidParams.AddNested("EncryptionAtRest", err.(smithy.InvalidParamsError)) 3883 } 3884 } 3885 if v.ConnectionPasswordEncryption != nil { 3886 if err := validateConnectionPasswordEncryption(v.ConnectionPasswordEncryption); err != nil { 3887 invalidParams.AddNested("ConnectionPasswordEncryption", err.(smithy.InvalidParamsError)) 3888 } 3889 } 3890 if invalidParams.Len() > 0 { 3891 return invalidParams 3892 } else { 3893 return nil 3894 } 3895} 3896 3897func validateDateColumnStatisticsData(v *types.DateColumnStatisticsData) error { 3898 if v == nil { 3899 return nil 3900 } 3901 invalidParams := smithy.InvalidParamsError{Context: "DateColumnStatisticsData"} 3902 if invalidParams.Len() > 0 { 3903 return invalidParams 3904 } else { 3905 return nil 3906 } 3907} 3908 3909func validateDecimalColumnStatisticsData(v *types.DecimalColumnStatisticsData) error { 3910 if v == nil { 3911 return nil 3912 } 3913 invalidParams := smithy.InvalidParamsError{Context: "DecimalColumnStatisticsData"} 3914 if v.MinimumValue != nil { 3915 if err := validateDecimalNumber(v.MinimumValue); err != nil { 3916 invalidParams.AddNested("MinimumValue", err.(smithy.InvalidParamsError)) 3917 } 3918 } 3919 if v.MaximumValue != nil { 3920 if err := validateDecimalNumber(v.MaximumValue); err != nil { 3921 invalidParams.AddNested("MaximumValue", err.(smithy.InvalidParamsError)) 3922 } 3923 } 3924 if invalidParams.Len() > 0 { 3925 return invalidParams 3926 } else { 3927 return nil 3928 } 3929} 3930 3931func validateDecimalNumber(v *types.DecimalNumber) error { 3932 if v == nil { 3933 return nil 3934 } 3935 invalidParams := smithy.InvalidParamsError{Context: "DecimalNumber"} 3936 if v.UnscaledValue == nil { 3937 invalidParams.Add(smithy.NewErrParamRequired("UnscaledValue")) 3938 } 3939 if invalidParams.Len() > 0 { 3940 return invalidParams 3941 } else { 3942 return nil 3943 } 3944} 3945 3946func validateDoubleColumnStatisticsData(v *types.DoubleColumnStatisticsData) error { 3947 if v == nil { 3948 return nil 3949 } 3950 invalidParams := smithy.InvalidParamsError{Context: "DoubleColumnStatisticsData"} 3951 if invalidParams.Len() > 0 { 3952 return invalidParams 3953 } else { 3954 return nil 3955 } 3956} 3957 3958func validateEncryptionAtRest(v *types.EncryptionAtRest) error { 3959 if v == nil { 3960 return nil 3961 } 3962 invalidParams := smithy.InvalidParamsError{Context: "EncryptionAtRest"} 3963 if len(v.CatalogEncryptionMode) == 0 { 3964 invalidParams.Add(smithy.NewErrParamRequired("CatalogEncryptionMode")) 3965 } 3966 if invalidParams.Len() > 0 { 3967 return invalidParams 3968 } else { 3969 return nil 3970 } 3971} 3972 3973func validateEventBatchingCondition(v *types.EventBatchingCondition) error { 3974 if v == nil { 3975 return nil 3976 } 3977 invalidParams := smithy.InvalidParamsError{Context: "EventBatchingCondition"} 3978 if invalidParams.Len() > 0 { 3979 return invalidParams 3980 } else { 3981 return nil 3982 } 3983} 3984 3985func validateGlueTable(v *types.GlueTable) error { 3986 if v == nil { 3987 return nil 3988 } 3989 invalidParams := smithy.InvalidParamsError{Context: "GlueTable"} 3990 if v.DatabaseName == nil { 3991 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 3992 } 3993 if v.TableName == nil { 3994 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 3995 } 3996 if invalidParams.Len() > 0 { 3997 return invalidParams 3998 } else { 3999 return nil 4000 } 4001} 4002 4003func validateGlueTables(v []types.GlueTable) error { 4004 if v == nil { 4005 return nil 4006 } 4007 invalidParams := smithy.InvalidParamsError{Context: "GlueTables"} 4008 for i := range v { 4009 if err := validateGlueTable(&v[i]); err != nil { 4010 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4011 } 4012 } 4013 if invalidParams.Len() > 0 { 4014 return invalidParams 4015 } else { 4016 return nil 4017 } 4018} 4019 4020func validateLocation(v *types.Location) error { 4021 if v == nil { 4022 return nil 4023 } 4024 invalidParams := smithy.InvalidParamsError{Context: "Location"} 4025 if v.Jdbc != nil { 4026 if err := validateCodeGenNodeArgs(v.Jdbc); err != nil { 4027 invalidParams.AddNested("Jdbc", err.(smithy.InvalidParamsError)) 4028 } 4029 } 4030 if v.S3 != nil { 4031 if err := validateCodeGenNodeArgs(v.S3); err != nil { 4032 invalidParams.AddNested("S3", err.(smithy.InvalidParamsError)) 4033 } 4034 } 4035 if v.DynamoDB != nil { 4036 if err := validateCodeGenNodeArgs(v.DynamoDB); err != nil { 4037 invalidParams.AddNested("DynamoDB", err.(smithy.InvalidParamsError)) 4038 } 4039 } 4040 if invalidParams.Len() > 0 { 4041 return invalidParams 4042 } else { 4043 return nil 4044 } 4045} 4046 4047func validateLongColumnStatisticsData(v *types.LongColumnStatisticsData) error { 4048 if v == nil { 4049 return nil 4050 } 4051 invalidParams := smithy.InvalidParamsError{Context: "LongColumnStatisticsData"} 4052 if invalidParams.Len() > 0 { 4053 return invalidParams 4054 } else { 4055 return nil 4056 } 4057} 4058 4059func validateMLUserDataEncryption(v *types.MLUserDataEncryption) error { 4060 if v == nil { 4061 return nil 4062 } 4063 invalidParams := smithy.InvalidParamsError{Context: "MLUserDataEncryption"} 4064 if len(v.MlUserDataEncryptionMode) == 0 { 4065 invalidParams.Add(smithy.NewErrParamRequired("MlUserDataEncryptionMode")) 4066 } 4067 if invalidParams.Len() > 0 { 4068 return invalidParams 4069 } else { 4070 return nil 4071 } 4072} 4073 4074func validateOrder(v *types.Order) error { 4075 if v == nil { 4076 return nil 4077 } 4078 invalidParams := smithy.InvalidParamsError{Context: "Order"} 4079 if v.Column == nil { 4080 invalidParams.Add(smithy.NewErrParamRequired("Column")) 4081 } 4082 if invalidParams.Len() > 0 { 4083 return invalidParams 4084 } else { 4085 return nil 4086 } 4087} 4088 4089func validateOrderList(v []types.Order) error { 4090 if v == nil { 4091 return nil 4092 } 4093 invalidParams := smithy.InvalidParamsError{Context: "OrderList"} 4094 for i := range v { 4095 if err := validateOrder(&v[i]); err != nil { 4096 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4097 } 4098 } 4099 if invalidParams.Len() > 0 { 4100 return invalidParams 4101 } else { 4102 return nil 4103 } 4104} 4105 4106func validatePartitionIndex(v *types.PartitionIndex) error { 4107 if v == nil { 4108 return nil 4109 } 4110 invalidParams := smithy.InvalidParamsError{Context: "PartitionIndex"} 4111 if v.Keys == nil { 4112 invalidParams.Add(smithy.NewErrParamRequired("Keys")) 4113 } 4114 if v.IndexName == nil { 4115 invalidParams.Add(smithy.NewErrParamRequired("IndexName")) 4116 } 4117 if invalidParams.Len() > 0 { 4118 return invalidParams 4119 } else { 4120 return nil 4121 } 4122} 4123 4124func validatePartitionIndexList(v []types.PartitionIndex) error { 4125 if v == nil { 4126 return nil 4127 } 4128 invalidParams := smithy.InvalidParamsError{Context: "PartitionIndexList"} 4129 for i := range v { 4130 if err := validatePartitionIndex(&v[i]); err != nil { 4131 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4132 } 4133 } 4134 if invalidParams.Len() > 0 { 4135 return invalidParams 4136 } else { 4137 return nil 4138 } 4139} 4140 4141func validatePartitionInput(v *types.PartitionInput) error { 4142 if v == nil { 4143 return nil 4144 } 4145 invalidParams := smithy.InvalidParamsError{Context: "PartitionInput"} 4146 if v.StorageDescriptor != nil { 4147 if err := validateStorageDescriptor(v.StorageDescriptor); err != nil { 4148 invalidParams.AddNested("StorageDescriptor", err.(smithy.InvalidParamsError)) 4149 } 4150 } 4151 if invalidParams.Len() > 0 { 4152 return invalidParams 4153 } else { 4154 return nil 4155 } 4156} 4157 4158func validatePartitionInputList(v []types.PartitionInput) error { 4159 if v == nil { 4160 return nil 4161 } 4162 invalidParams := smithy.InvalidParamsError{Context: "PartitionInputList"} 4163 for i := range v { 4164 if err := validatePartitionInput(&v[i]); err != nil { 4165 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4166 } 4167 } 4168 if invalidParams.Len() > 0 { 4169 return invalidParams 4170 } else { 4171 return nil 4172 } 4173} 4174 4175func validatePartitionValueList(v *types.PartitionValueList) error { 4176 if v == nil { 4177 return nil 4178 } 4179 invalidParams := smithy.InvalidParamsError{Context: "PartitionValueList"} 4180 if v.Values == nil { 4181 invalidParams.Add(smithy.NewErrParamRequired("Values")) 4182 } 4183 if invalidParams.Len() > 0 { 4184 return invalidParams 4185 } else { 4186 return nil 4187 } 4188} 4189 4190func validateSegment(v *types.Segment) error { 4191 if v == nil { 4192 return nil 4193 } 4194 invalidParams := smithy.InvalidParamsError{Context: "Segment"} 4195 if invalidParams.Len() > 0 { 4196 return invalidParams 4197 } else { 4198 return nil 4199 } 4200} 4201 4202func validateStorageDescriptor(v *types.StorageDescriptor) error { 4203 if v == nil { 4204 return nil 4205 } 4206 invalidParams := smithy.InvalidParamsError{Context: "StorageDescriptor"} 4207 if v.Columns != nil { 4208 if err := validateColumnList(v.Columns); err != nil { 4209 invalidParams.AddNested("Columns", err.(smithy.InvalidParamsError)) 4210 } 4211 } 4212 if v.SortColumns != nil { 4213 if err := validateOrderList(v.SortColumns); err != nil { 4214 invalidParams.AddNested("SortColumns", err.(smithy.InvalidParamsError)) 4215 } 4216 } 4217 if invalidParams.Len() > 0 { 4218 return invalidParams 4219 } else { 4220 return nil 4221 } 4222} 4223 4224func validateStringColumnStatisticsData(v *types.StringColumnStatisticsData) error { 4225 if v == nil { 4226 return nil 4227 } 4228 invalidParams := smithy.InvalidParamsError{Context: "StringColumnStatisticsData"} 4229 if invalidParams.Len() > 0 { 4230 return invalidParams 4231 } else { 4232 return nil 4233 } 4234} 4235 4236func validateTableInput(v *types.TableInput) error { 4237 if v == nil { 4238 return nil 4239 } 4240 invalidParams := smithy.InvalidParamsError{Context: "TableInput"} 4241 if v.Name == nil { 4242 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4243 } 4244 if v.StorageDescriptor != nil { 4245 if err := validateStorageDescriptor(v.StorageDescriptor); err != nil { 4246 invalidParams.AddNested("StorageDescriptor", err.(smithy.InvalidParamsError)) 4247 } 4248 } 4249 if v.PartitionKeys != nil { 4250 if err := validateColumnList(v.PartitionKeys); err != nil { 4251 invalidParams.AddNested("PartitionKeys", err.(smithy.InvalidParamsError)) 4252 } 4253 } 4254 if invalidParams.Len() > 0 { 4255 return invalidParams 4256 } else { 4257 return nil 4258 } 4259} 4260 4261func validateTaskRunSortCriteria(v *types.TaskRunSortCriteria) error { 4262 if v == nil { 4263 return nil 4264 } 4265 invalidParams := smithy.InvalidParamsError{Context: "TaskRunSortCriteria"} 4266 if len(v.Column) == 0 { 4267 invalidParams.Add(smithy.NewErrParamRequired("Column")) 4268 } 4269 if len(v.SortDirection) == 0 { 4270 invalidParams.Add(smithy.NewErrParamRequired("SortDirection")) 4271 } 4272 if invalidParams.Len() > 0 { 4273 return invalidParams 4274 } else { 4275 return nil 4276 } 4277} 4278 4279func validateTransformEncryption(v *types.TransformEncryption) error { 4280 if v == nil { 4281 return nil 4282 } 4283 invalidParams := smithy.InvalidParamsError{Context: "TransformEncryption"} 4284 if v.MlUserDataEncryption != nil { 4285 if err := validateMLUserDataEncryption(v.MlUserDataEncryption); err != nil { 4286 invalidParams.AddNested("MlUserDataEncryption", err.(smithy.InvalidParamsError)) 4287 } 4288 } 4289 if invalidParams.Len() > 0 { 4290 return invalidParams 4291 } else { 4292 return nil 4293 } 4294} 4295 4296func validateTransformParameters(v *types.TransformParameters) error { 4297 if v == nil { 4298 return nil 4299 } 4300 invalidParams := smithy.InvalidParamsError{Context: "TransformParameters"} 4301 if len(v.TransformType) == 0 { 4302 invalidParams.Add(smithy.NewErrParamRequired("TransformType")) 4303 } 4304 if invalidParams.Len() > 0 { 4305 return invalidParams 4306 } else { 4307 return nil 4308 } 4309} 4310 4311func validateTransformSortCriteria(v *types.TransformSortCriteria) error { 4312 if v == nil { 4313 return nil 4314 } 4315 invalidParams := smithy.InvalidParamsError{Context: "TransformSortCriteria"} 4316 if len(v.Column) == 0 { 4317 invalidParams.Add(smithy.NewErrParamRequired("Column")) 4318 } 4319 if len(v.SortDirection) == 0 { 4320 invalidParams.Add(smithy.NewErrParamRequired("SortDirection")) 4321 } 4322 if invalidParams.Len() > 0 { 4323 return invalidParams 4324 } else { 4325 return nil 4326 } 4327} 4328 4329func validateTriggerUpdate(v *types.TriggerUpdate) error { 4330 if v == nil { 4331 return nil 4332 } 4333 invalidParams := smithy.InvalidParamsError{Context: "TriggerUpdate"} 4334 if v.EventBatchingCondition != nil { 4335 if err := validateEventBatchingCondition(v.EventBatchingCondition); err != nil { 4336 invalidParams.AddNested("EventBatchingCondition", err.(smithy.InvalidParamsError)) 4337 } 4338 } 4339 if invalidParams.Len() > 0 { 4340 return invalidParams 4341 } else { 4342 return nil 4343 } 4344} 4345 4346func validateUpdateColumnStatisticsList(v []types.ColumnStatistics) error { 4347 if v == nil { 4348 return nil 4349 } 4350 invalidParams := smithy.InvalidParamsError{Context: "UpdateColumnStatisticsList"} 4351 for i := range v { 4352 if err := validateColumnStatistics(&v[i]); err != nil { 4353 invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) 4354 } 4355 } 4356 if invalidParams.Len() > 0 { 4357 return invalidParams 4358 } else { 4359 return nil 4360 } 4361} 4362 4363func validateUpdateCsvClassifierRequest(v *types.UpdateCsvClassifierRequest) error { 4364 if v == nil { 4365 return nil 4366 } 4367 invalidParams := smithy.InvalidParamsError{Context: "UpdateCsvClassifierRequest"} 4368 if v.Name == nil { 4369 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4370 } 4371 if invalidParams.Len() > 0 { 4372 return invalidParams 4373 } else { 4374 return nil 4375 } 4376} 4377 4378func validateUpdateGrokClassifierRequest(v *types.UpdateGrokClassifierRequest) error { 4379 if v == nil { 4380 return nil 4381 } 4382 invalidParams := smithy.InvalidParamsError{Context: "UpdateGrokClassifierRequest"} 4383 if v.Name == nil { 4384 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4385 } 4386 if invalidParams.Len() > 0 { 4387 return invalidParams 4388 } else { 4389 return nil 4390 } 4391} 4392 4393func validateUpdateJsonClassifierRequest(v *types.UpdateJsonClassifierRequest) error { 4394 if v == nil { 4395 return nil 4396 } 4397 invalidParams := smithy.InvalidParamsError{Context: "UpdateJsonClassifierRequest"} 4398 if v.Name == nil { 4399 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4400 } 4401 if invalidParams.Len() > 0 { 4402 return invalidParams 4403 } else { 4404 return nil 4405 } 4406} 4407 4408func validateUpdateXMLClassifierRequest(v *types.UpdateXMLClassifierRequest) error { 4409 if v == nil { 4410 return nil 4411 } 4412 invalidParams := smithy.InvalidParamsError{Context: "UpdateXMLClassifierRequest"} 4413 if v.Name == nil { 4414 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4415 } 4416 if invalidParams.Len() > 0 { 4417 return invalidParams 4418 } else { 4419 return nil 4420 } 4421} 4422 4423func validateOpBatchCreatePartitionInput(v *BatchCreatePartitionInput) error { 4424 if v == nil { 4425 return nil 4426 } 4427 invalidParams := smithy.InvalidParamsError{Context: "BatchCreatePartitionInput"} 4428 if v.DatabaseName == nil { 4429 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 4430 } 4431 if v.TableName == nil { 4432 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 4433 } 4434 if v.PartitionInputList == nil { 4435 invalidParams.Add(smithy.NewErrParamRequired("PartitionInputList")) 4436 } else if v.PartitionInputList != nil { 4437 if err := validatePartitionInputList(v.PartitionInputList); err != nil { 4438 invalidParams.AddNested("PartitionInputList", err.(smithy.InvalidParamsError)) 4439 } 4440 } 4441 if invalidParams.Len() > 0 { 4442 return invalidParams 4443 } else { 4444 return nil 4445 } 4446} 4447 4448func validateOpBatchDeleteConnectionInput(v *BatchDeleteConnectionInput) error { 4449 if v == nil { 4450 return nil 4451 } 4452 invalidParams := smithy.InvalidParamsError{Context: "BatchDeleteConnectionInput"} 4453 if v.ConnectionNameList == nil { 4454 invalidParams.Add(smithy.NewErrParamRequired("ConnectionNameList")) 4455 } 4456 if invalidParams.Len() > 0 { 4457 return invalidParams 4458 } else { 4459 return nil 4460 } 4461} 4462 4463func validateOpBatchDeletePartitionInput(v *BatchDeletePartitionInput) error { 4464 if v == nil { 4465 return nil 4466 } 4467 invalidParams := smithy.InvalidParamsError{Context: "BatchDeletePartitionInput"} 4468 if v.DatabaseName == nil { 4469 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 4470 } 4471 if v.TableName == nil { 4472 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 4473 } 4474 if v.PartitionsToDelete == nil { 4475 invalidParams.Add(smithy.NewErrParamRequired("PartitionsToDelete")) 4476 } else if v.PartitionsToDelete != nil { 4477 if err := validateBatchDeletePartitionValueList(v.PartitionsToDelete); err != nil { 4478 invalidParams.AddNested("PartitionsToDelete", err.(smithy.InvalidParamsError)) 4479 } 4480 } 4481 if invalidParams.Len() > 0 { 4482 return invalidParams 4483 } else { 4484 return nil 4485 } 4486} 4487 4488func validateOpBatchDeleteTableInput(v *BatchDeleteTableInput) error { 4489 if v == nil { 4490 return nil 4491 } 4492 invalidParams := smithy.InvalidParamsError{Context: "BatchDeleteTableInput"} 4493 if v.DatabaseName == nil { 4494 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 4495 } 4496 if v.TablesToDelete == nil { 4497 invalidParams.Add(smithy.NewErrParamRequired("TablesToDelete")) 4498 } 4499 if invalidParams.Len() > 0 { 4500 return invalidParams 4501 } else { 4502 return nil 4503 } 4504} 4505 4506func validateOpBatchDeleteTableVersionInput(v *BatchDeleteTableVersionInput) error { 4507 if v == nil { 4508 return nil 4509 } 4510 invalidParams := smithy.InvalidParamsError{Context: "BatchDeleteTableVersionInput"} 4511 if v.DatabaseName == nil { 4512 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 4513 } 4514 if v.TableName == nil { 4515 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 4516 } 4517 if v.VersionIds == nil { 4518 invalidParams.Add(smithy.NewErrParamRequired("VersionIds")) 4519 } 4520 if invalidParams.Len() > 0 { 4521 return invalidParams 4522 } else { 4523 return nil 4524 } 4525} 4526 4527func validateOpBatchGetBlueprintsInput(v *BatchGetBlueprintsInput) error { 4528 if v == nil { 4529 return nil 4530 } 4531 invalidParams := smithy.InvalidParamsError{Context: "BatchGetBlueprintsInput"} 4532 if v.Names == nil { 4533 invalidParams.Add(smithy.NewErrParamRequired("Names")) 4534 } 4535 if invalidParams.Len() > 0 { 4536 return invalidParams 4537 } else { 4538 return nil 4539 } 4540} 4541 4542func validateOpBatchGetCrawlersInput(v *BatchGetCrawlersInput) error { 4543 if v == nil { 4544 return nil 4545 } 4546 invalidParams := smithy.InvalidParamsError{Context: "BatchGetCrawlersInput"} 4547 if v.CrawlerNames == nil { 4548 invalidParams.Add(smithy.NewErrParamRequired("CrawlerNames")) 4549 } 4550 if invalidParams.Len() > 0 { 4551 return invalidParams 4552 } else { 4553 return nil 4554 } 4555} 4556 4557func validateOpBatchGetDevEndpointsInput(v *BatchGetDevEndpointsInput) error { 4558 if v == nil { 4559 return nil 4560 } 4561 invalidParams := smithy.InvalidParamsError{Context: "BatchGetDevEndpointsInput"} 4562 if v.DevEndpointNames == nil { 4563 invalidParams.Add(smithy.NewErrParamRequired("DevEndpointNames")) 4564 } 4565 if invalidParams.Len() > 0 { 4566 return invalidParams 4567 } else { 4568 return nil 4569 } 4570} 4571 4572func validateOpBatchGetJobsInput(v *BatchGetJobsInput) error { 4573 if v == nil { 4574 return nil 4575 } 4576 invalidParams := smithy.InvalidParamsError{Context: "BatchGetJobsInput"} 4577 if v.JobNames == nil { 4578 invalidParams.Add(smithy.NewErrParamRequired("JobNames")) 4579 } 4580 if invalidParams.Len() > 0 { 4581 return invalidParams 4582 } else { 4583 return nil 4584 } 4585} 4586 4587func validateOpBatchGetPartitionInput(v *BatchGetPartitionInput) error { 4588 if v == nil { 4589 return nil 4590 } 4591 invalidParams := smithy.InvalidParamsError{Context: "BatchGetPartitionInput"} 4592 if v.DatabaseName == nil { 4593 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 4594 } 4595 if v.TableName == nil { 4596 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 4597 } 4598 if v.PartitionsToGet == nil { 4599 invalidParams.Add(smithy.NewErrParamRequired("PartitionsToGet")) 4600 } else if v.PartitionsToGet != nil { 4601 if err := validateBatchGetPartitionValueList(v.PartitionsToGet); err != nil { 4602 invalidParams.AddNested("PartitionsToGet", err.(smithy.InvalidParamsError)) 4603 } 4604 } 4605 if invalidParams.Len() > 0 { 4606 return invalidParams 4607 } else { 4608 return nil 4609 } 4610} 4611 4612func validateOpBatchGetTriggersInput(v *BatchGetTriggersInput) error { 4613 if v == nil { 4614 return nil 4615 } 4616 invalidParams := smithy.InvalidParamsError{Context: "BatchGetTriggersInput"} 4617 if v.TriggerNames == nil { 4618 invalidParams.Add(smithy.NewErrParamRequired("TriggerNames")) 4619 } 4620 if invalidParams.Len() > 0 { 4621 return invalidParams 4622 } else { 4623 return nil 4624 } 4625} 4626 4627func validateOpBatchGetWorkflowsInput(v *BatchGetWorkflowsInput) error { 4628 if v == nil { 4629 return nil 4630 } 4631 invalidParams := smithy.InvalidParamsError{Context: "BatchGetWorkflowsInput"} 4632 if v.Names == nil { 4633 invalidParams.Add(smithy.NewErrParamRequired("Names")) 4634 } 4635 if invalidParams.Len() > 0 { 4636 return invalidParams 4637 } else { 4638 return nil 4639 } 4640} 4641 4642func validateOpBatchStopJobRunInput(v *BatchStopJobRunInput) error { 4643 if v == nil { 4644 return nil 4645 } 4646 invalidParams := smithy.InvalidParamsError{Context: "BatchStopJobRunInput"} 4647 if v.JobName == nil { 4648 invalidParams.Add(smithy.NewErrParamRequired("JobName")) 4649 } 4650 if v.JobRunIds == nil { 4651 invalidParams.Add(smithy.NewErrParamRequired("JobRunIds")) 4652 } 4653 if invalidParams.Len() > 0 { 4654 return invalidParams 4655 } else { 4656 return nil 4657 } 4658} 4659 4660func validateOpBatchUpdatePartitionInput(v *BatchUpdatePartitionInput) error { 4661 if v == nil { 4662 return nil 4663 } 4664 invalidParams := smithy.InvalidParamsError{Context: "BatchUpdatePartitionInput"} 4665 if v.DatabaseName == nil { 4666 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 4667 } 4668 if v.TableName == nil { 4669 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 4670 } 4671 if v.Entries == nil { 4672 invalidParams.Add(smithy.NewErrParamRequired("Entries")) 4673 } else if v.Entries != nil { 4674 if err := validateBatchUpdatePartitionRequestEntryList(v.Entries); err != nil { 4675 invalidParams.AddNested("Entries", err.(smithy.InvalidParamsError)) 4676 } 4677 } 4678 if invalidParams.Len() > 0 { 4679 return invalidParams 4680 } else { 4681 return nil 4682 } 4683} 4684 4685func validateOpCancelMLTaskRunInput(v *CancelMLTaskRunInput) error { 4686 if v == nil { 4687 return nil 4688 } 4689 invalidParams := smithy.InvalidParamsError{Context: "CancelMLTaskRunInput"} 4690 if v.TransformId == nil { 4691 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 4692 } 4693 if v.TaskRunId == nil { 4694 invalidParams.Add(smithy.NewErrParamRequired("TaskRunId")) 4695 } 4696 if invalidParams.Len() > 0 { 4697 return invalidParams 4698 } else { 4699 return nil 4700 } 4701} 4702 4703func validateOpCheckSchemaVersionValidityInput(v *CheckSchemaVersionValidityInput) error { 4704 if v == nil { 4705 return nil 4706 } 4707 invalidParams := smithy.InvalidParamsError{Context: "CheckSchemaVersionValidityInput"} 4708 if len(v.DataFormat) == 0 { 4709 invalidParams.Add(smithy.NewErrParamRequired("DataFormat")) 4710 } 4711 if v.SchemaDefinition == nil { 4712 invalidParams.Add(smithy.NewErrParamRequired("SchemaDefinition")) 4713 } 4714 if invalidParams.Len() > 0 { 4715 return invalidParams 4716 } else { 4717 return nil 4718 } 4719} 4720 4721func validateOpCreateBlueprintInput(v *CreateBlueprintInput) error { 4722 if v == nil { 4723 return nil 4724 } 4725 invalidParams := smithy.InvalidParamsError{Context: "CreateBlueprintInput"} 4726 if v.Name == nil { 4727 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4728 } 4729 if v.BlueprintLocation == nil { 4730 invalidParams.Add(smithy.NewErrParamRequired("BlueprintLocation")) 4731 } 4732 if invalidParams.Len() > 0 { 4733 return invalidParams 4734 } else { 4735 return nil 4736 } 4737} 4738 4739func validateOpCreateClassifierInput(v *CreateClassifierInput) error { 4740 if v == nil { 4741 return nil 4742 } 4743 invalidParams := smithy.InvalidParamsError{Context: "CreateClassifierInput"} 4744 if v.GrokClassifier != nil { 4745 if err := validateCreateGrokClassifierRequest(v.GrokClassifier); err != nil { 4746 invalidParams.AddNested("GrokClassifier", err.(smithy.InvalidParamsError)) 4747 } 4748 } 4749 if v.XMLClassifier != nil { 4750 if err := validateCreateXMLClassifierRequest(v.XMLClassifier); err != nil { 4751 invalidParams.AddNested("XMLClassifier", err.(smithy.InvalidParamsError)) 4752 } 4753 } 4754 if v.JsonClassifier != nil { 4755 if err := validateCreateJsonClassifierRequest(v.JsonClassifier); err != nil { 4756 invalidParams.AddNested("JsonClassifier", err.(smithy.InvalidParamsError)) 4757 } 4758 } 4759 if v.CsvClassifier != nil { 4760 if err := validateCreateCsvClassifierRequest(v.CsvClassifier); err != nil { 4761 invalidParams.AddNested("CsvClassifier", err.(smithy.InvalidParamsError)) 4762 } 4763 } 4764 if invalidParams.Len() > 0 { 4765 return invalidParams 4766 } else { 4767 return nil 4768 } 4769} 4770 4771func validateOpCreateConnectionInput(v *CreateConnectionInput) error { 4772 if v == nil { 4773 return nil 4774 } 4775 invalidParams := smithy.InvalidParamsError{Context: "CreateConnectionInput"} 4776 if v.ConnectionInput == nil { 4777 invalidParams.Add(smithy.NewErrParamRequired("ConnectionInput")) 4778 } else if v.ConnectionInput != nil { 4779 if err := validateConnectionInput(v.ConnectionInput); err != nil { 4780 invalidParams.AddNested("ConnectionInput", err.(smithy.InvalidParamsError)) 4781 } 4782 } 4783 if invalidParams.Len() > 0 { 4784 return invalidParams 4785 } else { 4786 return nil 4787 } 4788} 4789 4790func validateOpCreateCrawlerInput(v *CreateCrawlerInput) error { 4791 if v == nil { 4792 return nil 4793 } 4794 invalidParams := smithy.InvalidParamsError{Context: "CreateCrawlerInput"} 4795 if v.Name == nil { 4796 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4797 } 4798 if v.Role == nil { 4799 invalidParams.Add(smithy.NewErrParamRequired("Role")) 4800 } 4801 if v.Targets == nil { 4802 invalidParams.Add(smithy.NewErrParamRequired("Targets")) 4803 } else if v.Targets != nil { 4804 if err := validateCrawlerTargets(v.Targets); err != nil { 4805 invalidParams.AddNested("Targets", err.(smithy.InvalidParamsError)) 4806 } 4807 } 4808 if invalidParams.Len() > 0 { 4809 return invalidParams 4810 } else { 4811 return nil 4812 } 4813} 4814 4815func validateOpCreateDatabaseInput(v *CreateDatabaseInput) error { 4816 if v == nil { 4817 return nil 4818 } 4819 invalidParams := smithy.InvalidParamsError{Context: "CreateDatabaseInput"} 4820 if v.DatabaseInput == nil { 4821 invalidParams.Add(smithy.NewErrParamRequired("DatabaseInput")) 4822 } else if v.DatabaseInput != nil { 4823 if err := validateDatabaseInput(v.DatabaseInput); err != nil { 4824 invalidParams.AddNested("DatabaseInput", err.(smithy.InvalidParamsError)) 4825 } 4826 } 4827 if invalidParams.Len() > 0 { 4828 return invalidParams 4829 } else { 4830 return nil 4831 } 4832} 4833 4834func validateOpCreateDevEndpointInput(v *CreateDevEndpointInput) error { 4835 if v == nil { 4836 return nil 4837 } 4838 invalidParams := smithy.InvalidParamsError{Context: "CreateDevEndpointInput"} 4839 if v.EndpointName == nil { 4840 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 4841 } 4842 if v.RoleArn == nil { 4843 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 4844 } 4845 if invalidParams.Len() > 0 { 4846 return invalidParams 4847 } else { 4848 return nil 4849 } 4850} 4851 4852func validateOpCreateJobInput(v *CreateJobInput) error { 4853 if v == nil { 4854 return nil 4855 } 4856 invalidParams := smithy.InvalidParamsError{Context: "CreateJobInput"} 4857 if v.Name == nil { 4858 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4859 } 4860 if v.Role == nil { 4861 invalidParams.Add(smithy.NewErrParamRequired("Role")) 4862 } 4863 if v.Command == nil { 4864 invalidParams.Add(smithy.NewErrParamRequired("Command")) 4865 } 4866 if invalidParams.Len() > 0 { 4867 return invalidParams 4868 } else { 4869 return nil 4870 } 4871} 4872 4873func validateOpCreateMLTransformInput(v *CreateMLTransformInput) error { 4874 if v == nil { 4875 return nil 4876 } 4877 invalidParams := smithy.InvalidParamsError{Context: "CreateMLTransformInput"} 4878 if v.Name == nil { 4879 invalidParams.Add(smithy.NewErrParamRequired("Name")) 4880 } 4881 if v.InputRecordTables == nil { 4882 invalidParams.Add(smithy.NewErrParamRequired("InputRecordTables")) 4883 } else if v.InputRecordTables != nil { 4884 if err := validateGlueTables(v.InputRecordTables); err != nil { 4885 invalidParams.AddNested("InputRecordTables", err.(smithy.InvalidParamsError)) 4886 } 4887 } 4888 if v.Parameters == nil { 4889 invalidParams.Add(smithy.NewErrParamRequired("Parameters")) 4890 } else if v.Parameters != nil { 4891 if err := validateTransformParameters(v.Parameters); err != nil { 4892 invalidParams.AddNested("Parameters", err.(smithy.InvalidParamsError)) 4893 } 4894 } 4895 if v.Role == nil { 4896 invalidParams.Add(smithy.NewErrParamRequired("Role")) 4897 } 4898 if v.TransformEncryption != nil { 4899 if err := validateTransformEncryption(v.TransformEncryption); err != nil { 4900 invalidParams.AddNested("TransformEncryption", err.(smithy.InvalidParamsError)) 4901 } 4902 } 4903 if invalidParams.Len() > 0 { 4904 return invalidParams 4905 } else { 4906 return nil 4907 } 4908} 4909 4910func validateOpCreatePartitionIndexInput(v *CreatePartitionIndexInput) error { 4911 if v == nil { 4912 return nil 4913 } 4914 invalidParams := smithy.InvalidParamsError{Context: "CreatePartitionIndexInput"} 4915 if v.DatabaseName == nil { 4916 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 4917 } 4918 if v.TableName == nil { 4919 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 4920 } 4921 if v.PartitionIndex == nil { 4922 invalidParams.Add(smithy.NewErrParamRequired("PartitionIndex")) 4923 } else if v.PartitionIndex != nil { 4924 if err := validatePartitionIndex(v.PartitionIndex); err != nil { 4925 invalidParams.AddNested("PartitionIndex", err.(smithy.InvalidParamsError)) 4926 } 4927 } 4928 if invalidParams.Len() > 0 { 4929 return invalidParams 4930 } else { 4931 return nil 4932 } 4933} 4934 4935func validateOpCreatePartitionInput(v *CreatePartitionInput) error { 4936 if v == nil { 4937 return nil 4938 } 4939 invalidParams := smithy.InvalidParamsError{Context: "CreatePartitionInput"} 4940 if v.DatabaseName == nil { 4941 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 4942 } 4943 if v.TableName == nil { 4944 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 4945 } 4946 if v.PartitionInput == nil { 4947 invalidParams.Add(smithy.NewErrParamRequired("PartitionInput")) 4948 } else if v.PartitionInput != nil { 4949 if err := validatePartitionInput(v.PartitionInput); err != nil { 4950 invalidParams.AddNested("PartitionInput", err.(smithy.InvalidParamsError)) 4951 } 4952 } 4953 if invalidParams.Len() > 0 { 4954 return invalidParams 4955 } else { 4956 return nil 4957 } 4958} 4959 4960func validateOpCreateRegistryInput(v *CreateRegistryInput) error { 4961 if v == nil { 4962 return nil 4963 } 4964 invalidParams := smithy.InvalidParamsError{Context: "CreateRegistryInput"} 4965 if v.RegistryName == nil { 4966 invalidParams.Add(smithy.NewErrParamRequired("RegistryName")) 4967 } 4968 if invalidParams.Len() > 0 { 4969 return invalidParams 4970 } else { 4971 return nil 4972 } 4973} 4974 4975func validateOpCreateSchemaInput(v *CreateSchemaInput) error { 4976 if v == nil { 4977 return nil 4978 } 4979 invalidParams := smithy.InvalidParamsError{Context: "CreateSchemaInput"} 4980 if v.SchemaName == nil { 4981 invalidParams.Add(smithy.NewErrParamRequired("SchemaName")) 4982 } 4983 if len(v.DataFormat) == 0 { 4984 invalidParams.Add(smithy.NewErrParamRequired("DataFormat")) 4985 } 4986 if invalidParams.Len() > 0 { 4987 return invalidParams 4988 } else { 4989 return nil 4990 } 4991} 4992 4993func validateOpCreateScriptInput(v *CreateScriptInput) error { 4994 if v == nil { 4995 return nil 4996 } 4997 invalidParams := smithy.InvalidParamsError{Context: "CreateScriptInput"} 4998 if v.DagNodes != nil { 4999 if err := validateDagNodes(v.DagNodes); err != nil { 5000 invalidParams.AddNested("DagNodes", err.(smithy.InvalidParamsError)) 5001 } 5002 } 5003 if v.DagEdges != nil { 5004 if err := validateDagEdges(v.DagEdges); err != nil { 5005 invalidParams.AddNested("DagEdges", err.(smithy.InvalidParamsError)) 5006 } 5007 } 5008 if invalidParams.Len() > 0 { 5009 return invalidParams 5010 } else { 5011 return nil 5012 } 5013} 5014 5015func validateOpCreateSecurityConfigurationInput(v *CreateSecurityConfigurationInput) error { 5016 if v == nil { 5017 return nil 5018 } 5019 invalidParams := smithy.InvalidParamsError{Context: "CreateSecurityConfigurationInput"} 5020 if v.Name == nil { 5021 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5022 } 5023 if v.EncryptionConfiguration == nil { 5024 invalidParams.Add(smithy.NewErrParamRequired("EncryptionConfiguration")) 5025 } 5026 if invalidParams.Len() > 0 { 5027 return invalidParams 5028 } else { 5029 return nil 5030 } 5031} 5032 5033func validateOpCreateTableInput(v *CreateTableInput) error { 5034 if v == nil { 5035 return nil 5036 } 5037 invalidParams := smithy.InvalidParamsError{Context: "CreateTableInput"} 5038 if v.DatabaseName == nil { 5039 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5040 } 5041 if v.TableInput == nil { 5042 invalidParams.Add(smithy.NewErrParamRequired("TableInput")) 5043 } else if v.TableInput != nil { 5044 if err := validateTableInput(v.TableInput); err != nil { 5045 invalidParams.AddNested("TableInput", err.(smithy.InvalidParamsError)) 5046 } 5047 } 5048 if v.PartitionIndexes != nil { 5049 if err := validatePartitionIndexList(v.PartitionIndexes); err != nil { 5050 invalidParams.AddNested("PartitionIndexes", err.(smithy.InvalidParamsError)) 5051 } 5052 } 5053 if invalidParams.Len() > 0 { 5054 return invalidParams 5055 } else { 5056 return nil 5057 } 5058} 5059 5060func validateOpCreateTriggerInput(v *CreateTriggerInput) error { 5061 if v == nil { 5062 return nil 5063 } 5064 invalidParams := smithy.InvalidParamsError{Context: "CreateTriggerInput"} 5065 if v.Name == nil { 5066 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5067 } 5068 if len(v.Type) == 0 { 5069 invalidParams.Add(smithy.NewErrParamRequired("Type")) 5070 } 5071 if v.Actions == nil { 5072 invalidParams.Add(smithy.NewErrParamRequired("Actions")) 5073 } 5074 if v.EventBatchingCondition != nil { 5075 if err := validateEventBatchingCondition(v.EventBatchingCondition); err != nil { 5076 invalidParams.AddNested("EventBatchingCondition", err.(smithy.InvalidParamsError)) 5077 } 5078 } 5079 if invalidParams.Len() > 0 { 5080 return invalidParams 5081 } else { 5082 return nil 5083 } 5084} 5085 5086func validateOpCreateUserDefinedFunctionInput(v *CreateUserDefinedFunctionInput) error { 5087 if v == nil { 5088 return nil 5089 } 5090 invalidParams := smithy.InvalidParamsError{Context: "CreateUserDefinedFunctionInput"} 5091 if v.DatabaseName == nil { 5092 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5093 } 5094 if v.FunctionInput == nil { 5095 invalidParams.Add(smithy.NewErrParamRequired("FunctionInput")) 5096 } 5097 if invalidParams.Len() > 0 { 5098 return invalidParams 5099 } else { 5100 return nil 5101 } 5102} 5103 5104func validateOpCreateWorkflowInput(v *CreateWorkflowInput) error { 5105 if v == nil { 5106 return nil 5107 } 5108 invalidParams := smithy.InvalidParamsError{Context: "CreateWorkflowInput"} 5109 if v.Name == nil { 5110 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5111 } 5112 if invalidParams.Len() > 0 { 5113 return invalidParams 5114 } else { 5115 return nil 5116 } 5117} 5118 5119func validateOpDeleteBlueprintInput(v *DeleteBlueprintInput) error { 5120 if v == nil { 5121 return nil 5122 } 5123 invalidParams := smithy.InvalidParamsError{Context: "DeleteBlueprintInput"} 5124 if v.Name == nil { 5125 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5126 } 5127 if invalidParams.Len() > 0 { 5128 return invalidParams 5129 } else { 5130 return nil 5131 } 5132} 5133 5134func validateOpDeleteClassifierInput(v *DeleteClassifierInput) error { 5135 if v == nil { 5136 return nil 5137 } 5138 invalidParams := smithy.InvalidParamsError{Context: "DeleteClassifierInput"} 5139 if v.Name == nil { 5140 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5141 } 5142 if invalidParams.Len() > 0 { 5143 return invalidParams 5144 } else { 5145 return nil 5146 } 5147} 5148 5149func validateOpDeleteColumnStatisticsForPartitionInput(v *DeleteColumnStatisticsForPartitionInput) error { 5150 if v == nil { 5151 return nil 5152 } 5153 invalidParams := smithy.InvalidParamsError{Context: "DeleteColumnStatisticsForPartitionInput"} 5154 if v.DatabaseName == nil { 5155 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5156 } 5157 if v.TableName == nil { 5158 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5159 } 5160 if v.PartitionValues == nil { 5161 invalidParams.Add(smithy.NewErrParamRequired("PartitionValues")) 5162 } 5163 if v.ColumnName == nil { 5164 invalidParams.Add(smithy.NewErrParamRequired("ColumnName")) 5165 } 5166 if invalidParams.Len() > 0 { 5167 return invalidParams 5168 } else { 5169 return nil 5170 } 5171} 5172 5173func validateOpDeleteColumnStatisticsForTableInput(v *DeleteColumnStatisticsForTableInput) error { 5174 if v == nil { 5175 return nil 5176 } 5177 invalidParams := smithy.InvalidParamsError{Context: "DeleteColumnStatisticsForTableInput"} 5178 if v.DatabaseName == nil { 5179 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5180 } 5181 if v.TableName == nil { 5182 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5183 } 5184 if v.ColumnName == nil { 5185 invalidParams.Add(smithy.NewErrParamRequired("ColumnName")) 5186 } 5187 if invalidParams.Len() > 0 { 5188 return invalidParams 5189 } else { 5190 return nil 5191 } 5192} 5193 5194func validateOpDeleteConnectionInput(v *DeleteConnectionInput) error { 5195 if v == nil { 5196 return nil 5197 } 5198 invalidParams := smithy.InvalidParamsError{Context: "DeleteConnectionInput"} 5199 if v.ConnectionName == nil { 5200 invalidParams.Add(smithy.NewErrParamRequired("ConnectionName")) 5201 } 5202 if invalidParams.Len() > 0 { 5203 return invalidParams 5204 } else { 5205 return nil 5206 } 5207} 5208 5209func validateOpDeleteCrawlerInput(v *DeleteCrawlerInput) error { 5210 if v == nil { 5211 return nil 5212 } 5213 invalidParams := smithy.InvalidParamsError{Context: "DeleteCrawlerInput"} 5214 if v.Name == nil { 5215 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5216 } 5217 if invalidParams.Len() > 0 { 5218 return invalidParams 5219 } else { 5220 return nil 5221 } 5222} 5223 5224func validateOpDeleteDatabaseInput(v *DeleteDatabaseInput) error { 5225 if v == nil { 5226 return nil 5227 } 5228 invalidParams := smithy.InvalidParamsError{Context: "DeleteDatabaseInput"} 5229 if v.Name == nil { 5230 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5231 } 5232 if invalidParams.Len() > 0 { 5233 return invalidParams 5234 } else { 5235 return nil 5236 } 5237} 5238 5239func validateOpDeleteDevEndpointInput(v *DeleteDevEndpointInput) error { 5240 if v == nil { 5241 return nil 5242 } 5243 invalidParams := smithy.InvalidParamsError{Context: "DeleteDevEndpointInput"} 5244 if v.EndpointName == nil { 5245 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 5246 } 5247 if invalidParams.Len() > 0 { 5248 return invalidParams 5249 } else { 5250 return nil 5251 } 5252} 5253 5254func validateOpDeleteJobInput(v *DeleteJobInput) error { 5255 if v == nil { 5256 return nil 5257 } 5258 invalidParams := smithy.InvalidParamsError{Context: "DeleteJobInput"} 5259 if v.JobName == nil { 5260 invalidParams.Add(smithy.NewErrParamRequired("JobName")) 5261 } 5262 if invalidParams.Len() > 0 { 5263 return invalidParams 5264 } else { 5265 return nil 5266 } 5267} 5268 5269func validateOpDeleteMLTransformInput(v *DeleteMLTransformInput) error { 5270 if v == nil { 5271 return nil 5272 } 5273 invalidParams := smithy.InvalidParamsError{Context: "DeleteMLTransformInput"} 5274 if v.TransformId == nil { 5275 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 5276 } 5277 if invalidParams.Len() > 0 { 5278 return invalidParams 5279 } else { 5280 return nil 5281 } 5282} 5283 5284func validateOpDeletePartitionIndexInput(v *DeletePartitionIndexInput) error { 5285 if v == nil { 5286 return nil 5287 } 5288 invalidParams := smithy.InvalidParamsError{Context: "DeletePartitionIndexInput"} 5289 if v.DatabaseName == nil { 5290 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5291 } 5292 if v.TableName == nil { 5293 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5294 } 5295 if v.IndexName == nil { 5296 invalidParams.Add(smithy.NewErrParamRequired("IndexName")) 5297 } 5298 if invalidParams.Len() > 0 { 5299 return invalidParams 5300 } else { 5301 return nil 5302 } 5303} 5304 5305func validateOpDeletePartitionInput(v *DeletePartitionInput) error { 5306 if v == nil { 5307 return nil 5308 } 5309 invalidParams := smithy.InvalidParamsError{Context: "DeletePartitionInput"} 5310 if v.DatabaseName == nil { 5311 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5312 } 5313 if v.TableName == nil { 5314 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5315 } 5316 if v.PartitionValues == nil { 5317 invalidParams.Add(smithy.NewErrParamRequired("PartitionValues")) 5318 } 5319 if invalidParams.Len() > 0 { 5320 return invalidParams 5321 } else { 5322 return nil 5323 } 5324} 5325 5326func validateOpDeleteRegistryInput(v *DeleteRegistryInput) error { 5327 if v == nil { 5328 return nil 5329 } 5330 invalidParams := smithy.InvalidParamsError{Context: "DeleteRegistryInput"} 5331 if v.RegistryId == nil { 5332 invalidParams.Add(smithy.NewErrParamRequired("RegistryId")) 5333 } 5334 if invalidParams.Len() > 0 { 5335 return invalidParams 5336 } else { 5337 return nil 5338 } 5339} 5340 5341func validateOpDeleteSchemaInput(v *DeleteSchemaInput) error { 5342 if v == nil { 5343 return nil 5344 } 5345 invalidParams := smithy.InvalidParamsError{Context: "DeleteSchemaInput"} 5346 if v.SchemaId == nil { 5347 invalidParams.Add(smithy.NewErrParamRequired("SchemaId")) 5348 } 5349 if invalidParams.Len() > 0 { 5350 return invalidParams 5351 } else { 5352 return nil 5353 } 5354} 5355 5356func validateOpDeleteSchemaVersionsInput(v *DeleteSchemaVersionsInput) error { 5357 if v == nil { 5358 return nil 5359 } 5360 invalidParams := smithy.InvalidParamsError{Context: "DeleteSchemaVersionsInput"} 5361 if v.SchemaId == nil { 5362 invalidParams.Add(smithy.NewErrParamRequired("SchemaId")) 5363 } 5364 if v.Versions == nil { 5365 invalidParams.Add(smithy.NewErrParamRequired("Versions")) 5366 } 5367 if invalidParams.Len() > 0 { 5368 return invalidParams 5369 } else { 5370 return nil 5371 } 5372} 5373 5374func validateOpDeleteSecurityConfigurationInput(v *DeleteSecurityConfigurationInput) error { 5375 if v == nil { 5376 return nil 5377 } 5378 invalidParams := smithy.InvalidParamsError{Context: "DeleteSecurityConfigurationInput"} 5379 if v.Name == nil { 5380 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5381 } 5382 if invalidParams.Len() > 0 { 5383 return invalidParams 5384 } else { 5385 return nil 5386 } 5387} 5388 5389func validateOpDeleteTableInput(v *DeleteTableInput) error { 5390 if v == nil { 5391 return nil 5392 } 5393 invalidParams := smithy.InvalidParamsError{Context: "DeleteTableInput"} 5394 if v.DatabaseName == nil { 5395 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5396 } 5397 if v.Name == nil { 5398 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5399 } 5400 if invalidParams.Len() > 0 { 5401 return invalidParams 5402 } else { 5403 return nil 5404 } 5405} 5406 5407func validateOpDeleteTableVersionInput(v *DeleteTableVersionInput) error { 5408 if v == nil { 5409 return nil 5410 } 5411 invalidParams := smithy.InvalidParamsError{Context: "DeleteTableVersionInput"} 5412 if v.DatabaseName == nil { 5413 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5414 } 5415 if v.TableName == nil { 5416 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5417 } 5418 if v.VersionId == nil { 5419 invalidParams.Add(smithy.NewErrParamRequired("VersionId")) 5420 } 5421 if invalidParams.Len() > 0 { 5422 return invalidParams 5423 } else { 5424 return nil 5425 } 5426} 5427 5428func validateOpDeleteTriggerInput(v *DeleteTriggerInput) error { 5429 if v == nil { 5430 return nil 5431 } 5432 invalidParams := smithy.InvalidParamsError{Context: "DeleteTriggerInput"} 5433 if v.Name == nil { 5434 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5435 } 5436 if invalidParams.Len() > 0 { 5437 return invalidParams 5438 } else { 5439 return nil 5440 } 5441} 5442 5443func validateOpDeleteUserDefinedFunctionInput(v *DeleteUserDefinedFunctionInput) error { 5444 if v == nil { 5445 return nil 5446 } 5447 invalidParams := smithy.InvalidParamsError{Context: "DeleteUserDefinedFunctionInput"} 5448 if v.DatabaseName == nil { 5449 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5450 } 5451 if v.FunctionName == nil { 5452 invalidParams.Add(smithy.NewErrParamRequired("FunctionName")) 5453 } 5454 if invalidParams.Len() > 0 { 5455 return invalidParams 5456 } else { 5457 return nil 5458 } 5459} 5460 5461func validateOpDeleteWorkflowInput(v *DeleteWorkflowInput) error { 5462 if v == nil { 5463 return nil 5464 } 5465 invalidParams := smithy.InvalidParamsError{Context: "DeleteWorkflowInput"} 5466 if v.Name == nil { 5467 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5468 } 5469 if invalidParams.Len() > 0 { 5470 return invalidParams 5471 } else { 5472 return nil 5473 } 5474} 5475 5476func validateOpGetBlueprintInput(v *GetBlueprintInput) error { 5477 if v == nil { 5478 return nil 5479 } 5480 invalidParams := smithy.InvalidParamsError{Context: "GetBlueprintInput"} 5481 if v.Name == nil { 5482 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5483 } 5484 if invalidParams.Len() > 0 { 5485 return invalidParams 5486 } else { 5487 return nil 5488 } 5489} 5490 5491func validateOpGetBlueprintRunInput(v *GetBlueprintRunInput) error { 5492 if v == nil { 5493 return nil 5494 } 5495 invalidParams := smithy.InvalidParamsError{Context: "GetBlueprintRunInput"} 5496 if v.BlueprintName == nil { 5497 invalidParams.Add(smithy.NewErrParamRequired("BlueprintName")) 5498 } 5499 if v.RunId == nil { 5500 invalidParams.Add(smithy.NewErrParamRequired("RunId")) 5501 } 5502 if invalidParams.Len() > 0 { 5503 return invalidParams 5504 } else { 5505 return nil 5506 } 5507} 5508 5509func validateOpGetBlueprintRunsInput(v *GetBlueprintRunsInput) error { 5510 if v == nil { 5511 return nil 5512 } 5513 invalidParams := smithy.InvalidParamsError{Context: "GetBlueprintRunsInput"} 5514 if v.BlueprintName == nil { 5515 invalidParams.Add(smithy.NewErrParamRequired("BlueprintName")) 5516 } 5517 if invalidParams.Len() > 0 { 5518 return invalidParams 5519 } else { 5520 return nil 5521 } 5522} 5523 5524func validateOpGetClassifierInput(v *GetClassifierInput) error { 5525 if v == nil { 5526 return nil 5527 } 5528 invalidParams := smithy.InvalidParamsError{Context: "GetClassifierInput"} 5529 if v.Name == nil { 5530 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5531 } 5532 if invalidParams.Len() > 0 { 5533 return invalidParams 5534 } else { 5535 return nil 5536 } 5537} 5538 5539func validateOpGetColumnStatisticsForPartitionInput(v *GetColumnStatisticsForPartitionInput) error { 5540 if v == nil { 5541 return nil 5542 } 5543 invalidParams := smithy.InvalidParamsError{Context: "GetColumnStatisticsForPartitionInput"} 5544 if v.DatabaseName == nil { 5545 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5546 } 5547 if v.TableName == nil { 5548 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5549 } 5550 if v.PartitionValues == nil { 5551 invalidParams.Add(smithy.NewErrParamRequired("PartitionValues")) 5552 } 5553 if v.ColumnNames == nil { 5554 invalidParams.Add(smithy.NewErrParamRequired("ColumnNames")) 5555 } 5556 if invalidParams.Len() > 0 { 5557 return invalidParams 5558 } else { 5559 return nil 5560 } 5561} 5562 5563func validateOpGetColumnStatisticsForTableInput(v *GetColumnStatisticsForTableInput) error { 5564 if v == nil { 5565 return nil 5566 } 5567 invalidParams := smithy.InvalidParamsError{Context: "GetColumnStatisticsForTableInput"} 5568 if v.DatabaseName == nil { 5569 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5570 } 5571 if v.TableName == nil { 5572 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5573 } 5574 if v.ColumnNames == nil { 5575 invalidParams.Add(smithy.NewErrParamRequired("ColumnNames")) 5576 } 5577 if invalidParams.Len() > 0 { 5578 return invalidParams 5579 } else { 5580 return nil 5581 } 5582} 5583 5584func validateOpGetConnectionInput(v *GetConnectionInput) error { 5585 if v == nil { 5586 return nil 5587 } 5588 invalidParams := smithy.InvalidParamsError{Context: "GetConnectionInput"} 5589 if v.Name == nil { 5590 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5591 } 5592 if invalidParams.Len() > 0 { 5593 return invalidParams 5594 } else { 5595 return nil 5596 } 5597} 5598 5599func validateOpGetCrawlerInput(v *GetCrawlerInput) error { 5600 if v == nil { 5601 return nil 5602 } 5603 invalidParams := smithy.InvalidParamsError{Context: "GetCrawlerInput"} 5604 if v.Name == nil { 5605 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5606 } 5607 if invalidParams.Len() > 0 { 5608 return invalidParams 5609 } else { 5610 return nil 5611 } 5612} 5613 5614func validateOpGetDatabaseInput(v *GetDatabaseInput) error { 5615 if v == nil { 5616 return nil 5617 } 5618 invalidParams := smithy.InvalidParamsError{Context: "GetDatabaseInput"} 5619 if v.Name == nil { 5620 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5621 } 5622 if invalidParams.Len() > 0 { 5623 return invalidParams 5624 } else { 5625 return nil 5626 } 5627} 5628 5629func validateOpGetDevEndpointInput(v *GetDevEndpointInput) error { 5630 if v == nil { 5631 return nil 5632 } 5633 invalidParams := smithy.InvalidParamsError{Context: "GetDevEndpointInput"} 5634 if v.EndpointName == nil { 5635 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 5636 } 5637 if invalidParams.Len() > 0 { 5638 return invalidParams 5639 } else { 5640 return nil 5641 } 5642} 5643 5644func validateOpGetJobBookmarkInput(v *GetJobBookmarkInput) error { 5645 if v == nil { 5646 return nil 5647 } 5648 invalidParams := smithy.InvalidParamsError{Context: "GetJobBookmarkInput"} 5649 if v.JobName == nil { 5650 invalidParams.Add(smithy.NewErrParamRequired("JobName")) 5651 } 5652 if invalidParams.Len() > 0 { 5653 return invalidParams 5654 } else { 5655 return nil 5656 } 5657} 5658 5659func validateOpGetJobInput(v *GetJobInput) error { 5660 if v == nil { 5661 return nil 5662 } 5663 invalidParams := smithy.InvalidParamsError{Context: "GetJobInput"} 5664 if v.JobName == nil { 5665 invalidParams.Add(smithy.NewErrParamRequired("JobName")) 5666 } 5667 if invalidParams.Len() > 0 { 5668 return invalidParams 5669 } else { 5670 return nil 5671 } 5672} 5673 5674func validateOpGetJobRunInput(v *GetJobRunInput) error { 5675 if v == nil { 5676 return nil 5677 } 5678 invalidParams := smithy.InvalidParamsError{Context: "GetJobRunInput"} 5679 if v.JobName == nil { 5680 invalidParams.Add(smithy.NewErrParamRequired("JobName")) 5681 } 5682 if v.RunId == nil { 5683 invalidParams.Add(smithy.NewErrParamRequired("RunId")) 5684 } 5685 if invalidParams.Len() > 0 { 5686 return invalidParams 5687 } else { 5688 return nil 5689 } 5690} 5691 5692func validateOpGetJobRunsInput(v *GetJobRunsInput) error { 5693 if v == nil { 5694 return nil 5695 } 5696 invalidParams := smithy.InvalidParamsError{Context: "GetJobRunsInput"} 5697 if v.JobName == nil { 5698 invalidParams.Add(smithy.NewErrParamRequired("JobName")) 5699 } 5700 if invalidParams.Len() > 0 { 5701 return invalidParams 5702 } else { 5703 return nil 5704 } 5705} 5706 5707func validateOpGetMappingInput(v *GetMappingInput) error { 5708 if v == nil { 5709 return nil 5710 } 5711 invalidParams := smithy.InvalidParamsError{Context: "GetMappingInput"} 5712 if v.Source == nil { 5713 invalidParams.Add(smithy.NewErrParamRequired("Source")) 5714 } else if v.Source != nil { 5715 if err := validateCatalogEntry(v.Source); err != nil { 5716 invalidParams.AddNested("Source", err.(smithy.InvalidParamsError)) 5717 } 5718 } 5719 if v.Sinks != nil { 5720 if err := validateCatalogEntries(v.Sinks); err != nil { 5721 invalidParams.AddNested("Sinks", err.(smithy.InvalidParamsError)) 5722 } 5723 } 5724 if v.Location != nil { 5725 if err := validateLocation(v.Location); err != nil { 5726 invalidParams.AddNested("Location", err.(smithy.InvalidParamsError)) 5727 } 5728 } 5729 if invalidParams.Len() > 0 { 5730 return invalidParams 5731 } else { 5732 return nil 5733 } 5734} 5735 5736func validateOpGetMLTaskRunInput(v *GetMLTaskRunInput) error { 5737 if v == nil { 5738 return nil 5739 } 5740 invalidParams := smithy.InvalidParamsError{Context: "GetMLTaskRunInput"} 5741 if v.TransformId == nil { 5742 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 5743 } 5744 if v.TaskRunId == nil { 5745 invalidParams.Add(smithy.NewErrParamRequired("TaskRunId")) 5746 } 5747 if invalidParams.Len() > 0 { 5748 return invalidParams 5749 } else { 5750 return nil 5751 } 5752} 5753 5754func validateOpGetMLTaskRunsInput(v *GetMLTaskRunsInput) error { 5755 if v == nil { 5756 return nil 5757 } 5758 invalidParams := smithy.InvalidParamsError{Context: "GetMLTaskRunsInput"} 5759 if v.TransformId == nil { 5760 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 5761 } 5762 if v.Sort != nil { 5763 if err := validateTaskRunSortCriteria(v.Sort); err != nil { 5764 invalidParams.AddNested("Sort", err.(smithy.InvalidParamsError)) 5765 } 5766 } 5767 if invalidParams.Len() > 0 { 5768 return invalidParams 5769 } else { 5770 return nil 5771 } 5772} 5773 5774func validateOpGetMLTransformInput(v *GetMLTransformInput) error { 5775 if v == nil { 5776 return nil 5777 } 5778 invalidParams := smithy.InvalidParamsError{Context: "GetMLTransformInput"} 5779 if v.TransformId == nil { 5780 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 5781 } 5782 if invalidParams.Len() > 0 { 5783 return invalidParams 5784 } else { 5785 return nil 5786 } 5787} 5788 5789func validateOpGetMLTransformsInput(v *GetMLTransformsInput) error { 5790 if v == nil { 5791 return nil 5792 } 5793 invalidParams := smithy.InvalidParamsError{Context: "GetMLTransformsInput"} 5794 if v.Sort != nil { 5795 if err := validateTransformSortCriteria(v.Sort); err != nil { 5796 invalidParams.AddNested("Sort", err.(smithy.InvalidParamsError)) 5797 } 5798 } 5799 if invalidParams.Len() > 0 { 5800 return invalidParams 5801 } else { 5802 return nil 5803 } 5804} 5805 5806func validateOpGetPartitionIndexesInput(v *GetPartitionIndexesInput) error { 5807 if v == nil { 5808 return nil 5809 } 5810 invalidParams := smithy.InvalidParamsError{Context: "GetPartitionIndexesInput"} 5811 if v.DatabaseName == nil { 5812 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5813 } 5814 if v.TableName == nil { 5815 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5816 } 5817 if invalidParams.Len() > 0 { 5818 return invalidParams 5819 } else { 5820 return nil 5821 } 5822} 5823 5824func validateOpGetPartitionInput(v *GetPartitionInput) error { 5825 if v == nil { 5826 return nil 5827 } 5828 invalidParams := smithy.InvalidParamsError{Context: "GetPartitionInput"} 5829 if v.DatabaseName == nil { 5830 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5831 } 5832 if v.TableName == nil { 5833 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5834 } 5835 if v.PartitionValues == nil { 5836 invalidParams.Add(smithy.NewErrParamRequired("PartitionValues")) 5837 } 5838 if invalidParams.Len() > 0 { 5839 return invalidParams 5840 } else { 5841 return nil 5842 } 5843} 5844 5845func validateOpGetPartitionsInput(v *GetPartitionsInput) error { 5846 if v == nil { 5847 return nil 5848 } 5849 invalidParams := smithy.InvalidParamsError{Context: "GetPartitionsInput"} 5850 if v.DatabaseName == nil { 5851 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5852 } 5853 if v.TableName == nil { 5854 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 5855 } 5856 if v.Segment != nil { 5857 if err := validateSegment(v.Segment); err != nil { 5858 invalidParams.AddNested("Segment", err.(smithy.InvalidParamsError)) 5859 } 5860 } 5861 if invalidParams.Len() > 0 { 5862 return invalidParams 5863 } else { 5864 return nil 5865 } 5866} 5867 5868func validateOpGetPlanInput(v *GetPlanInput) error { 5869 if v == nil { 5870 return nil 5871 } 5872 invalidParams := smithy.InvalidParamsError{Context: "GetPlanInput"} 5873 if v.Mapping == nil { 5874 invalidParams.Add(smithy.NewErrParamRequired("Mapping")) 5875 } 5876 if v.Source == nil { 5877 invalidParams.Add(smithy.NewErrParamRequired("Source")) 5878 } else if v.Source != nil { 5879 if err := validateCatalogEntry(v.Source); err != nil { 5880 invalidParams.AddNested("Source", err.(smithy.InvalidParamsError)) 5881 } 5882 } 5883 if v.Sinks != nil { 5884 if err := validateCatalogEntries(v.Sinks); err != nil { 5885 invalidParams.AddNested("Sinks", err.(smithy.InvalidParamsError)) 5886 } 5887 } 5888 if v.Location != nil { 5889 if err := validateLocation(v.Location); err != nil { 5890 invalidParams.AddNested("Location", err.(smithy.InvalidParamsError)) 5891 } 5892 } 5893 if invalidParams.Len() > 0 { 5894 return invalidParams 5895 } else { 5896 return nil 5897 } 5898} 5899 5900func validateOpGetRegistryInput(v *GetRegistryInput) error { 5901 if v == nil { 5902 return nil 5903 } 5904 invalidParams := smithy.InvalidParamsError{Context: "GetRegistryInput"} 5905 if v.RegistryId == nil { 5906 invalidParams.Add(smithy.NewErrParamRequired("RegistryId")) 5907 } 5908 if invalidParams.Len() > 0 { 5909 return invalidParams 5910 } else { 5911 return nil 5912 } 5913} 5914 5915func validateOpGetSchemaByDefinitionInput(v *GetSchemaByDefinitionInput) error { 5916 if v == nil { 5917 return nil 5918 } 5919 invalidParams := smithy.InvalidParamsError{Context: "GetSchemaByDefinitionInput"} 5920 if v.SchemaId == nil { 5921 invalidParams.Add(smithy.NewErrParamRequired("SchemaId")) 5922 } 5923 if v.SchemaDefinition == nil { 5924 invalidParams.Add(smithy.NewErrParamRequired("SchemaDefinition")) 5925 } 5926 if invalidParams.Len() > 0 { 5927 return invalidParams 5928 } else { 5929 return nil 5930 } 5931} 5932 5933func validateOpGetSchemaInput(v *GetSchemaInput) error { 5934 if v == nil { 5935 return nil 5936 } 5937 invalidParams := smithy.InvalidParamsError{Context: "GetSchemaInput"} 5938 if v.SchemaId == nil { 5939 invalidParams.Add(smithy.NewErrParamRequired("SchemaId")) 5940 } 5941 if invalidParams.Len() > 0 { 5942 return invalidParams 5943 } else { 5944 return nil 5945 } 5946} 5947 5948func validateOpGetSchemaVersionsDiffInput(v *GetSchemaVersionsDiffInput) error { 5949 if v == nil { 5950 return nil 5951 } 5952 invalidParams := smithy.InvalidParamsError{Context: "GetSchemaVersionsDiffInput"} 5953 if v.SchemaId == nil { 5954 invalidParams.Add(smithy.NewErrParamRequired("SchemaId")) 5955 } 5956 if v.FirstSchemaVersionNumber == nil { 5957 invalidParams.Add(smithy.NewErrParamRequired("FirstSchemaVersionNumber")) 5958 } 5959 if v.SecondSchemaVersionNumber == nil { 5960 invalidParams.Add(smithy.NewErrParamRequired("SecondSchemaVersionNumber")) 5961 } 5962 if len(v.SchemaDiffType) == 0 { 5963 invalidParams.Add(smithy.NewErrParamRequired("SchemaDiffType")) 5964 } 5965 if invalidParams.Len() > 0 { 5966 return invalidParams 5967 } else { 5968 return nil 5969 } 5970} 5971 5972func validateOpGetSecurityConfigurationInput(v *GetSecurityConfigurationInput) error { 5973 if v == nil { 5974 return nil 5975 } 5976 invalidParams := smithy.InvalidParamsError{Context: "GetSecurityConfigurationInput"} 5977 if v.Name == nil { 5978 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5979 } 5980 if invalidParams.Len() > 0 { 5981 return invalidParams 5982 } else { 5983 return nil 5984 } 5985} 5986 5987func validateOpGetTableInput(v *GetTableInput) error { 5988 if v == nil { 5989 return nil 5990 } 5991 invalidParams := smithy.InvalidParamsError{Context: "GetTableInput"} 5992 if v.DatabaseName == nil { 5993 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 5994 } 5995 if v.Name == nil { 5996 invalidParams.Add(smithy.NewErrParamRequired("Name")) 5997 } 5998 if invalidParams.Len() > 0 { 5999 return invalidParams 6000 } else { 6001 return nil 6002 } 6003} 6004 6005func validateOpGetTablesInput(v *GetTablesInput) error { 6006 if v == nil { 6007 return nil 6008 } 6009 invalidParams := smithy.InvalidParamsError{Context: "GetTablesInput"} 6010 if v.DatabaseName == nil { 6011 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 6012 } 6013 if invalidParams.Len() > 0 { 6014 return invalidParams 6015 } else { 6016 return nil 6017 } 6018} 6019 6020func validateOpGetTableVersionInput(v *GetTableVersionInput) error { 6021 if v == nil { 6022 return nil 6023 } 6024 invalidParams := smithy.InvalidParamsError{Context: "GetTableVersionInput"} 6025 if v.DatabaseName == nil { 6026 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 6027 } 6028 if v.TableName == nil { 6029 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 6030 } 6031 if invalidParams.Len() > 0 { 6032 return invalidParams 6033 } else { 6034 return nil 6035 } 6036} 6037 6038func validateOpGetTableVersionsInput(v *GetTableVersionsInput) error { 6039 if v == nil { 6040 return nil 6041 } 6042 invalidParams := smithy.InvalidParamsError{Context: "GetTableVersionsInput"} 6043 if v.DatabaseName == nil { 6044 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 6045 } 6046 if v.TableName == nil { 6047 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 6048 } 6049 if invalidParams.Len() > 0 { 6050 return invalidParams 6051 } else { 6052 return nil 6053 } 6054} 6055 6056func validateOpGetTagsInput(v *GetTagsInput) error { 6057 if v == nil { 6058 return nil 6059 } 6060 invalidParams := smithy.InvalidParamsError{Context: "GetTagsInput"} 6061 if v.ResourceArn == nil { 6062 invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) 6063 } 6064 if invalidParams.Len() > 0 { 6065 return invalidParams 6066 } else { 6067 return nil 6068 } 6069} 6070 6071func validateOpGetTriggerInput(v *GetTriggerInput) error { 6072 if v == nil { 6073 return nil 6074 } 6075 invalidParams := smithy.InvalidParamsError{Context: "GetTriggerInput"} 6076 if v.Name == nil { 6077 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6078 } 6079 if invalidParams.Len() > 0 { 6080 return invalidParams 6081 } else { 6082 return nil 6083 } 6084} 6085 6086func validateOpGetUserDefinedFunctionInput(v *GetUserDefinedFunctionInput) error { 6087 if v == nil { 6088 return nil 6089 } 6090 invalidParams := smithy.InvalidParamsError{Context: "GetUserDefinedFunctionInput"} 6091 if v.DatabaseName == nil { 6092 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 6093 } 6094 if v.FunctionName == nil { 6095 invalidParams.Add(smithy.NewErrParamRequired("FunctionName")) 6096 } 6097 if invalidParams.Len() > 0 { 6098 return invalidParams 6099 } else { 6100 return nil 6101 } 6102} 6103 6104func validateOpGetUserDefinedFunctionsInput(v *GetUserDefinedFunctionsInput) error { 6105 if v == nil { 6106 return nil 6107 } 6108 invalidParams := smithy.InvalidParamsError{Context: "GetUserDefinedFunctionsInput"} 6109 if v.Pattern == nil { 6110 invalidParams.Add(smithy.NewErrParamRequired("Pattern")) 6111 } 6112 if invalidParams.Len() > 0 { 6113 return invalidParams 6114 } else { 6115 return nil 6116 } 6117} 6118 6119func validateOpGetWorkflowInput(v *GetWorkflowInput) error { 6120 if v == nil { 6121 return nil 6122 } 6123 invalidParams := smithy.InvalidParamsError{Context: "GetWorkflowInput"} 6124 if v.Name == nil { 6125 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6126 } 6127 if invalidParams.Len() > 0 { 6128 return invalidParams 6129 } else { 6130 return nil 6131 } 6132} 6133 6134func validateOpGetWorkflowRunInput(v *GetWorkflowRunInput) error { 6135 if v == nil { 6136 return nil 6137 } 6138 invalidParams := smithy.InvalidParamsError{Context: "GetWorkflowRunInput"} 6139 if v.Name == nil { 6140 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6141 } 6142 if v.RunId == nil { 6143 invalidParams.Add(smithy.NewErrParamRequired("RunId")) 6144 } 6145 if invalidParams.Len() > 0 { 6146 return invalidParams 6147 } else { 6148 return nil 6149 } 6150} 6151 6152func validateOpGetWorkflowRunPropertiesInput(v *GetWorkflowRunPropertiesInput) error { 6153 if v == nil { 6154 return nil 6155 } 6156 invalidParams := smithy.InvalidParamsError{Context: "GetWorkflowRunPropertiesInput"} 6157 if v.Name == nil { 6158 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6159 } 6160 if v.RunId == nil { 6161 invalidParams.Add(smithy.NewErrParamRequired("RunId")) 6162 } 6163 if invalidParams.Len() > 0 { 6164 return invalidParams 6165 } else { 6166 return nil 6167 } 6168} 6169 6170func validateOpGetWorkflowRunsInput(v *GetWorkflowRunsInput) error { 6171 if v == nil { 6172 return nil 6173 } 6174 invalidParams := smithy.InvalidParamsError{Context: "GetWorkflowRunsInput"} 6175 if v.Name == nil { 6176 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6177 } 6178 if invalidParams.Len() > 0 { 6179 return invalidParams 6180 } else { 6181 return nil 6182 } 6183} 6184 6185func validateOpListMLTransformsInput(v *ListMLTransformsInput) error { 6186 if v == nil { 6187 return nil 6188 } 6189 invalidParams := smithy.InvalidParamsError{Context: "ListMLTransformsInput"} 6190 if v.Sort != nil { 6191 if err := validateTransformSortCriteria(v.Sort); err != nil { 6192 invalidParams.AddNested("Sort", err.(smithy.InvalidParamsError)) 6193 } 6194 } 6195 if invalidParams.Len() > 0 { 6196 return invalidParams 6197 } else { 6198 return nil 6199 } 6200} 6201 6202func validateOpListSchemaVersionsInput(v *ListSchemaVersionsInput) error { 6203 if v == nil { 6204 return nil 6205 } 6206 invalidParams := smithy.InvalidParamsError{Context: "ListSchemaVersionsInput"} 6207 if v.SchemaId == nil { 6208 invalidParams.Add(smithy.NewErrParamRequired("SchemaId")) 6209 } 6210 if invalidParams.Len() > 0 { 6211 return invalidParams 6212 } else { 6213 return nil 6214 } 6215} 6216 6217func validateOpPutDataCatalogEncryptionSettingsInput(v *PutDataCatalogEncryptionSettingsInput) error { 6218 if v == nil { 6219 return nil 6220 } 6221 invalidParams := smithy.InvalidParamsError{Context: "PutDataCatalogEncryptionSettingsInput"} 6222 if v.DataCatalogEncryptionSettings == nil { 6223 invalidParams.Add(smithy.NewErrParamRequired("DataCatalogEncryptionSettings")) 6224 } else if v.DataCatalogEncryptionSettings != nil { 6225 if err := validateDataCatalogEncryptionSettings(v.DataCatalogEncryptionSettings); err != nil { 6226 invalidParams.AddNested("DataCatalogEncryptionSettings", err.(smithy.InvalidParamsError)) 6227 } 6228 } 6229 if invalidParams.Len() > 0 { 6230 return invalidParams 6231 } else { 6232 return nil 6233 } 6234} 6235 6236func validateOpPutResourcePolicyInput(v *PutResourcePolicyInput) error { 6237 if v == nil { 6238 return nil 6239 } 6240 invalidParams := smithy.InvalidParamsError{Context: "PutResourcePolicyInput"} 6241 if v.PolicyInJson == nil { 6242 invalidParams.Add(smithy.NewErrParamRequired("PolicyInJson")) 6243 } 6244 if invalidParams.Len() > 0 { 6245 return invalidParams 6246 } else { 6247 return nil 6248 } 6249} 6250 6251func validateOpPutSchemaVersionMetadataInput(v *PutSchemaVersionMetadataInput) error { 6252 if v == nil { 6253 return nil 6254 } 6255 invalidParams := smithy.InvalidParamsError{Context: "PutSchemaVersionMetadataInput"} 6256 if v.MetadataKeyValue == nil { 6257 invalidParams.Add(smithy.NewErrParamRequired("MetadataKeyValue")) 6258 } 6259 if invalidParams.Len() > 0 { 6260 return invalidParams 6261 } else { 6262 return nil 6263 } 6264} 6265 6266func validateOpPutWorkflowRunPropertiesInput(v *PutWorkflowRunPropertiesInput) error { 6267 if v == nil { 6268 return nil 6269 } 6270 invalidParams := smithy.InvalidParamsError{Context: "PutWorkflowRunPropertiesInput"} 6271 if v.Name == nil { 6272 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6273 } 6274 if v.RunId == nil { 6275 invalidParams.Add(smithy.NewErrParamRequired("RunId")) 6276 } 6277 if v.RunProperties == nil { 6278 invalidParams.Add(smithy.NewErrParamRequired("RunProperties")) 6279 } 6280 if invalidParams.Len() > 0 { 6281 return invalidParams 6282 } else { 6283 return nil 6284 } 6285} 6286 6287func validateOpRegisterSchemaVersionInput(v *RegisterSchemaVersionInput) error { 6288 if v == nil { 6289 return nil 6290 } 6291 invalidParams := smithy.InvalidParamsError{Context: "RegisterSchemaVersionInput"} 6292 if v.SchemaId == nil { 6293 invalidParams.Add(smithy.NewErrParamRequired("SchemaId")) 6294 } 6295 if v.SchemaDefinition == nil { 6296 invalidParams.Add(smithy.NewErrParamRequired("SchemaDefinition")) 6297 } 6298 if invalidParams.Len() > 0 { 6299 return invalidParams 6300 } else { 6301 return nil 6302 } 6303} 6304 6305func validateOpRemoveSchemaVersionMetadataInput(v *RemoveSchemaVersionMetadataInput) error { 6306 if v == nil { 6307 return nil 6308 } 6309 invalidParams := smithy.InvalidParamsError{Context: "RemoveSchemaVersionMetadataInput"} 6310 if v.MetadataKeyValue == nil { 6311 invalidParams.Add(smithy.NewErrParamRequired("MetadataKeyValue")) 6312 } 6313 if invalidParams.Len() > 0 { 6314 return invalidParams 6315 } else { 6316 return nil 6317 } 6318} 6319 6320func validateOpResetJobBookmarkInput(v *ResetJobBookmarkInput) error { 6321 if v == nil { 6322 return nil 6323 } 6324 invalidParams := smithy.InvalidParamsError{Context: "ResetJobBookmarkInput"} 6325 if v.JobName == nil { 6326 invalidParams.Add(smithy.NewErrParamRequired("JobName")) 6327 } 6328 if invalidParams.Len() > 0 { 6329 return invalidParams 6330 } else { 6331 return nil 6332 } 6333} 6334 6335func validateOpResumeWorkflowRunInput(v *ResumeWorkflowRunInput) error { 6336 if v == nil { 6337 return nil 6338 } 6339 invalidParams := smithy.InvalidParamsError{Context: "ResumeWorkflowRunInput"} 6340 if v.Name == nil { 6341 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6342 } 6343 if v.RunId == nil { 6344 invalidParams.Add(smithy.NewErrParamRequired("RunId")) 6345 } 6346 if v.NodeIds == nil { 6347 invalidParams.Add(smithy.NewErrParamRequired("NodeIds")) 6348 } 6349 if invalidParams.Len() > 0 { 6350 return invalidParams 6351 } else { 6352 return nil 6353 } 6354} 6355 6356func validateOpStartBlueprintRunInput(v *StartBlueprintRunInput) error { 6357 if v == nil { 6358 return nil 6359 } 6360 invalidParams := smithy.InvalidParamsError{Context: "StartBlueprintRunInput"} 6361 if v.BlueprintName == nil { 6362 invalidParams.Add(smithy.NewErrParamRequired("BlueprintName")) 6363 } 6364 if v.RoleArn == nil { 6365 invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) 6366 } 6367 if invalidParams.Len() > 0 { 6368 return invalidParams 6369 } else { 6370 return nil 6371 } 6372} 6373 6374func validateOpStartCrawlerInput(v *StartCrawlerInput) error { 6375 if v == nil { 6376 return nil 6377 } 6378 invalidParams := smithy.InvalidParamsError{Context: "StartCrawlerInput"} 6379 if v.Name == nil { 6380 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6381 } 6382 if invalidParams.Len() > 0 { 6383 return invalidParams 6384 } else { 6385 return nil 6386 } 6387} 6388 6389func validateOpStartCrawlerScheduleInput(v *StartCrawlerScheduleInput) error { 6390 if v == nil { 6391 return nil 6392 } 6393 invalidParams := smithy.InvalidParamsError{Context: "StartCrawlerScheduleInput"} 6394 if v.CrawlerName == nil { 6395 invalidParams.Add(smithy.NewErrParamRequired("CrawlerName")) 6396 } 6397 if invalidParams.Len() > 0 { 6398 return invalidParams 6399 } else { 6400 return nil 6401 } 6402} 6403 6404func validateOpStartExportLabelsTaskRunInput(v *StartExportLabelsTaskRunInput) error { 6405 if v == nil { 6406 return nil 6407 } 6408 invalidParams := smithy.InvalidParamsError{Context: "StartExportLabelsTaskRunInput"} 6409 if v.TransformId == nil { 6410 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 6411 } 6412 if v.OutputS3Path == nil { 6413 invalidParams.Add(smithy.NewErrParamRequired("OutputS3Path")) 6414 } 6415 if invalidParams.Len() > 0 { 6416 return invalidParams 6417 } else { 6418 return nil 6419 } 6420} 6421 6422func validateOpStartImportLabelsTaskRunInput(v *StartImportLabelsTaskRunInput) error { 6423 if v == nil { 6424 return nil 6425 } 6426 invalidParams := smithy.InvalidParamsError{Context: "StartImportLabelsTaskRunInput"} 6427 if v.TransformId == nil { 6428 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 6429 } 6430 if v.InputS3Path == nil { 6431 invalidParams.Add(smithy.NewErrParamRequired("InputS3Path")) 6432 } 6433 if invalidParams.Len() > 0 { 6434 return invalidParams 6435 } else { 6436 return nil 6437 } 6438} 6439 6440func validateOpStartJobRunInput(v *StartJobRunInput) error { 6441 if v == nil { 6442 return nil 6443 } 6444 invalidParams := smithy.InvalidParamsError{Context: "StartJobRunInput"} 6445 if v.JobName == nil { 6446 invalidParams.Add(smithy.NewErrParamRequired("JobName")) 6447 } 6448 if invalidParams.Len() > 0 { 6449 return invalidParams 6450 } else { 6451 return nil 6452 } 6453} 6454 6455func validateOpStartMLEvaluationTaskRunInput(v *StartMLEvaluationTaskRunInput) error { 6456 if v == nil { 6457 return nil 6458 } 6459 invalidParams := smithy.InvalidParamsError{Context: "StartMLEvaluationTaskRunInput"} 6460 if v.TransformId == nil { 6461 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 6462 } 6463 if invalidParams.Len() > 0 { 6464 return invalidParams 6465 } else { 6466 return nil 6467 } 6468} 6469 6470func validateOpStartMLLabelingSetGenerationTaskRunInput(v *StartMLLabelingSetGenerationTaskRunInput) error { 6471 if v == nil { 6472 return nil 6473 } 6474 invalidParams := smithy.InvalidParamsError{Context: "StartMLLabelingSetGenerationTaskRunInput"} 6475 if v.TransformId == nil { 6476 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 6477 } 6478 if v.OutputS3Path == nil { 6479 invalidParams.Add(smithy.NewErrParamRequired("OutputS3Path")) 6480 } 6481 if invalidParams.Len() > 0 { 6482 return invalidParams 6483 } else { 6484 return nil 6485 } 6486} 6487 6488func validateOpStartTriggerInput(v *StartTriggerInput) error { 6489 if v == nil { 6490 return nil 6491 } 6492 invalidParams := smithy.InvalidParamsError{Context: "StartTriggerInput"} 6493 if v.Name == nil { 6494 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6495 } 6496 if invalidParams.Len() > 0 { 6497 return invalidParams 6498 } else { 6499 return nil 6500 } 6501} 6502 6503func validateOpStartWorkflowRunInput(v *StartWorkflowRunInput) error { 6504 if v == nil { 6505 return nil 6506 } 6507 invalidParams := smithy.InvalidParamsError{Context: "StartWorkflowRunInput"} 6508 if v.Name == nil { 6509 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6510 } 6511 if invalidParams.Len() > 0 { 6512 return invalidParams 6513 } else { 6514 return nil 6515 } 6516} 6517 6518func validateOpStopCrawlerInput(v *StopCrawlerInput) error { 6519 if v == nil { 6520 return nil 6521 } 6522 invalidParams := smithy.InvalidParamsError{Context: "StopCrawlerInput"} 6523 if v.Name == nil { 6524 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6525 } 6526 if invalidParams.Len() > 0 { 6527 return invalidParams 6528 } else { 6529 return nil 6530 } 6531} 6532 6533func validateOpStopCrawlerScheduleInput(v *StopCrawlerScheduleInput) error { 6534 if v == nil { 6535 return nil 6536 } 6537 invalidParams := smithy.InvalidParamsError{Context: "StopCrawlerScheduleInput"} 6538 if v.CrawlerName == nil { 6539 invalidParams.Add(smithy.NewErrParamRequired("CrawlerName")) 6540 } 6541 if invalidParams.Len() > 0 { 6542 return invalidParams 6543 } else { 6544 return nil 6545 } 6546} 6547 6548func validateOpStopTriggerInput(v *StopTriggerInput) error { 6549 if v == nil { 6550 return nil 6551 } 6552 invalidParams := smithy.InvalidParamsError{Context: "StopTriggerInput"} 6553 if v.Name == nil { 6554 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6555 } 6556 if invalidParams.Len() > 0 { 6557 return invalidParams 6558 } else { 6559 return nil 6560 } 6561} 6562 6563func validateOpStopWorkflowRunInput(v *StopWorkflowRunInput) error { 6564 if v == nil { 6565 return nil 6566 } 6567 invalidParams := smithy.InvalidParamsError{Context: "StopWorkflowRunInput"} 6568 if v.Name == nil { 6569 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6570 } 6571 if v.RunId == nil { 6572 invalidParams.Add(smithy.NewErrParamRequired("RunId")) 6573 } 6574 if invalidParams.Len() > 0 { 6575 return invalidParams 6576 } else { 6577 return nil 6578 } 6579} 6580 6581func validateOpTagResourceInput(v *TagResourceInput) error { 6582 if v == nil { 6583 return nil 6584 } 6585 invalidParams := smithy.InvalidParamsError{Context: "TagResourceInput"} 6586 if v.ResourceArn == nil { 6587 invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) 6588 } 6589 if v.TagsToAdd == nil { 6590 invalidParams.Add(smithy.NewErrParamRequired("TagsToAdd")) 6591 } 6592 if invalidParams.Len() > 0 { 6593 return invalidParams 6594 } else { 6595 return nil 6596 } 6597} 6598 6599func validateOpUntagResourceInput(v *UntagResourceInput) error { 6600 if v == nil { 6601 return nil 6602 } 6603 invalidParams := smithy.InvalidParamsError{Context: "UntagResourceInput"} 6604 if v.ResourceArn == nil { 6605 invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) 6606 } 6607 if v.TagsToRemove == nil { 6608 invalidParams.Add(smithy.NewErrParamRequired("TagsToRemove")) 6609 } 6610 if invalidParams.Len() > 0 { 6611 return invalidParams 6612 } else { 6613 return nil 6614 } 6615} 6616 6617func validateOpUpdateBlueprintInput(v *UpdateBlueprintInput) error { 6618 if v == nil { 6619 return nil 6620 } 6621 invalidParams := smithy.InvalidParamsError{Context: "UpdateBlueprintInput"} 6622 if v.Name == nil { 6623 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6624 } 6625 if v.BlueprintLocation == nil { 6626 invalidParams.Add(smithy.NewErrParamRequired("BlueprintLocation")) 6627 } 6628 if invalidParams.Len() > 0 { 6629 return invalidParams 6630 } else { 6631 return nil 6632 } 6633} 6634 6635func validateOpUpdateClassifierInput(v *UpdateClassifierInput) error { 6636 if v == nil { 6637 return nil 6638 } 6639 invalidParams := smithy.InvalidParamsError{Context: "UpdateClassifierInput"} 6640 if v.GrokClassifier != nil { 6641 if err := validateUpdateGrokClassifierRequest(v.GrokClassifier); err != nil { 6642 invalidParams.AddNested("GrokClassifier", err.(smithy.InvalidParamsError)) 6643 } 6644 } 6645 if v.XMLClassifier != nil { 6646 if err := validateUpdateXMLClassifierRequest(v.XMLClassifier); err != nil { 6647 invalidParams.AddNested("XMLClassifier", err.(smithy.InvalidParamsError)) 6648 } 6649 } 6650 if v.JsonClassifier != nil { 6651 if err := validateUpdateJsonClassifierRequest(v.JsonClassifier); err != nil { 6652 invalidParams.AddNested("JsonClassifier", err.(smithy.InvalidParamsError)) 6653 } 6654 } 6655 if v.CsvClassifier != nil { 6656 if err := validateUpdateCsvClassifierRequest(v.CsvClassifier); err != nil { 6657 invalidParams.AddNested("CsvClassifier", err.(smithy.InvalidParamsError)) 6658 } 6659 } 6660 if invalidParams.Len() > 0 { 6661 return invalidParams 6662 } else { 6663 return nil 6664 } 6665} 6666 6667func validateOpUpdateColumnStatisticsForPartitionInput(v *UpdateColumnStatisticsForPartitionInput) error { 6668 if v == nil { 6669 return nil 6670 } 6671 invalidParams := smithy.InvalidParamsError{Context: "UpdateColumnStatisticsForPartitionInput"} 6672 if v.DatabaseName == nil { 6673 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 6674 } 6675 if v.TableName == nil { 6676 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 6677 } 6678 if v.PartitionValues == nil { 6679 invalidParams.Add(smithy.NewErrParamRequired("PartitionValues")) 6680 } 6681 if v.ColumnStatisticsList == nil { 6682 invalidParams.Add(smithy.NewErrParamRequired("ColumnStatisticsList")) 6683 } else if v.ColumnStatisticsList != nil { 6684 if err := validateUpdateColumnStatisticsList(v.ColumnStatisticsList); err != nil { 6685 invalidParams.AddNested("ColumnStatisticsList", err.(smithy.InvalidParamsError)) 6686 } 6687 } 6688 if invalidParams.Len() > 0 { 6689 return invalidParams 6690 } else { 6691 return nil 6692 } 6693} 6694 6695func validateOpUpdateColumnStatisticsForTableInput(v *UpdateColumnStatisticsForTableInput) error { 6696 if v == nil { 6697 return nil 6698 } 6699 invalidParams := smithy.InvalidParamsError{Context: "UpdateColumnStatisticsForTableInput"} 6700 if v.DatabaseName == nil { 6701 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 6702 } 6703 if v.TableName == nil { 6704 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 6705 } 6706 if v.ColumnStatisticsList == nil { 6707 invalidParams.Add(smithy.NewErrParamRequired("ColumnStatisticsList")) 6708 } else if v.ColumnStatisticsList != nil { 6709 if err := validateUpdateColumnStatisticsList(v.ColumnStatisticsList); err != nil { 6710 invalidParams.AddNested("ColumnStatisticsList", err.(smithy.InvalidParamsError)) 6711 } 6712 } 6713 if invalidParams.Len() > 0 { 6714 return invalidParams 6715 } else { 6716 return nil 6717 } 6718} 6719 6720func validateOpUpdateConnectionInput(v *UpdateConnectionInput) error { 6721 if v == nil { 6722 return nil 6723 } 6724 invalidParams := smithy.InvalidParamsError{Context: "UpdateConnectionInput"} 6725 if v.Name == nil { 6726 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6727 } 6728 if v.ConnectionInput == nil { 6729 invalidParams.Add(smithy.NewErrParamRequired("ConnectionInput")) 6730 } else if v.ConnectionInput != nil { 6731 if err := validateConnectionInput(v.ConnectionInput); err != nil { 6732 invalidParams.AddNested("ConnectionInput", err.(smithy.InvalidParamsError)) 6733 } 6734 } 6735 if invalidParams.Len() > 0 { 6736 return invalidParams 6737 } else { 6738 return nil 6739 } 6740} 6741 6742func validateOpUpdateCrawlerInput(v *UpdateCrawlerInput) error { 6743 if v == nil { 6744 return nil 6745 } 6746 invalidParams := smithy.InvalidParamsError{Context: "UpdateCrawlerInput"} 6747 if v.Name == nil { 6748 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6749 } 6750 if v.Targets != nil { 6751 if err := validateCrawlerTargets(v.Targets); err != nil { 6752 invalidParams.AddNested("Targets", err.(smithy.InvalidParamsError)) 6753 } 6754 } 6755 if invalidParams.Len() > 0 { 6756 return invalidParams 6757 } else { 6758 return nil 6759 } 6760} 6761 6762func validateOpUpdateCrawlerScheduleInput(v *UpdateCrawlerScheduleInput) error { 6763 if v == nil { 6764 return nil 6765 } 6766 invalidParams := smithy.InvalidParamsError{Context: "UpdateCrawlerScheduleInput"} 6767 if v.CrawlerName == nil { 6768 invalidParams.Add(smithy.NewErrParamRequired("CrawlerName")) 6769 } 6770 if invalidParams.Len() > 0 { 6771 return invalidParams 6772 } else { 6773 return nil 6774 } 6775} 6776 6777func validateOpUpdateDatabaseInput(v *UpdateDatabaseInput) error { 6778 if v == nil { 6779 return nil 6780 } 6781 invalidParams := smithy.InvalidParamsError{Context: "UpdateDatabaseInput"} 6782 if v.Name == nil { 6783 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6784 } 6785 if v.DatabaseInput == nil { 6786 invalidParams.Add(smithy.NewErrParamRequired("DatabaseInput")) 6787 } else if v.DatabaseInput != nil { 6788 if err := validateDatabaseInput(v.DatabaseInput); err != nil { 6789 invalidParams.AddNested("DatabaseInput", err.(smithy.InvalidParamsError)) 6790 } 6791 } 6792 if invalidParams.Len() > 0 { 6793 return invalidParams 6794 } else { 6795 return nil 6796 } 6797} 6798 6799func validateOpUpdateDevEndpointInput(v *UpdateDevEndpointInput) error { 6800 if v == nil { 6801 return nil 6802 } 6803 invalidParams := smithy.InvalidParamsError{Context: "UpdateDevEndpointInput"} 6804 if v.EndpointName == nil { 6805 invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) 6806 } 6807 if invalidParams.Len() > 0 { 6808 return invalidParams 6809 } else { 6810 return nil 6811 } 6812} 6813 6814func validateOpUpdateJobInput(v *UpdateJobInput) error { 6815 if v == nil { 6816 return nil 6817 } 6818 invalidParams := smithy.InvalidParamsError{Context: "UpdateJobInput"} 6819 if v.JobName == nil { 6820 invalidParams.Add(smithy.NewErrParamRequired("JobName")) 6821 } 6822 if v.JobUpdate == nil { 6823 invalidParams.Add(smithy.NewErrParamRequired("JobUpdate")) 6824 } 6825 if invalidParams.Len() > 0 { 6826 return invalidParams 6827 } else { 6828 return nil 6829 } 6830} 6831 6832func validateOpUpdateMLTransformInput(v *UpdateMLTransformInput) error { 6833 if v == nil { 6834 return nil 6835 } 6836 invalidParams := smithy.InvalidParamsError{Context: "UpdateMLTransformInput"} 6837 if v.TransformId == nil { 6838 invalidParams.Add(smithy.NewErrParamRequired("TransformId")) 6839 } 6840 if v.Parameters != nil { 6841 if err := validateTransformParameters(v.Parameters); err != nil { 6842 invalidParams.AddNested("Parameters", err.(smithy.InvalidParamsError)) 6843 } 6844 } 6845 if invalidParams.Len() > 0 { 6846 return invalidParams 6847 } else { 6848 return nil 6849 } 6850} 6851 6852func validateOpUpdatePartitionInput(v *UpdatePartitionInput) error { 6853 if v == nil { 6854 return nil 6855 } 6856 invalidParams := smithy.InvalidParamsError{Context: "UpdatePartitionInput"} 6857 if v.DatabaseName == nil { 6858 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 6859 } 6860 if v.TableName == nil { 6861 invalidParams.Add(smithy.NewErrParamRequired("TableName")) 6862 } 6863 if v.PartitionValueList == nil { 6864 invalidParams.Add(smithy.NewErrParamRequired("PartitionValueList")) 6865 } 6866 if v.PartitionInput == nil { 6867 invalidParams.Add(smithy.NewErrParamRequired("PartitionInput")) 6868 } else if v.PartitionInput != nil { 6869 if err := validatePartitionInput(v.PartitionInput); err != nil { 6870 invalidParams.AddNested("PartitionInput", err.(smithy.InvalidParamsError)) 6871 } 6872 } 6873 if invalidParams.Len() > 0 { 6874 return invalidParams 6875 } else { 6876 return nil 6877 } 6878} 6879 6880func validateOpUpdateRegistryInput(v *UpdateRegistryInput) error { 6881 if v == nil { 6882 return nil 6883 } 6884 invalidParams := smithy.InvalidParamsError{Context: "UpdateRegistryInput"} 6885 if v.RegistryId == nil { 6886 invalidParams.Add(smithy.NewErrParamRequired("RegistryId")) 6887 } 6888 if v.Description == nil { 6889 invalidParams.Add(smithy.NewErrParamRequired("Description")) 6890 } 6891 if invalidParams.Len() > 0 { 6892 return invalidParams 6893 } else { 6894 return nil 6895 } 6896} 6897 6898func validateOpUpdateSchemaInput(v *UpdateSchemaInput) error { 6899 if v == nil { 6900 return nil 6901 } 6902 invalidParams := smithy.InvalidParamsError{Context: "UpdateSchemaInput"} 6903 if v.SchemaId == nil { 6904 invalidParams.Add(smithy.NewErrParamRequired("SchemaId")) 6905 } 6906 if invalidParams.Len() > 0 { 6907 return invalidParams 6908 } else { 6909 return nil 6910 } 6911} 6912 6913func validateOpUpdateTableInput(v *UpdateTableInput) error { 6914 if v == nil { 6915 return nil 6916 } 6917 invalidParams := smithy.InvalidParamsError{Context: "UpdateTableInput"} 6918 if v.DatabaseName == nil { 6919 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 6920 } 6921 if v.TableInput == nil { 6922 invalidParams.Add(smithy.NewErrParamRequired("TableInput")) 6923 } else if v.TableInput != nil { 6924 if err := validateTableInput(v.TableInput); err != nil { 6925 invalidParams.AddNested("TableInput", err.(smithy.InvalidParamsError)) 6926 } 6927 } 6928 if invalidParams.Len() > 0 { 6929 return invalidParams 6930 } else { 6931 return nil 6932 } 6933} 6934 6935func validateOpUpdateTriggerInput(v *UpdateTriggerInput) error { 6936 if v == nil { 6937 return nil 6938 } 6939 invalidParams := smithy.InvalidParamsError{Context: "UpdateTriggerInput"} 6940 if v.Name == nil { 6941 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6942 } 6943 if v.TriggerUpdate == nil { 6944 invalidParams.Add(smithy.NewErrParamRequired("TriggerUpdate")) 6945 } else if v.TriggerUpdate != nil { 6946 if err := validateTriggerUpdate(v.TriggerUpdate); err != nil { 6947 invalidParams.AddNested("TriggerUpdate", err.(smithy.InvalidParamsError)) 6948 } 6949 } 6950 if invalidParams.Len() > 0 { 6951 return invalidParams 6952 } else { 6953 return nil 6954 } 6955} 6956 6957func validateOpUpdateUserDefinedFunctionInput(v *UpdateUserDefinedFunctionInput) error { 6958 if v == nil { 6959 return nil 6960 } 6961 invalidParams := smithy.InvalidParamsError{Context: "UpdateUserDefinedFunctionInput"} 6962 if v.DatabaseName == nil { 6963 invalidParams.Add(smithy.NewErrParamRequired("DatabaseName")) 6964 } 6965 if v.FunctionName == nil { 6966 invalidParams.Add(smithy.NewErrParamRequired("FunctionName")) 6967 } 6968 if v.FunctionInput == nil { 6969 invalidParams.Add(smithy.NewErrParamRequired("FunctionInput")) 6970 } 6971 if invalidParams.Len() > 0 { 6972 return invalidParams 6973 } else { 6974 return nil 6975 } 6976} 6977 6978func validateOpUpdateWorkflowInput(v *UpdateWorkflowInput) error { 6979 if v == nil { 6980 return nil 6981 } 6982 invalidParams := smithy.InvalidParamsError{Context: "UpdateWorkflowInput"} 6983 if v.Name == nil { 6984 invalidParams.Add(smithy.NewErrParamRequired("Name")) 6985 } 6986 if invalidParams.Len() > 0 { 6987 return invalidParams 6988 } else { 6989 return nil 6990 } 6991} 6992